diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/BarChart.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/BarChart.tsx index c99ac5b24..9f4ae7e0b 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/BarChart.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/BarChart.tsx @@ -65,7 +65,7 @@ const PillBar = (props) => { -function CustomMetricLineChart(props: Props) { +function CustomBarChart(props: Props) { const { data = { chart: [], namesMap: [] }, compData = { chart: [], namesMap: [] }, @@ -156,4 +156,4 @@ function CustomMetricLineChart(props: Props) { ); } -export default CustomMetricLineChart; +export default CustomBarChart; diff --git a/frontend/app/components/Dashboard/components/AddCardSection/AddCardSection.tsx b/frontend/app/components/Dashboard/components/AddCardSection/AddCardSection.tsx index 91636732a..19a2973fb 100644 --- a/frontend/app/components/Dashboard/components/AddCardSection/AddCardSection.tsx +++ b/frontend/app/components/Dashboard/components/AddCardSection/AddCardSection.tsx @@ -64,7 +64,7 @@ const tabItems: Record = { icon: , title: 'Heatmaps', type: HEATMAP, - description: 'Generate a report using by asking AI.', + description: 'Visualize user interaction patterns on your pages.', }, ], monitors: [ @@ -153,6 +153,7 @@ function CategoryTab({ tab, inCards }: { tab: string, inCards?: boolean }) { ]; } + // TODO This code here makes 0 sense if (selectedCard.cardType === FUNNEL) { cardData.series = []; cardData.series.filter = []; diff --git a/frontend/app/components/shared/Filters/FilterAutoComplete/AutocompleteModal.tsx b/frontend/app/components/shared/Filters/FilterAutoComplete/AutocompleteModal.tsx index 3a193cd68..b6f0426f6 100644 --- a/frontend/app/components/shared/Filters/FilterAutoComplete/AutocompleteModal.tsx +++ b/frontend/app/components/shared/Filters/FilterAutoComplete/AutocompleteModal.tsx @@ -53,7 +53,7 @@ export function AutocompleteModal({ return sorted; } return options; - }, [options.length]); + }, [options.length, values]); return (
{sortedOptions.map((item) => (
onSelectOption(item)} className={ 'cursor-pointer w-full py-1 hover:bg-active-blue rounded px-2' diff --git a/frontend/app/components/shared/Filters/FilterList/FilterList.tsx b/frontend/app/components/shared/Filters/FilterList/FilterList.tsx index ebdd602dc..8effc13b6 100644 --- a/frontend/app/components/shared/Filters/FilterList/FilterList.tsx +++ b/frontend/app/components/shared/Filters/FilterList/FilterList.tsx @@ -65,6 +65,7 @@ export const FilterList = observer((props: Props) => { {filters.map((filter: any, filterIndex: any) => !filter.isEvent ? (