Skip to content

fix: SW cleanup + title-case eyebrows + MEV layer status#95

Merged
kh0ra merged 1 commit into
mainfrom
fix/wallet-nav-titlecase
May 11, 2026
Merged

fix: SW cleanup + title-case eyebrows + MEV layer status#95
kh0ra merged 1 commit into
mainfrom
fix/wallet-nav-titlecase

Conversation

@kh0ra
Copy link
Copy Markdown
Contributor

@kh0ra kh0ra commented May 11, 2026

Summary

1) Service worker disabled + active cleanup. Production was serving stale bundles from the SW cache, masking new deploys (nav routing + black-button fixes weren't reaching users). Now: registerServiceWorker() unregisters any installed SW and clears all CacheStorage entries on every page load. No offline shell through the hackathon window; trade-off accepted in exchange for deterministic deploy-to-user latency.

2) Title-case all eyebrows. Stripped 30 textTransform: uppercase rules across 15 components. ANALYTICSAnalytics, ROUTED VOLUMERouted volume, etc. Source strings already had the correct casing; only the CSS transform was forcing all-caps.

3) MEV popover layer status: ACTIVE / READYActive / Ready.

Verified

  • typecheck green, build 11.18s green
  • Local preview: nav pills (Execute/Wallet/Analytics) push correct hash, page swaps panel
  • Tutorial Step 1→4: all buttons visible, Next/Done legible
  • Wallet + Analytics hero stat labels render in title case
  • MEV popover layer rows show "Active" / "Ready"

Three production fixes:

1. Service worker: disabled registration and added an active cleanup
   pass that unregisters any previously-installed SW and clears its
   CacheStorage entries on every page load. Stops the 'old bundle
   served from SW cache' footgun that was hiding new deploys
   (including the routing + button-text fixes from PR #93 + #94).
   Trade-off: no offline shell. Acceptable through the hackathon
   submission window; can be re-enabled with a versioned SW after.

2. Uppercase eyebrows / stat labels: stripped 30 'textTransform:
   uppercase' rules across 15 components (pages, panels, replay,
   tutorial, pair queue, etc.). Stat labels and eyebrows now render
   in the case authored in the source string ('Analytics' instead of
   'ANALYTICS', 'Routed volume' instead of 'ROUTED VOLUME', etc.),
   per the polish ask.

3. MEV popover layer status: 'ACTIVE' / 'READY' -> 'Active' / 'Ready'.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 11, 2026

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

Project Deployment Actions Updated (UTC)
liminal Building Building Preview, Comment May 11, 2026 2:45pm

@kh0ra kh0ra merged commit e91d78e into main May 11, 2026
1 of 2 checks passed
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