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: add content related api to dashboard widget #6616

Closed
wants to merge 10 commits into from

Conversation

ugur-vaadin
Copy link
Contributor

Description

Adds APIs for getting and setting widget content.

Added API:

  • Component getContent(): Returns the content of the widget
  • void setContent(Component content): Sets the content of the widget (null to remove content)

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

Part of vaadin/platform#6626

Type of change

Feature

ugur-vaadin and others added 6 commits September 6, 2024 11:59
* feat: add dashboard sections support

* feat: use components to set items on the client side (#6610)

* refactor: restore patching virtual container to fix its

* test: add its that cover more cases updating the client

* refactor: make detach handler implement detach listener
Copy link

sonarcloud bot commented Sep 6, 2024

@ugur-vaadin
Copy link
Contributor Author

ugur-vaadin commented Sep 6, 2024

Diff for PR seems to be broken for some reason. Will open a new one.

New PR: #6618

@ugur-vaadin ugur-vaadin closed this Sep 6, 2024
@ugur-vaadin ugur-vaadin removed the request for review from tomivirkki September 6, 2024 09:25
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