Skip to content

fix: wire up inbox status filter - #16

Merged
eurobuddha merged 1 commit into
masterfrom
fix/inbox-status-filter
Mar 23, 2026
Merged

fix: wire up inbox status filter#16
eurobuddha merged 1 commit into
masterfrom
fix/inbox-status-filter

Conversation

@eurobuddha

Copy link
Copy Markdown
Owner

Summary

  • The #status-filter select in the inbox toolbar had no JS behind it — selecting a status did nothing
  • Added currentStatusFilter state variable alongside currentView
  • renderInbox() now applies the status filter after the view filter
  • setupEventListeners() attaches a change listener that updates state and re-renders

Test plan

  • Open inbox with orders in multiple statuses
  • Select a status from the filter — list should narrow to matching orders only
  • Select "All Status" — full list should restore
  • Confirm view tabs (Unread / All / Sent) still work correctly when a status filter is active

🤖 Generated with Claude Code

#status-filter select existed in the HTML but was never connected to
any JS. Add currentStatusFilter state, apply it in renderInbox() after
the view filter, and attach a change listener in setupEventListeners().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@eurobuddha
eurobuddha merged commit 86fa078 into master Mar 23, 2026
5 checks passed
@eurobuddha
eurobuddha deleted the fix/inbox-status-filter branch March 23, 2026 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant