mattermost-mobile-upstream/app/components/post_list/post/header
Nick Misasi f1e263ba90
[MM-66230] Add AI-generated sparkle indicator to post headers (#9835)
* Add AI-generated sparkle indicator to post headers for mobile/web parity.

Users on mobile could not tell when a post was AI-generated; this surfaces
the same sparkle marker as web using post props and keeps headers visible
for consecutive AI posts.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Make AI-generated indicator accessible to screen readers.

CodeRabbit flagged that accessibilityLabel alone is not announced on a
standard View; set accessible and accessibilityRole so VoiceOver/TalkBack
can surface the AI attribution label.

Co-authored-by: Cursor <cursoragent@cursor.com>

* ci: retrigger docs-impact-review workflow.

Prior runs failed due to Claude Code SDK initialization errors unrelated
to PR changes; retry to clear the flaky check.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Address review nits for AI-generated post indicator.

Compute isAiGenerated once and only check previousPost in areConsecutivePosts.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2026-07-14 19:31:02 +00:00
..
commented_on [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
display_name Fix early name truncation on Android in post header and user profile (#9794) 2026-05-29 07:00:18 +08:00
expiry_timer Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
reply Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
tag Standardize tags and chips through the app (#8856) 2025-06-11 10:11:05 +02:00
ai_generated_indicator.tsx [MM-66230] Add AI-generated sparkle indicator to post headers (#9835) 2026-07-14 19:31:02 +00:00
header.test.tsx [MM-66230] Add AI-generated sparkle indicator to post headers (#9835) 2026-07-14 19:31:02 +00:00
header.tsx [MM-66230] Add AI-generated sparkle indicator to post headers (#9835) 2026-07-14 19:31:02 +00:00
index.ts Migrate from RNN to Expo router (#9402) 2026-05-13 17:44:55 +08:00
translate_icon.tsx Add autotranslations (#9324) 2026-02-10 17:50:39 +01:00