Skip to content

Show MistWarp transactions in the wallet, grouped by day like rotur.dev - #127

Merged
Mistium merged 2 commits into
developfrom
wallet-history
Oct 6, 2026
Merged

Mistium merged 2 commits into
developfrom
wallet-history

Conversation

@Mistium

@Mistium Mistium commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

The wallet's activity list (#126) showed every Rotur transaction, each in its own card, so daily credits and transfers filled the page. Now it only shows what was spent and earned on MistWarp, laid out like rotur.dev's history, and links to rotur.dev for everything else.

Only MistWarp transactions

  • Rotur records MistWarp payments with the provider app-mistwarp (payment requests) or mistwarp (older commerce payments). src/lib/rotur/wallet.js marks those, and the list keeps only them.
  • Daily credits, transfers and other apps' payments stay on rotur.dev.
  • Above the list, See your full wallet on rotur.dev links to https://rotur.dev/me/activity. The balance card still shows the whole Rotur balance.

Layout, following rotur.dev

  • A heading for each day (Today, Yesterday, then the date) with that day's net.
  • Flat rows in one surface: the other person's avatar, the note, @user linking to their profile, the time and the amount. Money in is green with +; money out uses a plain minus sign.
  • 25 to a page, a search box (note or username), and an All activity, Money in or Money out filter.
  • The Purchases tab uses the same flat rows.

Rebased on develop after #128. The only conflicts were the generated translation files, which I regenerated with i18n:community:extract.

Before (production, every Rotur transaction):
before

After (Rotur faked with Playwright routes; the fake account also has about 55 daily-credit transactions, which are left out):
after

After, mobile:
mobile

After, Purchases tab:
purchases

Testing

  • pnpm run lint, i18n:community:check, i18n:editor:check, check:community-css, deps:check
  • pnpm run test:unit:ci: 363 suites, 2435 tests. New or updated tests: community-transaction-history.test.jsx (day grouping and net, paging, search), community-wallet.test.jsx (only MistWarp transactions, the rotur.dev link, the empty state) and rotur-wallet.test.js (which providers count as MistWarp).
  • build:deploy and validate-deploy

Preview: https://wallet-history.scratch-gui.pages.dev/wallet (Cloudflare Pages branch preview)

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Deploying scratch-gui with  Cloudflare Pages  Cloudflare Pages

Latest commit: fa08581
Status: ✅  Deploy successful!
Preview URL: https://3fb74c6d.scratch-gui.pages.dev
Branch Preview URL: https://wallet-history.scratch-gui.pages.dev

View logs

The activity list was one card per transaction, so a few days of daily
credits filled the page. It now follows rotur.dev's history: one surface,
a heading for each day with that day's net, flat rows with the other
person's avatar, a link to them and the time, and 25 to a page. A search
box finds a note or username, and a filter shows money in or money out.
Purchases use the same flat rows.
The activity list keeps what was spent and earned on MistWarp: Rotur
marks those payments with the provider app-mistwarp, or mistwarp for
older ones. Daily credits, transfers and anything from other apps stay
on rotur.dev, which the list now links to.
@Mistium Mistium changed the title Group wallet transactions by day, like rotur.dev Show MistWarp transactions in the wallet, grouped by day like rotur.dev Oct 6, 2026
@Mistium
Mistium merged commit 93b1085 into develop Oct 6, 2026
4 checks passed
@Mistium
Mistium deleted the wallet-history branch October 15, 2026 21:45
mc20000-01 pushed a commit to mc20000-01/scratch-gui that referenced this pull request Nov 7, 2026
Show MistWarp transactions in the wallet, grouped by day like rotur.dev
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