Skip to content

feat(web): default to applications and split control center routing#577

Merged
arielshad merged 5 commits into
mainfrom
feat/empty-state-routing-fix
Apr 26, 2026
Merged

feat(web): default to applications and split control center routing#577
arielshad merged 5 commits into
mainfrom
feat/empty-state-routing-fix

Conversation

@arielshad
Copy link
Copy Markdown
Contributor

Summary

  • Root / now redirects to /applications so users land on the apps grid first instead of the control center canvas
  • Control center canvas moved to its own /control-center route (sidebar, drawer-close, pane-click, and tests updated)
  • Restored the original onboarding empty state in control center (agent setup wizard → tool checklist → Choose Folder / New Project / Import from GitHub), the prompt-style empty state stays scoped to the applications view
  • Added Opus 4.7 model metadata so the welcome wizard model picker shows "Opus 4.7" with a description (was rendering "Opus 4 7" via fallback prettifier)
  • Ungated GitHubImportDialog in app-shell so the new Import-from-GitHub button actually opens the dialog (the dialog was conditionally mounted behind featureFlags.githubImport)
  • Defensive .catch() on checkAgentAuth / checkToolStatus so a failed server action degrades to "Not installed" instead of perpetual "Checking…"

Test plan

  • pnpm dev:web → navigate to / → verify redirect to /applications
  • Navigate to /control-center → verify canvas + onboarding empty state with three buttons (Choose Folder, New Project, Import from GitHub)
  • Click Import from GitHub → verify the GitHub import dialog opens
  • Open the welcome wizard model picker → verify all four Claude models render with display names + descriptions (Opus 4.7, Opus 4.6, Sonnet 4.6, Haiku 4.5)
  • Open a feature drawer, close it → verify routes back to /control-center
  • Sidebar Control Center item is active when on /control-center and not active on /applications
  • pnpm test:unit passes
  • pnpm typecheck passes

🤖 Generated with Claude Code

arielshad and others added 5 commits April 26, 2026 17:21
- Make /applications the default landing page instead of control center
- Update Electron, CLI ui command, and daemon to open /applications
- Swap sidebar order: Applications (Home icon) first, Control Center second
- Control center empty state now shows workspace-empty design (icon + "This workspace is empty")
- Applications page shows "What do you want to build?" prompt as empty state when no apps exist
- Fix spec YAML syntax for spec 092
- Update all affected tests

Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
Recaptured screenshots with sidebar expanded showing navigation labels.
Updated unit test results with fresh run (503 files, 6625 tests passing).

Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
Recaptured screenshots with sidebar expanded showing navigation labels
and correct empty states for both Applications and Control Center pages.
Fresh unit test results (503 files, 6625 tests passing).

Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
- redirect / to /applications so users land on apps grid first
- move control center canvas to /control-center
- restore onboarding empty state on control center: agent setup, tool
  checklist, choose folder, new project, import from github
- add Opus 4.7 model metadata so the picker shows it as Opus 4.7
- ungate GitHubImportDialog in app-shell so import flow works
- update sidebar, drawer-close handlers, pane-click and tests for the
  new /control-center path

Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
@arielshad arielshad merged commit 9ef06f1 into main Apr 26, 2026
23 checks passed
@arielshad arielshad deleted the feat/empty-state-routing-fix branch April 26, 2026 16:34
@github-actions
Copy link
Copy Markdown
Contributor

Dev Release Published

Artifact Version Install
npm 1.193.0-pr577.1d8a0ed npm install -g @shepai/cli@1.193.0-pr577.1d8a0ed

Published from commit afb387b | View CI

blackpc pushed a commit that referenced this pull request Apr 26, 2026
# [1.194.0](v1.193.0...v1.194.0) (2026-04-26)

### Bug Fixes

* **web:** add code-review flag to app-shell test fixtures ([#579](#579)) ([875f940](875f940)), closes [#568](#568)

### Features

* **domain:** add ai-powered code review for pr analysis and github posting ([#568](#568)) ([32394f6](32394f6))
* **web:** add full feature management to inventory page ([#557](#557)) ([cbe4279](cbe4279))
* **web:** build-mode picker in create drawer + apps view locked to application ([#578](#578)) ([aefb435](aefb435))
* **web:** default to applications and split control center routing ([#577](#577)) ([9ef06f1](9ef06f1))

Co-Authored-By: Shep Bot <shep-agent@users.noreply.github.com>
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