asteroid/parenscript
glenneth cc79ba7330 feat: Convert profile.js to ParenScript
Successfully converted profile.js with all functionality:
- Profile data loading (username, role, join date, last active)
- Listening statistics display
- Recent tracks display
- Top artists display
- Password change form
- Export listening data
- Clear listening history
- Toast notifications

Generated JavaScript working correctly after fixing modulo operator.

Key learning: Use 'rem' instead of '%' for modulo in ParenScript.

Files:
- parenscript/profile.lisp - ParenScript source
- asteroid.asd - Added profile to parenscript module
- asteroid.lisp - Added profile.js to static route interception
- static/js/profile.js - Removed from git (backed up as .original)
- static/js/player.js - Restored (skipped for now, too complex)

Three files successfully converted to ParenScript\!
2025-11-20 07:07:27 +03:00
..
auth-ui.lisp fix: Replace async/await with promise chains in ParenScript 2025-11-20 07:07:27 +03:00
front-page.lisp feat: Convert front-page.js to ParenScript 2025-11-20 07:07:27 +03:00
profile.lisp feat: Convert profile.js to ParenScript 2025-11-20 07:07:27 +03:00