Commit Graph

913 Commits

Author SHA1 Message Date
Shivashis Padhi
130b066d36 Switch teamname display from 'capitalize' -> 'uppercase' (#6785) 2022-11-29 08:03:08 +02: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
Christopher Poile
89b94d0188 MM-48287 - Calls: Select and send emoji reactions (#6781)
* add emoji reactions in mobile

* use StyleSheet.create

* PR comment

* prefer no inline functions

* Revert "prefer no inline functions"

This reverts commit b3c4627dac.
2022-11-25 12:17:06 -05: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
Christopher Poile
a300cc651e MM-48286 - Calls: Emoji reactions, display incoming reactions (#6780) 2022-11-25 12:21:45 +01:00
Pablo Velez Vidal
32e2247b46 show onboarding again only on all servers removal 2022-11-25 11:17:22 +01:00
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
Javier Aguirre
da31c9c3cf [MM-48515] Reuse ChannelListRow component to make it selectable maintaining compatibility (#6778)
* Moving ChannelListRow to component

* selectable
2022-11-22 10:00:20 +01:00
Shivashis Padhi
4bacba92bb [MM-47384] Make openid, google, office365 oauth free (#6755) 2022-11-22 06:43:18 +02:00
Joseph Baylon
bcca6be0af Detox/E2E: Search Messages e2e tests in Gekidou (#6756)
* Detox/E2E: Search Messages e2e tests in Gekidou

* Migrate to Detox 20

* Fix detoxrc

* Fix assertion for search messages
2022-11-21 12:58:51 -08:00
Matthew Birtch
002c2c95eb fixed issue with masks in chat illustration 2022-11-18 09:32:10 -05:00
Pablo Velez Vidal
5b3d95c913 dark mode improvements, aligh icon vertically in next button 2022-11-18 15:14:34 +01:00
Elias Nahum
2a6bb1ddc1 [Gekidou] Show alert message when server is unsupported (#6764)
* Show alert message when server is unsupported

* set server min required version to 5.26.2
2022-11-18 12:18:11 +02:00
Matthew Birtch
2295ab46b5 updating illustrations 2022-11-17 17:33:05 -05:00
Pablo Velez Vidal
b8535c09bd modify animation times so it looks better and make slighter animation for ios 2022-11-17 19:36:16 +01:00
Daniel Espino García
e2bd4fbf51 Add announcement banner (#6728)
* Add announcement banner

* Move config to its own table

* Add new config behaviour to iOS share extensions

* Fix test

* Add style changes

* Minor style fixes

* Address design feedback

* Address feedback

* Only render the announcement banner if container if licensed

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-11-17 19:13:20 +01:00
Pablo Velez Vidal
96001c3553 Merge branch 'gekidou' into MM-35065-add-onboarding-screens 2022-11-17 15:39:22 +01:00
Pablo Velez Vidal
595238e9c1 fix some design pr feedback 2022-11-17 15:32:08 +01:00
Mylon Suren
e729ffce7a [MM-47481] Remove Unread Channels From Channels Switcher (#6717)
* Remove unread channels from find channels list

* remove dead code
2022-11-16 16:54:57 -05:00
Pablo Velez Vidal
0d5f86b0ab pr feedback, reorganize styles, move types to correct folder, remove unnecesary values 2022-11-16 18:07:05 +01:00
Pablo Velez Vidal
bdbbd2cb36 pr feedback: rename svg; remove unnecessary go to login screen logic; refactor save/getOnboardingViewed value function 2022-11-16 15:01:06 +01:00
Christopher Poile
ac75a07d4b MM-48447 - Calls: guard against possible bad response from server (null) (#6769)
* guard against possible bad response from server (null)

* lock it down with a test
2022-11-15 21:44:32 +02:00
Pablo Velez Vidal
6e3ed08163 remove unnecessarys console.log 2022-11-15 17:36:36 +01:00
Pablo Velez Vidal
27557b171e remove unnecessary code 2022-11-15 16:15:06 +01:00
Pablo Velez Vidal
31f0a27a5a Merge branch 'gekidou' into MM-35065-add-onboarding-screens 2022-11-15 16:09:19 +01:00
Pablo Velez Vidal
9c1fd176f9 redirect to onboarding after deleting server; fix styles for server screen in IOS 2022-11-15 14:37:09 +01:00
Pablo Velez Vidal
f1f43880a7 Add logic to guard behind the showOnboarding config value the Onboarding feature 2022-11-15 13:50:19 +01:00
Pablo Velez Vidal
b398c90f89 simplyfy signatures 2022-11-15 13:33:27 +01:00
Pablo Velez Vidal
375d64c35e Add logic to don't show the onboarding once it has been shown once 2022-11-15 00:11:24 +01:00
Pablo Velez Vidal
ca053ed9c4 more advances on initial launch 2022-11-12 17:06:07 +01:00
Elias Nahum
0917baa714 Check that Sentry is enabled and set (#6763) 2022-11-12 13:48:50 +04:00
Jason Frerich
41b594f5a9 [Gekidou - MM-48279] Remove the team picker when a member of only one team (#6751) 2022-11-11 17:23:55 -06:00
Pablo Velez Vidal
5b09f03ac1 make the redirect to login work 2022-11-11 22:30:36 +01:00
Avinash Lingaloo
987d024708 Gekidou Sentry Installation (#6726)
* Sentry - Clean Install

* Update config.yml

* update CI to install Sentry CLI

* update CI to install Sentry CLI

* Squashed commit of the following:

commit e1996e59de
Merge: 87cc8d6f2 2e8352f3e
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Nov 4 20:59:29 2022 +0400

    Merge branch 'android-pr-sentry-clean' of https://github.com/mattermost/mattermost-mobile into android-pr-sentry-clean

commit 2e8352f3e1
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Fri Nov 4 15:48:24 2022 +0200

    update CI to install Sentry CLI

commit 87cc8d6f2b
Author: Elias Nahum <nahumhbl@gmail.com>
Date:   Fri Nov 4 15:48:24 2022 +0200

    update CI to install Sentry CLI

commit 8dca885a02
Author: Avinash Lingaloo <avinashlng1080@gmail.com>
Date:   Fri Nov 4 16:48:47 2022 +0400

    Update config.yml

commit 684bbb4aef
Author: Mylon Suren <23694620+mylonsuren@users.noreply.github.com>
Date:   Thu Nov 3 11:37:58 2022 -0400

    Remove down arrow next to team name and make team name unclickable (#6715)

commit 88ff8fac30
Author: Jason Frerich <jason.frerich@mattermost.com>
Date:   Wed Nov 2 19:35:23 2022 -0500

    [Bug] Emit boolean with "of" operator (#6729)

commit debcc99480
Author: Jason Frerich <jason.frerich@mattermost.com>
Date:   Wed Nov 2 12:15:54 2022 -0500

    [Gekidou MM-48006] Show keyboard when select a modifier (#6714)

* Delete @sentry+react-native+4.6.1.patch

* correction from PR review

* Add logError to DatabaseManager

* removes sentry context from android build job

* removes team+channel data

* shift active server listener to home/index

* Revert "shift active server listener to home/index"

This reverts commit 75e26faadd.

* refactor after PR Review

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-11-11 22:48:38 +04:00
Elias Nahum
25ddc894f2 Fix more messages bar on iOS without insets (#6752) 2022-11-11 20:47:25 +02:00
Daniel Espino García
1aa4188f8e Move config to its own database table (#6744)
* Move config to its own database table

* Address feedback

* Fix test

* Revert minimum version related changes
2022-11-11 21:20:42 +04:00