Skip to content

fix(dashboard): no stray "null" beside Learning in the add sheet - #45

Merged
HackTuah merged 2 commits into
mainfrom
fix/bulk-sheet-null
Oct 8, 2026
Merged

HackTuah merged 2 commits into
mainfrom
fix/bulk-sheet-null

Conversation

@HackTuah

@HackTuah HackTuah commented Oct 8, 2026

Copy link
Copy Markdown
Member

With one language read, the dashboard's Add words sheet showed "Learning Spanish › null". extension/bulk/sheet.js passed a null child to replaceChildren, which writes it out as the text "null". The optional "meanings in" control is now spread in only when it exists.

Found while recording the launch film's product footage.

  • Regression: test/dom/dashboard.test.mjs now checks that the bulk controls read exactly "LearningSpanish". It fails without the fix (actual: 'LearningSpanishnull') and passes with it.
  • npm test: 2083 pass, 0 fail.
  • CHANGELOG line under Unreleased (ships in 1.0.2).

🤖 Generated with Claude Code

Ayla Croft and others added 2 commits October 7, 2026 23:43
With one language read, the bulk add controls passed a null child to
replaceChildren, which wrote it out as the text "null".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
(cherry picked from commit 716044690bbe86b1d3a1754f3fdefc63948f3d32)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Ayla Croft <dev@scriptkittyos.com>
@HackTuah
HackTuah requested a review from minitru as a code owner October 8, 2026 03:44
@HackTuah
HackTuah merged commit db9f09f into main Oct 8, 2026
14 checks passed
@HackTuah
HackTuah deleted the fix/bulk-sheet-null branch October 8, 2026 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant