swinnoproject / website

This repo contains the quarto generated website of the SWINNO project.
https://swinnoproject.github.io/website/
Other
2 stars 0 forks source link

Add WIP dashboard to MVP site #25

Closed mathjoha closed 12 months ago

mathjoha commented 12 months ago

This PR adds a single page to the site, a "WIP Dashboard".

The "WIP Dashboard" in turn contains a single interactive plot: innovations commercialized 1970-2021 -- which can aggregate the count three different ways!

@pjkreutzer could you please test to make sure that the "dashboard" works on more systems?

pjkreutzer commented 12 months ago

Dashboard works. Load time very slow (>1 min) even on shinylive.

Selectors work. Hover works.

I think before merging it into main we should update the labels (spelling for axis, names for hover and legend instead of codes) and use style sheet of website for dashboard components. Do you need a single css file compiled from bw.scss and archivo.scss for that?

mathjoha commented 12 months ago

Dashboard works. Load time very slow (>1 min) even on shinylive.

Selectors work. Hover works.

I think before merging it into main we should update the labels (spelling for axis, names for hover and legend instead of codes) and use style sheet of website for dashboard components. Do you need a single css file compiled from bw.scss and archivo.scss for that?

@pjkreutzer

I would rather remove the product codes than translate the name -- it is just a placeholder, which is why a >1min loading time is acceptable. To reacha a reasonable speed the apps need to be hosted, not run in the browser (through webassembly) as this one is right now.

I see your point about the stylesheets (have not looked into the requirements). However I find it preferable if the style is set (and homogenized) in the individual plot. That way they can each work independently without notable cosmetic differences.

pjkreutzer commented 12 months ago

What if we build a dashboard, proper with lots of selectors and callbacks and on the website only highlight a few (for example the three graphs you made) interactive elements? Plotly elements are raw html and can be embedded without any loss of speed.

mathjoha commented 12 months ago

What if we build a dashboard, proper with lots of selectors and callbacks and on the website only highlight a few (for example the three graphs you made) interactive elements? Plotly elements are raw html and can be embedded without any loss of speed.

That sounds (reads?) like a great idea, but I do not have more time for this today. @pjkreutzer, if you have the time to create a mockup, I would be happy to test it.