asteroid/template
Glenn Thompson d39b155df3 Fix profile page and Now Playing in frameset mode
Profile page fixes:
- Use session:field with string 'user-id' instead of symbol
- Use find-user-by-id to get user object
- Use dm:field to access user data (username, role)
- Add missing template parameters (top-artist-4, top-artist-5)
- Add error handling with detailed logging

Player-content fixes:
- Remove broken player.js that was causing ReferenceError
- Add simple inline Now Playing updater script
- Fetches /api/asteroid/partial/now-playing every 10 seconds
- Updates after 200ms initial delay

All fixes tested and working in frameset mode:
- Profile page loads correctly with user data
- Now Playing panel updates on player page
- Stream continues playing during navigation
- Spectrum analyzer MUTED indicator working
- Login/logout without halting stream

Known issue:
- ParenScript player.lisp has compilation issue (extra paren on line 242)
- Only 15/36 functions compile
- Non-frameset mode still halts stream on navigation (expected)
2025-12-07 10:17:44 +03:00
..
partial feat: Add recently-played.ctml partial template 2025-11-20 17:05:35 -05:00
admin-content.ctml Fix player page now playing updates and spectrum analyzer MUTED indicator 2025-12-07 08:21:00 +03:00
admin.ctml fix: remove target from nav bar 2025-11-06 16:42:29 -05:00
audio-player-frame.ctml Fix #57: Implement frameset-aware login/logout flow with AJAX navigation 2025-12-06 21:11:57 +03:00
frameset-wrapper.ctml feat: Convert JavaScript to Parenscript with stream fixes and UX improvements 2025-12-06 11:55:24 -05:00
front-page-content.ctml Fix player page now playing updates and spectrum analyzer MUTED indicator 2025-12-07 08:21:00 +03:00
front-page.ctml Add monotone theme and dynamic border color 2025-12-06 11:55:24 -05:00
login-content.ctml Fix player page now playing updates and spectrum analyzer MUTED indicator 2025-12-07 08:21:00 +03:00
login.ctml feat: Convert JavaScript to Parenscript with stream fixes and UX improvements 2025-12-06 11:55:24 -05:00
player-content.ctml Fix profile page and Now Playing in frameset mode 2025-12-07 10:17:44 +03:00
player.ctml feat: Convert JavaScript to Parenscript with stream fixes and UX improvements 2025-12-06 11:55:24 -05:00
popout-player.ctml feat: Convert JavaScript to Parenscript with stream fixes and UX improvements 2025-12-06 11:55:24 -05:00
profile-content.ctml Fix player page now playing updates and spectrum analyzer MUTED indicator 2025-12-07 08:21:00 +03:00
profile.ctml fix: admin button shown only for admin accounts 2025-11-16 09:38:04 -05:00
register.ctml feat: Convert JavaScript to Parenscript with stream fixes and UX improvements 2025-12-06 11:55:24 -05:00
status-content.ctml Fix player page now playing updates and spectrum analyzer MUTED indicator 2025-12-07 08:21:00 +03:00
users.ctml fix: remove target from nav bar 2025-11-06 16:42:29 -05:00