Let people fix merchant and category from the dashboard - #12
Conversation
Quick corrections belong on the glance view, so the row stays a ledger line until you click it. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Generated Convex files are ignored because `convex dev` rewrites them, and the other flagged files were already unformatted on main. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Greptile SummaryAdds searchable inline merchant and category controls to recent dashboard transactions. New categories are created and assigned within one authenticated operation, and repeated normalized names reuse the existing category. Confidence Score: 5/5No blocking failure remains. The category creation flow was exercised with assignment failure, retry, and cross-user access scenarios. A failed assignment left no category behind, a normalized retry reused the existing category, and an unauthorized transaction update was rejected.
What T-Rex did
Reviews (2): Last reviewed commit: "Clear the lint error that stopped CI aft..." | Re-trigger Greptile |
ApprovabilityVerdict: Needs human review This PR introduces a new user-facing feature (inline merchant/category editing) with new mutations that create and modify database records, new UI components, and new workflows. New features with data-modifying capabilities warrant human review. You can customize Macroscope's approvability policy. Learn more. |
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
A misfiled charge on the dashboard was read-only. To rename a merchant or move a category you had to leave for the transactions slip — the wrong place for a glance-and-correct.
Merchant and category in Recent are now searchable pickers. You can choose an existing value or type to create one, and the row has a little more air so the two targets don't feel like one line.
New categories land as Flex so they join the everyday pool.
Note
Add inline merchant and category editing to dashboard recent transactions
RecentRowcomponent to src/routes/app/index.tsx that renders two inlineSearchSelectpickers per transaction: one for merchant and one for category.transactions.listMerchantsquery to expose a deduplicated sorted list of recent merchant names, andtransactions.createAndAssignCategorymutation to atomically create and assign a category.dashboard.overviewto returncategoryIdalongside existing category fields so the category picker can reflect the current value.SearchSelectcomponent in src/components/search-select.tsx built on Command and Popover primitives with keyboard navigation and optional create behavior.Macroscope summarized 07a5de0.