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

Panel Menus #892

Merged
merged 83 commits into from
Nov 26, 2024
Merged

Panel Menus #892

merged 83 commits into from
Nov 26, 2024

Conversation

gtk-grafana
Copy link
Contributor

@gtk-grafana gtk-grafana commented Nov 14, 2024

Waiting on grafana/grafana#96865 before taking out of draft, I can remove the css hacks and wrapping element if that proposal is accepted.

Fixes: #890

Adds VizPanelMenu to all time-series
Adds link to explore to VizPanelMenu
Adds support for addToExplorations feature in VizPanelMenu

TODO:

With investigations enabled:
image

Without investigations enabled:
image

gtk-grafana and others added 30 commits November 4, 2024 07:35
…o gtk-grafana/service-selection-manual-panel-queries__combobox
…o gtk-grafana/service-selection-manual-panel-queries__combobox
@gtk-grafana gtk-grafana changed the base branch from gtk-grafana/service-selection-manual-panel-queries__combobox__service-selection-labels to main November 21, 2024 17:06
Copy link
Contributor

@svennergr svennergr left a comment

Choose a reason for hiding this comment

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

Works good! I really like that.

Comment on lines 52 to 54
// @todo rewrite the AddToExplorationButton
// Manually activate scene
this.state.addToExplorations?.activate();
Copy link
Contributor

Choose a reason for hiding this comment

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

👍 I can take a GH issue for that.

src/Components/Panels/ExploreLogsVizPanelMenu.tsx Outdated Show resolved Hide resolved
src/Components/Panels/ExploreLogsVizPanelMenu.tsx Outdated Show resolved Hide resolved
@gtk-grafana gtk-grafana marked this pull request as ready for review November 26, 2024 14:22
@gtk-grafana gtk-grafana requested a review from a team as a code owner November 26, 2024 14:22
@gtk-grafana gtk-grafana changed the title Panel Menus: PoC Panel Menus Nov 26, 2024
@gtk-grafana gtk-grafana added this to the 1.0.5 milestone Nov 26, 2024
@gtk-grafana gtk-grafana self-assigned this Nov 26, 2024
@gtk-grafana gtk-grafana added the enhancement New feature or request label Nov 26, 2024
Copy link
Contributor

@svennergr svennergr left a comment

Choose a reason for hiding this comment

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

The "Explore" link on distinct values does not include that value filter. Not really something for this PR, but good followup.

config/loki-config.yaml Show resolved Hide resolved
docker-compose.local.yaml Show resolved Hide resolved
Comment on lines +103 to +104
const sceneGridItem = sceneGraph.getAncestor(sceneRef, SceneCSSGridItem);
const queryProvider = sceneGraph.getData(sceneGridItem);
Copy link
Contributor

Choose a reason for hiding this comment

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

Did this get lost?
#892 (comment)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, that change is what introduced the bugs on label value panels so I reverted

Copy link
Contributor

Choose a reason for hiding this comment

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

Interesting, sounds good. Let's merge!

@gtk-grafana gtk-grafana merged commit 36186cd into main Nov 26, 2024
4 checks passed
@gtk-grafana gtk-grafana deleted the gtk-grafana/issues/890/panel-menus branch November 26, 2024 18:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panel UI: Menu updates
2 participants