Repository navigation
fix(band): write board.html when importing past sessions - #1349
Open
markjoin123 wants to merge 2 commits into
Open
markjoin123 wants to merge 2 commits into
markjoin123 wants to merge 2 commits into
Conversation
The import merged CSV ledgers and never called the band's board renderer, so board.html stayed missing until a later turn. Fixes DietrichGebert#1344 Co-authored-by: markxu <[email protected]>
caioniehues
pushed a commit
to caioniehues/ponytail
that referenced
this pull request
Nov 18, 2026
…ert#1349) The import merged CSV ledgers and never called the band's board renderer, so board.html stayed missing until a later turn. Fixes DietrichGebert#1344 Co-authored-by: markxu <[email protected]> (cherry picked from commit 191a73f)
Upstream changed the same import for unreadable subagent transcripts. Keep that handling, and still write board.html from every ledger. Co-authored-by: markxu <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1344
/ponytail band importmerged past Claude Code sessions into~/.config/ponytail/band/<project>.csvand stopped there.board.htmlis only built bywriteBoardin the band hook, so the page stayed missing or stale until a later turn.After the CSV merge, the import now loads
boardHtmlandtasksFromfromhooks/band/board.tsand writesboard.htmlfrom every ledger in that directory. A second import that adds no rows still rewrites a missing page.Tests:
node --test tests/band-import.test.jspasses. The end-to-end import now checks that the first run writesboard.htmlwith the band page title, the imported session and a project ledger already on disk, and that deleting the page and importing again (added: 0) writes it back.node --test tests/*.test.js: 143 passed; the pandas CSV check couldn't run here because pandas isn't installed, and it isn't touched by this diff.Versions are untouched.