Skip to content

feat(app): add setting to show full project name in sidebar#21323

Open
AlexanderWillner wants to merge 1 commit intoanomalyco:devfrom
AlexanderWillner:feat/sidebar-show-project-name
Open

feat(app): add setting to show full project name in sidebar#21323
AlexanderWillner wants to merge 1 commit intoanomalyco:devfrom
AlexanderWillner:feat/sidebar-show-project-name

Conversation

@AlexanderWillner
Copy link
Copy Markdown

@AlexanderWillner AlexanderWillner commented Apr 7, 2026

Issue for this PR

Closes #

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

When running OpenCode Desktop with multiple projects in the sidebar, each project is represented by a single-letter avatar icon. If many projects share the same first letter (e.g. all starting with "C"), they become indistinguishable.

This PR adds a new "Show project name in sidebar" toggle in Settings > Appearance that displays the full project name as text instead of the single-letter avatar. When enabled, the sidebar rail widens from 64px to 96px to accommodate the longer names, with truncation for very long project names.

How did you verify your code works?

  • Ran bun turbo typecheck - all 13 packages pass with no errors
  • Verified the toggle appears in Settings > Appearance section
  • Verified the sidebar rail width adjusts when toggling the setting

Screenshots / recordings

Before:
before

After:
after

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Add a new appearance setting that displays the full project name as
text in the sidebar rail instead of the default single-letter avatar
icon. This helps distinguish projects that share the same first letter.

When enabled, the sidebar rail widens from 64px to 96px to accommodate
the longer text while maintaining truncation for very long names.
@github-actions github-actions bot added the needs:compliance This means the issue will auto-close after 2 hours. label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

The following comment was made by an LLM, it may be inaccurate:

Based on the search results, I found one potentially related PR:

PR #14758: feat(app): show parent directory name above project icons in sidebar
#14758

This PR is related because it also addresses sidebar project display/naming, showing parent directory names above project icons. It's working in the same area (sidebar-project.tsx and related components) to improve project identification.

All other results are either the current PR (#21323) itself or unrelated features. No duplicate PRs with the exact same functionality were found.

@AlexanderWillner
Copy link
Copy Markdown
Author

Before:
before

After:
after

@github-actions github-actions bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 7, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

1 participant