docs: capture todo - Fix Add Candidate button shows wrong modal on thread page
This commit is contained in:
@@ -80,7 +80,7 @@ v2.1 decisions:
|
||||
|
||||
### Pending Todos
|
||||
|
||||
None active.
|
||||
- Fix Add Candidate button shows wrong modal on thread page (ui)
|
||||
|
||||
### Blockers/Concerns
|
||||
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
---
|
||||
created: 2026-04-13T11:39:30.356Z
|
||||
title: Fix Add Candidate button shows wrong modal on thread page
|
||||
area: ui
|
||||
files:
|
||||
- src/client/routes/threads/$threadId.tsx
|
||||
---
|
||||
|
||||
## Problem
|
||||
|
||||
The "Add Candidate" button at the top of the thread detail page opens a manual-add modal (plain form fields) instead of the catalog search dialogue. The FAB (floating action button) in the bottom right of the same page correctly opens the catalog search dialog where you can browse and pick from global items. Both buttons should behave the same way — showing the catalog search dialog as the primary add flow.
|
||||
|
||||
## Solution
|
||||
|
||||
Wire the top "Add Candidate" button to open the same catalog search dialog/overlay that the FAB triggers. The manual-add form should still be reachable as a fallback (e.g., "Can't find it? Add manually") but not be the default.
|
||||
Reference in New Issue
Block a user