mattermost-mobile/app/components/files
Rajat Dabade 4e95364344
Navigation for permalink and Tablet fixes (#9116)
* typescript and view component for permalink with user and message

* Old post edited handling in permalink

* Added test and update flag value to EnablePermalinkPreview

* Added test for permalink_preview component

* Added test for content/index.tsx for permalink

* Addressed review comments

* Unit test for missing file and review comments

* Added test to check handlePostEdited permalink sync only calls one time only

* Change TouchableOpacity to Pressable

* When user not found fetch the user from the server

* Removed the redundant test in the test for permalink_preview/index?

* ts to tsx

* Removed the circular dependency

* Address review comments

* displayname fallback

* remove permalink when permalink post is deleted

* UX review comments

* Linter fixes

* Test fixes

* File attachment in permalink preview component

* Fix the width and height of the image in permalink

* Added gredient when exceeds height of permalink container

* Minor

* Updated tests

* Minor

* Review comments

* Minor review comments

* type fixes

* Review comments

* Minor

* Mention ability in permalink preview

* Support for external link in permalink

* Handle device not connected update permalink post

* test fixes

* Address review comments

* Minor

* Merge fixes

* Addressed review comments

* Fix content.test.tsx after permalink branch merge

- Updated test expectations to use embedData prop instead of post prop
- Fixed assertions to match the new PermalinkPreview API
- All content tests now pass

* review comments

* Review comments

* Some more review comments

* Minor

* Fixed the undefined issue for opengraph component metadata

* More fixes

* Navigation for permalink

* Tablet fixes

* type chech for site name

* linter fixes

* UX review and remove show more height not require

* Fix tests

* Fixed the navigation issue for DM's

* Minor fixes due to merge main

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-09-12 17:46:39 +05:30
..
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 Ability to show attachment if the permalink post contains attachments. (#9101) 2025-09-12 13:44:54 +05:30
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 Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
files.tsx Navigation for permalink and Tablet fixes (#9116) 2025-09-12 17:46:39 +05:30
image_file.tsx Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08: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 Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00