Skip to content

[ZEPPELIN-6688] Respect published mode in React visualization controls - #5595

Open
miinhho wants to merge 1 commit into
apache:masterfrom
miinhho:ZEPPELIN-6688-published-visualization
Open

miinhho wants to merge 1 commit into
apache:masterfrom
miinhho:ZEPPELIN-6688-published-visualization

Conversation

@miinhho

@miinhho miinhho commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

What is this PR for?

The opt-in React published-paragraph view exposes visualization mode buttons that only update local React state. This allows viewers to switch away from the saved visualization, unlike the Angular published view, which hides these editing controls.

This PR propagates the published state from the host through result rendering to VisualizationControls. Published results use the saved graph configuration and do not expose visualization switching. Table exports remain available, and non-published controls retain their existing behavior.

What type of PR is it?

Bug Fix

What is the Jira issue?

How should this be tested?

With frontend dependencies installed and the Zeppelin backend running at http://localhost:8080, run the following from zeppelin-web-angular:

npm run test:react
npm run e2e:fast -- --grep "Published table results"

Published paragraphs should hide visualization mode controls while preserving table exports.

Questions:

  • Does the license files need to update? No
  • Is there breaking changes for older versions? No
  • Does this needs documentation? No

Propagate published state from the host to visualization controls.
Hide visualization switching while preserving table exports and
rendering published results from the saved graph configuration.

This branch has not been deployed

No deployments
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