bug(detail): el panel de detalle no ajusta su ancho al área de trabajo (seguimiento de #228)
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 50/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- desktop
调研方向
Start with fitPanel and detailBounds in src/lib/detail-panel.ts, where the existing proportional height fit is, and with panelRect in src/lib/dock.ts, which takes the width from panelWidthFor(orbSize) × textScale. Done means the panel stays inside area.w at large text scales and when the strip sits on a side edge, with the height behaviour unchanged. The issue leaves the approach open (extend the proportional fit to the horizontal axis, taking the stricter of the two factors), so agree on it before coding.
由索引模型根据 Issue 内容生成。
描述
Seguimiento de #228, como se acordó en el hilo.
Qué pasa
El panel de detalle ajusta su altura al área de trabajo (fitPanel lo encoge cuando no cabe), pero nada ajusta su ancho a area.w. Con la escala de texto de #228, el ancho en unidades de monitor es panelWidthFor(orbSize) × textScale. Con un tamaño de texto grande (por ejemplo 150-225 %) en una pantalla estrecha, o con la tira en un borde lateral, el panel podría salirse del área de trabajo.
No se ha observado en los casos reales de #228 (106 %): es un límite conocido que queda fuera de esa issue.
Qué se espera
Que el panel nunca se salga del área de trabajo en ancho, igual que ya ocurre en altura.
Notas
- Dónde:
fitPanelydetailBounds(src/lib/detail-panel.ts),panelRect(src/lib/dock.ts). - Una posible vía es extender el ajuste proporcional de
fitPanelal eje horizontal, tomando el factor más restrictivo de los dos ejes. Se decide al abordarla.
- 主要语言
- TypeScript
- 星标
- 10
- 派生
- 2
- 平均合并
- 8 小时 30 分钟
- 30 天内合并 PR
- 119
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
egdev6/quorb 的其他 Issue
-
feat(alerts): avisos remotos de consumo y reinicio de límites可能已有人在做 @ludevdot 于 1 天前认领。 未关闭status:approved type:feature
egdev6/quorb#245 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
chore(wsl): seguimiento de la revisión de #239 (sesiones por entorno)可能已有人在做 @sosan 于 1 天前认领。 未关闭type:chore
难度 4/5 1-2 天 新手友好度 47/100
维护者通常 1 天内回复
-
Antigravity (agy CLI): not working on macOS — wrong log path and process detection可能已有人在做 @EzequielKoulaksezian 于 6 天前认领。 未关闭status:approved type:bug
egdev6/quorb#237 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
feat(linux): elegir el idioma desde el primer contacto con Quorb可能已有人在做 @SrStamm 于 3 天前认领。 未关闭odd status:approved type:feature
难度 4/5 3-5 天 新手友好度 18/100
egdev6/quorb#235 · 7 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
odd type:feature
难度 4/5 3-5 天 新手友好度 25/100
维护者通常 1 天内回复
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 70/100
backnotprop/plannotator#2914 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
microsoft/vscode-containers#655 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
dsh-tauri-desk/deepseek-harness-desktop#1477 · 1 条评论 ·