Commit Graph

974 Commits

Author SHA1 Message Date
Elias Nahum
5e9de9f4a2 Thread crash fix and other UI fixes (#7342)
* center align channel name in intro

* align custom status in channel header

* wrap long custom status on profile bottom sheet

* Fix LaTex render clipped on Android

* Add margin for users displayed in a list

* show user profile when tapping on self on channel members

* Fix Thread screen when rootId prop is undefined

* update snapshots

* fix server / login screen on small devices
2023-05-11 09:35:11 -04:00
Daniel Espino García
c99861d728 Use message source on post edit (#7325)
* Use message source on post edit

* Fix tests and bugs
2023-05-11 14:18:07 +02:00
Daniel Espino García
66a37b7032 Show saved posts in search and recent mentions lists (#7326)
* Show saved posts in search and recent mentions lists

* Add missing space
2023-05-11 08:16:11 -04:00
Daniel Espino García
0a04be7448 Use RN Image for local images instead of FastImage (#7329) 2023-05-10 09:44:10 -04:00
Daniel Espino García
162cdfb21d Handle currentUser not available throught the app and refetch it (#7333)
* Handle currentUser not available throught the app and refetch it

* Address feedback
2023-05-05 15:40:59 -04:00
Elias Nahum
3a416dc511 Fix Thread button crash (#7330)
* remove the right button component id

* do not render thread follow button

* use lodash uniqueId instead of uuid
2023-05-05 09:17:47 -04:00
Christopher Poile
c90ace706c MM-49970 - Calls: Call quality status banner (#7304)
* use mean opinion score detection; add call quality alert bar; tests

* rename MessageBar's file to message_bar

* i18n

* use mosThreshold from calls-common; upgrade calls-common

* use callsBg for text and icon
2023-05-04 15:28:15 -04:00
Christopher Poile
f8f6839945 MM-51228 - Calls: UX redesign & theming support (#7283)
* UX redesign

* fix call bar profile on Android

* update @mattermost/calls; use common color utils

* collapseIcon and time colour fixes (not correct yet on Onyx or Quartz)

* fix time and collapseIcon colors; fix unavailable wrapper

* center users, scroll when full; statusBar bg and styling

* better spacing; better screenshare; no reaction bar when no reactions

* remove margins from bottom; speaker/react buttonOn colour is now callsBg

* update calls-common; update raised hand button colors

* i18n

* cleaning up style sheets

* fix package-lock

* fix vertical alignment of phone icon

* add a noBorder prop to UserAvatarsStack

* typography, icon sizing, spacing changes

* add rounded header; UI improvements; refactor observables

* updating phone icon, join call margins

* join call text; color theming

* remove unneeded container

* phone-outline -> phone

* split CallsChannelState into boolean components

* use sidebar bg to generate calls bg

* fix hand icon, button texts
2023-05-04 14:17:17 -04:00
Elias Nahum
34df44ab53 Always let the server set the create_at timestamp (#7323) 2023-05-04 02:34:17 -04:00
Daniel Espino García
86658edc30 Refactor errors around the app (#7306)
* Refactor errors around the app

* Fix recursive function

* Fix tests
2023-05-03 13:08:55 +02:00
Elias Nahum
712d8465a7 fix small images style (#7310) 2023-04-28 20:56:03 -04:00
Christopher Poile
1ce69f20fb use CallState and CallChannelState from @mattermost/calls (#7318) 2023-04-28 20:55:40 -04:00
Dmitry Lyzlov
5dfc67dc61 Fixed exception on accessing 'payload' of undefined in InAppNotification (#7317)
* Moved to use auto-generated component id in showOverlay call instead of setting it explicitly

* Fixed linter warnings
2023-04-28 20:55:27 -04:00
Harrison Healey
3c790d2561 MM-52173 Add setting to delay channel autocomplete (#7297)
* MM-52173 Add setting to delay channel autocomplete

* Remove extra enhancer

* Address feedback
2023-04-28 20:55:07 -04:00
Amy Blais
35023ea389 Update supported ESR version (#7316)
* Update README.md

* Update full_description.txt

* Update changelog

* update app to alert on servers below 7.8.0

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-04-28 11:56:07 -04:00
Elias Nahum
4292c61a5c small refactor to include thread follow button (#7314) 2023-04-27 11:49:46 -04:00
Christopher Poile
c1430757b8 MM-51776 - Calls: Audio device selections, & fix bluetooth (#7286)
* ask for bluetooth permissions on Android

* new "switch audio device button" for Android

* i18n strings

* split audio_device_button into platform-specific files; PR comments

* earpiece -> phone

* add comments to clarify speakerphone logic

* update snapshots

* add new compass-icons; use tablet and bluetooth icons; add tablet mode

* fix lint
2023-04-27 11:44:14 -04:00
Daniel Espino García
30706382a0 Improve post chunk handling (#7309)
* Improve post chunk handling

* Remove unneeded merge and improve post list handling

* Fix unneeded requests

* Address feedback and fix lint
2023-04-27 16:04:46 +02:00
Kyriakos Z
ab4f65020a [MM-49540] Message Priority Phase 3 (#7142)
* Init

* i18 and types

* Acknowledge button, api

* Ack button + display ackd users

* Saves priority on draft and addresses some comments

* Addresses review comments round 2

* Moves fetching userprofiles upon opening ACKs

* Adds metadata column in drafts table

+ Addresses some more review comments.

* Small refactor according to review comments

* Addresses some review comments

* Addresses some review comments

* Uses local action when ACKing

* Fixes first time selecting priority and other

* Updates snapshots

* Fixes i18n

* Fixes ts errors

---------

Co-authored-by: Anurag Shivarathri <anurag6713@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-04-27 11:22:03 +00:00
Christopher Poile
e6254885ee MM-43737 - Calls: Follow call thread on user joining a call (#7293)
* follow threads on call join

* treat custom_calls posts as the start of threads

* make thread follow logic robust to race conditions; tests

* only follow thread when CRT is enabled

* Revert "only follow thread when CRT is enabled"

This reverts commit 4e52a2619b35db3d2104f0b6ba5ad8be23f7b224.
2023-04-26 15:20:07 -04:00
Elias Nahum
1a4bc4217c Added localization for iOS plist files (#7303)
* Added localization for iOS plist files

* update strings

* Update app/constants/permissions.ts

* Update assets/base/i18n/en.json

* Update ios/Mattermost/Info.plist

* Update ios/Mattermost/Info.plist

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* Update app/constants/permissions.ts

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* Update assets/base/i18n/en.json

Co-authored-by: Christopher Poile <cpoile@gmail.com>

* add suggestions

---------

Co-authored-by: Dmitry Lyzlov <dlyzlov@stsoft.ru>
Co-authored-by: Carrie Warner (Mattermost) <74422101+cwarnermm@users.noreply.github.com>
Co-authored-by: Christopher Poile <cpoile@gmail.com>
2023-04-21 13:57:38 -04:00
Elias Nahum
58d1b02d3a Fix the query undefined comparison when threadId prop is not set by the navigation library (#7302) 2023-04-21 12:27:51 -04:00
Elias Nahum
784b05fe97 Upgrade Dependencies (#7299)
* upgrade reanimated

* update devDependencies

* upgrade react-intl

* update react-native and some dependencies

* update react-native-permissions

* update RN

* use Share sheet for Report a problem

* update Sentry

* remove step to downloadWebRTC

* update detox deps

* feedback review
2023-04-21 12:16:54 -04:00
Daniel Espino García
e1176e578d Fix out of order websocket events for posts (#7290) 2023-04-21 12:05:03 -04:00
Daniel Espino García
a8ee3a1b5a Fix and unify channel and user list items (#7175)
* Fix channel and user list items

* Fixes on members and create a dm lists

* Fix tutorial and ipad

* Fix test

* Address feedback

* Several fixes on Android

* Fix tests

* Address feedback

* Add more non breaking strings

---------

Co-authored-by: Daniel Espino <danielespino@MacBook-Pro-de-Daniel.local>
2023-04-19 10:13:14 +02:00
Daniel Espino García
67f1a2f0c9 Fix channel not marked as unread on notification entry (#7289) 2023-04-18 16:25:04 -04:00
Elias Nahum
c3ed9d3a4a Request missing write to storage permission to use the camera on Android 9 and below (#7292) 2023-04-18 13:54:22 -04:00
Daniel Espino García
f50144b15d Fix channels showing empty (#7291)
* Fix channels showing empty

* Update interface
2023-04-18 12:17:55 -04:00
Ashish Dhama
100a760502 [MM-44655] : Add channel files screen (#7223)
* add channel files screen

* fix filtering

* refactor code and fix style

* add search and some refactoring

* fix lint

* refactoring

* move file filters to files directory

* fix dependecy

* UX fixes and minor memo dependency changes

* fix empty state on Ipad

* fix search issues

* fix lint error

* fix search issue

* fix loading on filter changes

* show different text if no files found when filter is applied

* feedback review

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-04-14 18:33:11 -04:00
Tanmay Vardhaman Thole
265c4fe8a6 [MM-42565] Toast - Follow/Unfollow thread with undo functionality (#7267) 2023-04-14 12:28:03 -04:00
Daniel Espino García
2658d62c9c Fix file attachment limited to one file (#7280) 2023-04-14 11:12:40 -04:00
Daniel Espino García
c2bb87dd37 Check server identifier before login (#7206)
* Check server identifier before login

* Update text

* Update message
2023-04-13 15:48:25 +02:00
Dmitry Lyzlov
d0bc2c9f7a Replaced hardcoded value in Sentry hook with config value (#7239)
* Reworked hardcoded value in Sentry hook with config value

* Fixed type checking
2023-04-05 15:43:53 +02:00
Elias Nahum
6534feb298 Fix search results order (#7264) 2023-04-03 12:52:56 -04:00
Elias Nahum
5a8de38e9f revert changes made to in_app_notifications (#7255) 2023-03-31 07:33:31 -03:00
Daniel Espino García
720ac22070 Handle undefined metadata all over the app (#7244)
* Handle undefined metadata on Markdown Table Images

* Add missing change

* Handle undefined image metadata all over the app
2023-03-31 09:41:28 +02:00
Daniel Espino García
77095b1034 Add members (#7220)
* Add "Add members" modal

* Refactor into server user list

* Renaming and fixes

* Address feedback

* Add missing change

* Styling fixes for iOS
2023-03-30 11:58:50 -03:00
Elias Nahum
05469207d7 Fix iOS Push notification crashes (#7237) 2023-03-30 09:26:56 -03:00
Kyriakos Z
6472ce1247 MM-49540: drafts migration adding metadata (#7240)
* MM-49540: drafts migration adding metadata

Adds a drafts table migration adding the column "metadata".
This column is going to be primarily used to store the draft's
metadata priority field.

* Addresses review comments
2023-03-30 12:42:52 +03:00
Ashish Dhama
d62c35aae1 Merge pull request #7214 from mattermost/MM-50324_Increase-nickname-character-limit
[MM-50324]: Increase nickname field on UI from 22 to 64 characters
2023-03-30 14:45:42 +05:30
Daniel Espino García
473426180d Update members count on remove users (#7222)
* Update members count on remove users

* Check for error on removeMemberFromChannel
2023-03-30 11:10:53 +02:00
Ashish Dhama
d25e74bb49 Merge pull request #7227 from mattermost/MM-44655_add-files-count-column-in-channel-info-table
[MM-44655 ]: Add files_count column in ChannelInfo table and DB migration
2023-03-29 23:04:54 +05:30
Mattermost Build
11226c5620 Merge branch 'main' into MM-50324_Increase-nickname-character-limit 2023-03-29 17:51:00 +03:00
Christopher Poile
77f8eedb0a MM-51227 - Calls: Landscape mode optimizations for screensharing (#7226)
* allow landscape for ios; optimize screensharing view; fix reactions

* UX changes

* UX changes - top bar
2023-03-28 18:00:11 -03:00
Tanmay Vardhaman Thole
4b04df83f9 Tapping on a custom status in the message list opens the users profile card (#7199)
* Tapping on a custom status in the message list opens the users profile card

* Tapping on a custom status in the message list opens the users profile card

* code refactored and reuse functions in headerDisplayName

* fix import

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-03-28 09:17:22 +02:00
Eduardo Sellanes
388bb81acd photo permission alert is not displayed properly (#7228) 2023-03-24 14:50:16 -03:00
Christopher Poile
5089157951 prioritize raised hands when sorting participants (#7229) 2023-03-23 09:24:36 -03:00
Daniel Espino García
1235907945 Consider unread when mentions are present regardless of muted state (#7224) 2023-03-22 16:02:27 -04:00
Daniel Espino García
db18151a67 Add debug logs (#7225)
* Add debug logs

* Fix lint
2023-03-22 08:41:59 -03:00
Ashish Dhama
fa32301c1e fix comments 2023-03-22 15:52:47 +05:30