Skip to content

Outline: improve lazy expanding#409

Open
cguglielmo wants to merge 1 commit into
releases/26.2from
features/cgu/26.2/337244_lazy_expand
Open

Outline: improve lazy expanding#409
cguglielmo wants to merge 1 commit into
releases/26.2from
features/cgu/26.2/337244_lazy_expand

Conversation

@cguglielmo
Copy link
Copy Markdown
Member

  • Set lazyExpandingEnabled to true for Scout JS table pages   Scout JS based table pages should expand lazily by default to make it   consistent with Scout Classic table pages.
  • Ensure correct expandedLazy state (Scout JS)   If lazyExpandingEnabled is disabled and the node updated,   expandedLazy state should be set to false as well.
  • Don't expand table pages on drill down (Scout Classic)   Currently, a double click on a table row in the detail table of a page   always selects and expands the corresponding child page. This is fine   for node pages, but if a table is expanded that has   lazyExpandingEnabled set to true (default), a + is shown for the page   in the outline but no child page is visible. This is confusing and   also inconsistent to what the NavigateDown button does. This button   does the expanding only for node pages (see Outline.ts#drillDown).   Now, the Java based drillDown does the same as the JS based.
  • Moved ITreeUIFacade.setNodeSelectedAndExpandedFromUI to IOutline   and renamed it to drillDown, because it is never called from ui.
  • Added IPage.computeExpandOnDrillDown which returns true for node   pages.
  • Removed unused property isChildrenVolatile/setChildrenVolatile of   ITreeNode.

337244

@cguglielmo cguglielmo self-assigned this May 21, 2026
- Set lazyExpandingEnabled to true for Scout JS table pages
  Scout JS based table pages should expand lazily by default to make it
  consistent with Scout Classic table pages.
- Ensure correct expandedLazy state (Scout JS)
  If lazyExpandingEnabled is disabled and the node updated,
  expandedLazy state should be set to false as well.
- Outline.ts#.drillDown now also scrolls to the selected node like
  the Java implementation already does.
- Don't expand table pages on drill down (Scout Classic)
  Currently, a double click on a table row in the detail table of a page
  always selects and expands the corresponding child page. This is fine
  for node pages, but if a table is expanded that has
  lazyExpandingEnabled set to true (default), a + is shown for the page
  in the outline but no child page is visible. This is confusing and
  also inconsistent to what the NavigateDown button does. This button
  does the expanding only for node pages (see Outline.ts#drillDown).
  Now, the Java based drillDown does the same as the JS based.
- Moved ITreeUIFacade.setNodeSelectedAndExpandedFromUI to IOutline
  and renamed it to drillDown, because it is never called from ui.
- Added IPage.computeExpandOnDrillDown which returns true for node
  pages.
- Removed unused property isChildrenVolatile/setChildrenVolatile of
  ITreeNode.

337244
@cguglielmo cguglielmo force-pushed the features/cgu/26.2/337244_lazy_expand branch from c5e9dcf to 2af5049 Compare May 21, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant