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

Remove run and cancel buttons in annotations editor #206

Merged
merged 1 commit into from
Feb 1, 2023

Conversation

idastambuk
Copy link
Contributor

In annotations editor we have 3 ways to run a query - with the buttons "Run" and "Cancel", the TEST button, as well as onBlur. This removes the extra buttons, the same as in the Redshift variable editor.

Before:
Screen Shot 2023-01-31 at 9 31 06 AM

After:
Screen Shot 2023-01-31 at 9 34 07 AM

@idastambuk idastambuk requested a review from a team as a code owner January 31, 2023 08:35
import { AnnotationsQueryCodeEditor } from './AnnotationsQueryCodeEditor';

export const RedshiftAnnotationsSupport = {
QueryEditor: AnnotationsQueryCodeEditor,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added all this into separate files so it's neater for when getDefaultQuery will be added later(in Grafana 9.5)

@github-actions
Copy link

Backend code coverage report for PR #206
No changes

@github-actions
Copy link

Frontend code coverage report for PR #206

Plugin Main PR Difference
src 77.7% 75.14% -2.56%

@idastambuk idastambuk merged commit 1316bfc into main Feb 1, 2023
@idastambuk idastambuk deleted the fix/remove-buttons-in-annotations branch February 1, 2023 10:02
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.

None yet

3 participants