Skip to content

Add F1 widget #526

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed

Add F1 widget #526

wants to merge 3 commits into from

Conversation

abaza738
Copy link

@abaza738 abaza738 commented Mar 27, 2025

F1 Widget

This PR adds the F1 widget mentioned in #519.

Next Race Widget

Preview

image

Config

- type: f1
  session-type: all
  show-last-race: true
  show-wdc-order: true
  show-wcc-order: true
session-type

(Optional) Default: race. Available options:

  • race: only show time to next race
  • major: only show time to next qualifying or race
  • all: show time to the next session regardless of type
show-last-race

(Optional) Default: false. Whether to show results of the last race (top 3).

show-wdc-order

(Optional) Default: false. Whether to show the standings of the World Drivers Championship (top 3).

show-wcc-order

(Optional) Default: false. Whether to show the standings of the World Constructors Championship (top 3).

Todo

  • Next race
  • Last race top 3
  • Drivers championship top 3
  • Constructors championship top 3
  • Update documentation

@abaza738 abaza738 changed the title Add F1 next race widget Add F1 widget Mar 29, 2025
@abaza738 abaza738 marked this pull request as ready for review March 29, 2025 05:31
data.WccOrder = wccOrder
}

return data, nil

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is that on purpose?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess? 😅

@abaza738
Copy link
Author

abaza738 commented Apr 2, 2025

Closed in favor of a community widget.

@abaza738 abaza738 closed this Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants