mattermost-mobile/app/screens
Michael Kochell 6fd9b6de71
[MM-33989] Show bindings in all threads and post menus (#5232)
* Apps bindings support (#5012)

* Add redux related information

* Add binding loading on channel refresh

* Add channel header and post option bindings

* Fix test

* Minor fixes

* Fix snapshots

* Handle errors and show bindings only on main channel

* Update Expand Levels keys and values to match latest changes

* Add NAVIGATE call response handling.

* Add more isolation to apps related code

* Add defaults to send ephemeral

* Update variable naming

* Rename shouldProcessApps by a more meaningful appsEnabled

* Embedded forms (#5169)

* Add redux related information

* Add binding loading on channel refresh

* Add channel header and post option bindings

* Fix test

* Minor fixes

* Fix snapshots

* Handle errors and show bindings only on main channel

* Update Expand Levels keys and values to match latest changes

* Add NAVIGATE call response handling.

* Add more isolation to apps related code

* Add Embedded Forms

* Fix snapshots

* Add Embedded Forms

* Improve naming, change the root element to be a binding and improve binding handling

* Get post down on the buttons, remove unneeded variables and minor fixes from the review

* Allow undefined bindings to fillBindingsInformation and add logging for error.

* Address review feedback

* Add App Forms (#5177)

* Add App Forms

* Address feedback and self review

* Add dynamic select

* Fixes and improvements

* Add the ability to refresh on submit.

* Use AppFormValue instead of redoing the type

* Address feedback

* [MM-31508] Rename URL to Path in Call (#5186)

* Add user agent to call context (#5193)

* Remove unneeded state reference (#5196)

* Change user agent query on fetch bindings (#5201)

* Add refresh websocket event to refetch bindings (#5194)

* Add refresh websocket event to refetch bindings

* Add missing changes

* Declare socket event constant and separate the handler to a different function

* Add binding validation on binding fetch (#5200)

* Apps commands (#5107)

* Add redux related information

* Add binding loading on channel refresh

* Add channel header and post option bindings

* Fix test

* Minor fixes

* Fix snapshots

* apps modals draft

* Handle errors and show bindings only on main channel

* Update Expand Levels keys and values to match latest changes

* Add NAVIGATE call response handling.

* Add more isolation to apps related code

* reuse command parser throughout slash_suggestion component's lifecycle

* fix prop and lint

* using alert to show error message. need another way

* duplicate import

* types

* types

* types

* rename file

* copy webapp parser and test

* dependencies moved. tests pass

* move app command parser into its own folder

* converted to typescript, all tests are passing

* automated and manual tests work

* lint

* lint

* remove fall throughs with blocks

* types

* doAppCall type

* extract displayError to deps file

* test types

* lint

* fix tests

* unused import

* PR feedback

* fix imports and show errors

* types

* remove execute suggestion for mobile

* watch feature flag

* fix tests

* change form text arugment behavior to show user input and not hint

* return call response error in doAppCall

* update tests to remove hint from text field suggestions

* lint

* use new base command structure

* fix tests

* wrap appsEnabled

* typescript actions/command.ts

* update app constants

* PR feedback

* fix error handling from doAppCall action

* Use App CallRequest structure (#5212)

* error handling

* move test files

* remove unused import

Co-authored-by: Daniel Espino García <larkox@gmail.com>

* Add feature flag (#5207)

* Add feature flag

* Simplify return

* Add localization, call validation and use call type on subpath (#5221)

* Add localization, call validation and use call type on subpath

* Add more localization to the parser and bring fixes from webapp

* Fix ephemerals and channel header / post options crashes

* fix app command parser deps and alert messages

* Improve suggestion handling

* Fix test

* Fix lint

* Return errors as error

* Address PR feedback

* return error property

* fix error string wordings

Co-authored-by: Michael Kochell <6913320+mickmister@users.noreply.github.com>

* show bindings in threads and all post menus

* unused import

* fallback on post id in case this is the root post

* fix ephemeral reply for modal submissions

* fix merge typo

Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Ben Schumacher <ben.schumacher@mattermost.com>
2021-03-24 17:06:51 -04:00
..
about Revert "[MM-29225] Define LSApplicationQueriesSchemes so Linking.canO… (#5067) 2021-01-06 09:11:27 -07:00
add_reaction MM-30428 Detox/E2E: Add e2e for MM-T3199, MM-T3223, MM-T3224 (#5240) 2021-03-24 22:13:10 +08:00
apps_form [MM-33989] Show bindings in all threads and post menus (#5232) 2021-03-24 17:06:51 -04:00
channel Feature - Cloud Apps (#5226) 2021-03-22 18:02:06 -04:00
channel_add_members MM-30427 Detox/E2E: Add e2e for MM-T3197, MM-T3225, MM-T3239, MM-T3274 (#5230) 2021-03-22 11:16:40 -07:00
channel_info [MM-33766] Handle channel header call error (#5233) 2021-03-24 13:39:42 -04:00
channel_members MM-30426 Detox/E2E: Add e2e for MM-T3188, MM-T3193, MM-T3198, MM-T3229 (#5228) 2021-03-17 08:02:17 -03:00
channel_notification_preference MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
client_upgrade Revert "[MM-29225] Define LSApplicationQueriesSchemes so Linking.canO… (#5067) 2021-01-06 09:11:27 -07:00
code MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
create_channel MM-18764 Remove deprecated lifecycles (#4981) 2020-12-10 13:04:32 -03:00
edit_channel MM-30286 Detox/E2E: Add e2e test for MM-T3236 and added basic unit tests (#4969) 2020-11-24 16:58:09 +08:00
edit_post [MM-30697, MM-30699] Detox/E2E: Add e2e for MM-T3273 and MM-T3228 (#5146) 2021-02-10 13:52:54 -08:00
edit_profile MM-30424 Detox/E2E: Add e2e for MM-T3237, MM-T3238, MM-T3251, MM-T3257, MM-T3258 (#5188) 2021-03-03 08:23:32 -08:00
error_teams_list MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
expanded_announcement_banner MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
forgot_password [MM-31177] Use png over Compass icon for logo (#5008) 2020-12-09 22:16:29 -07:00
gallery MM-31341 Use first metadata info for inline md images (#5219) 2021-03-15 14:28:46 -03:00
interactive_dialog MM-32851: honour defaults in interactive dialogs (#5183) 2021-02-22 14:36:53 -04:00
login [MM-31177] Use png over Compass icon for logo (#5008) 2020-12-09 22:16:29 -07:00
login_options OAuth through OS browser, added google login & open id methods (#5075) 2021-01-19 21:15:24 +05:30
long_post MM-30426 Detox/E2E: Add e2e for MM-T3188, MM-T3193, MM-T3198, MM-T3229 (#5228) 2021-03-17 08:02:17 -03:00
mfa [MM-31177] Use png over Compass icon for logo (#5008) 2020-12-09 22:16:29 -07:00
more_channels MM-31256 Detox/E2E: Add e2e for MM-T3618 (#5144) 2021-02-10 13:55:43 -08:00
more_dms MM-30696 Detox/E2E: Add e2e for MM-T3213 (#5147) 2021-02-10 13:56:03 -08:00
notification MM-30424 Detox/E2E: Add e2e for MM-T3237, MM-T3238, MM-T3251, MM-T3257, MM-T3258 (#5188) 2021-03-03 08:23:32 -08:00
options_modal MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
permalink Feature - Cloud Apps (#5226) 2021-03-22 18:02:06 -04:00
pinned_posts MM-30286 Detox/E2E: Add e2e test for MM-T3249 and added useful helpers (#4990) 2020-12-15 17:24:45 -08:00
post_options [MM-33989] Show bindings in all threads and post menus (#5232) 2021-03-24 17:06:51 -04:00
reaction_list MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
recent_mentions MM-30286 Detox/E2E: Add e2e test for MM-T3249 and added useful helpers (#4990) 2020-12-15 17:24:45 -08:00
saved_posts MM-30286 Detox/E2E: Add e2e test for MM-T3249 and added useful helpers (#4990) 2020-12-15 17:24:45 -08:00
search Feature - Cloud Apps (#5226) 2021-03-22 18:02:06 -04:00
select_server OAuth through OS browser, added google login & open id methods (#5075) 2021-01-19 21:15:24 +05:30
select_team MM-18769 Removed deprecated lifecycles (#4983) 2020-12-02 12:37:04 -08:00
selector_screen Refactor apps modal autocomplete into AutocompleteSelector component (#5229) 2021-03-23 19:53:04 +01:00
settings MM-30424 Detox/E2E: Add e2e for MM-T3237, MM-T3238, MM-T3251, MM-T3257, MM-T3258 (#5188) 2021-03-03 08:23:32 -08:00
sso OAuth through OS browser, added google login & open id methods (#5075) 2021-01-19 21:15:24 +05:30
table MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
terms_of_service MM-30164 fix safe area insets (#4979) 2020-11-23 20:10:09 -03:00
thread [MM-31376] Do not subtract offset from accessories container (#5042) 2020-12-17 19:14:00 -07:00
user_profile MM-30424 Detox/E2E: Add e2e for MM-T3237, MM-T3238, MM-T3251, MM-T3257, MM-T3258 (#5188) 2021-03-03 08:23:32 -08:00
index.js Refactor apps modal autocomplete into AutocompleteSelector component (#5229) 2021-03-23 19:53:04 +01:00