Commit Graph

401 Commits

Author SHA1 Message Date
Julian Mondragon
5bf0bbbea0 Merge branch 'main' of https://github.com/mattermost/mattermost-mobile into MM-42835 2023-01-03 09:24:09 -05:00
Elias Nahum
f913819b79 Dismiss correct bottom sheet screen for post / thread options (#6919) 2023-01-01 22:54:04 +02:00
Elias Nahum
5fbfd6bef5 Fix floating input style (#6916)
* Fix floating input style

* simplify style
2022-12-29 20:13:32 +02:00
Elias Nahum
4d039ae88b Revert "Align latex with text (#6900)" (#6911) 2022-12-27 15:22:00 +02:00
Jason Frerich
c872f7ca8d remove AddMembers and ManageMembers instances until PRs are merged (#6831) 2022-12-27 15:21:35 +02:00
Elias Nahum
c3bad20176 Fix floating text input color 2022-12-25 12:42:27 +02:00
Tiago Correia
97a34fc0e0 [MM-46562] Add show/hide password function for login screen (#6612) 2022-12-23 16:42:34 +02:00
Daniel Espino García
b1e4403768 Fix several issues around team join (#6863)
* Fix several issues around team join

* Open in modal and fix channel list

* Add joining states and fix issues

* i18n-extract

* add specific message for group related failures on joining teams

* Address feedback

* Address feedback

* Use error from server response
2022-12-23 14:43:59 +02:00
Daniel Espino García
450b6e1a21 Align latex with text (#6900)
* Align latex with text

* fix tests

* fix markdown bold

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-12-23 14:21:50 +02:00
Matthew Birtch
9753334ff2 [Gekidou MM-46365] fix reaction bar space and update bottom sheet styles (#6634)
* updated styles for reaction bar and made pick reaction pressable

* removed unused style import

* removed unused style import

* updated user avatars, user presence, thread options bottom sheets to new style also

* updated status bottom sheet, thread options, and some tweaks to the bottom sheet main file

* fixed a few minor styling issues

* used proper bottom inset in user presence bottom sheet

* various updates to bottom sheets

* used negative top position instead of negative margin

* updated camera type bottom sheet

* further refinements to bottom sheets

* updates to emoji bar and profile image picker

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-12-23 14:08:51 +02:00
Furqan Malik
d063ecf8c7 Merge pull request #6873 from mattermost/detox-maintenance-12152022
Detox/E2E Maintenance: Fix broken iOS e2e tests
2022-12-22 15:06:31 -05:00
Daniel Espino García
da4470bd78 Allow to select text from tables on full view (#6901)
* Allow to select text from tables on full view

* Fix check

* Remove inline style
2022-12-22 20:46:11 +02:00
Elias Nahum
f32b2dfeb2 Perform search when hashtag is pressed (#6893)
* Perform search when hashtag is pressed

* PM feedback review
2022-12-21 19:35:34 +02:00
Elias Nahum
58b78ec27a use correct syntax highlight styles for github code theme (#6895) 2022-12-21 16:00:38 +02:00
Daniel Espino García
25291b04f1 Fix server unreachable message showing too often (#6890) 2022-12-20 22:35:12 +02:00
Kyriakos Z
bf5783252e MM-49219: fixes post priority (#6880)
We have changed how priority gets saved in the server, so now instead of
post.props we are using post.metadata.priority.
This commit adds the relevant changes for posts' priority to work in the
mobile app.
2022-12-20 21:54:25 +02:00
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
Julian Mondragon
0262b22a02 Merge branch 'main' of https://github.com/mattermost/mattermost-mobile into MM-42835 2022-12-16 10:46:15 -05:00
Julian Mondragon
a476b53d5f MM-42835_Invite People - add email+user invites 2022-12-16 10:45:48 -05:00
Joseph Baylon
56d2d57291 Detox/E2E Maintenance: Fix broken iOS e2e tests 2022-12-15 14:47:33 -08: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