fix: routing column filters (#17688)

* remove column filters

* remove column filters

* use a loading state while loading columns

* fix
This commit is contained in:
sean-brydon authored and GitHub committed 2024-11-16 18:05:36 +00:00
1 parent b1a0cdc8e2
commit af9bf14d9e
4 files changed
+83 -40

No files matched your search

@@ -1,12 +1,9 @@
"use client";
import { useState } from "react";
import {
RoutingFormResponsesTable,
RoutingKPICards,
FailedBookingsByField,
type RoutingFormTableType,
} from "@calcom/features/insights/components";
import { FiltersProvider } from "@calcom/features/insights/context/FiltersProvider";
import { Filters } from "@calcom/features/insights/filters";
@@ -16,17 +13,16 @@ import InsightsLayout from "./layout";
export default function InsightsPage() {
const { t } = useLocale();
const [routingTable, setRoutingTable] = useState<RoutingFormTableType | null>(null);
return (
<InsightsLayout>
<FiltersProvider>
<Filters showRoutingFilters routingTable={routingTable} />
<Filters showRoutingFilters />
<div className="mb-4 space-y-4">
<RoutingKPICards />
<RoutingFormResponsesTable onTableReady={setRoutingTable} />
<RoutingFormResponsesTable />
<FailedBookingsByField />
@@ -2783,6 +2783,8 @@
"routing_form_insights_booked_by": "Booked by",
"routing_form_insights_created_at": "Created at",
"routing_form_insights_booking_status": "Booking Status",
"routing_form_insights_booking_at": "Booking At",
"routing_form_insights_submitted_at": "Submitted At",
"access_denied": "Access Denied",
"salesforce_route_to_owner": "Contact owner will be the Round Robin host if available",
"salesforce_do_not_route_to_owner": "Contact owner will not be forced (can still be host if it matches the attributes and Round Robin criteria)",