Skip to content

fix(web): keep project favicon shape consistent across sizes - #11

Closed
sameerr03 wants to merge 10 commits into
mainfrom
fix/project-favicon-radius
Closed

fix(web): keep project favicon shape consistent across sizes#11
sameerr03 wants to merge 10 commits into
mainfrom
fix/project-favicon-radius

Conversation

@sameerr03

@sameerr03 sameerr03 commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Problem

The project favicon in the sidebar thread row is a squircle, but the same favicon in the thread hover tooltip and in the chat breadcrumb renders as a circle. All three use ProjectFavicon, which applies a fixed 6px rounded-sm radius. That reads as a squircle at the sidebar's 16px size but collapses into a circle at the tooltip's 12px and the breadcrumb's 14px.

Fix

Leave the component and the sidebar row untouched. Override the radius at the two call sites that looked wrong, using the same radius-to-size ratio the sidebar row already has (rounded-[37.5%], i.e. 6/16), so the tooltip and breadcrumb favicons now match the sidebar squircle.

Verification

Not run locally: the test runners are not on this machine's PATH. The existing ProjectFavicon.test.tsx does not assert on the radius class. Relying on CI.

Made with Claude Fable 5.1 via Claude Code.

🤖 Generated with Claude Code

sameerr03 and others added 8 commits August 18, 2026 19:15
- Import native Codex history into T3 threads
- Restore missing projections from imported event streams
…in GitHubPullRequestCli (pingdotgg#7385)

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>
Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
The favicon used a fixed 6px radius, so the 12px tooltip icon rendered as a circle while the 16px sidebar icon rendered as a squircle. Use a proportional radius so every surface shows the same squircle.

Made with Claude Fable 5.1 via Claude Code.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L labels Sep 6, 2026
@sameerr03
sameerr03 changed the base branch from main to refresh-tmp September 6, 2026 18:25
@sameerr03
sameerr03 changed the base branch from refresh-tmp to main September 6, 2026 18:25
Keep the sidebar row favicon unchanged and give the thread tooltip and breadcrumb favicons the same radius-to-size ratio, so they read as the same squircle instead of circles.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions github-actions Bot added size:XS and removed size:L labels Sep 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants