mattermost-mobile/app
Rajat Dabade da2f38e072
Mention, embedded link and handling of post update on offline device (#9104)
* 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

* type chech for site name

* linter fixes

* UX review and remove show more height not require

* Fix tests

* Review nitpick and fixes

* Minor UX changes

---------

Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2025-09-12 14:06:58 +05:30
..
actions Typescript support and view component for permalink with user and message (#9052) 2025-09-10 17:12:16 +05:30
client MM-65085: Support Pre Shared Password on server connect (#9082) 2025-09-01 11:24:15 +02:00
components Mention, embedded link and handling of post update on offline device (#9104) 2025-09-12 14:06:58 +05:30
constants Add playbooks edit command functionality (#9084) 2025-09-08 14:29:15 +02:00
context Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
database Playbooks update (#9039) 2025-07-29 21:55:41 +08:00
helpers Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
hooks Mention, embedded link and handling of post update on offline device (#9104) 2025-09-12 14:06:58 +05:30
i18n Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
init MM-65085: Support Pre Shared Password on server connect (#9082) 2025-09-01 11:24:15 +02:00
managers MM-65085: Support Pre Shared Password on server connect (#9082) 2025-09-01 11:24:15 +02:00
products Add playbooks edit command functionality (#9084) 2025-09-08 14:29:15 +02:00
queries Typescript support and view component for permalink with user and message (#9052) 2025-09-10 17:12:16 +05:30
screens Do not show the playbooks item on DMs/GMs (#9098) 2025-09-09 09:53:38 +02:00
store Remove playbooks on delete channel (#8994) 2025-07-17 11:54:14 +02:00
utils Ability to show attachment if the permalink post contains attachments. (#9101) 2025-09-12 13:44:54 +05:30