Commit Graph

352 Commits

Author SHA1 Message Date
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
Guillermo Vayá
fd7ab546e0 don't bold muted channels (#6713) 2022-10-28 10:53:29 -03:00
Elias Nahum
2eb52990ca apply heading style to hashtags (#6710) 2022-10-28 10:02:32 -03:00
Matthew Birtch
14cc74fdb9 update team sidebar's background color to match with the theme color used in the webapp (#6711) 2022-10-28 10:01:51 -03:00
Jason Frerich
c627fb8df9 [Gekidou MM-46229] Add hideAndLock, showAndUnlock callbacks for Search (#6677)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-10-27 22:04:26 -05:00
Daniel Espino García
bb051b83b9 Use always first the local channels (#6594)
* Use always first the local channels

* Fix several race condition related issues

* Remove clean after cursor change

* Address feedback

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-10-24 10:55:31 +02:00
Daniel Espino García
c82c634523 Hide autocomplete when the input is blurred. (#6692) 2022-10-21 10:35:59 +02:00
Jason Frerich
6b2d8ceff3 [Gekidou MM-47486] Clear the search input after selecting a user (#6683) 2022-10-20 05:54:00 -05:00
Daniel Espino García
4f4f96ff24 Fix channel links when it implies joining a channel (#6686) 2022-10-18 16:16:06 +02:00
Elias Nahum
5c7e89d7de [Gekidou] update deps (#6667)
* Fix login not showing the usernames (#6652)

* update dependencies

* feedback review

* feedback review 2

* remove unused dependencies

* remove duplicate gesture-handler dependency

* add -XX:+HeapDumpOnOutOfMemoryError to gradle

* adjust gradle memory

* update android ci image

* android executor xlarge

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2022-10-13 08:41:18 -03:00
Jason Frerich
380b375411 [Gekidou MM-45790] Create File Options Menu for Tablet View (#6531) 2022-10-11 08:19:13 -05:00
Elias Nahum
d201035a89 [Gekidou] Add custom status to user profile sheet (#6670)
* Add custom status to user profile sheet

* add missing translations
2022-10-11 09:18:46 -03:00
Elias Nahum
4c4d5475f3 Fix channel calls icon alignment (#6668) 2022-10-07 09:14:48 -03:00
Elias Nahum
13464cb06b dismiss bottomSheet before opening the camera 2022-09-18 06:59:56 -04:00
Anurag Shivarathri
af77f74902 Fix (#6644) 2022-09-15 14:13:46 +05:30
Jason Frerich
36846e9b4c [Gekidou MM-46847] allow wrapping long channel text in autocomplete (#6633) 2022-09-14 08:21:57 -05:00
Anurag Shivarathri
97c41057cc [Gekidou MM-43992] Display message priority labels for the posts (#6620)
* Displays label

* feedback

* import fix

* Moved label colors to stylesheet
2022-09-11 20:45:07 +03:00
Daniel Espino García
9ab4c935ef Fix autocomplete not scrolling in search in Android (#6596) 2022-09-08 04:39:15 -03:00
Joseph Baylon
8d7b15da51 Detox/E2E: Edit Profile, Custom Status, and Settings e2e tests in Gekidou 2022-08-25 17:42:41 -07:00
Jason Frerich
d88bf8e535 [Gekidou MM-46370] Fix slow response time which switching between files and messages tabs (#6579) 2022-08-25 08:27:55 -05:00
Elias Nahum
37e13b81b5 fix option box minHeight so that it fits on iPhone SE (#6588) 2022-08-24 08:55:26 -04:00
Daniel Espino García
f874279d87 Make it so a space after autocomplete channels and users closes the autocomplete (#6589) 2022-08-23 09:56:04 +02:00
Christopher Poile
d30b97ba99 MM-45747 - Cloud freemium limits & Max participants limits (#6578) 2022-08-20 08:57:14 -04:00
Joseph Baylon
25ae8fdb88 Detox/E2E: Account e2e tests in Gekidou (#6584)
* Detox/E2E: Account e2e tests in Gekidou

* Fix suite title

* Changed ldap port to number

* Fix testIDs for settings

* Added zephyr test case keys
2022-08-18 03:18:46 -07:00
Christopher Poile
7a63467610 do not send the call end slash command (no fallthrough) (#6580) 2022-08-17 10:01:09 -04:00
Daniel Espino García
afd818996e Improve autocomplete behaviour (#6559)
* Fix positioning issues with Autocomplete

* Fix positioning for iOS and iPad

* Adapt search to new autocomplete approach

* Adapt for android

* Fix lint

* Fix calculations on channel edit

* Address feedback

* Address feedback

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2022-08-13 08:34:26 -04:00
Christopher Poile
7da253e310 MM-45945 - Calls: finish i18n of calls components and messages (#6547)
* finish i18n for calls components

* fix formatted time style bug

* prefer FormattedText

* more FormattedText

* merge conflicts

* PR comments on copy
2022-08-11 16:10:28 -04:00
Jason Frerich
f376b3f6af [Gekidou MM-46195] Fix team picker height (#6554) 2022-08-10 06:32:40 -05:00
Elias Nahum
dcc05956b6 Gekidou upgrade RN to 0.69.3 and dependencies (#6537)
* module dependencies

* update fastlane

* upgrade types dependencies

* update dev deps

* update react-native-notifications

* update react-native-keychain

* update sentry

* update detox

* Upgrade to RN 69.3

* increase MaxMetaspaceSize gradle opts

* feedback review
2022-08-08 09:06:20 -04:00
Daniel Espino García
f4e6917185 Ensure no unresolved types in the definition files (#6521)
* Ensure no unresolved types in the definition files

* Address feedback and general cleanup

* Move import from @constants/x to @constants where relevant

* Remove unneeded "import as"
2022-08-05 14:36:19 +02:00
Jason Frerich
aec0ccb105 [Gekidou MM-44940] Add autocomplete to navigation search (#6516)
* implement so that autocomplete will track the collapsable header

* add search screen

* move autocomplete to it's own view and add zindex to the view so it sits
atop the modifiers and results

* remove unused imports

* - remove console.log
- paddingTop is optional

* remove comments

* remove commented code

* - use a more reasonable zindex value. On more than in Nav Header
- use consts for autocomplete padding top

* remvoe search screen button

* - add dependencies

* - remove search button

* - not needed

* move autocomplete zindex to constant

* - move autocomplete directly below NavigationHeader
- adjust distance from search box

* - remove setXX from dependencies
- remove useMemo because only returning the component

* remove these changes. after placing autocomplete correcting in the
search component, this works as expected

* without this setting, ios has the issue where autocomplete is open,
transparent, and has height.  The user cannot click any modifiers.

* - need usememot for autocomplete
- add isSearch to remote runSearch function as option to hit the search
  for autocomplete API option
- Initial component needs handleTextChange callback to set the
  cursorPosition correctly

* use ternary operator
2022-08-05 16:15:12 +04:00