-
Notifications
You must be signed in to change notification settings - Fork 83
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
feat: support drag-reordering of dashboard items #7738
Conversation
dd47211
to
ae337ee
Compare
…ard-widget-reorder # Conflicts: # packages/dashboard/src/vaadin-dashboard-section.js # packages/dashboard/test/helpers.ts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Added one change suggestion for a typo.
Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com>
# Conflicts: # packages/dashboard/src/vaadin-dashboard-section.js # packages/dashboard/test/helpers.ts
Quality Gate passedIssues Measures |
This ticket/PR has been released with Vaadin 24.6.0.beta1 and is also targeting the upcoming stable 24.6.0 version. |
Description
Add support for DnD reordering of
<vaadin-dashboard>
widgets and sectionsKapture.2024-09-02.at.09.54.19.mp4
Added API:
editable
if true, the widget/section header controls are visibledashboard-item-reorder-start
: Fired when item reordering startsdashboard-item-reorder-end
: Fired when item reordering endsdashboard-item-drag-reorder
: Fired when an items will be reordered by draggingevent.item
: The item being draggedevent.targetIndex
: The new index of the item in its hostitems
arrayFixes https://github.com/orgs/vaadin/projects/70/views/1?pane=issue&itemId=74625606
Part of vaadin/platform#6626
Type of change
Feature