Repository navigation
Show banks, spending limits and cards in the UI - #28
Merged
Merged
Conversation
IAmJSD
added this pull request to stack #29
October 19, 2026 15:34
This was referenced Oct 19, 2026
IAmJSD
force-pushed
the
bank/5-ui
branch
2 times, most recently
from
October 19, 2026 18:52
cf3dcf6 to
90d35cf
Compare
Settings gains a Bank section: each bank the server has set up, what it has left to fund cards with, and any whose settings are wrong. A nibblet's settings gain Spending, shown once there's a bank: a limit per currency and period, what's left of each, and its cards, each one that isn't closed with a Kill button and what it's waiting on (being made, or closing until its provider settles it). Cards update live as they're made, spent on and killed. The mock server has a Slash and a Bitcoin bank and a few of Pip's cards. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KGXXQcj3hZN2jiB6As6kk5
…ents - The Spending form only resets when the saved limits change, not on every live update to the nibblet, which wiped what was being typed. - A card event no longer refetches the banks' status, which asks every provider for its balance and has nothing a card changes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part 5 of 7 in the bank stack, on #27.
What this adds
cards_changed.?mock=1) has a Slash and a Bitcoin bank and a few of Pip's cards, to try it.I checked it in the mock at desktop and phone widths: killing a card, saving a limit and the "left" amounts all update.
Setting a bank up from here comes in #31.
Screenshots
All from the mock server (
?mock=1).Settings → Bank
Pip's settings → Spending, then with closed cards shown, then after killing the Lisbon flight card (USD left goes from 17.12 to 137.12)
Phone width
Review fixes
Checks
pnpm format:check,pnpm -r typecheck,pnpm --filter @nibblet/web buildandpnpm testpass.Generated by Claude Code