Giter Club home page Giter Club logo

Comments (4)

tmoitie avatar tmoitie commented on July 17, 2024 1

Hi both. I haven't delved into the API for a while but if it's true that they aren't surfacing the car on a by week basis, this one is going to be very tricky to resolve! My first instinct is to create an override for this fringe case, but I also believe I didn't write the data architecture with this case in mind:- to show a different car for a given series.

A quick fix would be to override the car for this series with a message like "Week by week" and a modal, which when you press, it explains that the car changes each week and to check iRacing for more detail. Unfortunately this won't be very useful for a user of the IWP, but I think it's better to be honest than wrong.

I've just got back from holiday so I'll spend some time over the next couple of days exploring the API and my own data architecture to see if I can come up with a decent way of dealing with this.

from iracing-week-planner.

tmoitie avatar tmoitie commented on July 17, 2024 1

This is now done with a manual override, and I've added a car column onto the series view. Moving forward will have to manually update the car list but this isn't super onerous, and if I forget then it'll revert back to it's week 1 behaviour until I get around to it

Screenshot 2023-12-12 at 17 23 38

from iracing-week-planner.

Firewolf1337 avatar Firewolf1337 commented on July 17, 2024

The problem here is, that iRacing is not providing this information in there API upfront. And they haven't designed there System to provide different cars each week, so they manually change that car for the serie. That means the data needs to be pulled every week.

And I'm not sure but the last time I had a look in the code of iRacing-week-planner there were no possibility to show cars in the specific order.

Just a explanation from my side why it is like that 😅

from iracing-week-planner.

marc073 avatar marc073 commented on July 17, 2024

@Firewolf1337 Thank you for your explanation.
I feared that. But showing the current car would certainly be better than showing the car from week 1 in week 11 ;-)
Maybe the added value would justify the additional reading, right? At least until iRacing is able to provide the right car for each week 😅

from iracing-week-planner.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.