m0ar / m0ar/f1

Add spoiler protection when opening the app within 36 hours after a race

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

To allow using the app when watching a race after it has finished, when the app loads and the latest race finished within the last 36 hours, the user should be asked if they have seen the last race. If not, the app should show data only up to the race before. After which, there should be a button saying "Show latest race (circuit)" that syncs with the most recent results.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the app-load flow and trace how the latest race and results are selected and synchronized. Identify where the race-finished time can be checked and where displayed data is limited. Done means a recent race prompts the user, hides the latest results when requested, and provides a button labeled with the circuit that reveals and synchronizes those results.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.