Skip to content

feat: wire modern Slide app graphics with hover states - #96

Merged
BrandDead merged 2 commits into
main-tL2525from
agent/slide-game-app-graphics
Aug 6, 2026
Merged

feat: wire modern Slide app graphics with hover states#96
BrandDead merged 2 commits into
main-tL2525from
agent/slide-game-app-graphics

Conversation

@BrandDead

Copy link
Copy Markdown
Owner

What changed

  • Added individual regular and hover image assets for Shoebox, Shot Caller, Trap, Trap House, Messages, Underworld Marketplace, and News.
  • Added hover-state support to the shared GameSprite renderer.
  • Renamed the app-grid Rankings tile to Shot Caller while preserving the existing leaderboard route.
  • Added a Messages tile that routes into the existing phone/contact flow.
  • Updated the shell to use the new app graphics.

Important constraint

The Contacts and ContactProfile components were not modified. Their status emojis remain intact for alive, active, jailed, hospital, dead, and related member states.

Validation

  • Asset paths and renderer wiring verified on the branch.
  • Draft PR opened for repository CI/build validation.

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
slide Ready Ready Preview Aug 6, 2026 10:45pm

BrandDead added a commit that referenced this pull request Aug 6, 2026
)

npm ci was failing on PRs #96-#98 because the lockfile had vitest v4.x
transitive packages (@vitest/utils@4.1.10, chai@6.x, etc.) while
package.json pins vitest@^2.1.8.

Regenerated with npm@10.9.2 / Node 22 — lockfileVersion 3, vitest@2.1.9.

Co-authored-by: BrandDead <1.74973198e+08+BrandDead@users.noreply.github.com>
@BrandDead
BrandDead force-pushed the agent/slide-game-app-graphics branch from 69a1b46 to 6cc0a7d Compare August 6, 2026 21:35
BrandDead and others added 2 commits August 6, 2026 22:42
… a11y

P0 fixes from GPT audit:
- GameSprite.tsx: remove duplicate 'shoebox' and 'market' entries in
  APP_ICONS. The old icon_*_new.png paths are replaced by the new
  per-app artwork (/assets/icons/apps/{name}/regular.png).
  ESLint no-dupe-keys would have caught this on the next CI run.
- OSShell.tsx: app tiles now have role='button', tabIndex, aria-label,
  aria-disabled, and onKeyDown (Enter/Space) so keyboard users can
  focus and activate every app icon.

446 vitest tests pass.
@BrandDead
BrandDead force-pushed the agent/slide-game-app-graphics branch from 6cc0a7d to 025847c Compare August 6, 2026 22:43
@BrandDead
BrandDead marked this pull request as ready for review August 6, 2026 22:43
@cursor

cursor Bot commented Aug 6, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@BrandDead
BrandDead merged commit 9eb289d into main-tL2525 Aug 6, 2026
1 of 2 checks passed
@BrandDead
BrandDead deleted the agent/slide-game-app-graphics branch August 6, 2026 22:43
BrandDead pushed a commit that referenced this pull request Aug 6, 2026
Rebase onto main-tL2525 (post #98/#101/#96 merges):
- OSShell.tsx conflict: keep CLOUT label from #97 + shot-caller
  artwork from #96 (GPT audit recommendation)
- App.tsx: auto-merged cleanly

P0 fixes:
- Remove CLAUDE_SPRINT_15A_PROMPT.md and SPRINT_15B_NOTES.md
  (internal sprint artifacts should not be in product PRs)
- marketMembersCatalog.ts: fix invalid CityRegion 'east' -> 'miami'
- MarketMembers.tsx: replace hardcoded roster cap 24 with
  maxMembers from useGangStore (store cap is 20)
- k9/recruit/police are now in MemberRole union (from #98 merge),
  so no 'as MemberRole' cast is needed here

581 vitest tests pass (26 test files — 3 new from #97).
BrandDead added a commit that referenced this pull request Aug 6, 2026
* feat(sprint-15b): Market members, Most Wanted board, Get Back clock

Priority 2 and Priority 4 from the app audit. Priority 1 and 3 are
delegated to Claude/Opus 5 via CLAUDE_SPRINT_15A_PROMPT.md.

Market MEMBERS tab (Priority 2)
- marketMembersCatalog.ts: procedural hireable generator. Four tiers
  (street/seasoned/certified/legend) with monotonic pricing, and an
  inverse relationship between tier and loyalty — the good ones cost
  more and hold worse. Heat factor and baggage odds both rise with
  tier, so a legend shooter is a genuine tradeoff rather than a
  straight upgrade. Seven roles including k9, which is cheap to keep
  and has no special people.
- Listings are seeded off their id so a board survives re-renders
  mid-purchase and can be rebuilt without persisting every field.
- MarketMembers.tsx/.css: listing wall plus detail sheet showing stats,
  origin story, terms, special people, and the catch. Board refresh
  costs money so it cannot be rerolled for free. Roster capped at 24
  active to keep payroll bounded.

Most Wanted board (Priority 4)
- mostWantedStore.ts: post, cancel, and fulfil bounties plus an ally
  ledger. Listing fee is non-refundable on cancel, minimum reward
  scales with target level, and contracts on a member's people carry a
  premium. canFulfil blocks self-cashing and double payouts.
- MostWanted.tsx/.css + MostWantedApp.tsx/.css: aged-paper poster wall,
  post form with photo upload, proof-screenshot upload that pays out
  automatically, and an allies tab with standing meters. Fulfilling a
  contract saves the poster as an ally and opens a Get Back window
  against the hunter — the war starter.
- Proof and payout are public record by design; reputation does the
  policing rather than a server-side referee.

Get Back clock (Priority 4)
- getBackStore.ts: wall-clock-derived revenge windows so backgrounding
  the app cannot desync them. Success doubles the morale the offender
  banked and strips it from them; expiry penalises the retaliator.
  Resolution is idempotent so morale can never be applied twice.
- GetBackClock.tsx/.css: shot-clock badge above the dock with an
  expandable panel listing open debts and who is catchable. Sweeps
  lapsed windows on its own tick so penalties land even if the panel
  is never opened. Gang-wide morale is applied per active member,
  since morale lives on members not on the gang.

Wiring and cleanup
- OSShell: RANKINGS renamed to CLOUT; new WANTED app with a live
  open-bounty badge.
- App.tsx: most_wanted route plus GetBackClock as a global overlay.
- Market.tsx: emoji purge. Removed the dead `icon` field from
  ITEM_CATALOG (scripts/strip_market_icons.py) since the UI now uses
  CATEGORY_TAGS text labels.

Tests: 565 passing, up from 430. Typecheck clean except three errors
that pre-date this branch on main-tL2525. Production build succeeds.

* fix(pr97-scope): rebase onto main, resolve conflicts, fix P0 issues

Rebase onto main-tL2525 (post #98/#101/#96 merges):
- OSShell.tsx conflict: keep CLOUT label from #97 + shot-caller
  artwork from #96 (GPT audit recommendation)
- App.tsx: auto-merged cleanly

P0 fixes:
- Remove CLAUDE_SPRINT_15A_PROMPT.md and SPRINT_15B_NOTES.md
  (internal sprint artifacts should not be in product PRs)
- marketMembersCatalog.ts: fix invalid CityRegion 'east' -> 'miami'
- MarketMembers.tsx: replace hardcoded roster cap 24 with
  maxMembers from useGangStore (store cap is 20)
- k9/recruit/police are now in MemberRole union (from #98 merge),
  so no 'as MemberRole' cast is needed here

581 vitest tests pass (26 test files — 3 new from #97).

---------

Co-authored-by: BrandDead <1.74973198e+08+BrandDead@users.noreply.github.com>
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