tesseract-olap / tesseract-ui

Interface for exploration/debugging of tesseract cube servers.
MIT License
5 stars 1 forks source link

Pass Through Vizbuilder Props #46

Closed greenrhyno closed 2 years ago

greenrhyno commented 2 years ago

This change is in response to a bug where a certain prop (downloadFormats) required by the core Vizbuilder component was not being passed down from the VizbuilderView component that wraps the core Vizbuilder component and integrates it with Tesseract Explorer. All props for the core Vizbuilder component were being passed manually -- this created a situation where a prop was not being passed down and it blocked essential functionality.

Solution: Non-Tesseract Explorer props (like the query state) are now collected and passed down to the Vizbuilder component in a generalized manner so that the VizbuilderView is more maintainable and does not need to be updated every time a prop is added to the coreVizbuilder component.

Other changes: