Skip to content

Slim the sidebar bot rows and even out avatar sizes - #30

Merged
nikuscs merged 3 commits into
nikuscs:mainfrom
sousavf:feature/slim-sidebar-rows
Nov 8, 2026
Merged

nikuscs merged 3 commits into
nikuscs:mainfrom
sousavf:feature/slim-sidebar-rows

Conversation

@sousavf

@sousavf sousavf commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

The bot list in the web sidebar used tall rows with large avatars, and photo avatars looked much bigger than orbs.

  • Rows: 32px avatar slot, 8px side and 4px vertical padding (about 40px per row, from 52px). Name 13px, preview 11px.
  • Groups: 8px between sidebar sections instead of 16px.
  • Sizes: in the sidebar, orbs scale up to match photo avatars. In the bot details header the avatar is 88px, and photo, emoji and colour avatars shrink to the orb's footprint. Both via new BotAvatar props (isPictureSized, isOrbSized); other avatars are unchanged.

Testing

  • bun run check and bun run lint pass.
  • Checked in the running web app.

Screenshots

Taken from a local build with PRs 27 to 30 applied together, using a throwaway demo bot; other sidebar names and previews are replaced with demo text.

Slimmer sidebar rows
Bot details with the larger avatar

Smaller avatars and even padding fit more chats on screen.
Sidebar orbs grow to match photo avatars, and in the larger bot details
header photo, emoji and colour avatars shrink to the orb's footprint.
@sousavf
sousavf requested a review from nikuscs as a code owner November 8, 2026 09:38
@nikuscs
nikuscs merged commit f4c917e into nikuscs:main Nov 8, 2026
4 checks passed
@nikuscs

nikuscs commented Nov 8, 2026

Copy link
Copy Markdown
Owner

Hey Vasco, small one, pushed fed1c59: replaced isOrbSized / isPictureSized on BotAvatar with a single variant prop (default / detail / row), since DESIGN.md asks to extend appearance through variant/size instead of parallel styling props. I went with variant because size is already the pixel prop used in ~33 places. Classes come out identical for both callers and the default, so it should look exactly the same.

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