Skip to content

fix(ui): always show Onboarding and Restart Orca in Help - #12379

Merged
AmethystLiang merged 2 commits into
mainfrom
make-show-onboarding-available
Aug 4, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
make-show-onboarding-available

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Always show Onboarding and Restart Orca in the sidebar Help menu instead of hiding them behind Option/Alt.
  • Remove the Alt-only admin gate from the Help menu trigger (nothing else used it).
  • Update unit tests to expect both items on the default menu.

Users could not find how to replay onboarding because the action required holding Alt while opening Help — some reinstalled Orca instead. Restart had the same non-discoverable affordance.

Test plan

  • Open the sidebar Help menu without holding Alt — confirm Onboarding and Restart Orca are listed
  • Click Onboarding — confirm the onboarding flow starts again
  • Click Restart Orca — confirm the app restarts (or shows the restart toast/error path)
  • Confirm no other Help items still depend on holding Alt
  • Run SidebarSettingsHelpMenu unit tests if dependencies are installed

Users could not find "Show onboarding again" because it required holding Alt. Surface it on the default Help menu so replay is discoverable without reinstalling.
@coderabbitai

coderabbitai Bot commented Aug 4, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

The Help menu now displays Onboarding and Restart by default. It no longer tracks or reveals admin options through Alt-key interactions. Existing action handlers and controls remain unchanged. Tests and channel-switcher documentation reflect the updated behavior.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
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.
Description check ⚠️ Warning The description includes a summary and test plan but omits the required Screenshots, AI Review Report, Security Audit, and Notes sections. Add all required template sections, state No visual change or attach media, document AI and security reviews, and record completed test checks.
✅ Passed checks (3 passed)
Check name Status Explanation
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.
Title check ✅ Passed The title clearly states the primary UI change: Onboarding and Restart Orca are always visible in the Help menu.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.test.tsx (1)

225-227: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Preserve coverage for the admin-only Restart behavior.

This test verifies that Onboarding is visible by default, but it does not verify that Restart Orca remains hidden without Alt/Option. Add an absence assertion for the default menu.

Proposed test update
   it('renders the Onboarding menu item by default', () => {
     const html = renderToStaticMarkup(<SidebarSettingsHelpMenu />)
     expect(html).toContain('Onboarding')
+    expect(html).not.toContain('Restart Orca')
   })

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: ff75f214-2cac-4385-ba06-1776ed878ec3

📥 Commits

Reviewing files that changed from the base of the PR and between ce8b778 and daf820c.

📒 Files selected for processing (2)
  • src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.test.tsx
  • src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.tsx

Surface Restart next to Check for Updates by default and drop the Alt-only admin gate, which no longer hid anything else.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.tsx (1)

98-98: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Keep Restart Orca off the default Help menu.

With Restart Orca rendered unconditionally and no Alt-reveal state or menu-close reset, this item is visible by default. The remaining PR objective is to make only Onboarding public, so restore the admin-reveal behavior for Restart Orca and update the test expectations accordingly.


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f1626854-87eb-4ad8-a6a7-7f2ed47f8874

📥 Commits

Reviewing files that changed from the base of the PR and between daf820c and bc16452.

📒 Files selected for processing (3)
  • src/renderer/src/components/settings/GeneralUpdateSettingsSection.tsx
  • src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.test.tsx
  • src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/renderer/src/components/sidebar/SidebarSettingsHelpMenu.test.tsx

@AmethystLiang AmethystLiang changed the title fix(ui): always show Onboarding in the Help menu fix(ui): always show Onboarding and Restart Orca in Help Aug 4, 2026
@AmethystLiang
AmethystLiang merged commit a69ca6d into main Aug 4, 2026
42 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
)

* fix(ui): always show Onboarding in the Help menu

Users could not find "Show onboarding again" because it required holding Alt. Surface it on the default Help menu so replay is discoverable without reinstalling.

* fix(ui): always show Restart Orca in the Help menu

Surface Restart next to Check for Updates by default and drop the Alt-only admin gate, which no longer hid anything else.
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