Skip to content

[dashboard-layout] Add suppport for root level heading API #8924

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

Open
sissbruecker opened this issue Apr 10, 2025 · 0 comments · May be fixed by #9249
Open

[dashboard-layout] Add suppport for root level heading API #8924

sissbruecker opened this issue Apr 10, 2025 · 0 comments · May be fixed by #9249
Assignees
Labels
enhancement New feature or request vaadin-dashboard

Comments

@sissbruecker
Copy link
Contributor

Describe your motivation

#8885 added a root level heading API to <vaadin-dashboard>. We should support the same feature in <vaadin-dashboard-layout>.

Describe the solution you'd like

There have been two options discussed so far:

  1. Provide the same API, where the root heading level can be configured on the dashboard layout. Widgets and sections added to the layout would then automatically determine their heading level from the closest dashboard layout when they are added to the DOM, and observe changes to the root heading level while they are connected to the DOM. Ideally the same mechanism would be used in both <vaadin-dashboard> and <vaadin-dashboard-layout>.
  2. If 1. is not feasible, provide an API for configuring an individual heading level for each widget or section.

Describe alternatives you've considered

No response

Additional context

No response

@sissbruecker sissbruecker added enhancement New feature or request vaadin-dashboard labels Apr 10, 2025
@ugur-vaadin ugur-vaadin self-assigned this May 16, 2025
@ugur-vaadin ugur-vaadin linked a pull request May 21, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request vaadin-dashboard
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants