mattermost-mobile/app/components
Rajat Dabade 84eded1bde
Mobile drafts (#8280)
* 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>
2025-01-13 18:40:03 +05:30
..
animated_number test: more meaningful AnimatedNumber component test (#8309) 2024-11-21 10:30:30 -07:00
announcement_banner Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
app_version Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
autocomplete Restore out of channel and some cleanup (#8050) 2024-07-09 11:31:31 +02:00
autocomplete_selector Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
badge feat:proper badge theme use for server list (#8313) 2024-11-05 07:11:17 -07:00
button MM-60534 -fix rate my app broken styles (#8232) 2024-09-30 18:17:11 +02:00
channel_actions
channel_bookmarks Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
channel_icon
channel_item Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
channel_list_row
common_post_options
compass_icon
connection_banner
custom_status feat: Switch FormattedDate component to Intl.DateTimeFormat (#8276) 2024-10-30 14:30:17 -06:00
document Fix 60879 (#8344) 2024-12-03 10:49:38 +01:00
draft Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
draft_post_header Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
drafts_buttton Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
emoji Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
error_text
files Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
files_search Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
floating_text_chips_input MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00:00
floating_text_input_label Channel Bookmarks (#7817) 2024-07-18 09:10:28 +08:00
formatted_date feat: Switch FormattedDate component to Intl.DateTimeFormat (#8276) 2024-10-30 14:30:17 -06:00
formatted_markdown_text
formatted_relative_time
formatted_text Fix MM-61710 (#8368) 2024-11-27 16:18:08 +01:00
formatted_time
freeze_screen
friendly_date
illustrations
jumbo_emoji
loading Add performance metrics to the app (#7953) 2024-06-12 09:45:27 +02:00
loading_error
markdown Fix 60879 (#8344) 2024-12-03 10:49:38 +01:00
math_view Fix MM57562 (#7920) 2024-05-06 12:02:12 +02:00
navigation_header fix: MM-58164 Search text is behind the textbox while searching (#8026) 2024-09-05 11:28:00 -06:00
no_results_with_term
option_box
option_item Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
other_mentions_badge
post_draft Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
post_list fix: fixed image overflow in message attachments (#8361) 2024-12-06 08:27:42 +02:00
post_priority
post_with_channel_info
profile_picture Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
progress_bar
progressive_image Animate gif as default until MM-22242 is implemented (#8339) 2024-11-13 19:17:10 +08:00
remove_markdown fix: render channel links in threads list (#8205) 2024-10-11 00:55:24 -06:00
rounded_header_context
search Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
section_notice Add test notification tool (#8271) 2024-11-11 10:22:57 +01:00
selected_chip MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00:00
selected_users Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
server_icon MM-37809 Update Default Themes (#7907) 2024-04-24 06:54:09 +08:00
server_user_list
server_version
settings Fix interactive dialogs not showing (#8427) 2024-12-18 15:54:08 -05:00
slide_up_panel_item Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
status_label
syntax_highlight Fix MM55258 (#7729) 2024-01-15 10:19:33 +01:00
system_avatar
system_header feat: Add visible to you text on ephemeral posts (#8245) 2024-10-30 10:01:49 +01:00
tablet_title
tag
team_list Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
team_sidebar Ensure myTeam.id is not undefined (#8375) 2024-11-26 20:15:34 +08:00
threads_button Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
toast Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
touchable_emoji
touchable_with_feedback
tutorial_highlight Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
user_avatars_stack Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
user_item
user_list Fix bottomSheet bottom insets (#8331) 2024-11-29 12:50:09 +08:00
user_list_row
user_status