Commit graph

439 commits

Author SHA1 Message Date
Daniel Espino García
28526034d4
Refactor makeStylesFromTheme to use the correct types (#6801)
* Refactor makeStylesFromTheme to use the correct types

* Address feedback
2022-12-12 10:53:54 +01:00
Jason Frerich
795038c56f
use the width as a dependency instead of dimensions reference (#6852) 2022-12-09 21:24:58 +02:00
Jason Frerich
2524a5be47
[MM-48192, MM-48279] Search - don't reset file filter when a user changes teams. (#6833) 2022-12-09 12:54:24 -06:00
Daniel Espino García
4482bd481e
Fix foldable devices by not allowing tablet mode on android (#6856) 2022-12-09 22:29:34 +04:00
Anurag Shivarathri
7f7bfd7b72
[MM-48926] Fetch new thread posts on websocket reconnect (#6844) 2022-12-09 20:17:34 +02:00
Elias Nahum
27dcc95266
Fix dismiss bottomsheet race condition 2022-12-07 18:26:10 +02:00
Elias Nahum
d676568c61
Refactor NavigationStore (#6842) 2022-12-07 16:44:21 +02:00
Jason Frerich
36fe93f182
- add globalThreadsTab to SYSTEM_IDENTIFIERS (#6841)
- save the lastview globalThreadsTab to the database after unmounting the
threads view
- default to all on first opening of the threads view
2022-12-07 15:04:19 +02:00
Elias Nahum
506ab06638
Mention bubble cut off on server list (Android) (#6827) 2022-12-06 18:55:47 +02:00
Elias Nahum
5e3e7b151e
Place cursor position in between the phrase modifier (#6828) 2022-12-06 18:36:48 +02:00
Elias Nahum
6f36098f5f
Close autocomplete when search input is not in focus (#6837) 2022-12-06 18:30:08 +02:00
Elias Nahum
8e0bf7c397
Fix inline code blocks in thread preview (#6835) 2022-12-06 14:09:38 +02:00
Javier Aguirre
655f55be20
Fix multiselect on users list integration selector (#6826)
* Moving selected ids to a parent

* typing selectedIds for user
2022-12-05 12:13:48 +01:00
Elias Nahum
da5b877297
Refactor how keyboard tracking is resumed & paused (#6822)
* Refactor how keyboard tracking is resumed & paused

* Rector as a hook
2022-12-05 12:02:15 +02:00
Elias Nahum
dc294eddd3
Update icon badge on Notification (#6823)
* Update icon badge when receiving a notification while the app is in the foreground

* update app badge when sending the app to the background
2022-12-05 12:00:09 +02:00
Elias Nahum
7717fea599
fix Mark as unread a post on non-crt (#6824) 2022-12-03 21:37:13 +02:00
Jason Frerich
e4c38bd5a0
[Gekidou MM-47652] Add Create DM Add Bottom Panel (#6699) 2022-12-02 22:44:38 +02:00
Christopher Poile
eae0a15b16
MM-48753 - Calls: GA requirements (#6814)
* calls GA requirements

* clarifying comments; simplify ephemeral message (move it to the server)
2022-12-02 11:34:37 -05:00
Daniel Espino García
88835ce142
Add connection banner (#6798)
* Add connection banner

* Switch icon depending on whether it is connected or not

* Clean timeout and change text

* Handle optimistic approach

* Piggyback server item fix

* Use toMilliseconds util function

* Set the websocket as disconnected when we are manually closing it

* Do not hide banner when app state changes

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-12-02 15:31:21 +01:00
Elias Nahum
529d149a17
Fix the color for no results when there are no more channels to join (#6810) 2022-12-01 21:32:14 +02:00
Javier Aguirre
fc44e8f90b
New User List for Integration selector (#6806)
* WIP New User List for int selector

* user selection

* searchusers by term

* Remove old user list related code on selector

* Fix linting issues

* Submitting user list selection

* currentUserId

* multiselect showing after the bar

* useState instead of reducer

* Remoce empty line

* add callbacks

* Fix lint
2022-12-01 17:10:55 +01:00
Anurag Shivarathri
0e5d63a7c3
[MM-48375 Gekidou] Threads Sync Fix (#6788)
* Init

* Test fix

* New sync implementation

* misc

* Includes migration and other servers sync

* Misc

* Migration fix

* Migration is done version 7

* Update app/queries/servers/thread.ts

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Update app/database/operator/server_data_operator/handlers/team_threads_sync.ts

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Feedback changes

* Fixes when old thread gets a reply

* Fix

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-12-01 21:38:27 +05:30
Elias Nahum
f3f5cef8d1
Fix Android edit profile keyboard aware scroll view (#6811) 2022-12-01 17:00:12 +02:00
Elias Nahum
330fd42212
update turbo-mailer (#6809) 2022-12-01 16:45:08 +02:00
Elias Nahum
6eadc527bb
Gekidou Android share extension (#6803)
* Refactor app database queries to not require the app database as argument

* Android Share Extension and fix notifications prompt

* feedback review
2022-11-30 23:18:56 +02:00
Michael Kochell
c1f480de31
App framework - Post menu and channel info bindings, App forms (#6735) 2022-11-30 21:25:08 +02:00
Avinash Lingaloo
dd3e62daf0
MM-46935 - Gekidou Report Problem (#6800)
* placement of 'report a problem'

* installed react-native-mail

* settings/report_problem

- Opens on Email App on Android
- Crashes on iOS if no account signed in the mail app

* new wiring

* new wiring

* tried first strategy for attachment

* tried second strategy for attachment

* Update report_problem.tsx

* revert changes to package.json

* removes unused supportEmail

* install @mattermost/react-native-turbo-mailer

* update import

* Update Podfile.lock
2022-11-30 23:02:52 +04:00
Avinash Lingaloo
b7f2969e08
MM-44652 : Temporarily hides NotificationPreferences (#6807) 2022-11-30 19:45:54 +02:00
Elias Nahum
7a478ec11d
Clean up local config (#6804) 2022-11-30 18:20:29 +02:00
Avinash Lingaloo
95af1afe6b
MM-48339 - Gekidou Alert box for Advanced Settings (#6758)
* added the alert box

* MM-48339 - Adds Alert box to confirm data deletion

* MM-48339 - update en.json

* corrections from PR review

* i18n id clean up

* i18n id clean up

* update i18n

* remove t()
2022-11-30 14:05:26 +04:00
Pablo Andrés Vélez Vidal
9e010ff5a3
Merge pull request #6768 from pvev/MM-35065-add-onboarding-screens
Mm 35065 add onboarding screens
2022-11-29 16:27:56 +01:00
Pablo Velez Vidal
7039f8b508 remove nnecessary slidesRef dependency 2022-11-29 16:15:16 +01:00
Pablo Velez Vidal
f6d4fe2e75 PR feedback refactor 2022-11-29 13:21:44 +01:00
Javier Aguirre
4198b41449
Refactor using generic item toggleMap function (#6791) 2022-11-28 15:18:18 +01:00
Javier Aguirre
4b18df8325
Refactor multiselect code (#6790)
* Remove unneeded multiselect code

* Moving to functional setState for multiselect

* Spliting into index and component for the screen
2022-11-28 11:50:42 +01:00
Matthew Birtch
b7f6596265 added non-breaking hyphen to ensure real-time doesn't break 2022-11-25 17:02:23 -05:00
Matthew Birtch
3bea41041f updated styles to accommadate for max-width on tablet and minor spacing adjustments 2022-11-25 16:44:19 -05:00
Matthew Birtch
ed743a5414 updated styles to accommadate for max-width on tablet and minor spacing adjustments 2022-11-25 16:42:23 -05:00
Pablo Velez Vidal
b152dd7b64 fix linter 2022-11-25 19:08:31 +01:00
Pablo Velez Vidal
688537ff9c Merge branch 'main' into MM-35065-add-onboarding-screens 2022-11-25 17:47:39 +01:00
Pablo Velez Vidal
812bb61e3b fix blank screen animation 2022-11-25 16:00:40 +01:00
Anurag Shivarathri
5dd3121bbc
[Gekidou MM-43527] Add threads item to the channel switcher (#6657)
* Threads item in channel switcher

* Misc

* Updated test & renamed type

* Reverted unwanted changes

* Changed thread text to i18n

* feedback fix

* Merge conflict steps

* Merge fix

* test fix

* Added onPress to the dependencies

* Moved the term matching logic to the useMemo block

* Misc

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2022-11-25 18:51:04 +05:30
Daniel Espino García
fe52fcaab6
Add terms of service (#6777)
* Add terms of service

* Add i18n

* Fix test

* Address feedback

* Address ux feedback

* Update texts

* Avoid Review to show on top of ToS

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-11-24 19:58:56 +01:00
Daniel Espino García
5fae120826
Add support for review app (#6772)
* Add app review

* Use overlay instead of modal

* Add fixes for ios

* i18n-extract

* Add to milliseconds function

* Address review feedback

* Add try to queryGlobalValue

* added app review illustration

* add feedback illustration

* Add animations and feedback bot message

* Restrict reviews to build environment variable

* Fix bug with "dont ask anymore"

* Add check for only supported servers

* Add missing change

* Use for await

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
Co-authored-by: Matthew Birtch <mattbirtch@gmail.com>
2022-11-24 18:52:15 +01:00
Pablo Velez Vidal
0aabcb9918 animate onboarding screen appear from screen to onboarding by clicking back button 2022-11-24 09:58:32 +01:00
Javier Aguirre
81dcfc817b
Move User list to a component (#6783)
* Move user list to a component

* added tests to see that several situations render
2022-11-23 19:08:22 +01:00
Pablo Velez Vidal
fa7a605c8f fix dark theme dynamic change 2022-11-23 18:36:17 +01:00
Christopher Poile
068549a285
MM-46055: Fix toast position after copying link in ChannelInfo screen (#6703) 2022-11-23 13:32:34 +01:00
Javier Aguirre
ac8a18bbfb
[MM-43844][MM-42809] Integration Selector (#6716)
* Activating screens

* Registering the screen

* Adding default themes for components

* Porting items rows, WIP

* WIP Custom List

* Pasting old code to integration_selector, WIP

* No TS errors on components

* Adding selector options

* fix types

* Adding state with hooks

* Page loading with no results

* fix search timeout

* Getting channels, not painting them yet

* searching for profiles

* tuning user and channel remote calls

* Fix radioButton error

* channels being loaded

* rendering options

* Rendering users

* Preparing search results

* Added onPress events for everybody!

* single select working for all selectors

* Remove dirty empty data fix

* remove unused data on custom list row

* fic touchableOpacity styling

* Adding extra info to userlistRow

* Search results (channels and users)

* filter options!

* Adding i18n

* Adding username as name

* move code to effects

* fix typing onRow

* multiselect selection working, missing a "Done" button

* commenting out the selector icons, moving selected options to func

* Added button for multiselect submit

* Fixing data types on selector

* 💄 data sources check

* cleaning custom_list_row

* Fix onLoadMore bug

* ordering setLoading

* eslinting all the things

* more eslint

* multiselect

* fix autocomplete format

* FIx eslint

* fix renderIcon

* fix section type

* actions not being used

* now we have user avatars

* Fix icon checks on multiselect

* handling select for multiple selections

* Moving to its respective folders

* components should render

* Added some test cases

* Multiple fixes from @mickmister feedback

* changing lock icon to padlock on channel row

* Fix children lint errors

* fix useEffect function eslint error

* Adding useCallback to profiles, channels and multiselections

* Fixing @larkox suggestions

* type checking fixes

* Fix onLoadMore

* Multiple hook and functionality fixes

* 🔥 extraData and setting loading channels better

* fix teammate display

* Fix multiselect button selection

* Fix returning selection to autocomplete selector

* Using typography

* Updating snapshots due to typography changes

* removing UserListRow, modifying the existing one

* Extract key for data sources

* Multiselect selection refactor

* fix setNext loop

* refactoring searchprofiles and channels

* Using refs for next and page

* Callback and other fixes

* Multiple fixes

* Add callback to multiselect selected items

* integration selector fixes

* Filter option search

* fix useCallback, timeout

* Remove initial page, fix selection data type

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>
2022-11-23 11:17:47 +01:00
Anurag Shivarathri
d20da35205
[Gekidou MM-46585] Message Priority (Phase 2 - setting message priority) (#6656) 2022-11-23 10:22:05 +01:00