mattermost-mobile-upstream/app/constants
Pablo Vélez 7df4a0ab97
Some checks are pending
ci / lint-typecheck (push) Waiting to run
ci / detox-lint-typecheck (push) Waiting to run
ci / test (push) Waiting to run
Mm 68219 show placeholder for redacted files (#9719)
* MM-68219 - Add redacted files placeholder and related functionality

* add feature flag control and e2e tests

* adjust placeholder design, polish code, fix permalink preview issue

* polish code and add missing test

* use import path with right path

* gate post refetch behind the feature flag, refetch the open thread and avoid observeCount

* restore filesInfo for the permalink files prop added upstream

* fix stale redaction on background servers, consume the flag on every fetch path and share the viewport emitter

* replace the in-memory redaction flag with a persisted per-post epoch so ABAC file decisions survive restarts and stale posts stay hidden

* raise the redaction epoch on every resync, capture the epoch counter, only invalidate channels on role changes, and store the newer epoch when a re-verified post is otherwise unchanged

* store superseded responses unverified instead of dropping them, keep the since-fetch when re-verifying, verify permalink embeds against the linked channel, and capture the websocket epoch on arrival

* nvalidate file decisions when a user attribute field changes or all its values are cleared

* batch channel invalidations, close file viewers only when affected, reset the epoch on unstamped redaction changes, and only  re-verify the newest page's attachment posts

* re-check older channel posts a page at a time instead of one request per post

* skip the unstamped epoch lookup for posts with no files, redacted count or permalink

* keep the attribute-view retry after later invalidations, retry linked posts unless refused for the current epoch, and stop older payloads from rolling back edits via the redaction check

* MM-70905 - disable and grey out the attachment button when an ABAC pe… (#10195)

* MM-70905 - disable and grey out the attachment button when an ABAC permission policy denies uploads in the channel

* only back off render permission fetches when the server request fails, and log other errors without retrying

* remove the disableServer helper and have removeServer do both steps

* split defaultAllowed into allowWhenUnenforced and allowWhenNotEvaluated, and treat render permissions as unenforced  on servers without the decisions API

* MM-69627: Add playbook task requirements support on mobile (#10035)

* MM-69627: Add playbook task requirements support on mobile

Allow filling required task fields when checking off checklist items during
a run, gated by the same Playbooks beta setting used on web.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Address PR review feedback for task requirements

Propagate settings write failures, harden fill-requirements save/title handling, and add missing unit coverage.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Fix TypeScript errors in new unit tests

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Use defineMessages for fill requirements titles

Keep i18n extraction able to find the header titles after moving them to the route.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Address review feedback for task requirements

Update checklist items locally when saving requirement values instead of
refetching the run, add missing query/navigation tests, and apply small
callback/reduce cleanups from review.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Fix task requirements review follow-ups

Propagate local checklist write failures, clear a stale task-requirements
flag when playbooks is unsupported, and cap fill values at the desktop/
server max length.

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69627: Move requirement field into its own component

Keep one component per file on the fill-requirements screen.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>

* MM-69122: Add file element support to interactive dialogs (#9898)

* Implement Interactive Dialog - file upload

* update demo plugin version for e2etests

* fix and add e2etests

* review fixes

* Fix version bump checkout when a tag shares the branch name (#10229)

* Fix Android crashes caused by animated custom emoji (#10030)

* Route GIF decoding through Glide

- Keep APNG4Android for APNG, animated WebP, and animated AVIF support.
- Prepend Glide's GIF decoders to avoid APNG4Android's native GIF overflow.

* Clear Expo image resources with Glide targets

- Detach drawables when Glide clears their custom target.
- Prevent recycled GIF frame resources from remaining attached to Expo image views.

* Preserve foreground image during GIF target recycling

---------

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Nuno Simões <nuno.simoes@mattermost.com>
Co-authored-by: MangelSpec <74370284+MangelSpec@users.noreply.github.com>

* detox - fix clobbering of feature flags that cause failures in other suites.  Also small fix of a incorrectly set test-id

---------

Co-authored-by: Asaad Mahmood <asaadmahmood@users.noreply.github.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Scott Bishel <scott.bishel@mattermost.com>
Co-authored-by: Nuno Simões <nuno.simoes@mattermost.com>
Co-authored-by: MangelSpec <74370284+MangelSpec@users.noreply.github.com>
Co-authored-by: Nate Schlossberg <nate.schlossberg@mattermost.com>
2026-10-15 15:59:13 -07:00
..
about_links.ts [MM-67869] Update mobile feedback flow (#9668) 2026-04-08 10:41:02 -04:00
access_control.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
action_type.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
apps.ts MM-69122: Add file element support to interactive dialogs (#9898) 2026-10-07 14:43:26 -05:00
autocomplete.test.ts [MM-49540] Message Priority Phase 3 (#7142) 2023-04-27 11:22:03 +00:00
autocomplete.ts Fix cannot search user when pressing space (#7486) 2023-08-09 11:38:06 +02:00
calls.ts [MM-69735] Improve DM call user experience (#10017) 2026-09-03 19:44:10 +00:00
categories.ts [MM-68255] Enable mobile support for Managed Categories (#9683) 2026-04-16 10:01:51 -04:00
channel_attributes.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
channel.ts Add BoardView, PropertyField, PropertyValue WatermelonDB tables (#9708) 2026-06-01 12:46:40 +02:00
classification.ts Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
config.ts [Gekidou MM-41093] CRT - WS Events, Actions, Queries, Thread Follow, Post Query (#6075) 2022-04-04 19:55:13 +05:30
custom_status.ts Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
database.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
datetime.ts Gekidou CRT - Global threads screen (#6140) 2022-04-28 09:01:36 -04:00
deep_linking.ts Easy Login (#9261) 2025-11-20 12:38:06 +01:00
device.ts Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
draft.ts Standardize tabs across different components (#8691) 2025-05-28 16:23:37 +02:00
emoji.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
ephemeral_mode.ts Mm 68296 audit ephemeral mode events (#10139) 2026-09-23 13:48:14 +02:00
events.ts Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
files.ts Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
gallery.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
general.ts Add BoardView, PropertyField, PropertyValue WatermelonDB tables (#9708) 2026-06-01 12:46:40 +02:00
image.ts fix: fixed image overflow in message attachments (#8361) 2024-12-06 08:27:42 +02:00
index.ts [MM-60405] Crossteam search (#8411) 2025-02-05 13:46:38 -07:00
integrations.ts Add AppsForm and Interactive Dialogs (#6142) 2022-04-28 18:26:21 +02:00
launch.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
license.ts MM-68200 About modal updates to show correct SKU and align with web (#9662) 2026-04-16 09:10:41 -04:00
list.ts [Gekidou] Sidebar Categories FlatList Optimisations (#6031) 2022-03-08 18:16:58 -03:00
members.ts [Gekidou - MM-47653] Implement Manage Members Screen (#6771) 2023-02-03 10:42:12 +02:00
navigation.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
network.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
notification_level.ts Add GM as DM feature support (#7515) 2023-09-26 18:35:40 +02:00
permissions.ts [MM-67923] Add channel settings for shared channels (#9591) 2026-04-14 11:43:44 +02:00
post_draft.ts Extra keyboard (#8348) 2024-11-29 11:58:13 +08:00
post.ts Mm 68768 auto cache rolling cleanup (#9958) 2026-09-03 12:46:19 +02:00
preferences.ts [MM-68856] Respect default agent and persist last-selected agent in agent selectors (#9829) 2026-07-16 20:13:11 -04:00
profile.ts MM-40364 [Gekidou] - Image Picker for Edit Profile (#5901) 2022-01-28 16:06:50 +04:00
push_notification.ts Fix MM 56723 (#7883) 2024-04-24 17:12:56 +02:00
push_proxy.ts [Gekidou] [MM-41837] Add verification for push proxy and related interface (#6192) 2022-05-09 11:41:16 +02:00
reaction_picker.ts BottomSheet migration to react-native-bottom-sheet (#6907) 2023-01-05 09:51:51 +02:00
report_a_problem.ts Report a problem not redirect to default email application (#9703) 2026-05-14 09:10:39 -04:00
screens.ts Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
server_errors.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
session_attributes.ts [MM-70388] Request location permission for the SSID session attribute (#10100) 2026-08-28 15:11:46 -04:00
snack_bar.ts Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
sso.ts Update the value for login type (#9329) 2025-12-12 16:26:22 +01:00
supported_server.ts Update supported ESR version (#9954) 2026-08-17 08:33:58 +03:00
team.ts [MM-60405] Crossteam search (#8411) 2025-02-05 13:46:38 -07:00
tooltip.ts Fix scheduled messages tooltip entering an infinite resize loop (#8877) 2025-05-23 13:05:31 +02:00
tutorial.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
versions.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00
view.ts Mm 67525 bump min version (#9640) 2026-09-16 10:53:06 +00:00
websocket.ts Mm 68219 show placeholder for redacted files (#9719) 2026-10-15 15:59:13 -07:00