Skip to content
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

Add Session Lengths to the Event Info Widget #39

Open
tomjackman opened this issue Dec 13, 2018 · 0 comments
Open

Add Session Lengths to the Event Info Widget #39

tomjackman opened this issue Dec 13, 2018 · 0 comments
Assignees
Labels
Feature New feature or request

Comments

@tomjackman
Copy link
Owner

tomjackman commented Dec 13, 2018

What
Add Session Lengths to the Event Info Widget

Why
It would be useful to see the session lengths.

How
Added session lengths, classes with color indicators, tyre compounds using some data available from the session info API.

r3e.getSessionInfo(function(sessionInfo) {
    /*
    // type can be:
    'Unknown',
    'Practice',
    'Qualify',
    'Warmup',
    'Race 1',
    'Race 2',
    'Race 3',
    'Event Results'

    // phase can be:
    'START',
    'WALKTHROUGH',
    'GARAGE',
    'FORMATION',
    'COUNTDOWN',
    'GREEN',
    'CHECKERED',
    'END'

    // sessionInfo
    {
        "type": "string",
        "phase": "string",
        "timeTotal": "int", //seconds
        "timeLeft": "int" //seconds
    }
    */
});
@tomjackman tomjackman added Feature New feature or request Future Future Work Release v1.0 and removed Future Future Work Release v1.0 labels Dec 13, 2018
@tomjackman tomjackman changed the title Add session lengths to the event info widget. Add Session Lengths to the Event Info Widget Dec 19, 2018
@tomjackman tomjackman self-assigned this Mar 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant