Sessions with no timestamps render under an empty date heading
Assessment
- Difficulty
- 1/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- cli
Research direction
Read src/journal.js and the existing tests in test/journal.test.js; the issue identifies the date grouping logic and asks for a fixture session without timestamps. Check how journal.md and journal.html render grouped sessions, then run npm test. Done when undated sessions appear under a clear label and sort last in both outputs, with a regression test.
Written by the indexing model from the issue text.
Description
Found while running the CLI over a real corpus (84 sessions, public test data from daaain/claude-code-log).
One session had no usable timestamp. In journal.md it is grouped under a heading with an empty date:
## - ~$0.00 list-price est. (partial: some unknown)
The cause is in src/journal.js: date is String(session.start || '').slice(0, 10), so a missing start becomes an empty string and that string is used as the day key.
Wanted: render those sessions under a clear label such as Undated, and keep them last in the list. Add a test in test/journal.test.js with a fixture session that has no timestamps. journal.html should get the same treatment.
Good first issue: small, one function, existing test style to copy. Run npm test before and after.
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 2
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from hchc00787/coding-agent-journal
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
All issues in hchc00787/coding-agent-journal
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:crash-loop issue-rating: 🦞 diamond lobster maturity:stable no-stale P2
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
openclaw/openclaw#211917 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
michael-denyer/pstack-claude#644 ·
Maintainers usually reply within 1 day
-
area-integrations
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rommapp/romm#5857 · 3 comments ·
Maintainers usually reply within 1 day