harmonia list: the record sheet's title collapses to 0 height when the record's properties overflow the sheet
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 82/100
Hướng nghiên cứu
Mở template-application-ui-harmonia-java/ui/perspective/manage/list-view.html.template ở khoảng dòng 616 và đọc các phần tử con trực tiếp của phần thân trang tính, kiểm tra xem có phần tử con nào khác kết hợp overflow bị ẩn với việc co lại theo flex hay không. Thêm shrink-0 vào tiêu đề như đề xuất, sau đó xác minh rằng tiêu đề vẫn hiển thị và phần thân trang tính cuộn được khi nội dung tràn.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Java
- Star
- 278
- Fork
- 97
- Merge trung bình
- 12 giờ 43 phút
- Pull request đã merge (30 ngày)
- 296
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của eclipse-dirigible/dirigible
-
intent checks: a soft duplicate warning is asked again on every update, even when its fields did not changeCó thể đã có người làm @NicoleNG18 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-dirigible/dirigible#8568 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
harmonia form: a boolean (checkbox) field is marked required with *, though unchecked is a valid answerCó thể đã có người làm @NicoleNG18 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
eclipse-dirigible/dirigible#8563 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
harmonia list: search ignores what relation columns show - matches the key, not the labelCó thể đã có người làm @NicoleNG18 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
eclipse-dirigible/dirigible#8561 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
eclipse-dirigible/dirigible#8548 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
eclipse-dirigible/dirigible#8354 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của eclipse-dirigible/dirigible
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
wultra/powerauth-tests#980 ·
-
account bug communication lecture
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
line/centraldogma#1397 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
cryptomator/hub#515 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
vert-x3/vertx-mail-client#268 ·