Skip to content

fix(desktop): rename add-repo button copy to Add/Open project - #6061

Merged
AviPeltz merged 1 commit into
mainfrom
update-button-labels
Jul 30, 2026
Merged

AviPeltz merged 1 commit into
mainfrom
update-button-labels

Conversation

@AviPeltz

@AviPeltz AviPeltz commented Jul 30, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Sidebar "add repository" button (collapsed + expanded states) now shows tooltip "Add project" instead of "Add repository", with matching aria-label.
  • First item in the dropdown menu renamed from "Open from folder" to "Open project".

Test plan

  • Hover the add-project button in the dashboard sidebar (collapsed and expanded) and confirm the tooltip reads "Add project".
  • Open the dropdown and confirm the first item reads "Open project" and still imports a folder on click.

Open in Stage

Summary by cubic

Renamed the sidebar “add repository” copy to use “project” terminology. The add button tooltip and aria-label now say “Add project,” and the first dropdown item is “Open project” in both the main and Workspaces sidebars.

Written for commit d8ebbd2. Summary will update on new commits.

Review in cubic

Summary by CodeRabbit

  • Bug Fixes
    • Updated sidebar accessibility labels and tooltips to consistently say “Add project.”
    • Renamed the dropdown option “Open from folder” to “Open project” for clearer project-related wording.

@ghost

ghost commented Jul 30, 2026

Copy link
Copy Markdown

Ready to review this PR? Stage has broken it down into 2 individual chapters for you:

Title
1 Update project labels in the collapsed sidebar
2 Update project labels in the expanded sidebar
Open in Stage

Chapters generated by Stage for commit d8ebbd2 on Jul 30, 2026 4:53am UTC.

@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 28931dfc-a5d3-4153-864f-f868a1963d9f

📥 Commits

Reviewing files that changed from the base of the PR and between f64358f and d8ebbd2.

📒 Files selected for processing (2)
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx
  • apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarWorkspacesHeader/DashboardSidebarWorkspacesHeader.tsx

📝 Walkthrough

Walkthrough

The dashboard sidebar’s add controls replace repository-oriented labels with project-oriented accessibility labels, tooltips, and menu text. Existing icons, dropdown structure, handlers, and behavior remain unchanged.

Changes

Sidebar project labels

Layer / File(s) Summary
Update sidebar add labels
apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarHeader/DashboardSidebarHeader.tsx, apps/desktop/src/renderer/routes/_authenticated/_dashboard/components/DashboardSidebar/components/DashboardSidebarWorkspacesHeader/DashboardSidebarWorkspacesHeader.tsx
Collapsed and workspace sidebar controls now say “Add project” and the workspace menu item says “Open project”; existing dropdown behavior is preserved.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested reviewers: kitenite

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title is conventional, concise, and accurately summarizes the sidebar copy rename.
Description check ✅ Passed It includes a clear summary and test plan; only the template checklist section is missing.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-button-labels

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AviPeltz
AviPeltz merged commit 388e49e into main Jul 30, 2026
12 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

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