Skip to content

feat(vibenet): put the Validity chart and order ticket side by side - #131

Merged
BrianBland merged 4 commits into
mainfrom
brianbland/validity-ui-3-layout-split
Sep 3, 2026
Merged

feat(vibenet): put the Validity chart and order ticket side by side#131
BrianBland merged 4 commits into
mainfrom
brianbland/validity-ui-3-layout-split

Conversation

@BrianBland

Copy link
Copy Markdown
Contributor

Part 3/9 of the Validity demo UI rework — the core layout change.

  • The chart takes the flexible left column and the ticket a 300–380px right column (lg:grid-cols-[minmax(0,1fr)_minmax(300px,380px)]), so orders can be staged and submitted against the live tape without scrolling. Below lg they stack chart-first as before.
  • The chart card stretches to match the ticket's height (enabled by part 1); floor of 380px when stacked.
  • Submitted orders move to a full-width row directly below the split, no longer sticky.
  • Page sections tighten from gap-10 to gap-6, and the spot footnote goes away (the ticket already shows the live mid).

Generated with Claude Code

@vercel

vercel Bot commented Sep 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
omni-ui Ready Ready Preview Sep 3, 2026 12:21am UTC

Request Review

@cb-heimdall

cb-heimdall commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

🟡 Heimdall Review Status

Requirement Status More Info
Reviews 🟡 0/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

BrianBland and others added 4 commits September 2, 2026 17:17
…tral AMM (BASE-422)

The AMM pool and its maker flow now run on central vibenet infrastructure (the
actor system), so the demo no longer runs actors in the browser.

- Remove the client-side maker subaccounts, the startBots swap loop, and the
  client-side ensureSingleton pool deploy (+ the "Deploy shared pool" button).
- Keep read-only probeSingleton discovery — deterministic CREATE2 means the
  browser rediscovers exactly what vibenet-setup deployed — plus the candle/
  price display and the user's own inventory + conditional orders.
- Show a "pool is coming online" state for the window before the actors are live.

Delete the now-dead code the cutover leaves behind:
- lib/bots.ts + lib/makers.ts (and their tests) — no longer referenced.
- ensureSingleton() and its write-path helpers in lib/singleton.ts; keep the
  probeSingleton()/predictSingleton() read chain (still used + tested).
- encodeSwapLegs() in lib/amm.ts (only the deleted bots.ts used it).
- The now-unwritten accountId / makerAccountIds fields in the persisted store.

Co-Authored-By: Claude <noreply@anthropic.com>
Replace the fixed 960x440 viewBox with a ResizeObserver-measured
canvas so the chart draws in CSS pixels at any container shape.
Prepares the chart to sit beside the order ticket without
letterboxing; visually a no-op at today's full-width layout.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Drop the standalone "Your VIBE" panel and show the balance plus
per-trade cost hint as a compact row inside the Conditional swap
ticket, reclaiming a full-width section of vertical space.

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Chart takes the flexible left column and the Conditional swap
ticket a 300-380px right column, so orders can be staged against
the live tape without scrolling. Submitted orders move to a
full-width row directly below, page sections tighten from gap-10
to gap-6, and the redundant spot footnote goes away (the ticket
already shows the live mid).

Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
@BrianBland
BrianBland added this pull request to the merge queue Sep 3, 2026
Base automatically changed from brianbland/validity-ui-2-ticket-balance to main September 3, 2026 15:58
Merged via the queue into main with commit d7ac6dc Sep 3, 2026
13 of 19 checks passed
@BrianBland
BrianBland deleted the brianbland/validity-ui-3-layout-split branch September 3, 2026 15:59
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.

3 participants