An open source alternative to Tableau. Embeddable visual analytic
TypeScript bidatadata-analysisdata-miningdata-visualizationedak6skanarieslow-codepivot-tablereacttableautableau-alternativetypescriptvegavega-litevisualization
fix(ui): two items used the same icon
kyusho2a6c2fdf8eed
diff --git a/packages/graphic-walker/src/components/tooltip.tsx b/packages/graphic-walker/src/components/tooltip.tsxindex 99cf62d6..63f440fb 100644--- a/packages/graphic-walker/src/components/tooltip.tsx+++ b/packages/graphic-walker/src/components/tooltip.tsx@@ -13,8 +13,10 @@ const attrName = 'data-tooltip-host-id';let flag = 0;const Bubble = styled.div`+ border-radius: 1px;transform: translate(-50%, -100%);- filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.15)) drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.12));+ filter: drop-shadow(0 1.6px 1.2px rgba(0, 0, 0, 0.15)) drop-shadow(0 -1px 1px rgba(0, 0, 0, 0.12));+ user-select: none;::before {content: "";display: block;@@ -25,6 +27,7 @@ const Bubble = styled.div`height: 8px;transform: translate(-50%, 50%) rotate(45deg);background-color: #fff;+ border-radius: 1px;}`;@@ -69,7 +72,7 @@ const Tooltip = memo<TooltipProps>(function Tooltip ({ children, content }) {className="fixed text-xs p-1 px-3 text-gray-500 bg-white z-50"onMouseOver={() => setHover(true)}onMouseOut={() => setHover(false)}- style={{ left: pos[0], top: pos[1] }}+ style={{ left: pos[0], top: pos[1] - 4 }}>{content}</Bubble>,diff --git a/packages/graphic-walker/src/visualSettings/index.tsx b/packages/graphic-walker/src/visualSettings/index.tsxindex edd22967..183501a0 100644--- a/packages/graphic-walker/src/visualSettings/index.tsx+++ b/packages/graphic-walker/src/visualSettings/index.tsx@@ -16,6 +16,7 @@ import {PaintBrushIcon,CursorArrowRaysIcon,WrenchIcon,+ ChevronUpDownIcon,} from '@heroicons/react/24/outline';import { observer } from 'mobx-react-lite';import React, { useMemo } from 'react';@@ -164,7 +165,7 @@ const VisualSettings: React.FC<IVisualSettings> = ({ rendererHandler }) => {{key: 'axes_resize',label: t('toggle.axes_resize'),- icon: ArrowsPointingOutIcon,+ icon: ChevronUpDownIcon,checked: interactiveScale,onChange: checked => {vizStore.setVisualConfig('interactiveScale', checked);