Repository navigation
feat(frontend): show when a query ran and how long it took (closes #643) - #650
Merged
Merged
Conversation
An editor run (success or failure) now raises a short-lived toast such as "Executed at 14:03:15 · 834 ms", and the status bar's duration tooltip names the run time so it survives the toast. Page turns stay quiet. closes #643
Merged
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #643.
After an editor run, success or failure, a toast shows for about 4 s: "Executed at 14:03:15 · 834 ms" (or "Failed at …"). The status bar's duration tooltip now names the run time too, so it survives the toast. Page turns and table previews stay quiet. It reuses the existing
app-toastandformatDuration.New pure helper
formatClock(zero-padded HH:MM:SS, locale-independent), tested induration.test.ts. Typecheck and tests pass. Not yet tried in the running app. The optional "turn it off" setting is left out.