Repository navigation
Add line grouping view to lyrics editor - #14
Conversation
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 40 |
| Duplication | 0 |
AI Reviewer: first review requested successfully. AI can make mistakes. Always validate suggestions.
TIP This summary will be updated as you push new changes.
There was a problem hiding this comment.
ℹ️ Minor suggestions only — the line view is sound and preserves the editor model, but it hides timing progress and has one selection/timestamp mismatch worth a look.
Reviewed changes — a Words/Lines view toggle for the manual lyrics editor plus the new line-grouping render logic (screen.html, screen.js).
- View toggle (screen.html) — Adds a Words/Lines toggle beside the syllable count; buttons use the existing inline-
onclickpattern with literal args. - Grouping state + renderer (screen.js) —
_lsEditorListGrouping('word'/'line') picks between the preserved word rows and new line rows grouped atbrkmarkers; the count label pluralizes per view. Grouping logic is correct against thejoin/brkmodel, and the word view renders identically to before.
Big Pickle (free) | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes — incremental delta e09eb27..829fd9b (fix(editor): preserve line timing cues), which addresses both findings from the prior review.
- Added a per-line untimed aggregate — line rows now render a yellow
N untimedbadge whenever any syllable in the line is missingtord, restoring the timing-progress signal the word view already had. - Aligned the click target with the displayed timestamp — clicking a line row now selects the first timed syllable (falling back to
line.startIndexwhen the whole line is untimed), so the inspector agrees with the shown time instead of landing on an untimed line start.
The fix is minimal and consistent with the existing model: the untimed criterion (t == null || d == null) matches the word view badge and the save-path skip logic, node --check screen.js passes, and both prior review threads are resolved. Word-view rendering is untouched.
Big Pickle (free) | 𝕏

Summary
Testing