Skip to content

feat (desktop): shortcut on new workspace button#811

Merged
AviPeltz merged 2 commits into
mainfrom
add-cmd-shortcut-on-button
Jan 18, 2026
Merged

feat (desktop): shortcut on new workspace button#811
AviPeltz merged 2 commits into
mainfrom
add-cmd-shortcut-on-button

Conversation

@AviPeltz
Copy link
Copy Markdown
Collaborator

@AviPeltz AviPeltz commented Jan 18, 2026

Description

Related Issues

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other (please describe):

Testing

Screenshots (if applicable)

Additional Notes

Summary by CodeRabbit

  • New Features
    • The New Workspace button now displays tooltips that show keyboard shortcut information when you hover over it. Tooltip functionality is enhanced to work consistently across both expanded and collapsed sidebar layout states, making keyboard shortcuts more accessible and discoverable to users.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jan 18, 2026

Warning

Rate limit exceeded

@AviPeltz has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 15 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between ed9a7b2 and d4601d3.

📒 Files selected for processing (1)
  • apps/desktop/src/renderer/screens/main/components/WorkspaceSidebar/WorkspaceSidebarHeader/NewWorkspaceButton.tsx
📝 Walkthrough

Walkthrough

A single-file modification adds a Tooltip component with keyboard shortcut hint to the New Workspace button in the desktop renderer. The button now displays a HotkeyTooltipContent on hover with a 300ms delay for both collapsed and expanded sidebar states.

Changes

Cohort / File(s) Summary
Tooltip Enhancement
apps/desktop/src/renderer/screens/main/components/WorkspaceSidebar/WorkspaceSidebarHeader/NewWorkspaceButton.tsx
Wraps New Workspace button with Tooltip component. Adds HotkeyTooltipContent import and embeds it in tooltip content. Applies consistent tooltip presentation across collapsed and expanded renders with 300ms delay.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • CharlieHelps

Poem

🐰 A button wrapped in helpful cheer,
With shortcuts whispered in your ear,
When hovering near, a hint appears—
"Press this key!" the tooltip cheers! ✨

🚥 Pre-merge checks | ✅ 1 | ❌ 2
❌ Failed checks (2 warnings)
Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description consists entirely of an unfilled template with no actual content provided in any section. Fill in the Description section explaining the changes, select the appropriate Type of Change, add Testing details, and provide any other relevant context.
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (1 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat (desktop): shortcut on new workspace button' clearly describes the main change: adding a keyboard shortcut to the new workspace button.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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.

@AviPeltz AviPeltz merged commit 42641bf into main Jan 18, 2026
5 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ⚠️ Neon database branch
  • ⚠️ Electric Fly.io app

Thank you for your contribution! 🎉

@Kitenite Kitenite deleted the add-cmd-shortcut-on-button branch January 19, 2026 00:32
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