openclimatefix / quartz-frontend

Front End repo for the Nowcasting project.
https://openclimatefix.org/projects/nowcasting/
MIT License
103 stars 16 forks source link

Variable bubble size #460

Open peterdudfield opened 8 months ago

peterdudfield commented 8 months ago

Pull Request

Description

Adjust the bubble size depending on the total capacity of all the sites Have not done #444, so probably best to comment this out for the moment - TODO

Fixes #445

added a few tests too

For a user with only 5 sites goes from (its the same for the ocf group)

Screenshot 2024-01-24 at 19 25 02

to

Screenshot 2024-01-24 at 19 25 07

How Has This Been Tested?

Ran in on vercel, tested out the OCF group and a site group that only has about 5 sites.

Checklist:

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nowcasting-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 6, 2024 3:13pm
peterdudfield commented 8 months ago

Probably ready for @braddf and @rachel-labri-tipton to have a look at. I was going to remove the key too, should it?