Wire sniper-shark cutouts into the UI (contextual, sparse) #80
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#80
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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
Eight sniper-shark transparent PNGs now live in
frontend/public/art/cutouts/(e.g.sniper-shark-ghillie-prone.png, …). They were added in commitb63789fand can be re-generated viascripts/replicate-art/sniper_shark_cutouts.py.This issue tracks selective UI integration using
CutoutDecoration(or direct/art/cutouts/...references), consistent with existing mascot usage.Principle: relevance over coverage
Possible placement ideas (pick a subset; not all are required)
bots/timecurvepersonas reference shark behavior, a one-off hero or inline illustration (docs README or dev-only tooltips) is more appropriate than the main product chrome.Implementation notes
frontend/public/art/cutouts/sniper-shark-*.png(seefrontend/public/art/README.md).surfaceContent.ts,PLACEHOLDER_CUTOUTS_BY_SLUG,TimeCurvePage.tsx/TimeCurveSimplePage.tsx/TimeCurveArenaView.tsxcutout props.alttext andaria-hiddenfor purely decorative use (matchCutoutDecorationconventions).Acceptance criteria
Assign as appropriate for design + frontend review.
changed the description
mentioned in commit
affd266f05Implemented and pushed to
maininaffd266.What changed:
/timecurve/arena→ Buy CHARM panel now usessniper-shark-peek-scope.pngwith the existing peek animation.CutoutDecoration(alt=\"\",aria-hidden) and scoped it away from global chrome, Simple, and Protocol.docs/frontend/timecurve-views.mdanddocs/testing/invariants-and-business-logic.md.skills/verify-yo-sniper-shark-ui/SKILL.mdso third-party agents have a focused visual QA checklist.Verification run:
npm run typechecknpm run lintnpm test(28 files / 188 tests)npm run buildnpm run test:e2e -- e2e/timecurve.spec.ts --workers=5(5 passed)Note: the full Playwright suite was also attempted with
--workers=5; it had one pre-existing-looking/homelaunch-routing assertion failure outside this Arena-only change, while all TimeCurve specs passed. I retested the targeted TimeCurve suite after rebasing onto latestmainand it passed.@brouie please verify:
/timecurve, Protocol, header, and footer remain shark-free.Leaving this issue open for design/visual verification.
@PlasticDigits verified on
affd266during browser walkthrough on live local-anvil stack (chain 31337, frontend at http://127.0.0.1:5173).Visual placement check
Arena page (/timecurve/arena):
Other pages (verified shark-free):
Acceptance criteria check
Decorative + accessibility
CutoutDecoration pattern used per merge note — alt='', aria-hidden. Source review on frontend/src/components/CutoutDecoration confirms the convention is already in place; the new sniper-shark slot inherits it.
Frontend tests
cd frontend && npx vitest run:
Items not exercised in this walkthrough (would benefit from a real visual QA pass on a different setup)
These are visual / device-specific and benefit from a manual QA pass with proper screen-reader and viewport tooling. Not blocking this close — the source review + desktop spot-check is enough to validate the wiring is correct.
Closing #80.
mentioned in issue #100