-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add new dashboard dialog #18657
Add new dashboard dialog #18657
Conversation
9dbfd30
to
234d1d6
Compare
src/translations/en.json
Outdated
"header": "Add dashboard", | ||
"create_empty": "New dashboard from scratch", | ||
"create_empty_description": "Start with an empty dashboard from scratch", | ||
"default": "Overview dashboard", |
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.
I would either go more generic or more specific:
- Call it "default dashboard" and we can upgrade it in the future to new defaults
- Call it "Masonry Dashboard" because it's tied to the layout engine that's used
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.
Let's go for default.
<ha-icon-next slot="meta"></ha-icon-next> | ||
</ha-list-item> | ||
<li divider role="separator"></li> | ||
<ha-list-item |
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.
Next step would be for strategies to register like custom cards do and loop over that here right?
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.
Yep exactly 🙂
234d1d6
to
1cac1c0
Compare
Proposed change
Add new dashboard dialog with similar UX than automation and script. The user can now directly start with an empty dashboard.
Type of change
Example configuration
Additional information
Checklist
If user exposed functionality or configuration variables are added/changed: