Skip to content

[Feature]: 5小时用量(可隐藏金额)、重置时间开关、详情页宽屏、session 恢复/拷贝ID #40

Closed

Description

@oxsean

Preflight: 已搜索现有 issues,未发现重复请求。以下几点都围绕 token / 用量展示与使用体验,应符合项目 “Claude-only、轻量、聚焦 token 归因” 的定位。

打包提交几个使用过程中遇到的小需求,方便统一讨论。如果更适合拆成独立 issue,我可以再拆。

1. 只展示 5 小时用量,可隐藏金额

问题:我主要关心 5 小时窗口内的用量(额度消耗情况),并不关心折算成美元的金额。当前界面把金额一起展示出来,对我来说是噪音。

期望:提供一个配置项,可以只展示 5 小时窗口的使用情况,并隐藏金额(cost / $)显示。

2. 是否显示重置时间(可配置)

问题:重置时间有时有用、有时占地方,希望由我决定是否展示。

期望:提供开关,控制是否显示限额 / 窗口的重置时间。

3. 详情页支持宽屏

问题:当前详情页在宽屏显示器上内容被挤在很窄的区域里,非常拥挤,信息密度低、不好读。

期望:详情页能利用更宽的可视区域(自适应宽屏 / 取消过窄的最大宽度限制),让表格和图表展示得更舒展。

4. session 页支持恢复 session / 拷贝 session ID

问题:我经常需要恢复某个历史 session。目前 session 页只能查看,恢复时还得额外装一个 session 管理插件,比较麻烦。

期望:在 session 页提供以下能力之一或两者:

  • 一键“恢复 / 继续此 session”(例如触发 claude --resume <id>);
  • 直接“拷贝 session ID”按钮,方便我自己去恢复。

这样不用再依赖额外的 session 管理插件。


谢谢维护这个插件 🙏 如需我对某条单独开 issue 或补充截图,请告知。

Activity

  1. Carl723000 commented on Jun 26, 2026

    @Carl723000
    Collaborator

    @oxsean 非常感谢这么细致的反馈,也谢谢你用得这么深 🙏 这几条都很合情合理,而且特别符合插件「Claude-only、轻量、聚焦 token 归因」的定位。我逐条回复一下,顺便同步下现状:

    1. 只看 5 小时用量、隐藏金额
    隐藏金额这部分 2.1.0 已经可以做到了:打开 dashboard 的 ⚙ 设置 → 状态栏,关掉 showCost,今日成本($)就不会再显示;另外 2.1.0 新增的 statusBarMetric 可以把状态栏第一项从「成本」切换成「今日 token 总量」。配额项(5h / 周)原本就是有的。你提到的「只留 5 小时、连每周一起隐藏」,目前还没有对应的开关,这条我记下了,放进 2.1.1。

    2. 重置时间开关
    这个也合理。现在重置时间是固定显示在配额 tooltip 里的,加一个开关,排进 2.1.1。

    3. 详情页宽屏
    确实有这个问题——详情页目前设了一个 800px 的最大宽度,宽屏下会被挤得很窄。改成自适应宽屏,排进 2.1.1(改动很小)。

    4. session 页:恢复 / 拷贝 ID
    很实用。现在 session 页只能看,session ID 只在悬停提示里才有,确实不太方便。计划在 2.1.1 加上:每行一个「拷贝 session ID」按钮(轻量),以及 / 或者「恢复此 session」(在终端里跑 claude --resume <id>)。这样就不用再额外装一个 session 管理插件了。

    小结:第 1 条里的隐藏金额已经可用;其余三条(外加「只看 5h」)都作为 2.1.1 补丁来做。如果你或者社区里的朋友有兴趣,非常欢迎提 PR——尤其是宽屏(#3)和拷贝 ID(#4 前半)都很小、很独立,我很乐意 review。再次感谢!


    English below.

    @oxsean Thanks for the detailed, clearly hands-on feedback 🙏 All four are reasonable and fit the project's "Claude-only, lightweight, token-focused" scope. Point by point, with current status:

    1. Show only the 5h window, hide the cost
    Hiding the cost is already possible in 2.1.0: open the dashboard's ⚙ Settings → Status bar and turn off showCost (the today-cost $ disappears); 2.1.0 also adds statusBarMetric, which switches the first status-bar item from cost to today's total token count. The quota item (5h / weekly) is already there. The "keep only 5h, hide the weekly figure too" part has no toggle yet — noted for 2.1.1.

    2. Toggle for the reset time
    Reasonable. The reset time is currently always shown in the quota tooltip; I'll add a toggle in 2.1.1.

    3. Wide-screen dashboard
    Real issue — the dashboard currently has an 800px max-width, so it gets cramped on wide monitors. I'll make it adapt to wide screens in 2.1.1 (small change).

    4. Sessions tab: resume / copy session ID
    Very practical. The Sessions tab is view-only today and the session ID only lives in a hover tooltip. Planned for 2.1.1: a per-row "Copy session ID" button (lightweight), and/or "Resume this session" (running claude --resume <id> in a terminal) — so you won't need a separate session-manager extension.

    Summary: the hide-cost half of #1 is already available; the rest (plus "only 5h") will ship as a 2.1.1 patch. If you or anyone in the community is interested, PRs are very welcome — the wide-screen (#3) and copy-ID (first half of #4) ones are small and self-contained; happy to review. Thanks again!

  2. Carl723000 commented on Jul 5, 2026

    @Carl723000
    Collaborator

    感谢这份清单,里面好几项其实已经陆续做了:

    • session 恢复 / 拷贝 session ID —— 现在在 Sessions 标签页每行都有(V2.2 里恢复+删除合并成一个默认关闭的开关,因为它们会操作你的 Claude Code;查看对话则是默认开启的只读功能)。
    • 5 小时用量 + 隐藏金额 —— 状态栏支持只显示 5 小时配额(quotaFiveHourOnly),也可以把指标切成 token 数而不显示金额(statusBarMetric)。
    • 重置时间开关 —— 有了(showResetInStatusBar)。

    「详情页宽屏」这类还没做。剩下的我并入 tracker,后续版本再看。谢谢反馈 🙏

  3. oxsean commented on Jul 5, 2026

    @oxsean
    ContributorAuthor

    我已经提了PR都完成啦,后续如果有什么小的需求,我也可以再试试

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions