An open source alternative to Tableau. Embeddable visual analytic
TypeScript bidatadata-analysisdata-miningdata-visualizationedak6skanarieslow-codepivot-tablereacttableautableau-alternativetypescriptvegavega-litevisualization
fix: remove prod console
ObservedObserver4bb49081147a
diff --git a/packages/graphic-walker/src/vis/react-vega.tsx b/packages/graphic-walker/src/vis/react-vega.tsxindex a8b88411..c40c3319 100644--- a/packages/graphic-walker/src/vis/react-vega.tsx+++ b/packages/graphic-walker/src/vis/react-vega.tsx@@ -501,7 +501,6 @@ const ReactVega = forwardRef<IReactVegaHandler, ReactVegaProps>(function ReactVeif ('params' in singleView) {spec.params.push(...singleView.params!);}- // console.log(JSON.stringify(spec, undefined, 2));if (viewPlaceholders.length > 0 && viewPlaceholders[0].current) {embed(viewPlaceholders[0].current, spec, { mode: 'vega-lite', actions: showActions }).then(res => {vegaRefs.current = [res.view];@@ -583,7 +582,6 @@ const ReactVega = forwardRef<IReactVegaHandler, ReactVegaProps>(function ReactVeif ('params' in commonSpec) {ans.params = commonSpec.params;}- // console.log(JSON.stringify(ans, undefined, 2));if (node) {embed(node, ans, { mode: 'vega-lite', actions: showActions }).then(res => {vegaRefs.current.push(res.view);diff --git a/packages/graphic-walker/src/workers/explainer.worker.js b/packages/graphic-walker/src/workers/explainer.worker.jsindex 888f555f..06f2af21 100644--- a/packages/graphic-walker/src/workers/explainer.worker.js+++ b/packages/graphic-walker/src/workers/explainer.worker.js@@ -54,7 +54,6 @@ function getExplaination(props) {function main (e) {const { type, data } = e.data;- console.log(type, data)let res = false;try {switch (type) {@@ -69,7 +68,6 @@ function main (e) {}self.postMessage(res);} catch (error) {- // discussconsole.log(error)self.postMessage(false)}