-
Notifications
You must be signed in to change notification settings - Fork 8.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow formatting PromQL expressions in the UI (#11039)
* Allow formatting PromQL expressions in the UI Signed-off-by: Julius Volz <julius.volz@gmail.com> * Improve error handling, also catch HTTP errors Signed-off-by: Julius Volz <julius.volz@gmail.com> * Remove now-unneeded async property Signed-off-by: Julius Volz <julius.volz@gmail.com> * Disable format button when already formatted Signed-off-by: Julius Volz <julius.volz@gmail.com> * Disable format button when there are linter errors Signed-off-by: Julius Volz <julius.volz@gmail.com> * Remove disabling of format button again for linter errors Signed-off-by: Julius Volz <julius.volz@gmail.com>
- Loading branch information
Showing
2 changed files
with
71 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters