Skip to content

Lazy-load Wearables stylesheet#1343

Merged
elkimek merged 1 commit into
mainfrom
agent/lazy-load-wearables-stylesheet
Jul 24, 2026
Merged

Lazy-load Wearables stylesheet#1343
elkimek merged 1 commit into
mainfrom
agent/lazy-load-wearables-stylesheet

Conversation

@elkimek

@elkimek elkimek commented Jul 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • defer css/wearables.css until biometric detail, inline manual logging, or Wearables settings is opened
  • preserve the original cascade position, offline precache, single-flight loading, and cache-busted retry
  • keep the dashboard manual biometric shell styled from the eager dashboard bundle
  • ratchet the cold-load budget from 435 to 434 requests

Cold-load result

  • requests: 435 → 434
  • compressed transfer: 1,836,218 → 1,829,165 bytes (-7,053)
  • decoded bytes: 5,539,354 → 5,507,886 (-31,468)

Verification

  • env PORT=8015 COVERAGE=1 ./run-tests.sh
    • 131 verification checks
    • 487 Vitest tests
    • 417 Chromium tests
    • 472 responsive assertions
    • offline PWA and two-device sync
    • 67.21% global function coverage
  • npm run quality (11/11)
  • npm run performance:check

@elkimek
elkimek marked this pull request as ready for review July 24, 2026 14:36
@elkimek
elkimek merged commit 37ce8ad into main Jul 24, 2026
3 checks passed
@elkimek
elkimek deleted the agent/lazy-load-wearables-stylesheet branch July 24, 2026 14:36
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