Skip to content

Conversation

@selinali2010
Copy link
Collaborator

Summary

  • Add error case for when no config file is found
  • Add settings modal to proactively change the config file

BE Changes

  • Save configFilePath to the state
  • Add new updateConfigFilePath functionality
  • Add check for config file validity prior to all state.txt changes to ensure the error modal is surfaced ASAP

UI Changes

  • Add new FilePicker component
  • Add settings icon to the title bar

Refactor

  • Change Modal to be a more simple component and shrink width
  • Create ConfirmationModal for handling prereq error modals
  • Move title bar to within the App instead of in the header tag to allow for better control
  • Improve error title text to better fit the context
  • Rename setGraphViewOn to be setIsGraphViewOn

Fixes

  • Add try catch around setGain and setMainPreAmp calls
  • Add await in front of setMainPreAmp call

Testing

  • Add AppContext tests to App.test.tsx to validate error modals

Screenshots

Settings gear icon in the title bar:

image

Settings modal:

image

Missing config file error modal:

image

@selinali2010 selinali2010 requested a review from h39s October 15, 2023 03:20
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