Skip to content

Release v1.1.2

Choose a tag to compare

@notchjpl notchjpl released this 12 Feb 22:12
· 63 commits to main since this release
6fa0161

? Release v1.1.2

Version Bumps Applied:

  • Major: false
  • Minor: false
  • Patch: true

Triggered by: PR #39 - Replace track switch cooldown with race-activity check
Merged by: @LinaBell

Changes in this PR

Summary

  • Replaced the 30-minute track switch cooldown (based on trackLastSwitchedDate) with a 5-minute check based on lastRaceStartedDate, which records when any user last started a race
  • Non-admins are blocked from switching tracks if a race was started < 5 minutes ago (disabled button with tooltip)
  • Admins see a confirmation modal warning that a race may be in progress but can proceed
  • Removed trackLastSwitchedDate from the client state and switch track flow

Test plan

  • Start a race and confirm lastRaceStartedDate is set on the world data object
  • As a non-admin, navigate to Switch Track within 5 minutes of a race starting — button should be disabled with a hover tooltip
  • As an admin, navigate to Switch Track within 5 minutes — button is enabled, clicking shows a confirmation modal warning about active races
  • Wait 5+ minutes after last race start — any user can switch tracks freely with no restrictions

This release was automatically created by the Auto Release workflow

What's Changed

  • Update documentation and env-example by @LinaBell in #38
  • Replace track switch cooldown with race-activity check by @LinaBell in #39

Full Changelog: v1.1.1...v1.1.2