diff --git a/README.md b/README.md index f19f5d5e..a9de3bc6 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,13 @@ The fastest and easiest way to run Orbit is through **Planetary Cloud** — our ### One-Click Deploy to Vercel +> [!WARNING] +> **We strongly recommend using Planetary Cloud instead of Vercel.** +> +> Vercel's serverless architecture introduces real limitations that affect Orbit's reliability — including cold starts, execution timeouts, and constraints on long-running processes like session handling and activity tracking. You may run into hard-to-debug issues that simply don't exist on Planetary Cloud. +> +> **[Planetary Cloud](https://planetaryapp.us) is free, purpose-built for Orbit, and works out of the box — no configuration needed.** We can't guarantee a great experience on Vercel, and support for Vercel-specific issues is limited. + Prefer to host on your own Vercel account? Deploy in seconds: diff --git a/components/profile/activity.tsx b/components/profile/activity.tsx index 9d134c42..c9b65385 100644 --- a/components/profile/activity.tsx +++ b/components/profile/activity.tsx @@ -1,29 +1,16 @@ -import React, { Fragment, useEffect, useState, useMemo } from "react"; -import { useRecoilState, useRecoilValue } from "recoil"; +import { Fragment, useEffect, useState } from "react"; +import { useRecoilState } from "recoil"; import { workspacestate } from "@/state"; -import { themeState } from "@/state/theme"; import { FC } from "@/types/settingsComponent"; -import { Chart, ChartData, ScatterDataPoint } from "chart.js"; -import { Line } from "react-chartjs-2"; import type { ActivitySession, Quota, inactivityNotice } from "@prisma/client"; -import Tooltip from "@/components/tooltip"; import moment from "moment"; import { Dialog, Transition, Tab } from "@headlessui/react"; -import Button from "../button"; import { - IconMessages, - IconMoon, - IconPlayerPlay, - IconWalk, IconCalendarTime, IconChartBar, - IconUsers, - IconClipboardList, IconAdjustments, IconChevronLeft, IconChevronRight, - IconCalendar, - IconClock, IconCalendarEvent, IconTarget, } from "@tabler/icons-react";