Skip to content

fix(web): add project path action to sidebar menu#1436

Merged
juliusmarminge merged 2 commits intopingdotgg:mainfrom
FllipEis:philipp/copy-project-path-sidebar
Mar 28, 2026
Merged

fix(web): add project path action to sidebar menu#1436
juliusmarminge merged 2 commits intopingdotgg:mainfrom
FllipEis:philipp/copy-project-path-sidebar

Conversation

@FllipEis
Copy link
Copy Markdown
Contributor

@FllipEis FllipEis commented Mar 26, 2026

What Changed

  • Added a Copy Project Path action to the project sidebar context menu.
  • Reused the existing copyPathToClipboard helper and the existing success/error toast behavior.
  • Kept the existing remove-project action and confirmation flow unchanged.

Why

The sidebar already lets you copy a thread workspace path, but there was no equivalent action on the project itself. This makes it easy to copy the absolute project path directly from the project row without opening or creating a thread first.

UI Changes

Adds a single new Copy Project Path entry to the project context menu.

Before

T3 Code (Alpha) 2026-03-26 at 12 26 22@2x

After

T3 Code (Dev) 2026-03-26 at 12 28 12@2x

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Low risk UI-only change that adds a new context-menu action and reuses existing clipboard/toast helper; minimal behavioral impact beyond the new menu item.

Overview
Adds a new "Copy Project Path" option to the sidebar project right-click menu, copying the project cwd via the existing copyPathToClipboard helper (with the same success/error toast behavior).

The project is now looked up before showing the menu (early-returning if missing), while the existing remove-project flow remains unchanged.

Written by Cursor Bugbot for commit d941aff. This will update automatically on new commits. Configure here.

Note

[!NOTE]

Add "Copy Project Path" option to sidebar project context menu

Adds a "Copy Project Path" item to the right-click context menu in Sidebar.tsx, which copies the project's cwd to the clipboard. The project lookup now occurs before the menu is shown, with an early return if the project is not found.

Macroscope summarized d941aff.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 4bb52643-2012-4aab-a6eb-586aceee94cd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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 and usage tips.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 26, 2026
@juliusmarminge juliusmarminge enabled auto-merge (squash) March 28, 2026 18:55
@juliusmarminge juliusmarminge merged commit ce463a5 into pingdotgg:main Mar 28, 2026
10 checks passed
AustinKelsay pushed a commit to AustinKelsay/t3code-custom that referenced this pull request Mar 29, 2026
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants