Skip to content

Perf: banners and room icons#851

Merged
nushea merged 8 commits into
devfrom
fix/perfect-banners-and-room-icons
May 16, 2026
Merged

Perf: banners and room icons#851
nushea merged 8 commits into
devfrom
fix/perfect-banners-and-room-icons

Conversation

@nushea
Copy link
Copy Markdown
Member

@nushea nushea commented May 15, 2026

Description

Add settings for rooms icons showing for every space with the default leaving it up to the general setting for icons showing, and the rest overriding it:
image

For the Room currently it will be present inside of the
image

It also adds styling to the RoomCard using the banner in preparation of maybe when it might happen that the associated MSC gets merged into the spec (as it stands it only works with rooms you are already a member of as it is stored as a regular state event)
image

And it also increases the size of the Vertical resizer bar as they are the ones that are possible to be seen on mobile and it helps with gripping them, and separated them into classes better so it might be more easily changeable with a tweak if so desired.
image

Lastly it fixes the banner buttons previously being enabled when the user is missing the permissions to edit the room banner

Fixes #

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings

AI disclosure:

  • Partially AI assisted (clarify which code was AI assisted and briefly explain what it does).
  • Fully AI generated (explain what all the generated code does in moderate detail).

Caine (the AI from TADC) gave me swappable parts and trapped me into a circus if that counts as assistance!

@nushea nushea requested review from 7w1 and hazre as code owners May 15, 2026 17:15
@nushea nushea force-pushed the fix/perfect-banners-and-room-icons branch from 4aac6ef to 027f6d2 Compare May 15, 2026 17:16
@nushea nushea force-pushed the fix/perfect-banners-and-room-icons branch from 0b2a4ee to 4a2521c Compare May 15, 2026 21:20
Comment thread src/app/features/common-settings/general/RoomProfile.tsx Outdated
Comment thread src/app/components/room-card/RoomCard.tsx Outdated
@github-actions
Copy link
Copy Markdown
Contributor

Deploying with  Cloudflare Workers  Cloudflare Workers

Status Preview URL Commit Alias Updated (UTC)
✅ Deployment successful! https://pr-851-sable.raspy-dream-bb1d.workers.dev 6c832a8 pr-851 Sat, 16 May 2026 10:32:11 GMT

Copy link
Copy Markdown
Member

@7w1 7w1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@nushea nushea added this pull request to the merge queue May 16, 2026
Merged via the queue into dev with commit a8eee71 May 16, 2026
12 checks passed
@nushea nushea deleted the fix/perfect-banners-and-room-icons branch May 16, 2026 18:20
ProfessorVarox pushed a commit to ProfessorVarox/sable that referenced this pull request May 22, 2026
> [!IMPORTANT]
> Merging this PR will create a new release.

## Features

* Add support for misskey-flavored markdown color definitions. E.g.
`$[fg.color=f00 bg.color=00ff00 red on green]`.
([SableClient#860](<SableClient#860>) by @7w1)
* Add per Space setting for when to show room icons in sidebar
([SableClient#851](<SableClient#851>) by @nushea)
* Add toggle to list all rooms inside of the home sidebar.
([SableClient#866](<SableClient#866>) by @nushea)

### Change Image Viewer to feel more natural to use.
([SableClient#686](<SableClient#686>) by @7w1,
@nushea, @Septicity)

- Fixed zoom gestures generally not working on mobile.
- Changed the % number in the top right to reflect the zoom of the
original image as opposed to the change from it fitting the container.
- Made the zoom pill allow entering custom values.
- Added a button that zooms you to the original size of the image, and a
button to return to the size that fills the container.
- Added a pixelated image scaling setting: choose Both, Chat, Image
viewer (default), or Neither for crisp nearest-neighbor rendering.
- Transitions are now disabled for manual panning to improve
responsiveness.

## Fixes

* Fixed starting lists at arbitrary numbers and list markers extending
off screen with long numbers.
([SableClient#860](<SableClient#860>) by @7w1)
* Fix single new lines after block quotes being block-quoted.
([SableClient#860](<SableClient#860>) by @7w1)
* Fix emojis not rendering in reply chips.
([SableClient#860](<SableClient#860>) by @7w1)
* Hardened html parsing in standard input box, should no longer randomly
delete text in arrow brackets (unless valid, properly closed, legal
html). ([SableClient#860](<SableClient#860>) by @7w1)
* Fixed the message loading spinner flickering instead of continuing
during large pagination chunks.
([SableClient#895](<SableClient#895>) by @7w1)
* Fix matrix.to links getting arrow brackets inserted when editing
messages. ([SableClient#860](<SableClient#860>) by
@7w1)
* Fix mentions breaking after editing messages with mentions.
([SableClient#860](<SableClient#860>) by @7w1)
* Fix account switching and logging in with multiple (SSO) accounts
silently failing
([SableClient#882](<SableClient#882>) by
@770grappenmaker)
* Removed the arbitrary bio limit from the bio editor.
([SableClient#863](<SableClient#863>) by @7w1)
* Remove target and rel attributes from outgoing html links.
([SableClient#891](<SableClient#891>) by @7w1)
* Fix tablet layouts having the sidebar fill up the screen.
([SableClient#864](<SableClient#864>) by @7w1)
* Add support for stable mutual rooms endpoint, manually ported from
[this
commit](cinnyapp/cinny@bef2672)
by ajbura upstream.
([SableClient#852](<SableClient#852>) by @7w1)

## Documentation

* Docker build tags have been updated: `latest` now tracks the latest
versioned release and `dev` now tracks the dev branch.
([SableClient#892](<SableClient#892>) by @7w1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants