Skip to content

Implement command palette invoice search #213

Description

@king-aj-the-first

Background: CommandPalette.tsx exists but only handles navigation. It should also search invoices by debtor name, invoice ID, or amount.

What "done" looks like:

  • Typing in the command palette shows invoice results filtered by debtor name, token ID, or face value
  • Selecting a result navigates to /marketplace/[id]
  • Results are debounced (300ms) to avoid hammering the store

Key files: components/command/CommandPalette.tsx, hooks/useCommandPalette.ts, store/invoiceStore.ts

Constraints:

  • Search is client-side against loaded invoices — no new API calls
  • Results show invoice status badge and funded % alongside the name
  • Keyboard navigation (↑↓ arrows, Enter to select) must work

PR must include: Search integration + keyboard nav + tests.

Metadata

Metadata

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions