mattermost-mobile-upstream/app/actions/local
Carlos Garcia e2b167b2c6
Mm 68293 ephemeral mode warnings (#10140)
* auto cache rolling cleanup for posts

* ai threads rolling cleanup

* auto rolling cleanup of playbook runs

* fix to import and use renamed module

* makes post cleanup atomic by moving processing to sql layer

* restore previous file viewer post id and use full error logging

* performs vacuum as last step and removes unused code

* return early on empty channel array

* address gallery items without a post id

* prevent drafts to be deleted as part of auto cache cleanups

* unset channel oldest visible on channel switch

* clear oldest visible on empty array

* revert early return to prevent flickering

* restore previous playbookrun id on unmount

* fixes issue creating data retention deletion batches

* move active threads root cleanup protection to SQL execution

* notify observers of range changes in post lists

* in flight protection for auto cache cleanup runs

* add space around operator

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* show warnings as snackbars related to ephemeral mode settings

snackbar can now be persistent for some warnings requiring the user to
acknowledge reading the message by manually dismissing it.

* adds warnings when mobile ephemeral mode settings change

snackbar component has been augmented to show user dismissable messages
that require user interaction and to support longer messages with
title and description.
A header icon continuously show when ephemeral mode or zero persistence
is enabled for a particular server.

* fix i18n

* renders snackbar properly when changing from persistent to ephemeral versions

* reset visibility for tooltip when ephemeral mode config changes

* show ephemeral mode warnings only for active server

* renames added tests to start with should...

* guards against a race casing to wipe an untracked server

* enqueue ephemeral mode config changes so wipe operations don't race

* auto cache cleanup warning shows only for active server

* shows snackbar instead of tooltip on ephemeral mode icon tap

* drops virtual set to true from jest mocks of real modules

this was causing some flaky tests that failed depending on ordering
while running in CI.

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-10-01 18:13:22 +02:00
..
ephemeral_mode Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
session Mm 68296 audit ephemeral mode events (#10139) 2026-09-23 13:48:14 +02:00
category.test.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
category.ts [MM-68255] Enable mobile support for Managed Categories (#9683) 2026-04-16 10:01:51 -04:00
channel_attributes.test.ts Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
channel_attributes.ts Mm 70299 channel labels display phase 1 (#10113) 2026-09-17 21:37:43 +02:00
channel_bookmark.test.ts Add unit tests for actions/local/channel_bookmark (#8125) 2024-08-06 14:20:45 -04:00
channel_bookmark.ts Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
channel.test.ts [MM-62038] Fix urgent mention badge colors (#10119) 2026-09-14 14:03:53 -04:00
channel.ts [MM-62038] Fix urgent mention badge colors (#10119) 2026-09-14 14:03:53 -04:00
draft.test.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
draft.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
file.test.ts Add is_blocked to FileModel (#8842) 2025-05-07 15:33:04 +08:00
file.ts Add is_blocked to FileModel (#8842) 2025-05-07 15:33:04 +08:00
group.test.ts Increase branch test coverage to over 80% for actions/local (#8366) 2024-11-21 08:16:19 -05:00
group.ts Graph QL POC (#6024) 2022-07-29 16:28:32 +02:00
post.test.ts Mm 68293 ephemeral mode warnings (#10140) 2026-10-01 18:13:22 +02:00
post.ts Mm 68296 audit ephemeral mode events (#10139) 2026-09-23 13:48:14 +02:00
reactions.test.ts Remove app alias for imports (#8314) 2024-11-07 08:34:49 +08:00
reactions.ts Substitute all console.x by an appropiate log util function (#6427) 2022-06-24 10:26:40 -04:00
scheduled_post.test.ts Fix tests leaks and other minor improvements (#9001) 2025-07-21 07:29:26 -06:00
scheduled_post.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
systems.test.ts Mm 68768 auto cache rolling cleanup (#9958) 2026-09-03 12:46:19 +02:00
systems.ts Mm 68768 auto cache rolling cleanup (#9958) 2026-09-03 12:46:19 +02:00
team.test.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
team.ts Mm 68767 zero persistence (#9803) 2026-07-16 13:55:45 +02:00
thread.test.ts Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
thread.ts fix: push notification navigation delay and stale in-app avatar (#9929) 2026-07-22 14:15:21 +02:00
user.test.ts feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
user.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00