What's Changed
Settings JS extraction — Moved ~2,360 lines of inline JavaScript from settings.html into a dedicated static/js/settings.js IIFE module, following the same pattern established with dashboard.js.
Details
- Extracted 58 functions + Alpine.js notification component into single external file
- Converted all ES6 syntax to ES5 (async/await → Promise chains, arrow functions, template literals, etc.)
- Fixed pre-existing bug:
getAuthToken()was called but never defined inperformStorageMigration() - Consolidated 3
DOMContentLoadedlisteners into 1, moved DOM lookups inside handler settings.htmlreduced from 4,316 → 1,953 lines (pure HTML/Jinja2)- All 83 tests pass
Full Changelog: v1.10.0...v1.10.1