Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run lint and format
  • Loading branch information
BrunoQuaresma committed Jan 14, 2025
commit 223859019e8901d983faa3105b47b0ec6af064c5
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { deploymentDAUs } from "api/queries/deployment";
import { entitlements } from "api/queries/entitlements";
import { availableExperiments, experiments } from "api/queries/experiments";
import { insightsUserStatusCounts } from "api/queries/insights";
import type { UserStatusChangeCount } from "api/typesGenerated";
import { eachDayOfInterval, isSameDay } from "date-fns";
import { useEmbeddedMetadata } from "hooks/useEmbeddedMetadata";
import { useDeploymentSettings } from "modules/management/DeploymentSettingsProvider";
import type { FC } from "react";
import { Helmet } from "react-helmet-async";
import { useQuery } from "react-query";
import { pageTitle } from "utils/page";
import { GeneralSettingsPageView } from "./GeneralSettingsPageView";
import { insightsUserStatusCounts } from "api/queries/insights";
import type { UserStatusChangeCount } from "api/typesGenerated";
import { eachDayOfInterval, isSameDay } from "date-fns";

const GeneralSettingsPage: FC = () => {
const { deploymentConfig } = useDeploymentSettings();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import { useDeploymentOptions } from "utils/deployOptions";
import { docs } from "utils/docs";
import { Alert } from "../../../components/Alert/Alert";
import OptionsTable from "../OptionsTable";
import { UserEngagementChart } from "./UserEngagementChart";
import { ChartSection } from "./ChartSection";
import { UserEngagementChart } from "./UserEngagementChart";

export type GeneralSettingsPageViewProps = {
deploymentOptions: SerpentOption[];
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { Button } from "components/Button/Button";
import {
type ChartConfig,
ChartContainer,
ChartTooltip,
ChartTooltipContent,
type ChartConfig,
} from "components/Chart/Chart";
import {
Collapsible,
Expand All @@ -14,7 +14,7 @@ import { Spinner } from "components/Spinner/Spinner";
import { ChevronDownIcon, ExternalLinkIcon } from "lucide-react";
import type { FC } from "react";
import { Link } from "react-router-dom";
import { CartesianGrid, XAxis, Area, AreaChart, YAxis } from "recharts";
import { Area, AreaChart, CartesianGrid, XAxis, YAxis } from "recharts";

const chartConfig = {
users: {
Expand Down
Loading