Skip to content

Projects view hides Create controls when no projects are visible #4009

Description

@austin-thesing

Problem

When the Projects view has no visible projects, it returns an empty state before the Projects chrome and Create controls mount. This means the Create menu is missing, and users cannot create the first project from the empty view.

Expected behavior

The Projects view should keep its Create controls visible when there are zero projects. The empty state should also offer a clear way to open the create-project dialog.

Proposed fix

  • Keep the Projects layout and Create menu mounted for an empty list.
  • Add a Create repository CTA to the empty state.
  • Cover both entry points with an end-to-end test.

The implementation and test coverage are currently available in PR #3620, which is being closed so this can be tracked as an issue.

Test coverage from the PR

  • Biome check on touched files
  • TypeScript typecheck
  • Playwright smoke test covering the empty Projects view and both Create entry points

Manual verification remains: open Projects with zero announcements and confirm that the + Create menu and empty-state Create repository button open the create dialog.

Related bug: deleted and re-announced projects remain missing

If a created project is deleted and then re-declared/re-published to the Nostr relay, it does not appear in the Projects view again.

Reproduction

  1. Create a project and confirm it appears in Projects.
  2. Delete the project.
  3. Re-declare or re-publish the same project announcement to the Nostr relay.
  4. Return to Projects or refresh the project list.
  5. Observe that the project is still missing.

Expected behavior

A valid project that is re-announced to the relay should be discoverable and appear in Projects again. Deleting a project should not leave a permanent hidden/tombstone state that prevents the same project from returning after it is re-published.

Please investigate whether project deletion leaves stale hidden-card, cache, or deduplication state keyed to the project identity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions