mattermost-mobile/app/components
Harshil Sharma 2fb2e9d899
Burn On Read Posts (#9307)
* Added scaffolding for unrevealed BoR post

* Displayed reveal UI

* Displayed expiry timer

* WIP

* Displayed own post indicator and blur text

* restored button

* Ungrouped BoR posts

* WIP

* WIP

* DIsplayed error message on revealing

* Added last run check on mobile app cleanup job

* Cleanup

* lint fix

* i18n-fix

* Added tests

* test: add test suite for revealBoRPost function

* test: add unrevealed burn on read post test file

* feat: add tests for UnrevealedBurnOnReadPost component

* test: update UnrevealedBurnOnReadPost test with PostModel type

* test: replace toBeTruthy with toBeVisible for component visibility assertions

* test: add initial test file for expiry timer component

* test: add comprehensive tests for ExpiryCountdown component

* refactor: clean up test formatting and remove redundant test case

* fix: adjust test timing for ExpiryCountdown onExpiry callback

* test: fix timer test by advancing timers in smaller increments

* Added tests

* Updated tests

* fixed accidental change

* restored package.resolved

* WIP review fixes

* Review fixes

* Review fixes

* Fixed tests

* restored package.resolved

* WIP

* test: add test for skipping BoR post cleanup within 15 minutes

* test: add comprehensive test cases for expiredBoRPostCleanup

* WIP

* WIP

* test: add bor.test.ts placeholder file

* test: add comprehensive tests for BoR utility functions

* test: add comprehensive tests for formatTime function

* WIP

* test: add comprehensive tests for getLastBoRPostCleanupRun function

* Added tests

* removed a commented code

* post list optimization

* test: add test case for updating unrevealed burn-on-read post

* fix: handle error logging in expiredBoRPostCleanup test

* test: add test case for updateLastBoRCleanupRun error handling

* review fixes

* lint fixes

* Added WS event handling (#9320)

* Added WS event handling

* test: add burn on read websocket action test

* test: add tests for handleBoRPostRevealedEvent in burn_on_read

* Added tests

* test: add comprehensive error handling test cases for burn on read

* Added tests and error handling

* BoR post - restricted actions (#9315)

* Restricted post actions for BoR post type

* Prevent opening thread fr nBoR post

* WIP

* fix: remove redundant observable wrapping in post options

* fixed a change

* removed broken

* restored package.resolved

* Added tests

* Awaiting for last run to be set

* Added tests for validating expiry timer behaviour (#9338)

* Added tests for validating expiry timer behaviour

* No need of use event setup

* Bor ux fixes (#9336)

* WIP

* UI and delete fixes

* lint fixes

* fixed tests

* Improved mocking

* Improved test
2025-12-11 09:42:16 +05:30
..
animated_number test: more meaningful AnimatedNumber component test (#8309) 2024-11-21 10:30:30 -07:00
announcement_banner Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
app_version Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
autocomplete feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
autocomplete_selector Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
badge feat:proper badge theme use for server list (#8313) 2024-11-05 07:11:17 -07:00
button [MM-66420] Add missing tests for playbooks (#9258) 2025-11-06 12:01:25 +01:00
channel_actions Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
channel_bookmarks feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
channel_icon Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
channel_item MM-62915 and MM-62919 (#8568) 2025-02-08 07:17:15 +08:00
channel_list_row Channel banner display (#8735) 2025-04-08 11:15:18 +05:30
chips Add onPress on full chip (#9134) 2025-09-22 12:07:49 +02:00
common_post_options Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
compass_icon [Gekidou] compass icons (#5940) 2022-02-08 16:16:30 -03:00
connection_banner feat(MM-65145): low connectivity manager (#9283) 2025-12-04 10:44:33 -07:00
copy_text_option Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
custom_status Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
data_time_selector Add set due date functionality to playbooks (#9091) 2025-09-12 16:37:56 +02:00
document use alertOnlyPDFSupported for document files (#9023) 2025-07-27 18:05:49 +08:00
draft_scheduled_post Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
draft_scheduled_post_header feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
drafts_buttton Remaining test for draft and Scheduled post (#8887) 2025-07-01 13:47:02 +05:30
edited_indicator Fix the Edited post incorrect line spacing on Android (#9170) 2025-10-01 21:26:57 +08:00
emoji feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
error_text Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
expo_image feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
files feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
files_search Refactor and cleanup of option item (#9067) 2025-08-19 14:01:56 +02:00
floating_input feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
formatted_date Fix timezone crash (#8485) 2025-01-16 17:29:57 -05:00
formatted_markdown_text Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
formatted_relative_time Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
formatted_text Standardize tabs across different components (#8691) 2025-05-28 16:23:37 +02:00
formatted_time Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
freeze_screen [Gekidou] optimizations, fix & moved files (#6177) 2022-04-18 08:49:17 -04:00
friendly_date Make relatives times coherent with web (#9062) 2025-08-12 14:28:25 +02:00
illustrations Update additional images branding (#8672) 2025-06-20 11:41:26 -04:00
jumbo_emoji Typescript support and view component for permalink with user and message (#9052) 2025-09-10 17:12:16 +05:30
loading Unify buttons (#8865) 2025-05-30 15:59:15 +02:00
loading_error Update additional images branding (#8672) 2025-06-20 11:41:26 -04:00
markdown feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
math_view Fix MM57562 (#7920) 2024-05-06 12:02:12 +02:00
menu_divider Add Report a Problem functionality (#8605) 2025-04-24 11:12:55 +02:00
navigation_header Checklist (#9234) 2025-11-12 20:46:59 +01:00
no_results_with_term Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
option_box Update dependencies and upgrade to RN 0.76.5 (#8421) 2025-01-16 07:11:32 -07:00
option_item feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
other_mentions_badge Add badge to thread screen (#7404) 2023-06-20 09:37:24 +02:00
post_draft feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
post_list Burn On Read Posts (#9307) 2025-12-11 09:42:16 +05:30
post_priority Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
post_with_channel_info Refactor Open Profile (#8746) 2025-05-13 17:07:13 +02:00
pressable_opacity Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
profile_picture feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
progress_bar Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
progressive_image feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
remove_markdown Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
rounded_header_context [Gekidou] Navigation bar refactored (#6319) 2022-06-01 17:07:54 -04:00
scheduled_post_indicator Burn On Read Posts (#9307) 2025-12-11 09:42:16 +05:30
search Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
section_notice Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
selected_users feat: edit server pre-authentication secret (#9128) 2025-11-12 16:07:19 +01:00
server_icon Update dependencies (#8721) 2025-04-07 09:30:06 +08:00
server_user_list [MM-66375] Allow managing own membership on a channel (#9301) 2025-12-03 17:20:20 +01:00
server_version Update libraries and dependencies (#7678) 2023-11-25 07:46:13 +08:00
settings Improve markdown code (#9164) 2025-11-04 10:05:56 +01:00
slide_up_panel_item feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
status_label Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
syntax_highlight Fix MM55258 (#7729) 2024-01-15 10:19:33 +01:00
system_avatar [Gekidou] post list (#5893) 2022-01-17 07:06:26 -03:00
system_header feat: Add visible to you text on ephemeral posts (#8245) 2024-10-30 10:01:49 +01:00
tablet_title Detox/E2E: Account e2e tests in Gekidou (#6584) 2022-08-18 03:18:46 -07:00
tag Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
team_list Fix list scrolling inside bottom sheet (#8648) 2025-03-12 17:29:50 +08:00
team_sidebar feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
threads_button Fix GM/DM unread threads highlighting all teams as unreads (#8905) 2025-06-10 15:30:58 +02:00
toast Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
touchable_emoji Remove tand prevent double tap (#9078) 2025-08-25 12:03:01 +02:00
touchable_with_feedback Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
tutorial_highlight Upgrade RN as well as update or replace other dependencies (#8011) 2024-06-19 09:33:45 +08:00
upload_item_shared feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
user_avatars_stack Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
user_item Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
user_list feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
user_list_row [MM-66375] Allow managing own membership on a channel (#9301) 2025-12-03 17:20:20 +01:00
user_status [Gekidou] update deps (#6667) 2022-10-13 08:41:18 -03:00