Option to show usage as used instead of left, and potential further customization ideas

オープン 初心者向け
#353 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

@Seyamalam がすでに取り組んでいます。

2026年11月27日 から。

  • #382 @Seyamalam による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
83/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
typescript
領域
frontend

調査の方向性

src/components/UsageStatusBar.tsx、特に UsageMeter から始めて、UsageWindow.usedPercent と remainingPercent がバー、ラベル、aria-label にどのように反映されるかを追ってください。近くの UI オプションで使われている設定パターンを確認し、現在のデフォルトと 80% の警告を維持しながら、使用済みまたは残りの使用量を選択する設定を追加してください。両方のモードで対応するパーセンテージとアクセシブルなラベルが表示されれば完了です。該当するテストがあれば追加または更新してください。

索引モデルが issue の本文から書いたものです。

説明

Hello!

First of all, thank you for your work on this project. I've just discovered it today after looking for a multi-AI-session orchestration tool, and it looks very promising for the workflows I'm used to.

What are you trying to do?

I'm used to looking at my Claude Code usage on a custom status bar script I've developed, which looks like this :

[x] work : 5h ━─────  23% (↻ 18:00) 7d ━━━───  51% (↻ 3d @ 19:00) fable ━─────  25% (↻ 3d @ 19:00)
[ ] perso: 5h ──────   0% (↻ 22:25) 7d ━━━───  59% (↻ 2d @ 00:00) fable ━━────  35% (↻ 2d @ 00:00) (api 1d old) · 1d ago

The first thing that felt weird to me when I opened Parallel Code is that it shows the progress bar inverted compared to my script :

5h ━━━━━━──  75% left
What would help?

A setting to show the usage meters as used instead of left: the bar fills up as usage grows, and the label reads 65% used. The default would stay as it is today. The data is already there (UsageWindow.usedPercent), so UsageMeter in src/components/UsageStatusBar.tsx would pick usedPercent or remainingPercent based on the setting, along with the label and aria-label. The amber warning at 80% used would stay as it is.

Here's a few extra ideas regarding that area of the UI :

  1. Allow to also show the weekly usage bar "inlined" (like the 5h hour one, and not only on hover)
  2. Allow to show Fable's separate weekly usage bar
  3. Support for multiple Claude accounts
  4. Customizable color thresholds (50% yellow, 75% orange, 90% red for example)
What do you do today instead?

I immediately reacted with a loud "WHAAAAAAAT?", because I read it as "75% used". Force of habit. 😅

Contributing

Happy to send a small PR (using Claude) if you're fine with the approach of just the used/left option. Open to discuss further customization too.

主要言語
TypeScript
スター
1k
フォーク
144
平均マージ
4日 19時間
マージ済み PR(30日)
28

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

johannesjo/parallel-code のほかの issue

johannesjo/parallel-code の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。