mattermost-mobile-upstream/app/components
Andre Vasconcelos e18fc6921e
MM-68208 Implementing global and channel-level banners on mobile (#9752)
* Expo-Router partial migration

* Full migration to ExpoRouter

* i18n

* add tests

* library hardware-keyboard android new arch support fix

* library rnshare android new arch support fix

* library rnutils android new arch support fix

* library secure-pdf-viewer add new arch support

* Enable new arch on iOS and Android

* update emm and network client with new-arch

* update intune to use new-arch

* performance improvements

* fix tests

* fixes post input on new-arch

* Merge branch 'main' into expo-router

* fix android emoji picker

* align package-lock.json

* i18n

* feedback review

* feedback review

* android 16kb patch

* Refactored emoji picker keyboard using a state machine

* set android launch_screen in drawables instead of layout

* no conditional hooks

* remove duplicate call in test

* address feedback

* fix tests and address more feedback

* small corrections

* small corrections

* small corrections

* fix draft test

* fix draft test 2

* remove navigateToScreen in draff test

* fix nit in draft test

* remove doc file

* remove doc

* run tests in parallel

* Feedback review

* fix snapshots

* improve test coverage

* fix i18n

* upgrade to React Native 0.83.9, Expo 55, React 19, and New Architecture

Bumps core dependencies to their latest versions:
- React Native 0.77.3 → 0.83.9 (New Architecture enabled)
- React 18.3.1 → 19.2.5
- Expo SDK 52 → 55
- TypeScript 5.8.3 → 6.0.3
- Node.js 22.16.0 → 24.15.0
- react-native-reanimated 3.17.3 → 4.3.0
- Various other dependency upgrades

Migrates iOS AppDelegate from Objective-C to Swift, updates Android
build tooling and Gradle wrapper, refreshes all patches and font
assets, and adapts app code, tests, and CI workflows throughout for
API changes introduced by these upgrades.

* remove unecessary dismissKeyboard in notifications

* feedback review

* update intune to use new-arch

* update @mattermost deps

* missing i18n string

* additional fixes

* update fastlane

* Re-implementing global classification banners on top of rn83

* Refactoring to de-couple the classification banner from the layout

* Implementing per-channel banners on mobile

* Removing custom header in favor of common component

* Making fixes for coderabbit

* Improving padding calculation

* Converting global classification banner to use portals

* Removing dead code, adding deletion check

* Addressing dryrun securit concerns

* Removing call for template field, improving consistency

* MM-68208 Storing system property values in WatermelonDB (#9781)

* Added persistence layer to system properties

* Making debounce behavior more consistent

* Cleaning up debounce logic from store persistence

* Addressing PR feedback

* Removing ephemeral store usage and employing observables

- Changing name of group to access_control

* Updating unit tests

* Refactoring to improve code consistency

- Removing any patterns introduced that weren't already established in the repo
- Removing hooks with database reads in favor of withObservables and withDatabase pattern
- Simplifying _layout.tsx by removing inset modification, now handled in the Container HoC component
- Moved some repeated hook logic into its own utils file

* Refactoring to use propertyfield and propertyvalue tables instead of system

- Simplified remote actions to purely perform API call, and call a local action to sync values
- Using local action layer to perform syncing and removal operations of property fields and values
- Observables now pre-filter for active fields / values via querying for delete_at=0

* Improving consistency of local actions

- Added unit tests for syncPropertyFieldsByGroupId, syncPropertyValuesByTargetId, clearClassificationData

* Replacing local actions with operator handlers

* Removing needless mocks from unit tests

* Consolidating operator handlers

- Leaving 1 handler for fields and 1 for values, each of them evaluating whether to delete or upsert values received in the function call

* MM-68208 Making changes based on feedback

- Removing !visible guard in global classification container
- Increasing clarity of comment for clearing of stale fields
- Updating log messages to be more clear

* Batching database operations together for fields and values

* Consolidating API call for fetching classification data

- Preparation for caching mechanism

* Updating field names to the unified classification

* Updating E2E test values to match current field names

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-07-08 12:47:01 +03:00
..
animated_number Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
announcement_banner Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
app_version Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
autocomplete Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
autocomplete_selector Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
badge feat:proper badge theme use for server list (#8313) 2024-11-05 07:11:17 -07:00
block_renderer Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
burn_on_read_label Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
button Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
channel_actions Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
channel_banner MM-68208 Implementing global and channel-level banners on mobile (#9752) 2026-07-08 12:47:01 +03:00
channel_bookmarks [MM-69455] Fix channel bookmark taps with React Native New Architecture (#9904) 2026-07-02 13:55:27 -07:00
channel_icon Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
channel_item Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
channel_list_row Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
chips Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
common_post_options Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
compass_icon Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
connection_banner Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
copy_text_option Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
custom_status Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
data_time_selector Add set due date functionality to playbooks (#9091) 2025-09-12 16:37:56 +02:00
document use alertOnlyPDFSupported for document files (#9023) 2025-07-27 18:05:49 +08:00
draft_scheduled_post Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
draft_scheduled_post_header feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
drafts_buttton Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
edited_indicator Fix the Edited post incorrect line spacing on Android (#9170) 2025-10-01 21:26:57 +08:00
emoji feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
emoji_category_bar Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
error_text Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
expo_image Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
external_image Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
files test(detox): re-submit RF→Detox migration without unintended UI changes (#9847) 2026-06-19 22:44:02 +05:30
files_search Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
floating_input Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
formatted_date Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
formatted_markdown_text Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
formatted_relative_time Agents "RHS" view (#9318) 2026-03-16 09:48:32 -07:00
formatted_text Standardize tabs across different components (#8691) 2025-05-28 16:23:37 +02:00
formatted_time Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
friendly_date Make relatives times coherent with web (#9062) 2025-08-12 14:28:25 +02:00
global_classification_banner MM-68208 Implementing global and channel-level banners on mobile (#9752) 2026-07-08 12:47:01 +03:00
illustrations Update additional images branding (#8672) 2025-06-20 11:41:26 -04:00
jumbo_emoji Typescript support and view component for permalink with user and message (#9052) 2025-09-10 17:12:16 +05:30
loading Unify buttons (#8865) 2025-05-30 15:59:15 +02:00
loading_error Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
markdown [MM-69457] Stop logging PII in exportable app logs (#9884) 2026-07-02 12:19:04 +02:00
math_view Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
menu_divider Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
navigation_button Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
navigation_header MM-68208 Implementing global and channel-level banners on mobile (#9752) 2026-07-08 12:47:01 +03:00
navigation_header_title Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
no_results_with_term Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
option_box Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
option_item Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
other_mentions_badge Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
post_draft Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
post_list Fix crash on android caused by keyboard controller (#9902) 2026-07-07 15:31:44 +08:00
post_priority Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
post_with_channel_info fix: app bugs surfaced by Detox RF migration (#9789) 2026-06-09 13:25:42 +05:30
pressable_opacity test(detox): re-submit RF→Detox migration without unintended UI changes (#9847) 2026-06-19 22:44:02 +05:30
profile_picture Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
progress_bar Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
progressive_image feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
remove_markdown MM-56577 Fixing font display issues on thread items (#9630) 2026-05-28 15:11:52 +03:00
rounded_header_context [Gekidou] Navigation bar refactored (#6319) 2022-06-01 17:07:54 -04:00
scheduled_post_indicator Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
search Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
section_notice Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
selected_users Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
server_icon Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
server_user_list Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
server_version Enable exhaustive deps in the repo (#9508) 2026-02-18 11:56:16 +01:00
settings Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
slide_up_panel_item Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
status_label Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
syntax_highlight Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
system_avatar [Gekidou] post list (#5893) 2022-01-17 07:06:26 -03:00
system_header feat: Add visible to you text on ephemeral posts (#8245) 2024-10-30 10:01:49 +01:00
tablet_title Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
tag Revert "e2e(detox): Rainforest to Detox migration (#9790)" (#9834) 2026-06-15 17:57:01 +02:00
team_list Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
team_sidebar Multiple Fixes (#9767) 2026-05-19 16:35:20 +08:00
threads_button Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
toast Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
touchable_emoji New keyboard library Setup (#9278) 2026-01-13 22:38:35 +05:30
touchable_with_feedback Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
tutorial_highlight Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
upload_item_shared Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
user_avatars_stack Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
user_item Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
user_list Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
user_list_row Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
user_status Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
keyboard_aware_post_draft_container.tsx resumes slide animation after stopping due to modal system dialog showing (#9792) 2026-05-29 06:50:57 +08:00