marcokreeft87 / formulaone-card

Present the data of Formula One in a pretty way
MIT License
137 stars 10 forks source link

FR: Possibility to show only date/time for next race in the NextRace or Countdown card. #351

Open jimz011 opened 5 months ago

jimz011 commented 5 months ago

Would it be possible to implement features that will change how information is shown in a card?

Below is an example of what the card height should be, I would love to be able to add the time to this card without it getting bigger (meaning it would better fit as a button on the frontpage sitting with other buttons).

image

It would actually even be better if it would show the flag and then the name of the race day (e.g. Next Sunday at 17.00 or e.g. Sunday 12-04-2024 at 17.00).

marcokreeft87 commented 5 months ago

Your second suggestion wouldn't be that much smaller. I don't see a good way to make it smaller without losing data.

Could you provide more examples of how you want to see it?

jimz011 commented 5 months ago

Hi, thanks for replying. I was thinking of something like this (which would then be displayed as a button on the front page for example).

A bit like the countdown, but then with date and time instead (I find it easier to read than 120h until next race).

My editing skills aren't great, but here is an example: image

marcokreeft87 commented 5 months ago

Ah like that. That block with the date in it shouldn't be visible in the next race card so that's kind of a bug.

Tbf the next race card is like a forgotten child haha. Was thinking of removing it.

Let's see what I can do. But have to find the time...

jimz011 commented 5 months ago

No hurry, I was just wondering if you would be able to make something like that. Before I could simply use the sensors from the formulaoneapi but that no longer works.

Thanks for the input

marcokreeft87 commented 5 months ago

You could use the calendar integration for that