FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Project combobox cannot create a project from the name you typed · Issue #432 · Mogplex/mogplex · GitHub

Project combobox cannot create a project from the name you typed #432

Description

Problem

Typing the name of a repo you want to create (for example invoices) hides the "New project…" row, because that row only shows when the query is a substring of the phrase "new project". The user lands on "No matching projects." with no way forward.

Where

  • components/control/project-combobox.tsx:35: const showNewProject = "new project".includes(query).
  • :189-193 renders the dead end.

Fix

  1. Always show the "New project…" row when there is no exact match, and when the query is non-empty label it "Create project """.
  2. Selecting it should open the existing creation form with the name field prefilled from the query.

Exit criteria

  • Playwright case in tests/e2e/control-new-project.spec.ts: type invoices with no matching repo, assert a "Create project" row, select it, assert the creation form opens with the name prefilled. Must fail on main.
  • pnpm lint, pnpm typecheck, pnpm test pass.

https://claude.ai/code/session_01SQ4nS96XYRztd5w9QkubPf

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Hygiene, coverage, performance, accessibility.controlControl surface (coordinator, missions, sidebar).enhancementNew feature or requestux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL