Tab badges: show a count when a tab holds more than three badges
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 半天
- 新手友好度
- 74/100
- Issue 类型
- 功能
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- react, typescript
- 领域
- frontend
调研方向
Start in frontend/app/tab/tabbadges.tsx at allBadges.slice(1, 3), which currently drops badges after the third. When the list is longer than three, render a count (for example the top icon plus a small +N, or a numeric pill) while keeping the top badge colour. Confirm the tab bar shows leftover sessions instead of hiding them; follow any nearby tab-badge tests or stories if present.
由索引模型根据 Issue 内容生成。
描述
Problem
A tab shows at most three badges: the highest-priority badge as an icon, then up to two more as small dots (frontend/app/tab/tabbadges.tsx, allBadges.slice(1, 3) in v0.14.5). Any further badges are dropped without any sign that they exist.
We run several AI coding-agent sessions in one tab, one per block. Each session sets a block badge when it finishes or needs input (wsh badge). With four sessions waiting, the tab shows an icon and two dots, and the fourth session is invisible from the tab bar.
Suggestion
When a tab has more badges than it can draw, show the count instead of, or as well as, the dots — for example the top badge's icon followed by a small "+2", or a numeric pill of the total. Keeping the colour of the top badge would preserve the priority signal.
Environment
Wave v0.14.5, Windows 11 with WSL Ubuntu connections.
- 主要语言
- Go
- 星标
- 22.7k
- 派生
- 1.2k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wavetermdev/waveterm 的其他 Issue
-
bug triage
难度 2/5 1-3 小时 新手友好度 66/100
wavetermdev/waveterm#3587 ·
维护者通常 1 天内回复
-
bug triage
难度 2/5 1-3 小时 新手友好度 75/100
wavetermdev/waveterm#3568 ·
维护者通常 1 天内回复
-
pwsh: encodeEnvVarsForPowerShell rejects Windows-standard env var names like ProgramFiles(x86), breaking wsh token on every pwsh block可能已有人在做 @vortsghost2025 于 63 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
wavetermdev/waveterm#3481 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
wavetermdev/waveterm#3435 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 85/100
wavetermdev/waveterm#3432 ·
维护者通常 1 天内回复
查看 wavetermdev/waveterm 的全部 Issue
相似的 Issue
-
area/installation kind/bug
难度 2/5 1-3 小时 新手友好度 78/100
vllm-project/aibrix#3456 · 1 条评论 ·
维护者通常 1 天内回复
-
go good first issue help wanted up-for-grabs
难度 2/5 1-3 小时 新手友好度 84/100
andrewsiah/agentswarm-data-tasks#236 ·
维护者通常 1 天内回复
-
kind/bug
难度 2/5 1-3 小时 新手友好度 65/100
cadence-workflow/cadence#8745 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
charmbracelet/crush#4271 ·
维护者通常 1 天内回复
-
bug in-progress needs-triage P1 tier:2-standard
难度 2/5 1-3 小时 新手友好度 78/100
krakenhavoc/cmd_and_ctrl#5693 ·
维护者通常 1 天内回复