Northeastern-Electric-Racing / Northeastern-Electric-Racing/FinishLine

[Bay Dashboard] - Preview Undo Functionality

Open
#4,449 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

front-end
Dominant language
TypeScript
Stars
36
Forks
9
Avg merge
4d 21h
Merged PRs (30d)
11

Description

Description

Add Undo alongside existing save and clear buttons #4448. Undo restores the preview to the dashboard currently live on the TV, discarding all unsaved edits. Dependent on #4447 as well to ensure functionality for undo is working

Acceptance Criteria
  • pressing undo after one change reverts that change
  • pressing undo after multiple widget changes reverts the preview back to the current TV view
  • undo is disabled (not shown) when the preview already matches what's live, including right after a save
  • undo does not undo a save
Proposed Solution
Mocks
Image
Notes
  • Potentially call "DISCARD" or "REVERT" instead of undo because this isn't a stack, its a full revert

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Bay Dashboard preview and its existing save and clear controls, then review the dependent work in #4447 and related issue #4448. Implement the full revert behavior described in the acceptance criteria, including disabling it when the preview matches the live TV view, and verify each undo and save scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.