Commit graph

2184 commits

Author SHA1 Message Date
Guillermo Vayá
ec417cfd56
MM-36900 Fix mm emoji (#5526)
* wip

* fix typo

* fix snapshots

* move inside emojis

Co-authored-by: = <=>
2021-07-09 18:32:29 +02:00
Joseph Baylon
eed5b41292
MM-35679 Detox/E2E: Add e2e for DMs, GMs, main sidebar (#5521) 2021-07-09 18:53:57 +08:00
Daniel Espino García
1b5d76712a
MM-35935 Respect disabled for bool settings (#5405)
* Respect disabled for bool settings

* Fix test

* Mirate to functional component

* Fix test
2021-07-09 11:16:06 +02:00
Daniel Espino García
f0c9aa75fc
Add commit buttons in form instead of on navigation (#5419)
* Add commit buttons in form instead of on navigation

* Fix style
2021-07-08 10:50:23 +02:00
Elias Nahum
073b836beb
Bring back refresh control for channels and threads (#5511) 2021-07-07 13:03:35 -04:00
Elias Nahum
883399f13d
Load other teams you can join when deleting cache (#5516) 2021-07-07 12:24:41 -04:00
Elias Nahum
c2852d9581
MM-36808 fix auto responder posts (#5505) 2021-07-07 06:38:09 -04:00
Elias Nahum
df26a363bc
MM-36745 Fix animation for showModalOverCurrentContext (#5507) 2021-07-06 14:04:31 -04:00
Guillermo Vayá
2754b00f83
use user skin preferences for emoji (#5502) 2021-07-06 19:56:53 +02:00
Daniel Espino García
d7b6c889b2
Add markdown to apps forms descriptions and errors (#5426)
* Add markdown to apps forms descriptions and errors

* Minor reference fixes and add markdown to command descriptions

* Revert changes that include markdown on command suggestions

* Disable unneeded markdown
2021-07-06 18:35:23 +02:00
Elias Nahum
63f8cdab35
MM-32802 don't display nickname for current user in autocomplete (#5492) 2021-07-06 08:24:36 -04:00
Elias Nahum
05ead9f734
MM-34619 post draft to use the channelId prop when assigned (#5488) 2021-07-01 07:04:47 +08:00
Daniel Espino García
bdbdc0b7ba
Add Markdown fields to modals (#5407)
* Add Markdown fields to modals

* Add better handling for readonly and default values on commands

* Create stylesheet instead of passing the style directly to the components

* Fix unhandled promise error and markdown not showing

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-30 18:55:08 +02:00
Guillermo Vayá
1f843ddb4f
[MM-35909] Support for emoji 13 (#5497)
* support for emoji 13

* fix some tests

* more test fixed

* fix typo

* rename system to standard

* remove unused functions

* fix +1 emojis
2021-06-30 00:41:11 +02:00
Elias Nahum
15a311fcec
MM-17135 ignore at sign when searching for users (#5491) 2021-06-29 14:33:04 -04:00
Elias Nahum
4489906698
Prevent the initialIndex from being less than 0 (#5501) 2021-06-29 14:32:40 -04:00
Elias Nahum
65a14f309b
Allow reply from individual notifications on Android (#5494) 2021-06-29 14:32:08 -04:00
Elias Nahum
a6dc8fedbe
Do not recreate onViewableItemsChange when the deeplink changes (#5489) 2021-06-25 14:50:36 -04:00
Elias Nahum
47d081b216
Content safety (#5486)
* add content safety check to avoid potential crashes

* Fixes iOS YouTube video playback
2021-06-25 14:23:23 -04:00
Elias Nahum
f7071c290c
Clear cookies but keep files (#5479) 2021-06-24 18:47:37 -04:00
Joseph Baylon
b893cc1a3b
MM-35677 Detox/E2E: Add e2e for channel link and scrolling (#5465)
* Detox/E2E: Add e2e for channel link and scrolling

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

* Update detox/e2e/test/messaging/channel_link.e2e.js

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-24 10:38:50 -07:00
Elias Nahum
f7c254ef03
MM-36532 navigate to channel from any screen when channel link is pressed (#5467) 2021-06-24 12:57:18 -04:00
Elias Nahum
cb7f97e886
MM-36640 Bring back permalink view on search/recent mentions/pinned and saved posts (#5482)
* Downgrade RNN to avoid bug that cuts off permalink view on iOS

* Bring back permalink view on search/recent mentions/pinned and saved posts

* fix test snapshot
2021-06-24 12:46:02 -04:00
Elias Nahum
bced848b8e
MM-36628 fix iOS app icon badge count (#5480) 2021-06-23 19:24:54 -04:00
Manoj Malik
c06b5ecb4f
Fixed custom status issues (#5476)
Fixed MM-36571 and MM-36601 issues by dispatching RECEIVED_ME action on websocket reconnecting
Added memoization in makeGetCustomStatus in custom status emoji component
Fixed e2e test case failing due to post header custom status emoji
2021-06-22 10:27:47 -07:00
Elias Nahum
f4f8379796
Update dependencies and setup project with node 16 / npm 7 (#5474) 2021-06-21 18:36:38 -04:00
Elias Nahum
683c6f5df7
MM-36588 rebind the correct post list to the native view (#5472) 2021-06-21 12:16:27 -04:00
Elias Nahum
298067ab65
Update react-native-cookies & react-native-webview + always use defaultDataStore (#5452)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-06-15 18:40:35 -04:00
Elias Nahum
0e81e0e2a8
fix: connect websocket when the component mounts (#5456) 2021-06-14 15:48:39 -04:00
Elias Nahum
b2d233b5ed
fix: reset iOS scrollView when switching channels (#5447)
* fix: reset iOS scrollView when switching channels

* cancel animation frame after resetting the scrollview

* add useResetNativeScrollView hook
2021-06-11 18:22:38 -04:00
Elias Nahum
6335932883
1.44 fixes (#5444)
* fix: get status as soon as appstate is in the foreground

* re-render post list when theme changes

* remove invalid userIds from get status request
2021-06-11 13:56:09 -04:00
Joseph Baylon
8894ee464f
MM-35676 Detox/E2E: Add e2e for emojis and reactions, pinned messages, saved messages (#5443) 2021-06-10 09:43:50 -07:00
Elias Nahum
c7ef19d36e
MM-36269 fix post reaction handle press (#5438) 2021-06-09 15:15:26 -04:00
Manoj Malik
7cc57c2dbe
Fixed the warning about isCustomStatusEnabled prop in ChannelInfo (#5436) 2021-06-08 10:32:24 -07:00
ctlaltdieliet
f2899dde6f
MM-34093 Add support for English Australian (#5411) 2021-06-08 08:24:27 -04:00
Elias Nahum
2cc4b00431
fix start since launch metric (#5433) 2021-06-07 15:16:49 -04:00
Chetanya Kandhari
e442275c6f
MM-34586 Custom status feature (#5220) 2021-06-04 08:54:31 -04:00
Elias Nahum
9f238d5ef4
Post List & post components refactored (#5409)
* Update transform to make Android's post list scroll smooth

* set start since metric when appStarted is false

* Refactor Formatted components

* Downgrade RNN to 7.13.0 & patch XCDYouTube to allow video playback

* Refactor Post list and all related components

* review suggestion rename hour12 to isMilitaryTime

* feedback review use aliases

* feedback review deconstruct actions in markdown_link

* feedback review simplify if/else statement in combined_used_activity

* Simplify if statement for consecutive posts

* Specify npm version to build iOS on CI

* Refactor network_indicator

* render Icon in file gallery with transparent background

* Increase timeout to scroll to bottom when posting a new message

* fix: scroll when tapping on the new messages bar

* fix: dismiss all modals

* fix navigation tests

* Handle dismissAllModals for iOS to prevent blank screens

* Prevent modal from dismissing when showing the thread screen in the stack

* Update app/components/image_viewport.tsx

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/utils/post.ts

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* fix: rename selector and prop

* Fix XCDYouTube patch

* Fix posting from a thread in the right channel

* do not render reply bar on the thread screen

* close previous permalink before showing a new one

* move XCDYouTube patch to ios/patches folder

* closePermalink directly instead of using an onClose prop

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2021-06-03 11:12:15 -07:00
Joseph Baylon
1fd4edba83
MM-35675 Detox/E2E: Add e2e for message reply (#5406) 2021-06-01 07:38:07 -07:00
Joseph Baylon
19196170dc
MM-35674 Detox/E2E: Add e2e for autocomplete and at-mention (#5404)
* MM-35674 Detox/E2E: Add e2e for autocomplete and at-mention

* Uncomment previously commented out line

* Fix verification comment
2021-06-01 07:37:34 -07:00
Joseph Baylon
4270148f7d
MM-35671 Detox/E2E: Add e2e for markdown table, separator, and block quote (#5399)
* MM-35671 Detox/E2E: Add e2e for markdown table, separator, and block quote

* Revert podfile

* Fix markdown block quote comment
2021-05-24 07:20:49 -07:00
Anurag Shivarathri
6e23fbe7a7
MM-32921 shared channels (#5241)
* Unable to open previews from search, pinned and mentions

* Updated Compass Icons

* Added Icon to LHS and Channel Info

* Added Icons to Manage/View Members list

* Added Icon to shared users in posts

* Added icon to channel header, fixed header style

* Added Icons in autocomplete

* WIP: Add shared shannels to browse

* Adding Shared Channels string to i18n

* Added remote organization to remote user profile

* Updated snapshot for channel header

* Added browsing shared channels

* Removed the exmpty line

* Added snapshot when user is remote

* Reverted compass icons and added icons only needed for shared channels

* Fixed i18n swapped

* Copied compass-icons from webapp

* Fixed showing shared channels as deleted after browsing them

* Added new compass ttf to android & fixed icon style for browse channel listing

* Fixed search for shared channels

* user profile snapshot updated with testId

* User list row snapshot updated with testID

* Moved shared user check to util function

* Fixed required props warning for ChannelIcon component

* Update app/screens/user_profile/index.js

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Removed Request related redux

* Reverted client4

* Added rest calls

* Updated snapshot

* Reverted files

* Adding back shared channels stuff to channel icon & showing shared channels only when enabled in browse channels

* Fixed misc issues

* moved empty array outside the function to avoid re-render

* Removed renaming fields

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-05-24 16:07:47 +05:30
Elias Nahum
6ea6366e1c
MM-35384 Add country variant localization support (#5397) 2021-05-20 11:58:53 -04:00
Joseph Baylon
d464f102fb
MM-35670 Detox/E2E: Add e2e for mark post unread and read (#5396) 2021-05-20 08:16:52 -07:00
Elias Nahum
288c847518
Add Perf metrics, some cleanup & dep updates (#5378) 2021-05-12 08:48:20 -04:00
Michael Kochell
7227675320
Allow post option modal to close before opening app modal (#5383)
* Allow post option modal to close before opening app modal

* lint

* revert commits

25ea111d9ab1441094de2b27e1af18a22d863a33 and c0d9e2128610eb02123ccd7362597fd0499d11be

* wait for post options to close before kicking off request
2021-05-11 12:32:49 -04:00
Elias Nahum
71e0150d27
MM-35320 Fix race condition when saving draft on tablets (#5379) 2021-05-10 15:13:51 -04:00
Elias Nahum
17fd4ee278
MM-32591: Reliable Websockets: Client side changes (#5362) 2021-05-07 08:20:41 -04:00
Elias Nahum
d42aba8287
MM-31510 fix: last message is rendered behind the input box on iPad (#5365) 2021-05-03 16:35:52 -04:00
Elias Nahum
4880689bdc
MM-31874 Properly use theme mention highlight link color (#5366) 2021-05-03 11:34:51 -04:00