Uh oh!
There was an error while loading. Please reload this page.
UI/UX polish for the single-user Git Forge - #267
Open
rawkode wants to merge 2 commits into
Open
Conversation
A freshly-provisioned single-user forge has no repositories, so the workspace home rendered an empty summary strip over an empty activity stream — reading as broken on first run. Swap in a guided onboarding panel (create / import action cards + palette and comtrya.cue tips) gated on a resolved, zero-repository workspace so a slow load never flashes it.
There was a problem hiding this comment.
Pull request overview
This PR improves the first-run experience of the workspace home in the frontend by showing a guided onboarding panel when a workspace has resolved with zero repositories, helping new users understand how to create/import a repo and discover key navigation/config affordances.
Changes:
- Add a resolved-state gate (
isFreshWorkspace) to swap the normal home grid for a first-run onboarding panel when there are zero repositories. - Introduce dedicated onboarding markup (two
/newaction cards + tips, including platform-specific ⌘ vs Ctrl label). - Add onboarding styles and a fast, dependency-free unit test that mirrors the gating predicate.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| frontend/src/styles.css | Adds styling for the first-run onboarding panel and action cards on the workspace home. |
| frontend/src/routes/WorkspaceHome.vue | Adds the isFreshWorkspace gate and renders the onboarding panel when the workspace is ready and empty. |
| frontend/src/routes/WorkspaceHome.onboard.test.ts | Adds a unit test for the onboarding gate predicate (mirroring the SFC logic). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
The first-run onboarding cards are large clickable RouterLinks with only a hover treatment; keyboard users tabbing to them got no visible focus ring. Add a :focus-visible style (accent border + soft ring) matching the composer/textarea focus pattern already in the sheet.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A rolling series of UI/UX improvements toward the goal of a single-user
Git Forge that feels familiar but special. Each improvement lands as its
own commit on this branch; this PR is the running collection.
Improvements
1. Guided first-run onboarding on an empty workspace home
A freshly-provisioned forge has no repositories, so the workspace home
previously rendered an empty summary strip over an empty activity stream
— which reads as "broken" on first run. The home now swaps to a guided
onboarding panel when the workspace has resolved with zero repositories:
URL — both routing to
/new.on their own: the
⌘K/Ctrl Kcommand palette and thecomtrya.cueconfig model.the panel.
Pure predicate covered by
WorkspaceHome.onboard.test.ts.Verification
bun run typecheck— cleanbun run build— succeedsbun test— 279 pass / 0 failhttps://claude.ai/code/session_01Fwkt9XPwkwWH3iEfWwabtr
Generated by Claude Code