account-filter.tsx — compact WalletIcon button with custom
floating dropdown writing ?accountId= to URL; turns blue when
a filter is active
tag-filter.tsx — horizontally scrollable, multi-selectable tag
pills writing ?tags=tag1,tag2 to URL; selecting multiple tags
filters to transactions that have all of them (intersection)
pagination.tsx — page nav using generatePagination from utils
transaction-list.tsx — renders transactions with formatMKD,
formatDateToLocal, tag pills and colored amounts; normalises
postgres.js array output to handle both parsed arrays and raw
PG literal strings
app/(app)/history/page.tsx — server component that reads
searchParams (query, accountId, tags, page), fetches all
data in parallel (getHistoryTransactions, getHistoryTransactionPages,
getUserTransactionAccounts, getUserTagsForHistory), and composes
all client components
and colored amounts
app/(app)/history/page.tsx/history/page.tsx, server component that
reads searchParams, fetches data in parallel, and composes all the
client components
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.