mattermost-mobile/app
Joseph Baylon f495e1e48d
MM-30289 Detox/E2E - Add e2e tests for MM-T3184 and MM-T3186 (#5133)
* MM-30289 Detox/E2E - Add e2e tests for MM-T3184 and MM-T3186

* Update detox/e2e/support/server_api/preference.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* MM-31322: redirect permalink handler (#5136)

* invert loadTeam.error test

* MM-31322: handle _redirect permalinks

In the webapp, [there is support](7c5a2e3bfd/components/root/root.jsx (L345-L352)) for a special `_redirect` team name in certain contexts that simply means, "the current team". It's used in the context of redirecting to the integrations backstage (not relevant for mobile), for also for resolving post permalinks.

This simplifies certain kinds of integrations which no longer have to know a team name to render a permanent link to a post. An example link looks like:

    http://localhost:8065/_redirect/pl/e3sxrxtwh78jmxawsaqfemxoew

This PR adds support for same in mobile, unintentionally missed on the first round of implementation.

Fixes: https://mattermost.atlassian.net/browse/MM-31322

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* linting issues

* Apply suggestions from code review

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

* revert showPermalink changes

* Revert "invert loadTeam.error test"

This reverts commit accf6c8fb7c56009a393a6e85084d4702deec9ed.

* support _redirect deeplinks

* Apply suggestions from code review

* Update app/components/post_list/index.js

Co-authored-by: Joseph Baylon <joseph.baylon@mattermost.com>

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
Co-authored-by: Jesse Hallam <jesse.hallam@gmail.com>
2021-02-10 13:55:00 -08:00
..
actions Upgrade Dependencies (#5103) 2021-01-13 12:36:31 -07:00
client Upgrade Dependencies (#5103) 2021-01-13 12:36:31 -07:00
components MM-30289 Detox/E2E - Add e2e tests for MM-T3184 and MM-T3186 (#5133) 2021-02-10 13:55:00 -08:00
constants OAuth through OS browser, added google login & open id methods (#5075) 2021-01-19 21:15:24 +05:30
i18n Added Bulgarian and Swedish translation (#5093) 2021-01-12 16:15:12 +01:00
init MM-31764 Fix image attachment layout when permanent sidebar is visible (#5115) 2021-01-13 14:57:04 -03:00
mattermost_bucket iOS Native Share Extension (Swift) (#2575) 2019-02-26 14:31:57 -03:00
mattermost_managed MM-24446 Fix Crash on iOS with EMM enabled (#4203) 2020-04-23 06:03:10 -04:00
mm-redux OAuth through OS browser, added google login & open id methods (#5075) 2021-01-19 21:15:24 +05:30
notification_preferences Deps update (#3806) 2020-01-20 13:20:03 -03:00
reducers MM-18998 Add emojis in the post to recent emojis (#4986) 2020-12-10 20:20:40 -03:00
screens [MM-30697, MM-30699] Detox/E2E: Add e2e for MM-T3273 and MM-T3228 (#5146) 2021-02-10 13:52:54 -08:00
selectors MM-31990 fix limit reacting to a post to 40 different emojis (#5121) 2021-01-21 12:14:49 -07:00
store Upgrade Dependencies (#5103) 2021-01-13 12:36:31 -07:00
styles [MM-31177] Use png over Compass icon for logo (#5008) 2020-12-09 22:16:29 -07:00
telemetry MM-15758 Update dependencies including Fastlane (#4272) 2020-05-18 11:24:47 -07:00
types Add eslint eol-last to require newline at end of files (#4985) 2020-11-30 21:46:05 -07:00
utils MM-30289 Detox/E2E - Add e2e tests for MM-T3184 and MM-T3186 (#5133) 2021-02-10 13:55:00 -08:00
mattermost.js MM-31764 Fix image attachment layout when permanent sidebar is visible (#5115) 2021-01-13 14:57:04 -03:00
mattermost.test.js Add eslint eol-last to require newline at end of files (#4985) 2020-11-30 21:46:05 -07:00