Skip to content

fix(desktop): keep Create controls on empty Projects - #3620

Closed
austin-thesing wants to merge 1 commit into
block:mainfrom
austin-thesing:fix/projects-empty-create-menu
Closed

fix(desktop): keep Create controls on empty Projects#3620
austin-thesing wants to merge 1 commit into
block:mainfrom
austin-thesing:fix/projects-empty-create-menu

Conversation

@austin-thesing

Copy link
Copy Markdown

Summary

  • Stop early-returning the Projects empty state before the Create menu/dialog mounts (catch-22 for first project / empty list fetch).
  • Keep Projects chrome on empty lists and add a Create repository CTA on the empty state.
  • Add e2e coverage that asserts Create works when no projects are visible.

Originating channel: 18fca54c-dc63-4dbd-a1c3-2afba0e44c0d (dxd-link).

Test plan

  • pnpm exec biome check on touched files
  • pnpm exec tsc --noEmit
  • pnpm exec playwright test --project=smoke tests/e2e/projects-empty-create.spec.ts
  • Manual: open Projects with zero announcements → Confirm + Create menu and empty-state Create repository open the create dialog

Made with Cursor

The empty-state early return skipped the Create menu and dialog, so first-time
and empty-fetch users could not create a repository from the UI.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Austin Thesing <austin@designxdevelop.com>
Signed-off-by: Austin Thesing <austin@designxdevelop.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