Skip to content

Conversation

@alexjustesen
Copy link
Owner

@alexjustesen alexjustesen commented Oct 31, 2025

📃 Description

Expanding on the work in #2355 this PR introduces a default chart range that can be set as an environment variable DEFAULT_CHART_RANGE=24h where the default is 24h.

📖 Documentation

[Add a link to the PR for documentation changes.](alexjustesen/speedtest-tracker-docs#88)

🪵 Changelog

➕ Added

  • DEFAULT_CHART_RANGE environment variable.

✏️ Changed

  • Moved getFilters method to a trait to reduce duplication

@alexjustesen alexjustesen marked this pull request as ready for review October 31, 2025 18:34
@alexjustesen alexjustesen merged commit b5dbd0e into main Oct 31, 2025
7 checks passed
@alexjustesen alexjustesen deleted the feat/default-chart-range branch October 31, 2025 18:38
@luckman212
Copy link

luckman212 commented Oct 31, 2025

❤️ This is awesome! Thanks @alexjustesen been looking for this for a long time!

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

Successfully merging this pull request may close these issues.

[FEATURE REQUEST] Setting the default range for charts on the dashboard

4 participants