Commit Graph

501 Commits

Author SHA1 Message Date
Avinash Lingaloo
bb02b1178a MM-39711 - Gekidou - Theme functionality (#6327)
* added chevron to menu item component

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* remove extra line

* tested on tablets

* some corrections

* corrections as per review

* starting with notification skeleton

* attached notification settings to navigation

* added auto responder

* update translation

* update snapshot

* updated snapshot

* correction after review

* removed unnecessary screen

* refactored

* updated the testIDs

* Update Package.resolved

* refactor

* removed Mattermost as default server name

* fix ts

* refactored settings constant

* display settings skeleton

- pending: query for allowed themes

* added 'allowedThemes' query

* added section item

* mention screen skeleton in place

* added section and sectionItem component

* added reply section to the mention screen

* update i18n

* rename screens properly

* update i18n

* Refactored to MentionSettings component

* Refactored to ReplySettings component

* style clean up

* textTransform uppercase

* rename Section/SectionItem to Block/BlockItem

* added mobile push notif screen - push status section

* adding text to those two components

* correction following review

* added mobile push notification section

* added mobile push notification thread section

* style fix

* code fix

* code fix

* added skeleton for auto responder

* code clean up

* display theme skeleton

* display theme skeleton

* now using selected theme

* clean up code

* showing custom theme

* setTheme implemented

* code clean up

* some corrections

* Gekidou - Replace BlockItem with OptionItem (#6352)

* Replaced BlockItem component with OptionItem

* ui fix

* corrections from PR review

* code clean up

* correction from PR review

* fix - SettingsDisplay was wrongly removed from @screen/index

* fix dependencies

* corrections from peer review
2022-06-10 14:28:35 +04:00
Elias Nahum
6906a9f863 [Gekidou] Add saved messages to bottom tab (#6367) 2022-06-09 15:19:24 -04:00
Elias Nahum
ecd877b5e4 Fix unsigned build 2022-06-09 14:38:18 -04:00
Elias Nahum
3d91e68a58 Fix .gitignore 2022-06-09 13:16:17 -04:00
Elias Nahum
cfef5332c9 [Gekidou] handlers perf (#6365)
* Improve handlers to only create/update needed recors and add loading indicator while posts are being loaded

* Tweak team handlers

* check for delete_at as falsey

* more handler tweaks

* Preference handler

* Small refactor on category body

* Add WS reconnect FETCHING_POSTS event

* Fix handleChannelViewedEvent when channel screen is not visible

* Replace blinking dot with spinner

* update snapshots to reflect the new spinner
2022-06-09 13:09:54 -04:00
Mattermod
e26d77811b Update Licences at Notice.txt to reflect dependency changes. (#6363) 2022-06-09 08:39:15 -04:00
Anurag Shivarathri
1b5e41b424 [Gekidou MM-40097 MM-44133] Save thread related data when client receives a push notification (#6275)
* Android changes

* Fixed updating records from native side

* Android: Handle crt related issues

* Android threads fix

* Android misc fixes

* Android addressing feedback

* ios changes WIP

* Update Podfile.lock

* iOS changes

* iOS feedback

* iOS updates the existing record like android

* Android misc

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-06-09 16:50:14 +05:30
Mustafa Kara
db171cc7dd Merge pull request #6360 from mattermost/chore/create-notice-txt-pipeline-configuration-gekidou
Create configuration folder for notice.txt generation
2022-06-08 10:04:27 +03:00
Elias Nahum
c6764a89a4 do not fetch unicode emojis 2022-06-07 15:26:24 -04:00
Mustafa Kara
569f66908e Apply suggestions from code review
Co-authored-by: Amy Blais <29708087+amyblais@users.noreply.github.com>
2022-06-07 17:44:31 +03:00
Elias Nahum
3082089821 Render Tables in their own screen (#6356) 2022-06-07 09:50:55 -04:00
Mustafa Kara
5309311d5f Apply changes from code review
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-06-07 16:48:20 +03:00
Mustafa Kara
b83272b09b Apply changes from code review
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-06-07 16:37:00 +03:00
Mustafa Kara
ea3170b9d8 Create configuration folder for notice.txt generation
Signed-off-by: Mustafa Kara <mustafa.kara@mattermost.com>
2022-06-07 16:35:59 +03:00
Shaz MJ
fe354ee396 [Gekidou] Fetch (and save) groups on @mention auto-complete (#6323)
* WIP
* Actions updated to fetch remote first, and local on error
* Groups fetch and save
* PR Feedback: prepare vs store and undefined fix
* Forgot to add file
2022-06-07 07:55:28 +10:00
Elias Nahum
851a2f7b19 [Gekidou] Permalink UI (excluding non-happy path) (#6354)
* Permalink UI (excluding non-happy path)

* Make close icon 24 in size
2022-06-06 15:04:10 -04:00
Elias Nahum
a7c49100ab [Gekidou] Add empty unreads placeholder (#6350)
* Add empty unreads placeholder

* ux feedback

* Use SidebarText witn 0.12 opacity as the button bg color

* Set tertiary button helper to use theme.sidebarText color
2022-06-06 15:03:29 -04:00
Elias Nahum
2f07b7afc8 [Gekidou] user profile (#6353)
* User profile

* Access User Profile from reaction list

* Fix threads participants list & open user profile on tap

* Extra bottom padding

* Profile long press tutorial

* Adjust heights

* Reduce label margin from 12 to 8
2022-06-06 11:27:25 -04:00
Elias Nahum
e01d8f46c2 Disallow connecting to the same server from the multi-server selection (#6355) 2022-06-06 09:22:08 -04:00
Elias Nahum
81357d8a0e [Gekidou] Update database to hold if a user is a team or channel admin (#6351)
* Update database to hold if a user is a team or channel admin

* TeamMembership identifier

* Fix handleTeamMembership test

* Update server.md

Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
2022-06-06 05:54:02 -04:00
Elias Nahum
f97d943f9a Bump app build number to 405 (#6349) 2022-06-03 13:55:55 -04:00
Elias Nahum
8e40b2050c [Gekidou] Align empty states (#6348)
* Align empty states

* Added maxWidth
2022-06-03 13:46:28 -04:00
Elias Nahum
b4e0304f2f Change permalink modal to overFullScreen 2022-06-03 12:34:30 -04:00
Matthew Birtch
a78f2de690 made styling changes to address UI tweaks needed (#6346) 2022-06-03 12:26:34 -04:00
Elias Nahum
bf427c700e use TouchableOpacity instead of TouchableWithoutFeedback for the unread filter 2022-06-03 12:20:42 -04:00
Elias Nahum
fa14f93e3f Fix typo and add subtitle to pinned posts 2022-06-03 10:04:39 -04:00
Elias Nahum
a61d65eb09 [Gekidou] pinned posts (#6336)
* Pinned messages

* Move isCRTEnabled query to be called earlier and only once

* Update Channel stats when post is (un)pinned

* Create svg module type definition

* Add missing localization strings

* feedback review
2022-06-03 09:27:45 -04:00
Elias Nahum
6d0e65d5fd [Gekidou] Sort unfiltered find channels by mention / unread (#6340)
* Sort unfiltered find channels by mention / unread

* Prevent Double tap to access find channels
2022-06-03 09:09:30 -04:00
Elias Nahum
834c81fd27 Show permalink view with CRT enabled (#6343) 2022-06-03 08:49:13 -04:00
Elias Nahum
df1da4da19 Use sidebarUnreadText for unread channel item (#6342) 2022-06-03 08:17:20 -04:00
Elias Nahum
413dc41bf0 Ease the way the keyboard can be dismissed in the login screen (#6341) 2022-06-03 08:10:51 -04:00
Avinash Lingaloo
2d3d43c000 MM-39711 - Gekidou Notification Push Notification main screen (#6312)
* added chevron to menu item component

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* remove extra line

* tested on tablets

* some corrections

* corrections as per review

* starting with notification skeleton

* attached notification settings to navigation

* added auto responder

* update translation

* update snapshot

* updated snapshot

* correction after review

* removed unnecessary screen

* refactored

* updated the testIDs

* Update Package.resolved

* refactor

* removed Mattermost as default server name

* fix ts

* refactored settings constant

* display settings skeleton

- pending: query for allowed themes

* added 'allowedThemes' query

* added section item

* mention screen skeleton in place

* added section and sectionItem component

* added reply section to the mention screen

* update i18n

* rename screens properly

* update i18n

* Refactored to MentionSettings component

* Refactored to ReplySettings component

* style clean up

* textTransform uppercase

* rename Section/SectionItem to Block/BlockItem

* added mobile push notif screen - push status section

* adding text to those two components

* correction following review

* added mobile push notification section

* added mobile push notification thread section

* style fix

* code fix

* code fix

* MM-39711 - Gekidou Notification - Auto Responder main screen (#6313)

* added skeleton for auto responder

* code clean up

* correction from peer review

* correction from PR review

* clean up

* PR review correction

* correction

* clean up

* clean up

* code clean up

* code clean up
2022-06-03 16:02:40 +04:00
Elias Nahum
18a94f2b33 Fix channel quick actions bottom sheet size (#6322) 2022-06-03 07:33:45 -04:00
Amy Blais
96797909ea [Gekidou] Update NOTICE.txt (#6315) 2022-06-03 07:26:52 -04:00
Elias Nahum
0b4980cf65 [Gekidou] multiple fixes (#6335)
* Fix navigation stack tracking

* Fix hardwareBackPress handlers

* Use user locale for formattedTime

* Show in-app notifications when in a thread but hide when in the same thread

* Fix post draft archived & read only safe area

* Do not show reply post option in thread screen

* Open permalink as full screen modal

* Fix crash when using chinese locale

* Fix team list and call handle team change
2022-06-03 07:18:29 -04:00
Shaz MJ
088d125792 Unreads header is capitilized (#6337) 2022-06-03 11:55:52 +10:00
Elias Nahum
a0f25f0e3b [Gekidou] Channel Info screen (#6330)
* Channel Info screen

* Delete the channel & related data when archiving while viewing archived channels is off

* feedback review

* UX feedback

* Add missing isOptionItem prop
2022-06-02 16:09:12 -04:00
Elias Nahum
62d2e20441 [Gekidou] Navigation bar refactored (#6319)
* Navigation bar refactored

* feedback review

* add MAX_OVERSCROLL constant
2022-06-01 17:07:54 -04:00
Elias Nahum
f203b74b2f [Gekidou] Update Markdown theme (#6328)
* Fix Markdown when theme changes / latex correct font color

* Do not fetch emojis that are unicode

* Check for unicode emoji before searching for custom emoji
2022-06-01 17:05:25 -04:00
Daniel Espino García
8f10d1ee96 Remove ts-expect-error regarding legacy refs (#6317) 2022-05-31 07:42:34 +02:00
Elias Nahum
f2777d46bb Bump app build number to 403 (#6320) 2022-05-27 14:43:32 -04:00
Elias Nahum
4ab7a6baa6 [Gekidou] commonmark feature parity (#6303)
* Initial attempt at search highlighting for Markdown

* Remove fonts from highlighted text so that it can be bolded

* Add initial task list support

* Render markdown checkbox

* Switch to Commonmark fork

* Use searchPatterns prop

* searchPatterns prop at post level

* Update app/components/markdown/transform.ts

Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>

Co-authored-by: Harrison Healey <harrisonmhealey@gmail.com>
Co-authored-by: Jason Frerich <jason.frerich@mattermost.com>
2022-05-27 14:30:34 -04:00
Krm
efeab53d0b [Gekiodu - MM-44156] Channel ordering is different between web and mobile (#6304)
* new approach added queries for sorting channels

* crt reply checking added for post remote actions

* Fix category_body test

* crt replay check fixed for fetchPostsForChannel

* sortedchannels re-rendering fix

* Only fetch Direct channels if there are more/less

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-05-26 14:23:40 -04:00
Shaz MJ
4825a54de0 [Gekidou] Groups API Calls (#6277)
* Adds missing group API calls

* Rename methods to fetch and move to remote actions
2022-05-26 14:10:04 -04:00
Jason Frerich
340522a90c [Gekidou - MM-44258] Search Screen - Results Empty State (#6279)
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-05-26 11:50:43 -05:00
Avinash Lingaloo
b5038ba55e MM-39711 - Gekidou Notification Mention main screen (#6309)
* added chevron to menu item component

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* starting with the skeleton

* remove extra line

* tested on tablets

* some corrections

* corrections as per review

* starting with notification skeleton

* attached notification settings to navigation

* added auto responder

* update translation

* update snapshot

* updated snapshot

* correction after review

* removed unnecessary screen

* refactored

* updated the testIDs

* Update Package.resolved

* refactor

* removed Mattermost as default server name

* fix ts

* refactored settings constant

* display settings skeleton

- pending: query for allowed themes

* added 'allowedThemes' query

* added section item

* mention screen skeleton in place

* added section and sectionItem component

* added reply section to the mention screen

* update i18n

* rename screens properly

* update i18n

* Refactored to MentionSettings component

* Refactored to ReplySettings component

* style clean up

* textTransform uppercase

* rename Section/SectionItem to Block/BlockItem

* adding text to those two components

* correction following review
2022-05-26 17:25:03 +04:00
Daniel Espino García
37457e3f31 Comment out create team options until we have a create team screen (#6310) 2022-05-26 14:39:02 +02:00
Daniel Espino García
a1eaadac41 Update en.json to show proper message on threads tab (#6311) 2022-05-25 13:19:22 +02:00
Elias Nahum
fe5b034915 Fix update own DM display name 2022-05-24 17:39:12 -04:00
Elias Nahum
d1c9c98900 Fix WS connection for cloud servers 2022-05-24 17:39:12 -04:00