Commit Graph

382 Commits

Author SHA1 Message Date
Elias Nahum
b01a5bfab8 use matchDeepLink result for relative links (#6882) 2022-12-20 11:42:02 +02:00
Elias Nahum
712324c756 Remove lineHeight from post so that it does not break inline images (#6883) 2022-12-20 07:09:27 +04:00
Elias Nahum
88fde2cc5e Restyle video playback error (#6871)
* Restyle video playback error

* video not shown when attached with multiple files and thumb fails

* update local path when saving and sharing a file

* feedback review
2022-12-19 21:29:11 +02:00
Anurag Shivarathri
724d72d98a [MM-47483] Activity Indicator while loading thread posts (#6865)
* Fix

* Addressing feedback

* Disabled pull to refresh when thread is being fetched

* Test fail fix

* Feedback changes
2022-12-17 01:15:22 +05:30
Elias Nahum
e294b07418 Add DeepLink support (#6869) 2022-12-16 18:57:15 +02:00
Elias Nahum
f51557bcd1 Improve cold start (#6868) 2022-12-15 13:56:46 +02:00
Elias Nahum
917ea371a0 Fix ios keyboard tracking and profile status theme (#6859)
* add listener when screen is popped

* Fix profile status theme
2022-12-13 09:14:39 +02:00
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
67ff0d2d53 [MM-48951] Add flex to text so that it shrinks and allows icons to take precedence (#6853) 2022-12-09 13:14:47 -06:00
Daniel Espino García
8a8a888420 Fix issues when removing a user from a team (#6855) 2022-12-09 21:08:45 +02:00
Elias Nahum
d676568c61 Refactor NavigationStore (#6842) 2022-12-07 16:44:21 +02:00
Elias Nahum
5e3e7b151e Place cursor position in between the phrase modifier (#6828) 2022-12-06 18:36:48 +02:00
Elias Nahum
00039cb21b center highlighted post in permalink view (#6836) 2022-12-06 18:35:13 +02:00
Elias Nahum
5992a85dfb fix bad merge 2022-12-06 14:15:23 +02:00
Elias Nahum
8ed78b807c set mentionHighlightBg background for mention keywords (#6834) 2022-12-06 14:09:53 +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
8366268beb Create DM/GM Screen - fix extra space in selected users bottom panel (#6821) 2022-12-03 09:48:45 -06:00
Jason Frerich
e4c38bd5a0 [Gekidou MM-47652] Add Create DM Add Bottom Panel (#6699) 2022-12-02 22:44:38 +02:00
Elias Nahum
dc4d61972f Fix potential crash by accessing the team directly from another model (#6813) 2022-12-02 17:06:18 +02: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
Daniel Espino García
33b2cb6623 Check if group exist before fetching the mention (#6816) 2022-12-02 15:15:23 +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
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
Shivashis Padhi
130b066d36 Switch teamname display from 'capitalize' -> 'uppercase' (#6785) 2022-11-29 08:03:08 +02: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
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
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
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
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
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
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
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
Jason Frerich
b078efe84f [Gekidou MM-48281] Fix issue with single image result extending to full height of the image (#6750) 2022-11-10 10:56:35 -06:00
Elias Nahum
ae0eb43793 [Gekidou] EMM fixes (#6730) 2022-11-08 22:49:39 +02:00
Jason Frerich
23194034da [Gekidou MM-47765] Add horizontal padding to empty results (#6745) 2022-11-08 12:54:57 -06:00
Javier Aguirre
cc5331f2ba The value wasn't unique (#6731) 2022-11-08 10:27:52 +02:00
Matthew Birtch
1d4806d7b0 udpated theme color and position of unread dot and adjusted border radius on selected team (#6738) 2022-11-07 05:09:17 +02:00
Matthew Birtch
8e6c452256 change generic file icon to paperclip icon (#6739) 2022-11-07 05:09:03 +02:00
Elias Nahum
d8504b822c Update denim theme link color (#6733) 2022-11-04 20:57:12 +04:00
Jason Frerich
88ff8fac30 [Bug] Emit boolean with "of" operator (#6729) 2022-11-02 19:35:23 -05:00
Jason Frerich
debcc99480 [Gekidou MM-48006] Show keyboard when select a modifier (#6714) 2022-11-02 12:15:54 -05:00
Daniel Espino García
f033a28eb2 Make so Autocomplete opens when we use the at quick action (#6613)
* Make so Autocomplete opens when we use the at quick action

* Open keyboard when the quick action is pressed
2022-10-31 18:02:44 +01:00
Jason Frerich
b58b425909 [Gekidou - MM-47656] Members List UI Changes (#6698) 2022-10-31 09:44:04 -05:00
Daniel Espino García
bb0322321e Fetch and store bindings (#6660)
* Fetch and store bindings

* Fix navigate and form opening
2022-10-28 17:08:28 -04:00