Skip to content

Make adding projects discoverable in sidebar - #4426

Merged
brennanb2025 merged 1 commit into
mainfrom
brennanb2025/https-linear.app-stably-issue-STA-103-not-obvious-how-to-add-a-new-project-once-user-have-added-a-first-one
Jun 2, 2026
Merged

brennanb2025 merged 1 commit into
mainfrom
brennanb2025/https-linear.app-stably-issue-STA-103-not-obvious-how-to-add-a-new-project-once-user-have-added-a-first-one

Conversation

@brennanb2025

@brennanb2025 brennanb2025 commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Replace the Projects-row standalone plus with the Direction A + Add dropdown from tmp/sta-103-mocks/add-project-from-header.html.
  • The header menu contains New worktree, Open local folder..., Clone from GitHub / GitLab..., and Remote (SSH) project....
  • Keep the existing bottom Add Project fallback unchanged.
  • Add focused SidebarHeader tests for menu routing, disabled worktree creation, grouping variants, and board-path regressions.

Design / Review Pipeline

  • Direction A selected by Brennan: Projects header + Add menu next to the workspace board control.
  • Corrected after review against tmp/sta-103-mocks/add-project-from-header.html; the visible button is plus icon + Add text + chevron-down.
  • Completeness verifier previously found one missing board-open regression guard; fixed with the sixth focused test.
  • Code review round: reviewer A had one non-blocking product note about duplicate header/bottom Add Project entrypoints, reviewer B reported no issues.

Validation

  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/SidebarHeader.test.tsx
  • pnpm run typecheck
  • pnpm run typecheck:web
  • pnpm run lint
  • git diff --check

Notes

  • Open local folder... starts the existing Add Project folder-picker flow.
  • Clone from GitHub / GitLab... and Remote (SSH) project... route into the existing Add Project dialog at the matching clone/remote steps.
  • No SSH/remoting implementation path changed; the menu only makes the existing remote-project path more discoverable.

Linear: STA-103

@brennanb2025
brennanb2025 force-pushed the brennanb2025/https-linear.app-stably-issue-STA-103-not-obvious-how-to-add-a-new-project-once-user-have-added-a-first-one branch 3 times, most recently from 332b1bd to 984d73e Compare June 2, 2026 03:25
@brennanb2025
brennanb2025 force-pushed the brennanb2025/https-linear.app-stably-issue-STA-103-not-obvious-how-to-add-a-new-project-once-user-have-added-a-first-one branch from 984d73e to ba2e508 Compare June 2, 2026 03:26
@brennanb2025
brennanb2025 merged commit 58d36e4 into main Jun 2, 2026
1 check passed
nwparker added a commit that referenced this pull request Jun 2, 2026
* Revert "Make add project create action a button (#4439)"

This reverts commit 709adbc.

* Revert "Make adding projects discoverable in sidebar (#4426)"

This reverts commit 58d36e4.

Conflict resolution notes:
- Deleted SidebarHeader.test.tsx (introduced by #4426; subsequent edits
  from #2734 are dropped along with the test file).
- Restored SidebarHeader.tsx to its pre-#4426 state. The contextual-tour
  anchor data-contextual-tour-target="workspace-create-control" added by
  #2734 no longer has a host element; the workspace-creation tour will
  need to be re-anchored separately.

---------

Co-authored-by: orca-bot <[email protected]>
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
* Revert "Make add project create action a button (stablyai#4439)"

This reverts commit 540cfe2.

* Revert "Make adding projects discoverable in sidebar (stablyai#4426)"

This reverts commit 649c8c4.

Conflict resolution notes:
- Deleted SidebarHeader.test.tsx (introduced by stablyai#4426; subsequent edits
  from stablyai#2734 are dropped along with the test file).
- Restored SidebarHeader.tsx to its pre-stablyai#4426 state. The contextual-tour
  anchor data-contextual-tour-target="workspace-create-control" added by
  stablyai#2734 no longer has a host element; the workspace-creation tour will
  need to be re-anchored separately.

---------

Co-authored-by: orca-bot <[email protected]>
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