mattermost-mobile/app/components/post_draft
Rajat Dabade dae4b75720
Ability to show quick action and add files to edit post (#8926)
* Viewing Files in Edit mode in mobile with ability to delete and save

* Added upload attachment to keyboard tracker view

* using state instread of use ref

* Minor

* Added tests

* intl extract

* new function getFiles
ById, batch file deletion and tests

* Files fetching in edit options and tests

* Removed DeviceEventEmitter and used React context

* Added support to check minimum required version to show edit file attachments

* resolve forward ref issue

* Minor

* memotized props for context and observe config with value

* Import fixes

* Ability to show quick action and add files to edit post

* type safety for EditPostContext

* Reverted back the post priority props

* constant shift

* Added test for QuickAction to show slashcomand

* Added test for edit_post, upload_item and upload_remove

* Added test for Edit_post_input and edit_post index

* fix the height issue between attachment and keyboard due to safeArea

* Minor: removed debugging border color

* Addressed dev review comments

* Import fixes

* Address UX comments

* Fixed props for UploadItem and remove effective Edit mode

* handled save button disabled state when uploading attachments

* handled newly added and retry file removal without alert message

* Test updated

* Added test for input_quick_action index.tsx

* Added test for not in edit mode for upload_item index

* Added test for upload_remove component when not in edit mode

* added tests for file_upload_error hook

* Added test for calling callback when in edit mode

* Test for edit post input for server version check
2025-06-25 16:04:08 +05:30
..
archived Refactor Open Profile (#8746) 2025-05-13 17:07:13 +02:00
draft_handler Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
draft_input Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
post_input Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
quick_actions Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
read_only Fix more messages indicator on read only channels (#8652) 2025-03-11 07:32:22 +08:00
send_button Unlicensed server should not show the tooltip on channel send button (#8806) 2025-04-29 17:21:09 +05:30
send_handler MM-64243 Fix the animation delay while send the post in the channel (#8868) 2025-06-02 08:29:17 +03:00
typing Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
uploads Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
index.ts Unify Is Read Only logic to avoid code repetition and improve redability (#8720) 2025-04-06 17:50:19 +02:00
post_draft.tsx Refactor Open Profile (#8746) 2025-05-13 17:07:13 +02:00