mattermost-mobile/app/components/files
Felipe Martin 9793383832
feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416)
* Handle FileWillBeDownloaded plugin hook rejections

- Add WebSocket handler for file_download_rejected events
- Show rejected files as file cards instead of broken thumbnails
- Display plugin rejection message in snackbar
- Store rejection reason in EphemeralStore for later retrieval
- Re-render file components when rejection events arrive
- Remove blurred preview to prevent visual blink on rejection

* chore: lint

* chore: lint and test

* fix: removed event from useEffect
2026-02-16 17:10:25 +01:00
..
audio_file.tsx Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
document_file.tsx Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
file.tsx feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416) 2026-02-16 17:10:25 +01:00
file_filter.tsx Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
file_icon.tsx fix(MM-60645): missing bookmark emoji (#8518) 2025-01-27 11:01:08 -07:00
file_info.tsx Surround text on file info for searches (#8391) 2024-12-04 07:57:23 +02:00
file_options_icon.tsx [Gekidou MM-45790] Create File Options Menu for Tablet View (#6531) 2022-10-11 08:19:13 -05:00
files.test.tsx feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
files.tsx feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416) 2026-02-16 17:10:25 +01:00
image_file.tsx feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416) 2026-02-16 17:10:25 +01:00
image_file_overlay.tsx [Gekidou] Get theme from useTheme (#6485) 2022-07-28 13:08:38 +02:00
index.ts Viewing Files in Edit mode in mobile with ability to delete and save (#8918) 2025-06-20 01:03:57 +05:30
video_file.tsx feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00