Skip to content

Conversation

@abelyakin
Copy link
Contributor

This adds an optional panelOptions.actions configuration for Panels so embedders can hide specific header controls (e.g., description, links, notices, query inspector, fullscreen, plugin actions) while preserving the default behavior when no config is provided. The render structure and layout remain unchanged; this is a pure visibility toggle to support embedded views and custom workflows without breaking existing dashboards.

Screenshots

Checklist

  • [x ] Pull request has a descriptive title and context useful to a reviewer.
  • [x ] Pull request title follows the [<catalog_entry>] <commit message> naming convention using one of the
    following catalog_entry values: FEATURE, ENHANCEMENT, BUGFIX, BREAKINGCHANGE, DOC,IGNORE.
  • All commits have DCO signoffs.

UI Changes

  • Changes that impact the UI include screenshots and/or screencasts of the relevant changes.
  • Code follows the UI guidelines.
  • E2E tests are stable and unlikely to be flaky.
    See e2e docs for more details. Common issues include:
    • Is the data inconsistent? You need to mock API requests.
    • Does the time change? You need to use consistent time values or mock time utilities.
    • Does it have loading states? You need to wait for loading to complete.

Signed-off-by: Belyakin Alexander <belyakinaa@cloudx.group>
@abelyakin abelyakin requested a review from a team as a code owner January 29, 2026 08:14
* - undefined: show all actions (default Perses behavior)
* - defined entries: set per-action visibility (false hides)
*/
actions?: PanelActionConfig;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
actions?: PanelActionConfig;
actionsConfig?: PanelActionConfig;

Signed-off-by: Belyakin Alexander <belyakinaa@cloudx.group>
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