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

Dashboard Rebuild #2434

Open
tomjn opened this issue Apr 5, 2021 · 2 comments
Open

Dashboard Rebuild #2434

tomjn opened this issue Apr 5, 2021 · 2 comments

Comments

@tomjn
Copy link
Member

tomjn commented Apr 5, 2021

Our dashboard is currently PHP + CSS on a single page, but this has some issues:

  • it requires the VM to be running and PHP/Nginx installed and functional
  • it's busy! Everything is shown at once
  • there's no way to get it into an electron app
  • the stylesheets are a bit messy and have no build/optimisation steps

Technical Details

So, I suggest the following:

  • Bulma + dart sass
  • React
  • React router
  • Redux
    • data store initialised by JSON bundled with page, API in the future
    • custom react hooks for sites etc
  • webpack for building
  • prebuilt, VVV should not be building the dashboard during provisioning
  • eslint

We should be able to spin up a github pages site using a test store

UI details

  • a site list
    • each site having its own page
    • column on the left and main area on the right
    • a helpful teddy bear when no sites are selected
    • an add site button at the top of the list
    • each site page will start with the current site information from the current dashboard
  • a tools page
  • a settings page that lists the config.yml page
  • a header bar with an off button, VVV logo, VM status
  • a search bar for sites tools, and fallback to the docs site
  • a help and about page
@tomjn
Copy link
Member Author

tomjn commented Apr 5, 2021

A consequence of using Bulma is that our colour scheme will disappear until we can recreate it, and we'll have a dark on white scheme. We can style the dashboard with VVV purple until dark mode can be reinstated.

Any interactive features should also be low priority, such as an off button or search, the initial goal is feature parity with the current dashboard

@evertiro
Copy link
Contributor

Work-in-progress PR: Varying-Vagrant-Vagrants/dashboard#41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants