Sync with dev branch #3

Merged
alikia2x merged 6 commits from dev into main 2024-07-25 19:29:48 +00:00

6 Commits

Author SHA1 Message Date
alikia2x
504c8772da add: LICENSE 2024-07-26 03:20:22 +08:00
alikia2x
bb27df5c8d fix: prevent negative transform in lyrics update.
ref: let the code in lyrics more structured
add: global truncate function
improve: small improvements in routes/play/[id]
2024-07-25 19:03:09 +08:00
alikia2x
253742f681 merge: branch main into dev 2024-07-25 03:13:05 +08:00
alikia2x
b4eab1b1ff merge: branch main into dev 2024-07-25 02:52:45 +08:00
alikia2x
a23a52f5e7 ref: better type support in server side script
fix: a typo in return message at api/database/song/[id]
2024-07-25 02:36:17 +08:00
alikia2x
d0f562452a fix: potential UI bugs in lyrics component
- Add .idea for WebStorm users
- Fix typo in a function name
- Optimize display logic of lyrics component’s debug mode
  - Now you can use Cmd+Opt+Shift+Enter to toggle debug mode
- Improve async logic in lyrics' script
- Standardize naming in lyrics' script
- Add detailed comments in lyrics component
- Use CSS variables to enhance styles for lyric lines
- Refactor nextUpdate to a Svelte store and subscribe to its changes
  - Avoid detecting changes in frequently triggered Svelte reactivity statement (line 148 in origin)
- [TODO] Improve the interactive logic of the progress bar
2024-07-25 02:16:38 +08:00