Skip to content

refactor: simplify traceroute tracking and unify cooldown button logic#4699

Merged
jamesarich merged 1 commit intomainfrom
fix/cooldown
Mar 3, 2026
Merged

refactor: simplify traceroute tracking and unify cooldown button logic#4699
jamesarich merged 1 commit intomainfrom
fix/cooldown

Conversation

@jamesarich
Copy link
Collaborator

  • Change traceroute timestamp tracking from a per-node map to a single global value in NodeRequestActions.
  • Refactor CooldownIconButton and CooldownOutlinedIconButton to use a shared CooldownBaseButton implementation.
  • Replace Animatable with a manual timer loop for cooldown progress updates.
  • Update MetricsViewModel and GetNodeDetailsUseCase to consume the simplified traceroute state.

- Change traceroute timestamp tracking from a per-node map to a single global value in `NodeRequestActions`.
- Refactor `CooldownIconButton` and `CooldownOutlinedIconButton` to use a shared `CooldownBaseButton` implementation.
- Replace `Animatable` with a manual timer loop for cooldown progress updates.
- Update `MetricsViewModel` and `GetNodeDetailsUseCase` to consume the simplified traceroute state.

Signed-off-by: James Rich <2199651+jamesarich@users.noreply.github.com>
@jamesarich jamesarich enabled auto-merge March 3, 2026 18:24
@github-actions github-actions bot added the bugfix PR tag label Mar 3, 2026
@jamesarich jamesarich added this pull request to the merge queue Mar 3, 2026
Merged via the queue into main with commit fe67219 Mar 3, 2026
8 checks passed
@jamesarich jamesarich deleted the fix/cooldown branch March 3, 2026 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix PR tag

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant