harmonia list: the record sheet's title collapses to 0 height when the record's properties overflow the sheet
维护者通常 1 天内回复
评估
调研方向
打开 template-application-ui-harmonia-java/ui/perspective/manage/list-view.html.template 第 616 行附近,查看 sheet body 的直接子元素,并检查是否还有其他子元素同时使用隐藏溢出和 flex 收缩。按建议为标题添加 shrink-0,然后验证内容溢出时标题仍然可见,且 sheet body 会滚动。
由索引模型根据 Issue 内容生成。
描述
Problem
In a generated Harmonia manage list, the record sheet (the drawer that opens on a row click) loses its title when the record's properties do not fit the sheet's height. The title is rendered with the right text, but its height collapses to 0 px.
Example (application shell, Store lens): Settings → Products → click a product. The sheet shows the fields but no "Продукт" title. Goods Receipts → click GR00000001 shows "Складов приход". The difference is not the entity. It is whether the content overflows:
| Sheet | Available height | Content height | Title height |
|---|---|---|---|
| Goods Receipt | 643 px | 643 px (fits) | 26.5 px, visible |
| Product | 699 px | 728 px (overflows) | 0 px, invisible |
The same Product sheet keeps its title when there is more room (the standalone products app, a taller window). So any entity with many properties loses the title on a short enough screen.
Cause
template-application-ui-harmonia-java/ui/perspective/manage/list-view.html.template:616:
<div class="vbox min-h-0 flex-1 gap-4 overflow-auto p-4">
<h2 x-h-text.h4 class="truncate" x-text="sheetTitle()"></h2>
...
The sheet body is a flex column with overflow-auto. The title carries truncate (overflow: hidden), so its automatic minimum height is 0. When the body overflows, the flex layout shrinks the title, which has the default flex-shrink: 1, all the way to 0 instead of scrolling.
Verified in the browser: setting flex-shrink: 0 on the h2 brings it back to 28 px and the body scrolls.
Suggested fix
Add shrink-0 to the sheet title (class="truncate shrink-0"). Check the other direct children of that body for the same overflow: hidden + shrinkable combination.
- 主要语言
- Java
- 星标
- 278
- 派生
- 97
- 平均合并
- 12 小时 43 分钟
- 30 天内合并 PR
- 296
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-dirigible/dirigible 的其他 Issue
-
intent checks: a soft duplicate warning is asked again on every update, even when its fields did not change可能已有人在做 @NicoleNG18 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 76/100
eclipse-dirigible/dirigible#8568 ·
维护者通常 1 天内回复
-
harmonia form: a boolean (checkbox) field is marked required with *, though unchecked is a valid answer可能已有人在做 @NicoleNG18 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-dirigible/dirigible#8563 ·
维护者通常 1 天内回复
-
harmonia list: search ignores what relation columns show - matches the key, not the label可能已有人在做 @NicoleNG18 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
eclipse-dirigible/dirigible#8561 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
eclipse-dirigible/dirigible#8548 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-dirigible/dirigible#8354 ·
维护者通常 1 天内回复
查看 eclipse-dirigible/dirigible 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
wultra/powerauth-tests#980 ·
-
account bug communication lecture
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
line/centraldogma#1397 ·
维护者通常 2 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
cryptomator/hub#515 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
vert-x3/vertx-mail-client#268 ·