Skip to content

feat(sessions): all sessions + time/project/model filters; docs: What's new 2.2 + release checklist - #73

Merged
Carl723000 merged 4 commits into
ClaudeCodeUsage:mainfrom
Carl723000:feat/sessions-filters-and-docs
Jul 18, 2026
Merged

Carl723000 merged 4 commits into
ClaudeCodeUsage:mainfrom
Carl723000:feat/sessions-filters-and-docs

Conversation

@Carl723000

Copy link
Copy Markdown
Collaborator

Summary

  • Sessions tab now defaults to all sessions, with filters. It was capped at the 50 most-recent sessions and defaulted to the current project, so it read as "this month, this project only." The cap is raised to a DOM-safety bound, the project filter defaults to All, and a filter bar adds time range (All / Today / 7d / 30d), the project toggle, and a model dropdown. All three narrow the list client-side and persist across the post-delete reload.
  • Docs. Dates the CHANGELOG (2.1.1 and 2.2.0 both shipped still marked "— Unreleased"); adds a "What's new in 2.2" section to README.md + README-zh-CN.md; codifies a pre-release checklist into CLAUDE.md and the PR template; corrects "six" → "seven" languages.

Linked issues

None.

Type of change

  • New feature (non-breaking) → feature (minor) — also carries the docs update.

How was this tested?

  • npm run compile clean; 114 unit tests pass.
  • Filter predicate simulated across 7 project × time × model combinations.

🤖 Generated with Claude Code

@Carl723000
Carl723000 requested a review from jack21 as a code owner July 12, 2026 14:15
@github-actions github-actions Bot added the feature Minor bump — new feature label Jul 12, 2026
Carl723000 and others added 2 commits July 12, 2026 22:34
…list

- CHANGELOG: date [2.2.0] 2026-07-07 and [2.1.1] 2026-06-30 (both shipped
  while still marked "Unreleased")
- README.md + README-zh-CN.md: add a "What's new in 2.2" section
- CLAUDE.md: add a Pre-release checklist under Build & Release
- PR template: correct "six" -> "seven" languages (pt-BR)

Co-authored-by: Claude <noreply@anthropic.com>
…ilters

The Sessions tab showed only the 50 most-recent sessions (a hard limit in
getSessionBreakdown), defaulted to the current project, and had a single
project toggle — so it read as 'this month, this project only'. Now:

- dataLoader: raise the session cap 50 -> 1000 (DOM-safety bound, effectively
  all of a normal user's sessions).
- webview: a filter bar above the table with time range (All / Today / 7d /
  30d), the existing project toggle (now defaulting to All), and a model
  dropdown built from each session's models; per-row data-models attribute.
- client JS: one combined filter (project x time x model) that owns row display,
  each dimension persisted to localStorage and restored after the post-delete
  reload; drops the old CSS show-current mechanism.
- i18n: sessionRangeToday/7d/30d + sessionModelAll across all seven locales.

Verified: compile + 114 tests pass; filter predicate simulated across 7
combinations.

Co-authored-by: Claude <noreply@anthropic.com>
@Carl723000
Carl723000 force-pushed the feat/sessions-filters-and-docs branch from 0072f76 to 2ca6fcd Compare July 12, 2026 14:34
…r note

Co-authored-by: Claude <noreply@anthropic.com>
@Carl723000

Copy link
Copy Markdown
Collaborator Author

Thanks for the contribution. The Test workflow has now been approved and passes. This is a feature change, so it will not be merged before the V2.2.1 stability release; doing so would broaden the patch release and change the Release Drafter version category.

I am keeping the PR open for the next feature cycle. Please wait until V2.2.1 is published before rebasing onto main; we will then resolve any overlap with the new repository guidance and provider-foundation work during review.


🤖 Generated with OpenAI Codex

@Carl723000

Copy link
Copy Markdown
Collaborator Author

This remains a meaningful feature pull request and will stay open.

v2.2.1 is now frozen as a patch release. Because this PR is correctly labeled feature, merging it before the patch is published would move the release draft to the next minor version. Immediately after v2.2.1 is published, we will rebase and finish this original PR against main, then merge it here for the next feature release rather than replacing or closing it.


🤖 Generated with OpenAI Codex

Resolve repository-policy and changelog conflicts against the v2.2.1 mainline. Keep ClaudeCodeUsage#73, ClaudeCodeUsage#75, and ClaudeCodeUsage#77 credited through their original pull requests.

---
🤖 Generated with [OpenAI Codex](https://developers.openai.com/codex/)
@Carl723000
Carl723000 merged commit a71b6ac into ClaudeCodeUsage:main Jul 18, 2026
2 checks passed
@Carl723000
Carl723000 deleted the feat/sessions-filters-and-docs branch August 24, 2026 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Minor bump — new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant