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

Add a collapsible section in query editors #88

Open
idastambuk opened this issue Oct 2, 2023 · 0 comments
Open

Add a collapsible section in query editors #88

idastambuk opened this issue Oct 2, 2023 · 0 comments

Comments

@idastambuk
Copy link
Contributor

For optional sections in our query editors, it would be good to have a collapsible section that would work as an "EditorCollapseSection" perhaps.
Right now, if we include grafana/ui's CollapsibleSection, it interferes with EdtiorRow's Stack, and makes the title and the content of the section fall in the same flex row:
Screenshot 2023-10-02 at 11 43 18 AM

It would be good to have something like in Loki:
image

Right now Loki uses a custom component to render a collapsible section. A possible solution is just to copy over the code from Loki and make it available for external plugins to use.

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

No branches or pull requests

1 participant