AQUA
AQUA copied to clipboard
JAT-105 Config File Selection Prompt
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 besetIsGraphViewOn
Fixes
- Add
try catch
aroundsetGain
andsetMainPreAmp
calls - Add
await
in front ofsetMainPreAmp
call
Testing
- Add
AppContext
tests toApp.test.tsx
to validate error modals
Screenshots
Settings gear icon in the title bar:
Settings modal:
Missing config file error modal: