Add badge for history visibiltity to room info panel#31927
Merged
Conversation
Now that we have an extra one, it's quite likely we'll have to spill onto more lines.
0907cc6 to
748de26
Compare
richvdh
commented
Jan 30, 2026
packages/shared-components/src/room/HistoryVisibilityBadge/HistoryVisibilityBadge.stories.tsx
Outdated
Show resolved
Hide resolved
b8a7bc2 to
9ea9124
Compare
t3chguy
requested changes
Feb 2, 2026
| return ( | ||
| <Badge kind="blue"> | ||
| <HistoryIcon {...iconProps} /> | ||
| {_t("room|history_visibility_badge|shared")} |
Member
There was a problem hiding this comment.
I note that the text content can cause the badge to go off the edge of the right panel if it contains long words or at large font size, but at this time could not find a language which causes this issue, as they all wrap due to no individual word exceeding the width.
src/components/viewmodels/right_panel/RoomSummaryCardViewModel.tsx
Outdated
Show resolved
Hide resolved
packages/shared-components/src/room/HistoryVisibilityBadge/HistoryVisibilityBadge.stories.tsx
Outdated
Show resolved
Hide resolved
Having discussed this with the design team, the icons in badges should be 16px, not 13px, at default font size settings.
t3chguy
approved these changes
Feb 2, 2026
289ad61 to
6b1e100
Compare
alexlebens
pushed a commit
to alexlebens/infrastructure
that referenced
this pull request
Feb 24, 2026
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [vectorim/element-web](https://github.com/element-hq/element-web) | patch | `v1.12.10` → `v1.12.11` | --- ### Release Notes <details> <summary>element-hq/element-web (vectorim/element-web)</summary> ### [`v1.12.11`](https://github.com/element-hq/element-web/releases/tag/v1.12.11) [Compare Source](element-hq/element-web@v1.12.10...v1.12.11) #### 🦖 Deprecations - Remove UIFeature.BulkUnverifiedSessionsReminder setting ([#​31943](element-hq/element-web#31943)). Contributed by [@​andybalaam](https://github.com/andybalaam). - Remove unused function to auto-rageshake when key backup is not set up ([#​31942](element-hq/element-web#31942)). Contributed by [@​andybalaam](https://github.com/andybalaam). #### ✨ Features - Room list: update the visuals in order to have better contrast ([#​32421](element-hq/element-web#32421)). Contributed by [@​florianduros](https://github.com/florianduros). - Set history visibility to "invited" for DMs and new non-public rooms when creating a room ([#​31974](element-hq/element-web#31974)). Contributed by [@​langleyd](https://github.com/langleyd). - Remove server acl status/summaries from timeline ([#​32461](element-hq/element-web#32461)). Contributed by [@​langleyd](https://github.com/langleyd). - Update `globalBlacklistUnverifiedDevices` on setting change ([#​31983](element-hq/element-web#31983)). Contributed by [@​kaylendog](https://github.com/kaylendog). - Add badge for history visibiltity to room info panel ([#​31927](element-hq/element-web#31927)). Contributed by [@​richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Default useOnlyCurrentProfiles to true ([#​32524](element-hq/element-web#32524)). Contributed by [@​dbkr](https://github.com/dbkr). - Keep custom theme active after reload ([#​32506](element-hq/element-web#32506)). Contributed by [@​florianduros](https://github.com/florianduros). - Update font format from 'ttf' to 'truetype' ([#​32493](element-hq/element-web#32493)). Contributed by [@​all-yall](https://github.com/all-yall). - Fix videos on Firefox ([#​32497](element-hq/element-web#32497)). Contributed by [@​p1gp1g](https://github.com/p1gp1g). - Use a dedicated FAQ/help entry for key storage. ([#​32480](element-hq/element-web#32480)). Contributed by [@​mxandreas](https://github.com/mxandreas). - Avoid showing two chat timelines side by side after a call ([#​32484](element-hq/element-web#32484)). Contributed by [@​robintown](https://github.com/robintown). - Update screenshot for reactive display name disambiguation ([#​32431](element-hq/element-web#32431)). Contributed by [@​aditya-cherukuru](https://github.com/aditya-cherukuru). - Fix Status Bar being unreadable when the user overrides the default OS light/dark theme. ([#​32442](element-hq/element-web#32442)). Contributed by [@​Half-Shot](https://github.com/Half-Shot). - fix: Remove state\_key: null from Seshat search results ([#​31524](element-hq/element-web#31524)). Contributed by [@​shinaoka](https://github.com/shinaoka). - Fix user pill deserialisation ([#​31947](element-hq/element-web#31947)). Contributed by [@​t3chguy](https://github.com/t3chguy). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4209 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
alexlebens
pushed a commit
to alexlebens/infrastructure
that referenced
this pull request
Feb 24, 2026
…213) This PR contains the following updates: | Package | Update | Change | |---|---|---| | [element-hq/element-web](https://github.com/element-hq/element-web) | patch | `v1.12.10` → `v1.12.11` | --- ### Release Notes <details> <summary>element-hq/element-web (element-hq/element-web)</summary> ### [`v1.12.11`](https://github.com/element-hq/element-web/releases/tag/v1.12.11) [Compare Source](element-hq/element-web@v1.12.10...v1.12.11) #### 🦖 Deprecations - Remove UIFeature.BulkUnverifiedSessionsReminder setting ([#​31943](element-hq/element-web#31943)). Contributed by [@​andybalaam](https://github.com/andybalaam). - Remove unused function to auto-rageshake when key backup is not set up ([#​31942](element-hq/element-web#31942)). Contributed by [@​andybalaam](https://github.com/andybalaam). #### ✨ Features - Room list: update the visuals in order to have better contrast ([#​32421](element-hq/element-web#32421)). Contributed by [@​florianduros](https://github.com/florianduros). - Set history visibility to "invited" for DMs and new non-public rooms when creating a room ([#​31974](element-hq/element-web#31974)). Contributed by [@​langleyd](https://github.com/langleyd). - Remove server acl status/summaries from timeline ([#​32461](element-hq/element-web#32461)). Contributed by [@​langleyd](https://github.com/langleyd). - Update `globalBlacklistUnverifiedDevices` on setting change ([#​31983](element-hq/element-web#31983)). Contributed by [@​kaylendog](https://github.com/kaylendog). - Add badge for history visibiltity to room info panel ([#​31927](element-hq/element-web#31927)). Contributed by [@​richvdh](https://github.com/richvdh). #### 🐛 Bug Fixes - Default useOnlyCurrentProfiles to true ([#​32524](element-hq/element-web#32524)). Contributed by [@​dbkr](https://github.com/dbkr). - Keep custom theme active after reload ([#​32506](element-hq/element-web#32506)). Contributed by [@​florianduros](https://github.com/florianduros). - Update font format from 'ttf' to 'truetype' ([#​32493](element-hq/element-web#32493)). Contributed by [@​all-yall](https://github.com/all-yall). - Fix videos on Firefox ([#​32497](element-hq/element-web#32497)). Contributed by [@​p1gp1g](https://github.com/p1gp1g). - Use a dedicated FAQ/help entry for key storage. ([#​32480](element-hq/element-web#32480)). Contributed by [@​mxandreas](https://github.com/mxandreas). - Avoid showing two chat timelines side by side after a call ([#​32484](element-hq/element-web#32484)). Contributed by [@​robintown](https://github.com/robintown). - Update screenshot for reactive display name disambiguation ([#​32431](element-hq/element-web#32431)). Contributed by [@​aditya-cherukuru](https://github.com/aditya-cherukuru). - Fix Status Bar being unreadable when the user overrides the default OS light/dark theme. ([#​32442](element-hq/element-web#32442)). Contributed by [@​Half-Shot](https://github.com/Half-Shot). - fix: Remove state\_key: null from Seshat search results ([#​31524](element-hq/element-web#31524)). Contributed by [@​shinaoka](https://github.com/shinaoka). - Fix user pill deserialisation ([#​31947](element-hq/element-web#31947)). Contributed by [@​t3chguy](https://github.com/t3chguy). </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My4yNS43IiwidXBkYXRlZEluVmVyIjoiNDMuMjUuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiYXV0b21lcmdlIiwiaW1hZ2UiXX0=--> Reviewed-on: https://gitea.alexlebens.dev/alexlebens/infrastructure/pulls/4213 Co-authored-by: Renovate Bot <renovate-bot@alexlebens.net> Co-committed-by: Renovate Bot <renovate-bot@alexlebens.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Per the designs at https://www.figma.com/design/IXcnmuaIwtm3F3vBuFCPUp/Room-History-Sharing?node-id=0-1&t=MKC8KCGCpykDbrcX-1, we want a badge in the room info sidebar panel to reflect the current history visibility.
Screenshots:
Recommend reviewing commit-by-commit.
Fixes: #31859