mattermost-mobile-upstream/types/api
Mattermost Build f8a177ca48
Mm 70299 channel labels display phase 1 (#10113) (#10171)
* MM-70299 - display channel attributes in header, info and banner

* cover and expand channel attributes feature with UI and E2E tests

* Implement channel attributes lock and update related tests and API methods

* Enhance error logging and improve type definitions for channel attributes

* Handle error from setAccessControlGroupId in fetchAccessControlAttributeFields

* Refactor fetchAccessControlAttributeFields to include system ID handling and improve batch record persistence

* Address code review feedback: extract feature-flag constants, move DB-only helpers to query/local layers, refactor attribute chip styles, fix colour spelling, and add test coverage for value pruning and subtitle component

* Fix error handling in removeStoredFields function and delete obsolete end-to-end test file

* Add tests for removeStoredFields function and enhance property queries

* Fix removeStoredFields to recover group ID from classification anchor and clean all owned fields

* Fix batchRecords silently swallowing write errors in fetchAccessControlAttributeFields

* Remove unused visibility check for ChannelAttributeLabels in e2e tests

* Fix classification fetch cache and channel-attributes E2E lock contention

Do not stamp the classification banner cache when both access-control flags
are off, so turning a flag back on after a reload refetches fields.

Share the classification lock with the channel-attributes Detox suite and
stop unsetting ClassificationMarkings. Skip flag-on tests when the server
cannot enable ChannelAttributes.



* Scope access_control field prune to owned object types

handlePropertyFields(groupId) deletes every field in the group. The fetch
only returns system and channel fields, so same-group user/session rows
were removed on each refresh. Prune only system and channel fields, matching
removeStoredFields.



* fail channel attributes tests when feature enablement fails instead of silently reporting them as passed

* Compose all channel attribute values in banners with template resolution, mixed field support, and matching web colors

---------




(cherry picked from commit 54731fa6ac)

Co-authored-by: Pablo Vélez <pablovv2016@gmail.com>
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: mattermost-code <matty-code@mattermost.com>
2026-09-18 08:10:30 +03:00
..
apps.d.ts Add date/datetime field support with timezone features for Apps Forms (#9521) 2026-07-16 08:09:47 -06: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-62038] Fix urgent mention badge colors (#10119) 2026-09-14 14:03:53 -04:00
client.d.ts [MM-68315] Add autorecovery for database corruptions (#9900) 2026-07-13 18:02:35 +02:00
commands.d.ts [Gekidou] Post input (#5844) 2022-02-03 08:59:15 -03:00
config.d.ts Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03: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 feat: support fillewillbedownloaded and sendtoastmessage pluginapi (#9416) 2026-02-16 17:10:25 +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 Add date/datetime field support with timezone features for Apps Forms (#9521) 2026-07-16 08:09:47 -06:00
license.d.ts MM-68200 About modal updates to show correct SKU and align with web (#9662) 2026-04-16 09:10:41 -04:00
mm_blocks.d.ts Mattermost Blocks (#9764) 2026-06-29 18:42:16 +02:00
plugins.d.ts MM-43300: Calls v2 first cut (#6475) 2022-07-22 15:57:12 -04:00
posts.d.ts Reconcile mobile Agents post display with webapp (multi-round, inline thread, tool approval UX) (#9841) 2026-08-05 13:54:24 +00:00
preferences.d.ts Replace lottie loading spinner for activity indicator (#6266) 2022-05-12 12:54:43 -04:00
properties.d.ts Mm 70299 channel labels display phase 1 (#10113) (#10171) 2026-09-18 08:10:30 +03: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_attributes.d.ts [MM-68986][MM-69203] Add module to collect Session Attributes from Mobile App (#9830) 2026-08-18 18:03:20 +00: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 Add guest invites (#9288) 2025-12-11 17:21:18 +01: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 Update the value for login type (#9329) 2025-12-12 16:26:22 +01:00
websocket.d.ts [MM-67563] Change websocket format for translation update events (#9515) 2026-02-18 16:16:13 +01:00