application shell Settings: the settings list and the opened setting scroll as one page - a setting picked low in a long list opens out of view
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- css, html
- 领域
- frontend
调研方向
打开 components/resources/resources-application/src/main/resources/META-INF/dirigible/application/views/_settings.html,将其左侧拆分面板与 template-application-ui-harmonia-java/ui/shell/settings.html.template 第 18-19 行进行比较。限制面板和列表的高度,使列表自行滚动,然后确认右侧面板的本地页面(region-language、tenant-configuration、document-numbering)和 iframe 保持各自的滚动。当长度超过窗口的列表在矮窗口和高窗口中都能打开一个较低的条目,并且该设置从其顶部可见时,即完成。
由索引模型根据 Issue 内容生成。
描述
Problem
In the application shell's Settings (the aggregated shell, e.g. a BusinessIntents "Склад" app -> Настройки), the list of settings on the left and the opened setting on the right scroll together, as one page.
With many modules the list is long (20+ entries). Choosing an entry low in it (Payment Methods is the 15th) leaves the page scrolled down, so the opened setting on the right starts above the visible area: the right side looks blank until the user scrolls back up.
Seen during a store test run (BusinessIntents store modules, Bulgarian UI).
Cause
components/resources/resources-application/src/main/resources/META-INF/dirigible/application/views/_settings.html, the left split panel:
<div x-h-split-panel data-size="25%" data-min="200">
<div class="vbox gap-2 p-3">
...
<ul x-h-list :aria-label="...">
Neither the panel's wrapper nor the list has a height bound or overflow-auto, so a long list overflows the panel and the scroll lands on an ancestor shared by both columns.
The per-project settings page generated for a single module already does this right: template-application-ui-harmonia-java/ui/shell/settings.html.template:18-19
<div class="vbox size-full min-w-0">
<ul x-h-list class="flex-1 overflow-auto" ...>
Steps to reproduce
- Publish enough modules that the application shell's Settings lists more entries than fit the window height (e.g. the BusinessIntents store set).
- Open Settings, scroll the list down and pick an entry near the bottom.
Expected: the list scrolls on its own; the opened setting fills the right side from its top.
Actual: the whole page scrolls; the right side shows nothing until scrolled back up.
Suggested fix
- Left panel wrapper:
vbox gap-2 p-3 size-full min-h-0, and the listclass="flex-1 overflow-auto", as in the per-projectsettings.html.template. - Check the right panel keeps its own scroll for the locally rendered pages (
region-language,tenant-configuration,document-numbering, ...), which already carrysize-full overflow-auto, and the iframe (absolute, full size). - Verify in a browser with a list longer than the window, in both a short and a tall window.
- 主要语言
- Java
- 星标
- 278
- 派生
- 97
- 平均合并
- 15 小时 33 分钟
- 30 天内合并 PR
- 301
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-dirigible/dirigible 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
eclipse-dirigible/dirigible#8548 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-dirigible/dirigible#8354 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 75/100
eclipse-dirigible/dirigible#8240 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
eclipse-dirigible/dirigible#8238 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
eclipse-dirigible/dirigible#8232 ·
维护者通常 1 天内回复
查看 eclipse-dirigible/dirigible 的全部 Issue
相似的 Issue
-
hermes-queue
难度 1/5 1-3 小时 新手友好度 85/100
chrisalunlloyd2-sudo/mindpalace#403 ·
维护者通常 1 天内回复
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
xerial/sqlite-jdbc#1515 ·
维护者通常 1 天内回复
-
Area/Configuration Type/Improvement
难度 2/5 1-3 小时 新手友好度 68/100
ballerina-platform/static-code-analysis-tool#217 ·
维护者通常 1 天内回复
-
SequenceEncoder: a value ending with a backslash swallows the tokens after it (“No state for trait”)未关闭
难度 2/5 1-3 小时 新手友好度 80/100
vassalengine/vassal#15337 ·
维护者通常 1 天内回复
-
bug severity-medium XS
难度 2/5 1-3 小时 新手友好度 80/100
nikolas-charalambidis/facepalm-maven-plugin#291 ·
维护者通常 1 天内回复