Closed selinali2010 closed 1 year ago
Since we expanded the width of the window, we need to make sure the graph makes use of the whole window width.
The error pops up in a couple weird cases
Its also weird that when I delete a preset, it shows up in the "Name" box until I select another preset. It seems like whenever a preset is deleted, the name gets copied to the "Name" input box as if its just been selected, but this happens before its actually deleted in the back end. So as long as the UI detects the deleted preset as being selected, I can keep hitting load and raising this error.
Some other QoL requests for the preset menu
Summary
This PR creates the UI elements for the presets bar according to the design in Figma. Functionality for actually creating/editing/deleting/loading presets is not implemented since the design for how to store that information has not yet been decided on.
Changes
PresetListItem
to allow for editing and deleting presetsRefactor
IconButton
component for consolidating icons into one reusable componentList
component so it can be used for both theDropdown
and the list of presetsScreenshot