Scheduling infrastructure for absolutely everyone.
chore: Reduce insights range to 7 days (#13991)
Keith Williams157f633ef234
diff --git a/packages/features/insights/context/FiltersProvider.tsx b/packages/features/insights/context/FiltersProvider.tsxindex 98ed7542a7b..bafcc84674a 100644--- a/packages/features/insights/context/FiltersProvider.tsx+++ b/packages/features/insights/context/FiltersProvider.tsx@@ -58,9 +58,9 @@ export function FiltersProvider({ children }: { children: React.ReactNode }) {const [configFilters, setConfigFilters] = useState<FilterContextType["filter"]>({dateRange: [- startTimeParsed ? dayjs(startTimeParsed) : dayjs().subtract(1, "month"),+ startTimeParsed ? dayjs(startTimeParsed) : dayjs().subtract(1, "week"),endTimeParsed ? dayjs(endTimeParsed) : dayjs(),- "t",+ "w",],selectedTimeView: "week",selectedUserId: userIdParsed || null,@@ -150,7 +150,7 @@ export function FiltersProvider({ children }: { children: React.ReactNode }) {selectedTimeView: "week",selectedUserId: userId,isAll: !!initialConfig?.isAll,- dateRange: [dayjs().subtract(1, "month"), dayjs(), "t"],+ dateRange: [dayjs().subtract(1, "week"), dayjs(), "w"],initialConfig,});