mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-25 12:58:27 +00:00
* 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. Co-authored-by: mattermost-code <matty-code@mattermost.com> * 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. Co-authored-by: mattermost-code <matty-code@mattermost.com> * 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 --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: mattermost-code <matty-code@mattermost.com> Co-authored-by: Mattermost Build <build@mattermost.com> |
||
|---|---|---|
| .. | ||
| entry | ||
| apps.test.ts | ||
| apps.ts | ||
| category.test.ts | ||
| category.ts | ||
| channel_access_control_attributes.ts | ||
| channel_bookmark.test.ts | ||
| channel_bookmark.ts | ||
| channel.test.ts | ||
| channel.ts | ||
| classification.test.ts | ||
| classification.ts | ||
| command.test.ts | ||
| command.ts | ||
| custom_emoji.test.ts | ||
| custom_emoji.ts | ||
| custom_profile.test.ts | ||
| custom_profile.ts | ||
| file.test.ts | ||
| file.ts | ||
| general.test.ts | ||
| general.ts | ||
| groups.test.ts | ||
| groups.ts | ||
| integrations.test.ts | ||
| integrations.ts | ||
| license.test.ts | ||
| license.ts | ||
| notifications.test.ts | ||
| notifications.ts | ||
| performance.test.ts | ||
| performance.ts | ||
| permalink.ts | ||
| post.auxiliary.test.ts | ||
| post.auxiliary.ts | ||
| post.test.ts | ||
| post.ts | ||
| preference.test.ts | ||
| preference.ts | ||
| reactions.test.ts | ||
| reactions.ts | ||
| refresh.test.ts | ||
| refresh.ts | ||
| restore_server.test.ts | ||
| restore_server.ts | ||
| retry.test.ts | ||
| retry.ts | ||
| role.ts | ||
| scheduled_post.test.ts | ||
| scheduled_post.ts | ||
| search.test.ts | ||
| search.ts | ||
| session_attributes.test.ts | ||
| session_attributes.ts | ||
| session.test.ts | ||
| session.ts | ||
| systems.test.ts | ||
| systems.ts | ||
| team.test.ts | ||
| team.ts | ||
| terms_of_service.test.ts | ||
| terms_of_service.ts | ||
| thread.test.ts | ||
| thread.ts | ||
| user.test.ts | ||
| user.ts | ||