Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve display of query errors #12826

Merged
merged 2 commits into from
Mar 25, 2019
Merged

Improve display of query errors #12826

merged 2 commits into from
Mar 25, 2019

Conversation

chnn
Copy link
Contributor

@chnn chnn commented Mar 21, 2019

Closes #12686

error

Screen Shot 2019-03-21 at 1 14 21 PM

Also tweaks the query execution code to check for error messages that appear as a Flux table. Previously we ignored these errors and attempted to plot the data anyway.

@chnn chnn force-pushed the ui-better-errors branch from a0b04c4 to 43bf7bf Compare March 21, 2019 20:20
<div className="cell--view-empty" data-testid={testID}>
<div className="empty-graph-error">
<CopyToClipboard text={message}>
<Button
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Speak with @ischolten about standardizing copy to clipboard implementation across the application.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do. I first tried using the CodeSnippet component used in the Telegraf configuration screen. The always-visible big purple "Copy to Clipboard" button felt out of place on the dashboard, which is why I created yet another way of doing the same thing :|

@chnn chnn force-pushed the ui-better-errors branch from 43bf7bf to 8b98cd0 Compare March 22, 2019 20:40
chnn and others added 2 commits March 22, 2019 16:07
@chnn chnn force-pushed the ui-better-errors branch from 8b98cd0 to 2e5a0fa Compare March 22, 2019 23:08
@chnn chnn merged commit 7d7d366 into master Mar 25, 2019
@chnn chnn deleted the ui-better-errors branch March 25, 2019 17: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