Skip to content

🤖 refactor: make workspace count visually subordinate to project name#3128

Merged
ammario merged 2 commits intomainfrom
sidebar-zety
Apr 5, 2026
Merged

🤖 refactor: make workspace count visually subordinate to project name#3128
ammario merged 2 commits intomainfrom
sidebar-zety

Conversation

@ammar-agent
Copy link
Copy Markdown
Collaborator

@ammar-agent ammar-agent commented Apr 5, 2026

Summary

Make the workspace count indicator in the project sidebar visually subordinate to the project name, establishing a clear text hierarchy.

Background

The workspace count next to each project name in the left sidebar was styled identically to the project name (same size, same color). This made them compete for visual attention instead of the count being a quiet secondary detail.

Implementation

Changes to the count <span> in ProjectSidebar.tsx:

  • Size: text-smtext-xs (smaller than the project name)
  • Color: Stepped down one level in both states — text-content-primarytext-content-secondary (attention), text-content-secondarytext-muted (normal)
  • Alignment: items-centeritems-baseline on the flex container so the smaller count text sits on the same text baseline as the project name instead of being vertically offset

Generated with mux • Model: anthropic:claude-opus-4-6 • Thinking: xhigh • Cost: $0.85

@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ammar-agent
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Swish!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ammario ammario merged commit 2c615f8 into main Apr 5, 2026
24 checks passed
@ammario ammario deleted the sidebar-zety branch April 5, 2026 21:44
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