Implement Arena production component UX for issue #292 #426
No reviewers
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:open_issues
agents
agent:security_audit
agent:verify
area
timecurve
arena
arena-v2
audit
block:feature_review
block:security
bug
contracts
design
devops
docs
documentation
enhancement
epic
feature
frontend
indexer
low priority
megaeth
operations
ops
performance
QA
qa checklist
referrals
removal
security
smart-contracts
tech-debt
testing
time-arena
timecurve
visual-qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
code/yieldomega!426
Loading…
Reference in a new issue
No description provided.
Delete branch "cursor/arena-production-components-292-d585"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary of changes
Implements GitLab #292 by moving the live Arena production components from buy-only / stale sale assumptions toward current TimeArena mechanics:
GET /v1/arena/activityunions buy, WarBow steal, guard, and revenge actions with explicit DOUB/BP/timer/guard deltas.Design review notes
0x…address truncation in Arena action surfaces.Checklist
cd indexer && YIELDOMEGA_PG_TEST_URL=postgres://yieldomega:password@127.0.0.1:5433/yieldomega_indexer_test cargo test;cd frontend && npm test; Rabby Chromium smoke on/arena/protocolwith mock activity endpointArenaSimplePodiumSection.test.tsx; Rabby Chromium smoke on/arenaArenaSimplePodiumSection.test.tsxepoch assertionLiveBuyRow.test.tsx,ArenaSimplePodiumSection.test.tsx,ArenaLiveBuysActivitySection.test.tsx; Rabby Chromium smoke checked.address-inline__labelnpm run typecheck;npm test; Rabby Chromium smoke on/arenasaw CHARM Price and0.99-10 CHARMrangecd frontend && npm run typecheckcd frontend && npm run lintcd frontend && npm testcd indexer && cargo clippy --all-targets -- -D warningsbash scripts/verify-cloud-postgres.sh/tmpsocketxvfb-runPlaywright persistent Chromium profile with/opt/cursor/browser-extensions/rabby; screenshots/tmp/arena-292-rabby.png,/tmp/arena-protocol-292-rabby.pngVisual/design verification checklist for third parties
/arenakeeps one dark command-console surface with Last Buy and buy CTA primary, operations rail secondary, and podiums below./arena/protocolActivity rows show DOUB buy, WarBow steal + bypass, WarBow guard, and WarBow revenge with DOUB/BP/seconds/guard-expiry deltas.Accessibility/responsive notes
title/aria-adjacent labels instead of long visible paragraphs.Non-blocking verification note
Attempted the full QA stack, but
start-qa-local-full-stack.sh --live-sale --no-swarm --no-frontendfailed at Docker Postgres readiness (container ... is not running). This was not a blocker for #292 because the touched layers were proven with frontend tests, indexer clippy/tests against native Postgres, and Rabby Chromium visual smoke using a mock indexer activity endpoint.Blockers
None. Leave issue #292 open for maintainer acceptance.
Security review
Commit reviewed:
f6a282f029e8735374d7cf5ae3c22e2381f1f9e5Scope: MR !426 — Arena production UX (#292): new
GET /v1/arena/activityindexer route + persistence (idx_arena_warbow_revenge, guardblock_timestamp), frontend activity feed rendering, address-label UX, and related devops/bootstrap helpers in the diff.Outcome:
FINDINGS: 0medium+Areas reviewed
arena_activitylimit/offsetare bound query parameters with existingPageParamsclamping (limit1–200,offset≥ 0). UNION query reads indexed on-chain tables only; no user-controlled SQL fragments. Same public read-only trust model asGET /v1/arena/buys.sqlxbinds;addr_hexsources are decodedAddressvalues.idx_arena_warbow_revengeadded toARENA_INDEX_TABLESfor reorg rollback.AddressInline(isAddressgate) andaddressTailHex(strict0x+ 40-hex regex). Action badges are derived from a closedkindenum with hardcoded labels.TxHash/ explorer links validate hash format before building URLs. React text rendering throughout; nodangerouslySetInnerHTMLin touched Arena surfaces.Prior threads
No prior security-review inline threads on this MR; nothing to re-report.
Automated security review (Cursor Cloud Agent).
mentioned in commit
acc1f3270dmentioned in commit
7a1d749e1b