Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drag & drop multiple tree nodes in structure tree #6340

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

thomaslow
Copy link
Collaborator

@thomaslow thomaslow commented Dec 5, 2024

Fixes #5926

This is a very early version of supporting drag & drop of multiple tree node elements in the structure tree.

Todo

  • Update Javascript to synchronize selection state to gallery and vertical thumbnail list
  • Improve performance for large trees
  • Also update physical tree
  • Improve code style
  • Add selenium tests

@solth Let me know if you think this conflicts too much with your current development plans (PrimeFaces update) or whether this could be merged sooner.


Set<String> logicalRowKeys = getTreeNodeRowKeys(this.getSelectedLogicalNodes());

String physicalRowKey = null;

Check notice

Code scanning / CodeQL

Unread local variable Note

Variable 'String physicalRowKey' is never read.
@solth
Copy link
Member

solth commented Dec 6, 2024

@solth Let me know if you think this conflicts too much with your current development plans (PrimeFaces update) or whether this could be merged sooner.

No, judging by the current set of changes in this pull request I think it is no problem to merge it before the PrimeFaces update.

I am surprised that multi select in the structre tree can be implemented with our current PrimeFaces version 8, though. I thought there was a bug in PrimeFaces 8 with the row_index value that prevented us from resolving #5926 before the update, but I am unable to find that bug report anymore.

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.

Allow to move multiple page at once in the Structure tree
2 participants