Skip to content

Conversation

@SJ7F
Copy link
Contributor

@SJ7F SJ7F commented Nov 8, 2025

Summary

This adds a button which clears the chart when it is pressed

Motivation & Context

Closes #20

Changes

  • Adds a trash can button to PlotToolsOverlay
  • Resets the store when the button is pressed

Screenshots / Demos (if UI)

Before:
image

After:
image

How to Test

  1. Connect something to start logging data
  2. Click the red trash can button
  3. Observe that the chart is cleared

Checklist

  • I ran npm run lint and fixed any issues
  • I ran npm run typecheck (TypeScript) with no errors
  • I ran npm test and tests pass
  • I ran npm run test:coverage if code paths changed significantly
  • I added/updated tests where appropriate
  • I updated docs/README if needed
  • No breaking changes without clear migration notes

@SJ7F SJ7F changed the title Feat: Add button to clear chart Feature: Add button to clear chart Nov 8, 2025
@cgreening cgreening self-requested a review November 12, 2025 20:34
@cgreening cgreening merged commit 019e3fa into atomic14:main Nov 12, 2025
3 checks 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