mattermost-mobile/app/screens
Mattermost Build 0f55d7e702
Mobile drafts (#8280) (#8473)
* refactor: started with draft, done until new tabs for draft

* refactor: change the query and added the screen for draft

* added condition for fetching draft for channel delete or not

* refactor: added draft screen

* linter fixes

* Added draft post component

* added avatar and header display name for the draft post list

* added channel info component

* channel info completed

* proper naming

* added image file markdown acknowledgement support

* draft actions

* Fix the draft receiver in drafts

* separated send message handler

* Done with send drafts

* done with delete drafts

* change save to send draft

* handle lengthy message with show more button

* done with persistent message edit, send and delete drafts

* added alert for sending message

* added update at time for the drafts

* en.json extract fix

* Updated dependencies for useCallback

* refactor: added drafts list to animated list

* added swipeable component and delete conformation for drafts

* done with rendering of images in markdown for drafts

* en.json issue fixed

* fix en.json issue

* refactor: en.json fix

* addressed review comments

* updated image metadata handling code

* linter fixes

* added the empty draft screen

* linter fix

* style fix

* back button an android takes to the channel list page

* en.json fix

* draft actions theme compatible

* CSS fix for draft channel_info and avatar component

* removed the badge icon and change font style drafts

* fix send alert sender name for GMs

* updated snapshot

* added testId to the drafts components

* updated send draft test id

* clicking on draft takes to the channel

* Added toptip for draft tours

* intl extract

* Rebase to main and reverted local testing changes

* Added tooltip for drafts

* addressed review comments

* reset navigation when click on a draft in draft tabs

* fix the theme issue and navigation issue

* reverted back the draft click navigation changes

* observing draft when hitting back button

* removed the unwanted animiation

* updated regex for parsing markdown

* removed unnecessary checks and change folder name

* removed react memo and merge unwanted observes function

* removed unnecessary comments

* changed the name for observing and querying draft function

* removed memo from component level

* Text to FormattedText component

* Text to formatted text, change image name

* added confirmation modal for deleting draft from bottomsheet

* using common send_handler for both draft and post

* removed magic number for tooltip and bottomsheet

* renamed channel_info to draft_post_header

* text to formattedText for Edit drafts

* removed unnecessary changes

* minor fixes

* mounting draft only when there is draft

* map to reduce

* renamed SwipeableDraft to DraftSwipeAction

* name fixes

* isValidUrl to isParsableUrl and added test

* added test and addressed minor review comments

* added inline component for the duplicate code

* inlt fixes

* clearDraft is not optional

* optimised categories_list.tsx component

* Swipeable to ReanimatedSwipeable, TouchableWithoutFeedback to Pressable and folder name changes

* Added comment and disabled eslint rule for showing warning

* fixed component file name

* minor'

* Removed deprecated Animated createAnimatedComponent flatlist

* added test for missing protocol check

* import change for SwipeableMethod

* active tab for tablet view

* Updated the drafts icons

* Updated compass-icon version to v0.1.48

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 84eded1bde)

Co-authored-by: Rajat Dabade <rajatdabade1997@gmail.com>
2025-01-13 15:15:42 +02:00
..
apps_form Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
bottom_sheet Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
browse_channels Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
channel Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
channel_add_members Do not display deactivated users to add channel members (#7767) 2024-01-19 06:37:07 +08:00
channel_bookmark Fix 60879 (#8344) 2024-12-03 10:49:38 +01:00
channel_files Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
channel_info Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
channel_notification_preferences Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
code Remove app alias for imports (#8314) 2024-11-07 08:34:49 +08:00
convert_gm_to_channel Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
create_direct_message Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
create_or_edit_channel Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
custom_status MM-56899 - prevent app block when setting custom status if no internet (#8283) 2024-12-05 15:53:54 -05:00
custom_status_clear_after Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
draft_options Mobile drafts (#8280) (#8473) 2025-01-13 15:15:42 +02:00
edit_post [MM-53711] Set save button opacity for editing a post when disabled (#7763) 2024-01-29 10:53:31 +01:00
edit_profile Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
edit_server Fix button ui when disabled (#8056) 2024-07-09 07:12:59 +08:00
emoji_picker Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
find_channels Fix joining channels from the find channels screen (#7732) 2024-01-15 10:18:37 +01:00
forgot_password fix screen position for server / login / forgot password & mfa (#8340) 2024-11-19 08:36:47 +08:00
gallery Fix 60879 (#8344) 2024-12-03 10:49:38 +01:00
global_drafts Mobile drafts (#8280) (#8473) 2025-01-13 15:15:42 +02:00
global_threads fix: render channel links in threads list (#8205) 2024-10-11 00:55:24 -06:00
home Mobile drafts (#8280) (#8473) 2025-01-13 15:15:42 +02:00
in_app_notification Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
integration_selector Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
interactive_dialog Fix interactive dialog number handling (#8431) 2024-12-19 09:45:03 +01:00
invite Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
join_team Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
latex Fix MM57562 (#7920) 2024-05-06 12:02:12 +02:00
login fix screen position for server / login / forgot password & mfa (#8340) 2024-11-19 08:36:47 +08:00
manage_channel_members Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
mfa fix screen position for server / login / forgot password & mfa (#8340) 2024-11-19 08:36:47 +08:00
onboarding Remove motion reducer from critical animations (#7786) 2024-01-29 17:35:58 +01:00
overlay Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
permalink Extra keyboard (#8348) 2024-11-29 11:58:13 +08:00
pinned_messages Extra keyboard (#8348) 2024-11-29 11:58:13 +08:00
post_options Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
post_priority_picker Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
reactions Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
review_app MM-60534 -fix rate my app broken styles (#8232) 2024-09-30 18:17:11 +02:00
select_team Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
server fix screen position for server / login / forgot password & mfa (#8340) 2024-11-19 08:36:47 +08:00
settings Add test notification tool (#8271) 2024-11-11 10:22:57 +01:00
share_feedback Update Dependencies and bug fixes (#7000) 2023-01-24 09:14:23 +02:00
snack_bar Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
sso Add support for Auth Scheme customization (#8261) 2024-10-23 08:44:12 +08:00
table Make androidBackHandler to update if the handler changes (#7519) 2023-08-31 10:31:55 +02:00
terms_of_service Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
thread Extra keyboard (#8348) 2024-11-29 11:58:13 +08:00
thread_options Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
user_profile Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
background.tsx [Gekidou] MM-39736 Login Flow (#5799) 2021-11-18 22:07:41 +01:00
index.tsx Mobile drafts (#8280) (#8473) 2025-01-13 15:15:42 +02:00
navigation.ts fix cannot read data when opening a deeplink (#8109) 2024-07-27 03:37:57 +08:00