mattermost-mobile-upstream/app/components/channel_bookmarks
JG Heithcock d12bd1d770
[MM-69455] Fix channel bookmark taps with React Native New Architecture (#9904)
* [MM-69455] Fix channel bookmark taps broken by the switch to React Native New Architecture

useGalleryItem returned a Reanimated worklet as the onPress handler.
With React Native's New Architecture enabled, standard touch handlers
do not reliably invoke worklets, so file and image bookmark taps
silently failed to open the gallery. Replace the worklet with a plain
JS callback.

Also fix swapped openLink arguments for link bookmarks, replace @rneui
Button with Pressable on bookmark rows, and add Detox regression
coverage for file tap and link long-press behavior.

* Address CodeRabbit review feedback for channel bookmark fix.

Add accessibilityRole to bookmark Pressables, use nullish coalescing for
optional bookmark index, and rename the Detox test to MM-T69455_1.

* Revert changes for scheduleOnRN
2026-07-02 13:55:27 -07:00
..
channel_bookmark [MM-69455] Fix channel bookmark taps with React Native New Architecture (#9904) 2026-07-02 13:55:27 -07:00
add_bookmark_options.tsx Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
add_bookmark.tsx test(detox): re-submit RF→Detox migration without unintended UI changes (#9847) 2026-06-19 22:44:02 +05:30
bookmark_type.tsx test(detox): re-submit RF→Detox migration without unintended UI changes (#9847) 2026-06-19 22:44:02 +05:30
channel_bookmarks.tsx test(detox): re-submit RF→Detox migration without unintended UI changes (#9847) 2026-06-19 22:44:02 +05:30
index.ts Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00