diff options
| author | Peter Stone <thepeterstone@gmail.com> | 2026-01-13 13:33:43 -1000 |
|---|---|---|
| committer | Peter Stone <thepeterstone@gmail.com> | 2026-01-13 13:33:43 -1000 |
| commit | 2fb1ed729fbd61d70b38a11903fb35eabb2bdca1 (patch) | |
| tree | 7e251ede777c29c83b1091cade0bb46679660ca0 /migrations/001_initial_schema.sql | |
| parent | cb9577d586d9cb324b042a0c05d97d231f9c2e75 (diff) | |
Fix tab state persistence with URL query parameters (Bug 002)
- Extract tab query param in HandleDashboard, default to "tasks"
- Wrap DashboardData with ActiveTab field for template access
- Update index.html with conditional tab-button-active class
- Add hx-push-url="?tab=..." to each tab button for URL persistence
- Update content div to load active tab from server state
- Update app.js to read currentTab from URL query parameters
- Add comprehensive tab_state_test.go test suite
- Tab selection now persists through page reloads
- All tests passing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Diffstat (limited to 'migrations/001_initial_schema.sql')
0 files changed, 0 insertions, 0 deletions
