slowlydev / f1-dash

A real-time F1 dashboard
https://f1-dash.com
GNU General Public License v3.0
510 stars 51 forks source link

feature/v2 #86

Closed slowlydev closed 4 months ago

slowlydev commented 5 months ago

This is v2 of f1-dash.

What did change?

This update fixes/closes:

V2 is not quite ready yet, I still want to do following things:

vercel[bot] commented 5 months ago

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

Name Status Preview Comments Updated (UTC)
f1-dash ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 17, 2024 5:43am
Aarekaz commented 5 months ago

This looks absolutely awesome @slowlydev . Also seems like I mistakenly pressed request access when viewing this preview. Please ignore/deny that.

I cant wait to test this fully on the next gp.

Do let me know if you need any help on Dashboard Designs and copy writing. Would absolutely love to help/test things out.

slowlydev commented 5 months ago

Hey there @Aarekaz

This looks absolutely awesome @slowlydev . Also seems like I mistakenly pressed request access when viewing this preview. Please ignore/deny that.

Thank you! no worries u can access v2, without preview access on v2.f1-dash.com

I cant wait to test this fully on the next gp.

Yeah I hope its working better than the current production version, please don't share it too much, just yet :)

Do let me know if you need any help on Dashboard Designs and copy writing. Would absolutely love to help/test things out.

Yeah please feel free to test it out, when doing heavy load testing please do it locally, but going on the page and using it and clicking around during a Session is no problem at all.

Help is much appreciated, for example the help page needs a re write, and maybe an "outside" "non main dev" perspective would be good for that, because everything just makes kinda sense to me 😅

I need some designing of the Head-to-Head page (that would not be v2 but come some time after) as I don't quite know what data to show, what would be interesting to compare between drivers and how to visualise this. I would be important of course that it's being checked that we saccutally have access to that data. What I wanna say with this is that one needs to checkout the TypeScript types or the data that formula one sends.

Aarekaz commented 5 months ago

No worries, I will test it out in the next GP.

I sent you a discord friend request, let's chat there and let's see how I can help with the design/ general documentation for the website. Absolutely love this.

tooboredtocode commented 5 months ago

Hi, you asked me to look through the code and I finally have some time :) First off, is there any reason you aren't using cargo workspaces?

slowlydev commented 5 months ago

Hi, you asked me to look through the code and I finally have some time :) First off, is there any reason you aren't using cargo workspaces?

No, no reason. just did not know about it ...

tooboredtocode commented 5 months ago

Other than that, I didn't find anything out of the ordinary...

Creating a custom struct to hold state (and mutate it) might speed up performance when reconstructing an inital state (when properly done). Alternatively, you could save a complete copy of the state every X minutes, so at most X minutes have to be reconstructed...