Revert "feat: add text & numeric filters to insights routing responses (#18016)"
This reverts commit a7e7561efa.
This commit is contained in:
1 parent
237fea0a41
commit
49070b96ae
36 files changed
+482
-1162
No files matched your search
@@ -1,19 +1,35 @@
|
||||
"use client";
|
||||
|
||||
import { FailedBookingsByField, RoutingFormResponsesTable, RoutedToPerPeriod } from "@calcom/features/insights/components";
|
||||
import {
|
||||
FailedBookingsByField,
|
||||
RoutingFormResponsesTable,
|
||||
RoutingKPICards,
|
||||
RoutedToPerPeriod,
|
||||
} from "@calcom/features/insights/components";
|
||||
import { FiltersProvider } from "@calcom/features/insights/context/FiltersProvider";
|
||||
import { RoutingInsightsFilters } from "@calcom/features/insights/filters/routing/FilterBar";
|
||||
import { useLocale } from "@calcom/lib/hooks/useLocale";
|
||||
|
||||
import InsightsLayout from "./layout";
|
||||
|
||||
export default function InsightsRoutingFormResponsesPage() {
|
||||
export default function InsightsPage() {
|
||||
const { t } = useLocale();
|
||||
|
||||
return (
|
||||
<InsightsLayout>
|
||||
<FiltersProvider>
|
||||
<div className="mb-4 space-y-4">
|
||||
<RoutingFormResponsesTable />
|
||||
<RoutingFormResponsesTable>
|
||||
{/* We now render the "filters and KPI as a children of the table but we still need to pass the table instance to it so we can access column status in the toolbar.*/}
|
||||
{(table) => (
|
||||
<div className="header mb-4">
|
||||
<div className="flex items-center justify-between">
|
||||
<RoutingInsightsFilters table={table} />
|
||||
</div>
|
||||
<RoutingKPICards />
|
||||
</div>
|
||||
)}
|
||||
</RoutingFormResponsesTable>
|
||||
|
||||
<RoutedToPerPeriod />
|
||||
|
||||
|
||||
@@ -51,14 +51,6 @@
|
||||
<path d="M6 8a6 6 0 0 1 12 0c0 7 3 9 3 9H3s3-2 3-9" ></path>
|
||||
<path d="M10.3 21a1.94 1.94 0 0 0 3.4 0" ></path>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-binary" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="binary">
|
||||
<rect x="14" y="14" width="4" height="6" rx="2" ></rect>
|
||||
<rect x="6" y="4" width="4" height="6" rx="2" ></rect>
|
||||
<path d="M6 20h4" ></path>
|
||||
<path d="M14 10h4" ></path>
|
||||
<path d="M6 14h2v6" ></path>
|
||||
<path d="M14 4h2v6" ></path>
|
||||
</symbol>
|
||||
<symbol class="lucide lucide-blocks" viewBox="0 0 24 24" fill="inherit" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" id="blocks">
|
||||
<rect width="7" height="7" x="14" y="3" rx="1" ></rect>
|
||||
<path d="M10 21V8a1 1 0 0 0-1-1H4a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-5a1 1 0 0 0-1-1H3" ></path>
|
||||
|
||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
Reference in new issue
Block a user