You are browsing as a guest. Sign up (or log in) to start making projects!

58m 3s logged

Devlog 29: URL Hash Sync, LocalStorage Persistence & Universal Share Event

URL & State Persistence

  • Integrated URL Hash (#year,month,...) and localStorage synchronization into time-progress.js to preserve users’ toggle preferences across reloads and shares.
  • Added a hashchange event listener to ensure UI check states dynamically update when users use browser navigation (Back/Forward).

Centralized Layout Share Event

  • Refactored the #share-menu-btn event listener into BaseLayout.astro, eliminating duplicate share logic across individual tool pages.
  • Leveraged document.title dynamically to provide clean, contextual titles for native Web Share API and clipboard copy fallbacks.
0
4

Comments 0

No comments yet. Be the first!