budibase
budibase copied to clipboard
When unsuccessfully navigating away from an unfinished/broken query, selected tab changes
Checklist
-
[Y]
I have searched budibase discussions and github issues to check if my issue already exists
Hosting
- Self & Cloud
Describe the bug If I am part-way through writing a query in the Data tab and try to switch to the Design tab my query throws an error but the highlighting still switches from Data to Design, despite still being in the Data section
To Reproduce Steps to reproduce the behavior:
- Go to Data tab
- Write an incomplete, unsaveable, bugged query
- Click the Design/Automations/Settings tab
- App throws error, highlighted tab still changes
Expected behaviour Highlighted tab should only change after successfully navigating to that tab. Highlighting currently changes before navigating away.
Screenshots
Jam screen recording https://jam.dev/c/c4a6a65e-6c07-475b-9c89-74bd4070f88a
App Export If possible - please attach an export of your budibase application for debugging/reproduction purposes.
Desktop (please complete the following information):
- OS: macOS
- Browser Chrome
- Version 126.0.6478.127 (Official Build) (arm64)
Additional context Issue demonstrated using Redis as a datasource, also observable with MySQL and Elastic Search (though this list is not exhaustive)