Increase the Celsius weather display time to 5000 ms #19

Open
opened 2026-10-03 15:57:53 +00:00 by tentype · 0 comments
Member

Objective

The weather display oscillates between Fahrenheit and Celsius using these values in milliseconds:

const FAHRENHEIT_MS = 8_000;
const CELSIUS_MS = 3_000;

The current transition feels bit unnatural, and this huge disparity between F and C can be mistaken as a glitch.

Increase CELSIUS_MS to 5,000 ms in frontend/src/Header.svelte to give visitors a smidge more time to read the Celsius temperature.

Note to contributors

This isn't meant to be a particularly challenging task; it's just something for you to practice committing and making pull requests. If you are already fluent with git, please let someone else take this!

## Objective The weather display oscillates between Fahrenheit and Celsius using these values in milliseconds: ```ts const FAHRENHEIT_MS = 8_000; const CELSIUS_MS = 3_000; ``` The current transition feels bit unnatural, and this huge disparity between F and C can be mistaken as a glitch. Increase `CELSIUS_MS` to 5,000 ms in [frontend/src/Header.svelte](https://git.cmu.dev/ScottyLabs/bus-sign/src/branch/main/frontend/src/Header.svelte) to give visitors a smidge more time to read the Celsius temperature. ## Note to contributors This isn't meant to be a particularly challenging task; it's just something for you to practice committing and making pull requests. If you are already fluent with git, please let someone else take this!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ScottyLabs/bus-sign#19
No description provided.