Skip to content

fix(theme): stack Claude weekly and Fable meters when no 5h limit is reported - #212

Open
origami99 wants to merge 2 commits into
CodeZeno:mainfrom
origami99:fix/claude-weekly-only-classic-layout
Open

origami99 wants to merge 2 commits into
CodeZeno:mainfrom
origami99:fix/claude-weekly-only-classic-layout

Conversation

@origami99

@origami99 origami99 commented Nov 9, 2026 •

Copy link
Copy Markdown

Summary

  • Hide the Classic widget's 5h label for Claude when it reports a weekly limit without a session limit.
  • Stack the all-model weekly and Fable meters in one column with aligned bars and values, and label both rows 7d. With other providers enabled, place the Claude column beside them and preserve their shared row labels. Keep the Claude 5h meter whenever Claude reports a session limit.

Closes #204.

Before and after

Classic v1 rendered with the same sample usage in both versions.

Before and after showing the weekly and Fable bars stacked in one column

Claude and Codex enabled

Before and after with Codex keeping its 5h and 7d rows beside the stacked Claude weekly meters

Testing

  • cargo fmt --all -- --check
  • cargo test --locked (618 passed, 6 ignored)
  • Rendered the Classic widget with sample weekly and Fable usage and an unavailable Claude session limit, both with Claude alone and alongside Codex.

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md.
  • The change is focused and contains no credentials or sensitive data.
  • I have added or updated relevant documentation and tests, where applicable.
  • I have left changelog and version changes to maintainers unless requested.

@origami99 origami99 changed the title Stack Claude weekly and Fable meters when no 5h limit is reported fix(theme): stack Claude weekly and Fable meters when no 5h limit is reported Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5h limit still shown on the Claude Ultra plan (Ultra has no 5h limit)

1 participant