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

feat: support drag drop for dashboard #6633

Merged
merged 11 commits into from
Sep 12, 2024

Conversation

ugur-vaadin
Copy link
Contributor

Description

Adds drag drop support for dashboard.

Added API:

  • void setEditable(boolean editable): Sets the option to make the dashboard editable
  • boolean isEditable(): Returns whether the dashboard is editable
  • Registration addItemReorderStartListener(ComponentEventListener listener): Adds an item reorder start listener to the dashboard
  • Registration addItemReorderEndListener(ComponentEventListener listener): Adds an item reorder end listener to the dashboard

Fixes https://github.com/orgs/vaadin/projects/70/views/1?pane=issue&itemId=78740411

Part of vaadin/platform#6626

Type of change

Feature

return true;
}

private void customizeItemReorderEndEvent() {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added this back because I encountered the same problem even after using just the Object to work around the serialization issue.

Copy link

sonarcloud bot commented Sep 12, 2024

@ugur-vaadin ugur-vaadin merged commit 66643e9 into feat/dashboard Sep 12, 2024
4 of 5 checks passed
@ugur-vaadin ugur-vaadin deleted the feat/dashboard-drag-drop branch September 12, 2024 12:09
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.

2 participants