ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Project dropdown does not display selected value when creating a new project

Open Vasist10 opened this issue 11 months ago • 4 comments

Describe the bug I have noticed a ui issue when choosing "+ Create new project…" from the Project dropdown while adding a task, a text input field for entering a new project name appears below the dropdown(which is fine and expected). However, the dropdown still shows "Select a project" and becomes blank while typing the new project name, which is confusing.

To Reproduce Steps to reproduce the behavior:

  1. Click Add Task
  2. Open the Project dropdown
  3. Select + Create new project…
  4. Type a project name
  5. Notice that the dropdown value becomes empty and does not show the new project name

Expected behavior

The dropdown should display the 'new project name/Create new project'… as the active selection while typing.

Screenshots If applicable, add screenshots to help explain your problem.

Image Image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

Vasist10 avatar Dec 08 '25 17:12 Vasist10

Hello @Vasist10 , I would like to take this task, I can fix the behaviour of dropdown

vijay-talsangi avatar Dec 08 '25 17:12 vijay-talsangi

I reviewed the code, problem is in AddTaskDialog.tsx, assign me the issue I can PR! Proposed Solution: Show "+ Create new project…" when the user first selects that option Show "New: [project name]" as the user types the new project name This provides clear visual feedback about what's being entered

vijay-talsangi avatar Dec 08 '25 18:12 vijay-talsangi

Hello @its-me-abhishek , PR generated

vijay-talsangi avatar Dec 09 '25 17:12 vijay-talsangi

@its-me-abhishek You can merge it safely

vijay-talsangi avatar Dec 12 '25 14:12 vijay-talsangi