Northeastern-Electric-Racing / Argos

Our full-stack data visualization tool
GNU Affero General Public License v3.0
1 stars 0 forks source link

#195 Reactive Toast Button #218

Closed emirdur closed 4 weeks ago

emirdur commented 1 month ago

Changes

Added a more interactive design for the "Start New Run" button which also displays a toast for successfully running said task.

Notes

Could be utilized for future buttons that require toast message pop-ups. Note that the current setting for this button has it so that the background color is red, so would need readjustment of style and the type of toast pop-up.

Test Cases

See screenshots.

Screenshots

hover clicked

To Do

Any remaining things that need to get done

Checklist

It can be helpful to check the Checks and Files changed tabs. Please review the contributor guide and reach out to your Tech Lead if anything is unclear. Please request reviewers and ping on slack only after you've gone through this whole checklist.

Closes #195 (issue #)

RChandler234 commented 4 weeks ago

toasts successes and errors because how we handle posts right now doesn't allow us to catch the error from the frontend as cleanly as we do in FinishLine, cleaning up in another ticket