Option to show usage as used instead of left, and potential further customization ideas
メンテナーはふだん 4 日以内に返信
評価
- 難易度
- 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 :
- Allow to also show the weekly usage bar "inlined" (like the 5h hour one, and not only on hover)
- Allow to show Fable's separate weekly usage bar
- Support for multiple Claude accounts
- 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
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
johannesjo/parallel-code のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
johannesjo/parallel-code#385 ·
メンテナーはふだん 4 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
johannesjo/parallel-code#163 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 12/100
johannesjo/parallel-code#375 · コメント 2 件 ·
メンテナーはふだん 4 日以内に返信
-
Package as a Platpakオープンenhancement
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
johannesjo/parallel-code#374 ·
メンテナーはふだん 4 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
johannesjo/parallel-code#359 ·
メンテナーはふだん 4 日以内に返信
johannesjo/parallel-code の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
ci
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
ClickHouse/clickhouse-js#1248 ·
メンテナーはふだん 1 日以内に返信
-
E2E: Darlehen-Test wartet auf die gebuchte Auszahlung, bevor er zur Liquiditätsvorschau wechseltオープンtechnik
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
SR5-FoundryVTT/SR5-FoundryVTT#2162 ·
メンテナーはふだん 1 日以内に返信
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
AhmedNAgy25/analysor#25 ·
メンテナーはふだん 1 日以内に返信