mattermost-mobile/types/api
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
..
apps.d.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
bots.d.ts MM-35115 [Gekidou] Login flow - Email and Password (#5402) 2021-06-18 00:57:40 -04:00
category.d.ts [Gekidou] Sidebar Categories (Database only) (#5909) 2022-01-31 10:30:10 -03:00
channels.d.ts Mm 63935 abac end user indicators (#8848) 2025-05-19 15:34:03 +02:00
client.d.ts feat: show pre-auth secret error on field on server create (#9102) 2025-09-17 08:04:28 +02:00
commands.d.ts [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
config.d.ts feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
custom_profile_attributes.d.ts [MM-64358] don't save unneeded custom profile attributes (#8971) 2025-07-02 17:49:55 +02:00
emojis.d.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
error.d.ts MM-35115 [Gekidou] Login flow - Email and Password (#5402) 2021-06-18 00:57:40 -04:00
files.d.ts Add post props validation (#8323) 2024-11-28 15:59:30 +01:00
groups.d.ts [Gekidou] Saves groups + group-channel for constrained channels (#6358) 2022-08-01 08:02:15 +10:00
integrations.d.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
license.d.ts [MM-53810] Add mobile markdown support for highlighting without notifications without configuration ability (#7663) 2023-11-23 17:11:06 +08:00
plugins.d.ts MM-43300: Calls v2 first cut (#6475) 2022-07-22 15:57:12 -04:00
posts.d.ts Burn On Read Posts (#9307) 2025-12-11 09:42:16 +05:30
preferences.d.ts Replace lottie loading spinner for activity indicator (#6266) 2022-05-12 12:54:43 -04:00
reactions.d.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
roles.d.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
scheduled_post.d.ts Feature schedule posts (#8509) 2025-04-14 22:08:59 +05:30
search.d.ts match desktop search and highlight results (#7445) 2023-07-18 12:17:19 -04:00
session.d.ts Refactor errors around the app (#7306) 2023-05-03 13:08:55 +02:00
slash_command.d.ts [Gekidou] Typings & PostMetadata structure (#5542) 2021-07-15 11:49:02 -04:00
teams.d.ts MM-42835_Invite People - add email+user invites 2022-12-16 10:45:48 -05:00
terms_of_service.d.ts Add terms of service (#6777) 2022-11-24 19:58:56 +01:00
threads.d.ts Ensure no unresolved types in the definition files (#6521) 2022-08-05 14:36:19 +02:00
users.d.ts Easy Login (#9261) 2025-11-20 12:38:06 +01:00
websocket.d.ts Try to remove as many as as possible (#6200) 2022-05-12 15:46:11 +02:00