Skip to content

feat(dashboard): add compact myspeed widget with recent results and t… - #162

Merged
retransmit merged 4 commits into
retransmit:developmentfrom
lxBlazarxl:development
Sep 20, 2026
Merged

retransmit merged 4 commits into
retransmit:developmentfrom
lxBlazarxl:development

Conversation

@lxBlazarxl

@lxBlazarxl lxBlazarxl commented Sep 20, 2026 •

Copy link
Copy Markdown
Collaborator

Introduced a dedicated compact dashboard widget for MySpeed instances.

  • Added DashboardWidgetKind.myspeed with label, icon, and serviceKinds mapping.
  • Implemented DashboardMySpeedWidget rendering DOWN, UP, and PING metrics using MySpeedMetricBox.
  • Adhered strictly to dynamic theme colors across badge, metrics, and indicators.
  • Displayed dedicated timestamp pill box alongside server information.
  • Added compact 'Run test' button with confirmation dialog, API trigger, AnimatedSwitcher running spinner, and automatic status polling to refresh recent results upon completion.
  • Integrated into DashboardBoard widget builder and refresh cycle.
  • Added comprehensive widget tests covering metrics rendering, confirmation dialog, execution state, dynamic theme colors, and navigation.

lxBlazarxl and others added 4 commits September 21, 2026 00:12
…est trigger

Introduce a dedicated compact dashboard widget for MySpeed instances.

- Add DashboardWidgetKind.myspeed with label, icon, and serviceKinds mapping.
- Implement DashboardMySpeedWidget rendering DOWN, UP, and PING metrics using MySpeedMetricBox.
- Adhere strictly to dynamic theme colors across badge, metrics, and indicators.
- Display dedicated timestamp pill box alongside server information.
- Add compact 'Run test' button with confirmation dialog, API trigger, AnimatedSwitcher running spinner, and automatic status polling to refresh recent results upon completion.
- Integrate into DashboardBoard widget builder and refresh cycle.
- Add comprehensive widget tests covering metrics rendering, confirmation dialog, execution state, dynamic theme colors, and navigation.
… tests at any age

MySpeed keeps a failed run as a row with an error and no speeds, so the
model now carries that error and a helper picks the newest run that
produced figures. A new provider reads the five newest tests across the
whole history: the day's window is empty for a weekly schedule, and the
History tab's thousand rows are far more than a card needs.
…e history

The card read the day's list and, when that was empty, the History tab's
keep-alive thousand-row list; pull to refresh reloaded that list for every
MySpeed instance, and a run's end fetched it too. The card now reads the
newest few tests at any age, shows the latest one that produced figures,
and leaves the History to the History tab.
@retransmit
retransmit merged commit 26f0328 into retransmit:development Sep 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants