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

Datahub: Display HTML code for chart web component #500

Merged
merged 10 commits into from
Jun 21, 2023
Merged

Conversation

tkohr
Copy link
Collaborator

@tkohr tkohr commented Jun 7, 2023

PR displays the web component HTML of the currently displayed chart.

To-do:

  • refactor data-view-permalink and data-view-web-component into one component, including the tabs currently in record-metadata that only displays if web_component_embedder_url setting is set. Or add one intermediate component which only handles the tabs and the display condition (web_component_embedder_url).

web-component-html

@github-actions
Copy link
Contributor

github-actions bot commented Jun 7, 2023

Affected libs: feature-record, feature-router, ui-inputs, feature-dataviz, feature-editor, feature-search, feature-catalog, feature-map, ui-elements, ui-catalog, ui-search,
Affected apps: datahub, demo, webcomponents, metadata-converter, metadata-editor, search, datafeeder, map-viewer,

  • 🚀 Build and deploy storybook and demo on GitHub Pages
  • 📦 Build and push affected docker images

tkohr added 2 commits June 9, 2023 15:21
…ermalink and data-view-web-component together

displays both components in tabs based on web_component_embedder_url setting for data-view-permalink
@tkohr tkohr marked this pull request as ready for review June 9, 2023 13:23
@github-actions
Copy link
Contributor

github-actions bot commented Jun 16, 2023

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Thanks! and sorry for taking so long to review. I thought we could still show the web component export if no embedder url is provided in the config? Not much else, only minor remarks, I've tested it and it works fine, thanks :)

@tkohr
Copy link
Collaborator Author

tkohr commented Jun 20, 2023

Thanks for your feedback @jahow ! I've addressed your comments in the latest commits.

Copy link
Collaborator

@jahow jahow left a comment

Choose a reason for hiding this comment

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

Looking good, thanks!

@tkohr tkohr merged commit 71545b9 into main Jun 21, 2023
8 checks passed
@tkohr tkohr deleted the data-view-web-component branch June 21, 2023 08:55
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