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

Abierto Apto para principiantes
#8,636 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
76/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
css, html
Área
frontend

Línea de trabajo

Abre components/resources/resources-application/src/main/resources/META-INF/dirigible/application/views/_settings.html y compara su panel dividido izquierdo con template-application-ui-harmonia-java/ui/shell/settings.html.template líneas 18-19. Limita las alturas del panel y de la lista para que la lista se desplace por su cuenta, luego confirma que las páginas locales del panel derecho (region-language, tenant-configuration, document-numbering) y el iframe mantienen su propio desplazamiento. Terminado cuando una lista más larga que la ventana, tanto en ventanas bajas como altas, abre una entrada inferior con el ajuste visible desde su parte superior.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

  1. Publish enough modules that the application shell's Settings lists more entries than fit the window height (e.g. the BusinessIntents store set).
  2. 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 list class="flex-1 overflow-auto", as in the per-project settings.html.template.
  • Check the right panel keeps its own scroll for the locally rendered pages (region-language, tenant-configuration, document-numbering, ...), which already carry size-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.
Lenguaje dominante
Java
Estrellas
278
Forks
97
Merge medio
15 h 33 min
PR fusionados (30 d)
301

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-dirigible/dirigible

Todos los issues de eclipse-dirigible/dirigible

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.