HomePhabricator

[website] Don't switch the upgrade banner status on the upgrade timestamp

Description

[website] Don't switch the upgrade banner status on the upgrade timestamp

Summary:
The upgrade usually happens 1h after the timestamp due to being MTP based. Turning the banner to the upgraded status too early is confusing, so let's give some margin instead. 3h is chosen as it gives enough time for a dev to change the value manually after the upgrade completed (or delay it if needed), and worst case it's just late by 2h.

Depends on D14621.

Test Plan:

bundle exec jekyll serve --incremental

Check the upgrade notice is still displayed.
Manually change the switchTime to see it in effect.

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Differential Revision: https://reviews.bitcoinabc.org/D14622

Details

Provenance
FabienAuthored on Oct 10 2023, 19:42
FabienPushed on Oct 11 2023, 19:18
Reviewer
Restricted Project
Differential Revision
D14622: [website] Don't switch the upgrade banner status on the upgrade timestamp
Parents
rABCWEB06fe02335c93: [website] Update the release upgrade notice
Branches
Unknown
Tags
Unknown