Commit Graph

454 Commits

Author SHA1 Message Date
Elias Nahum
f6944fbbea default to english as primary locale 2022-06-24 05:56:06 -04:00
Daniel Espino García
13708ab052 Minor performance improvements in post list (#6422) 2022-06-23 11:39:10 +02:00
Daniel Espino García
844f2c0393 Let ServerDatabases type hold undefined values (#6423)
* Let ServerDatabases type hold undefined values

* Avoid model.database
2022-06-22 17:51:28 -04:00
Anurag Shivarathri
b5ff344b64 Mark as unread only if following the thread (#6421) 2022-06-22 23:49:17 +05:30
Shaz MJ
12e97e49a8 [Gekidou] [Bug] DM Icon will be 'archive-outline' if user is archived (#6415) 2022-06-21 18:46:46 -04:00
Daniel Espino García
b97fd550f1 Fix lingering draft when switching channels while never leaving the channel screen (#6417)
* Fix lingering draft when switching channels while never leaving the channel screen

* Listen to changes on missing prop
2022-06-21 12:22:41 -04:00
Daniel Espino García
0ea2873942 Remove apparently unneeded fix to improve the experience by not changing the keyboards (#6409) 2022-06-20 08:37:50 -04:00
Joseph Baylon
7a71d864e2 Detox/E2E: Messaging post options e2e tests in Gekidou (#6405)
* Detox/E2E: Messaging post options e2e tests in Gekidou

* Simplify find channels search bar
2022-06-17 21:01:05 -04:00
Elias Nahum
76e099b4be [Gekidou] Improve performance on find channels queries (#6395) 2022-06-17 14:53:18 -04:00
Elias Nahum
3dfd093ee0 Set theme when opening the app from a push notification (#6398) 2022-06-17 14:52:55 -04:00
Elias Nahum
86a47e0832 Fetch post authors when fetching posts (#6400) 2022-06-17 14:52:25 -04:00
Elias Nahum
47fe3e2219 Do not show tutorial if screen is closed (#6401) 2022-06-17 14:51:50 -04:00
Daniel Espino García
ee3b655991 Fix permalink to not joined channels and to not fetched posts. (#6294)
* Fix permalink to not joined channels and to not fetched posts.

* i18n-extract

* Implement as designed

* Revert unintended change

* Minor fix and fix svgs

* updated svg to fix masking problems and colors

* Fix lint

* Address feedback

* Update join_public_channel.tsx

fixed public channel svg

* Update join_public_channel.tsx

* Update join_private_channel.tsx

* Address feedback

Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2022-06-17 19:23:12 +02:00
Elias Nahum
1ca401ef3c Do not cover empty search results on Emoji picker (#6402) 2022-06-17 13:04:07 +04:00
Elias Nahum
6ea08b9dc2 Set default timeout to 3 minutes when uploading files (#6399) 2022-06-17 12:52:50 +04:00
Elias Nahum
0278df6173 Fix and add missing locales (#6396) 2022-06-16 21:50:59 -04:00
Elias Nahum
7fa011a89a Set the color for the Switch component based on the theme (#6397) 2022-06-16 20:48:02 -04:00
Elias Nahum
5537c39793 [Gekidou] Show unread empty state if there are not unread threads (#6389)
* Show unread empty state if there are not unread threads

* Update loading unreads style
2022-06-16 18:01:47 -04:00
Joseph Baylon
6ff41ea199 Detox/E2E: Upgrade deps to fix detox crash; Fix/Stabilize e2e (#6387) 2022-06-15 11:49:53 -07:00
Jason Frerich
b52b0c26b0 Disable the search screen (#6388) 2022-06-15 08:39:47 -05:00
Jason Frerich
196f922b6a [Gekidou - MM-44645] Search Screen - show results from server (#6314)
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-06-15 08:29:32 -05:00
Avinash Lingaloo
9370a9c54e MM-39711 - Gekidou Settings Push Notification functionality (#6373)
* adding nav hooks

* added save button

* capturing value from OptionItem

* notification - saving in progress

* tested API

* corrections after review

* Update en.json

* Update notification_push.tsx

* ts fixes

* minor improvement

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-06-14 10:35:50 +04:00
Elias Nahum
bfffa0e10a [Gekidou] db manager database getters (#6377) 2022-06-13 18:32:47 -04:00
Elias Nahum
9ebc0ab404 Ensure emoji name is set for CustomStatusEmoji 2022-06-13 15:03:35 -04:00
Elias Nahum
af25983483 await until bottom sheet is dismissed 2022-06-13 10:08:41 -04:00
Elias Nahum
7c69fb017b rename save_posts to save_messages 2022-06-13 10:06:19 -04:00
Avinash Lingaloo
c5dc41dae3 MM-39711 - Gekidou Settings - Mentions functionality [3] (#6368) 2022-06-13 09:47:59 -04:00
Avinash Lingaloo
f47b39fbe7 MM-39711 - Gekidou Settings Autoresponder functionality [2] (#6364) 2022-06-13 09:12:08 -04:00
Elias Nahum
c43e506a76 Fix useAndroidHardwareBackHandler hook 2022-06-13 08:14:32 -04:00
Elias Nahum
8795ca85b5 [Gekidou] cleanup fixes (#6376)
* Separate NavigationStore from EphemeralStore

* Prevent WS to mark channel as read while switching to the channel

* Fix mark channel as unread
2022-06-13 08:07:24 -04:00
Avinash Lingaloo
c365ecea54 MM-39711 - Gekidou - Clock functionality [1] (#6362) 2022-06-13 08:07:03 -04:00
Anurag Shivarathri
efd259a523 [Gekidou] Open CRT notifications (#6369)
* Open CRT notification

* Changes

* fix own DM

* Removed unwanted functions

* WS post commit createThreadFromNewPost as soon as possible

* Addressing the feedback

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-06-10 17:27:34 -04:00
Elias Nahum
e56f172f9a Fetch missing GM display name (#6374) 2022-06-10 13:00:50 -04:00
Avinash Lingaloo
f72fcd4f08 useMemo function call (#6372) 2022-06-10 09:40:14 -04:00
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
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
Elias Nahum
c6764a89a4 do not fetch unicode emojis 2022-06-07 15:26:24 -04:00
Elias Nahum
3082089821 Render Tables in their own screen (#6356) 2022-06-07 09:50:55 -04: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
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