Add history sharing badges to room details (#6132)

* feat: Add history sharing badges to room details view

* tests: Add snapshots for history sharing room details badges

* fix: Disable soft-wrapping in badges, use FlowRow

* tests: Add unit test for `RoomDetailsState` and history sharing badges.

* tests: Add `MatrixBadgeAtomNeutralWrappingPreview` to exceptions

* chore: Re-order `MatrixBadgeAtom` previews

* fix: Add `Immutable` annotation to `RoomHistoryVisibility`.

* fix: Correct translation for shared badge
This commit is contained in:
Skye Elliot 2026-02-06 19:03:52 +00:00 committed by GitHub
parent db310e42d4
commit 028ec221b0
20 changed files with 156 additions and 3 deletions

View file

@ -97,6 +97,7 @@ class KonsistPreviewTest {
"MatrixBadgeAtomInfoPreview",
"MatrixBadgeAtomNegativePreview",
"MatrixBadgeAtomNeutralPreview",
"MatrixBadgeAtomNeutralWrappingPreview",
"MatrixBadgeAtomPositivePreview",
"MentionSpanThemeInTimelinePreview",
"MessageComposerViewVoicePreview",