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
Dashboard Updates #1025
Dashboard Updates #1025
Conversation
…into dashboard-updates
Will also close this request: |
Looks good to me, would 3 colums fit ? there seems to be a lot of white space in the cards. |
@holdestmade I will adjust the code and post a screenshot of x3 columns later. My only fear with this is long node names spanning over two lines. |
Yes, I see what you mean, but most node names are not that long. Could the path be shortened ? Not sure it really needs |
Off topic but how did you get a subtitle in your first node ? Scrap that, found it |
Could the number of columns be dynamic (from number of nodes and screen size)? |
The number of column is setup to be dynamic based upon the number of nodes present. It then responsively reduces the number of columns as the screen size gets smaller. esphome/esphome/dashboard/static/js/esphome.js Lines 19 to 31 in e0ca329
|
Does the webserver icon fit OK ? |
Yes it does. It goes on the same line as the update icon and the 3 vertical lines. Just realised non of the images show it. |
Yes thats why I asked, great work. |
I think these are enough changes to start off with. |
Hi @jonathanadams Good job here. Looking forward to use it. |
@sermayoral thanks for fixing the lint issues. |
@jonathanadams You are welcome :-) |
Awesome! |
Look great, any chance of adding an option to sort by node name instead of filename ? |
Very nice looks good and more useful than before. Can you add an option to filter or sort by online/offline/all. |
I plan on adding filtering/search options in some further updates in the near future. I wanted to get these changes merged and see if any bugs crop up before making further updates. |
@jonathanadams it's quite understandable :-) |
Description:
Updates to the dashboard UI interface and the javascript backend.
twothree column layout for nodes - Closes Consolidate ESPHome Dashboard feature-requests#465, Closes Compact/Condensed view mode for ESPHome UI feature-requests#685Submitted as draft as still some work to be done but wanted other peoples opinions.
Pull request in esphome-docs with documentation (if applicable): esphome/esphome-docs#
To be completed.
Checklist:
tests/
folder).If user exposed functionality or configuration variables are added/changed: