Skip to content

feat(playground): buy / sell rounds on move-wip and the Operation page - #238

Merged
darioaschero merged 1 commit into
mainfrom
feat/playground-operation
Nov 9, 2026
Merged

darioaschero merged 1 commit into
mainfrom
feat/playground-operation

Conversation

@darioaschero

Copy link
Copy Markdown
Collaborator

What

Playground only: two pages and one index card. No spec, codegen or projection change.

move-wip.html gets three new blocks at the top. The earlier blocks are untouched; the diff is insertions only.

  • BUY · SELL · ROUND 3 · THE EXCHANGE SHEET: the start sheet that holds Buy and Sell.
    • "Exchange" in the bar (lg), or as a heading over "Save in bitcoin, spend it like cash.".
    • Each version with and without Close.
    • Rows "Buy bitcoin" (+) and "Sell bitcoin" (−).
  • BUY · SELL · ROUND 4 · THE AMOUNT SCREENS: "Buy bitcoin" and "Sell bitcoin", with:
    • the ⇅ toggle to sats;
    • Max / Sell all;
    • the available balance under or above Review, as muted text or as a ghost button;
    • the over-the-balance state;
    • euro-exact selling as the control.
  • SEND LIKE BUY · ROUND 5: Send on the same skeleton, with:
    • Close, Back on the right, or Back on the left;
    • the "Pay from" sheet, with one balance or both;
    • Buy, Sell and Send centred.

operation.html is a new page that shows the current state in one centred row:

  • the Exchange menu;
  • Buy bitcoin and Sell bitcoin;
  • Send from Euro and Send from Bitcoin;
  • the "Send from" menu;
  • Top up card;
  • Withdraw from card, with a fixed "To Euro".

index.html links Operation after "Move · work in progress".

Status

Nothing here is decided. The open items, and the operator's words for each round, live in the nuri-expo register (docs/research/amount-decisions.md, O13). The review is not drawn: it follows the Send review in send-wip.html.

DS components only. Three things sit outside the DS, and each is logged in its block's misfit log:

  • two page-only styles, which pull the ⇅ ghost button flush to the margin;
  • the read-only "To Euro" row, because the DS has no read-only select-trigger.

Checked

  • Every new board measured on iPhone SE (375 × 667), light and dark: no clipping, no overflow, no console errors.
  • Locally on this branch:
    • node --test scripts/*.test.js: 128 pass;
    • npm run build -w @nuri/playground: generated/ unchanged;
    • npm test -w @nuri/doc: pass;
    • npm run build -w @nuri/doc: generated/ unchanged.

🤖 Generated with Claude Code

move-wip.html gains three blocks at the top (only insertions):
- BUY · SELL · ROUND 3 · THE EXCHANGE SHEET: "Exchange" in the bar or as a
  heading with "Save in bitcoin, spend it like cash.", with and without Close,
  rows "Buy bitcoin" (+) and "Sell bitcoin" (−).
- BUY · SELL · ROUND 4 · THE AMOUNT SCREENS: Buy and Sell with the ⇅ toggle,
  Max / Sell all, the available balance under or above Review (as text or a
  ghost button), over the balance, and euro-exact selling as the control.
- SEND LIKE BUY · ROUND 5: Send on the Buy / Sell skeleton (Close, Back on
  the right, Back on the left), the "Pay from" sheet, and Buy, Sell and Send
  centred.

operation.html is a new page with the centred state in one row: the Exchange
menu, Buy bitcoin, Sell bitcoin, Send from Euro, Send from Bitcoin, the Send
from menu, Top up card and Withdraw from card. The index links it after
"Move · work in progress".

Nothing here is decided; the open items live in the nuri-expo register
(docs/research/amount-decisions.md, O13). DS components only; the two
page-only styles and the read-only "To Euro" row are logged as misfits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@darioaschero
darioaschero merged commit 09ac287 into main Nov 9, 2026
5 checks passed
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