Uh oh!
There was an error while loading. Please reload this page.
feat(console/ai): group conversations list by date (Today / Yesterday / …) - #1709
Merged
Conversation
…rday / …) The conversations list was a flat, undated stream. Group it into recency sections like ChatGPT/Claude — Today, Yesterday, Previous 7 days, Previous 30 days, Older — with section headers, newest-first within each, empty sections omitted. Boundaries are calendar-day based (local midnight), so Today/Yesterday track the real day rather than a rolling 24h. The bucketing is a pure exported `groupConversationsByDate(conversations, nowMs?)` (nowMs defaults to now, kept out of the render path) and unit-tested. Search, active highlight, rename/delete, and the per-row relative time are unchanged. Test: 506 pass (4 new — ordered buckets, empty omitted, newest-first + unparseable-as-oldest, createdAt fallback). tsc clean; no new lint errors. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Uh oh!
There was an error while loading. Please reload this page.
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
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 freeto 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.
Why
The conversations list was a flat, undated stream. ChatGPT/Claude group it by recency, which makes a long history scannable.
What
Group conversations into sections — Today, Yesterday, Previous 7 days, Previous 30 days, Older — with section headers, newest-first within each, empty sections omitted. Boundaries are calendar-day based (local midnight), so Today/Yesterday track the real day rather than a rolling 24h.
Bucketing is a pure exported
groupConversationsByDate(conversations, nowMs?)(nowMs defaults to now, kept out of the render path). Search, active highlight, rename/delete, and the per-row relative time are unchanged.Verification
createdAtfallback). TZ-robust offsets so the midnight boundary can't flake.tscclean; no new lint errors.Fourth of the chat-UX pass (after #1703 collapse, #1705 resize, #1707 shortcuts). Next: message/input-area polish.
🤖 Generated with Claude Code