chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-01-28 22:15:43 -08:00
parent 16b839138d
commit 70fcb2d055
10 changed files with 41 additions and 38 deletions

View file

@ -9,8 +9,6 @@ Changes:
from collections.abc import Sequence
import sqlalchemy as sa
from alembic import op
# revision identifiers, used by Alembic.
@ -27,7 +25,7 @@ def upgrade() -> None:
def downgrade() -> None:
"""Remove REDDIT_FOLLOW from incentivetasktype enum.
Note: PostgreSQL doesn't support removing values from enums directly.
This would require recreating the enum type, which is complex and risky.
For safety, we leave the enum value in place during downgrade.

View file

@ -359,7 +359,14 @@ export default function NewChatPage() {
};
completeClone();
}, [currentThread?.clone_pending, currentThread?.id, isCompletingClone, cloneError, initializeThread, queryClient]);
}, [
currentThread?.clone_pending,
currentThread?.id,
isCompletingClone,
cloneError,
initializeThread,
queryClient,
]);
// Handle scroll to comment from URL query params (e.g., from inbox item click)
const searchParams = useSearchParams();

View file

@ -109,10 +109,10 @@ export function HeroSection() {
Connect any LLM to your internal knowledge sources and chat with it in real time alongside
your team.
</p>
<div className="mb-10 mt-8 flex w-full flex-col items-center justify-center gap-4 px-8 sm:flex-row md:mb-20">
<GetStartedButton />
<ContactSalesButton />
</div>
<div className="mb-10 mt-8 flex w-full flex-col items-center justify-center gap-4 px-8 sm:flex-row md:mb-20">
<GetStartedButton />
<ContactSalesButton />
</div>
<div
ref={containerRef}
className="relative mx-auto max-w-7xl rounded-[32px] border border-neutral-200/50 bg-neutral-100 p-2 backdrop-blur-lg md:p-4 dark:border-neutral-700 dark:bg-neutral-800/50"

View file

@ -1,6 +1,6 @@
"use client";
import { createContext, useContext, type ReactNode } from "react";
import { createContext, type ReactNode, useContext } from "react";
interface SidebarContextValue {
isCollapsed: boolean;

View file

@ -1,2 +1,2 @@
export { useSidebarState } from "./useSidebarState";
export { SidebarProvider, useSidebarContext, useSidebarContextSafe } from "./SidebarContext";
export { useSidebarState } from "./useSidebarState";

View file

@ -1,5 +1,6 @@
"use client";
import { useAtom } from "jotai";
import {
AlertCircle,
AtSign,
@ -16,7 +17,6 @@ import {
Search,
X,
} from "lucide-react";
import { useAtom } from "jotai";
import { AnimatePresence, motion } from "motion/react";
import { useRouter } from "next/navigation";
import { useTranslations } from "next-intl";

View file

@ -2,10 +2,10 @@ import {
type GetNotificationsRequest,
type GetNotificationsResponse,
type GetUnreadCountResponse,
type InboxItemTypeEnum,
getNotificationsRequest,
getNotificationsResponse,
getUnreadCountResponse,
type InboxItemTypeEnum,
type MarkAllNotificationsReadResponse,
type MarkNotificationReadRequest,
type MarkNotificationReadResponse,

View file

@ -86,8 +86,8 @@
"next-themes": "^0.4.6",
"pg": "^8.16.3",
"postgres": "^3.4.7",
"posthog-js": "^1.335.5",
"posthog-node": "^5.24.3",
"posthog-js": "^1.336.1",
"posthog-node": "^5.24.4",
"react": "^19.2.3",
"react-day-picker": "^9.8.1",
"react-dom": "^19.2.3",

View file

@ -52,7 +52,7 @@ importers:
version: 0.5.10(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
'@posthog/react':
specifier: ^1.7.0
version: 1.7.0(@types/react@19.2.7)(posthog-js@1.335.5)(react@19.2.3)
version: 1.7.0(@types/react@19.2.7)(posthog-js@1.336.1)(react@19.2.3)
'@radix-ui/react-accordion':
specifier: ^1.2.11
version: 1.2.12(@types/react-dom@19.2.3(@types/react@19.2.7))(@types/react@19.2.7)(react-dom@19.2.3(react@19.2.3))(react@19.2.3)
@ -204,11 +204,11 @@ importers:
specifier: ^3.4.7
version: 3.4.7
posthog-js:
specifier: ^1.335.5
version: 1.335.5
specifier: ^1.336.1
version: 1.336.1
posthog-node:
specifier: ^5.24.3
version: 5.24.3
specifier: ^5.24.4
version: 5.24.4
react:
specifier: ^19.2.3
version: 19.2.3
@ -1605,8 +1605,8 @@ packages:
resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
engines: {node: '>= 10.0.0'}
'@posthog/core@1.14.1':
resolution: {integrity: sha512-DtmJ1y1IDauX8yAZtIotRAYDRkgCCMLk5S9vFFRX7vufhWblQuRUOgn9WYSJrocJlZKm1aEjDzGQ0uyL7HcdLw==}
'@posthog/core@1.15.0':
resolution: {integrity: sha512-n2/Yy0+qc8xhmlcOFiYqTcGHBZuuaQjVolfFXk7yTCynzdMe8Fx1zYvPPUrbdQK5tWwXyilkzybpqhK6I7aV4Q==}
'@posthog/react@1.7.0':
resolution: {integrity: sha512-pM7GL7z/rKjiIwosbRiQA3buhLI6vUo+wg+T/ZrVZC7O5bVU07TfgNZTcuOj8E9dx7vDbfNrc1kjDN7PKMM8ug==}
@ -1618,8 +1618,8 @@ packages:
'@types/react':
optional: true
'@posthog/types@1.335.5':
resolution: {integrity: sha512-QYj5c8wSaXGvV4ugEN65GHD0sIXRveGiZxV4tqpyoP7YIAvAwwA0do0yNfTrEjDXucCQn25pMbCqO25hJrMi5w==}
'@posthog/types@1.336.1':
resolution: {integrity: sha512-KSGst/a/HK7GhfLSbwAy35HtU3KjDqjLtq3+PoDlGfbz9SbO0owjc6jo6hAHnMz67QTSvrn/r0xgimDO4NQ+rA==}
'@prisma/client@4.8.1':
resolution: {integrity: sha512-d4xhZhETmeXK/yZ7K0KcVOzEfI5YKGGEr4F5SBV04/MU4ncN/HcE28sy3e4Yt8UFW0ZuImKFQJE+9rWt9WbGSQ==}
@ -5601,11 +5601,11 @@ packages:
resolution: {integrity: sha512-Jtc2612XINuBjIl/QTWsV5UvE8UHuNblcO3vVADSrKsrc6RqGX6lOW1cEo3CM2v0XG4Nat8nI+YM7/f26VxXLw==}
engines: {node: '>=12'}
posthog-js@1.335.5:
resolution: {integrity: sha512-1zCEdn7bc1mQ/jpd62YY8U1CyNiftIBE6uKqE2L+mjZ5aJyB2rtUAXefaTbaR/3A98tItjSej4aIa8FBN+O1fw==}
posthog-js@1.336.1:
resolution: {integrity: sha512-YphbVhXnImmZoALvf2oh129Cxu6IRQ9P9sWhuyY+dGe7jqt1jBp6Dg7QEK39stB4rzxmT/N3OLFcWZM7ZYQzCg==}
posthog-node@5.24.3:
resolution: {integrity: sha512-RpjccR8k/GHjtIzRbtlS/Ipw+GvJLJCicJW6L4IZm7gXXNjdyW26x0ba0kvUtWS6mcgx8EBbgXERd5eNsXSjlQ==}
posthog-node@5.24.4:
resolution: {integrity: sha512-U90zdez3jbqAZ4HNxCM/n6SK9h2W59DPS0l2rboWiaKiBi47rN+YJmFQqx1rQsQA47JhNsmAAh2iwqYQ+VTjow==}
engines: {node: ^20.20.0 || >=22.22.0}
preact@10.28.2:
@ -7860,18 +7860,18 @@ snapshots:
'@parcel/watcher-win32-ia32': 2.5.1
'@parcel/watcher-win32-x64': 2.5.1
'@posthog/core@1.14.1':
'@posthog/core@1.15.0':
dependencies:
cross-spawn: 7.0.6
'@posthog/react@1.7.0(@types/react@19.2.7)(posthog-js@1.335.5)(react@19.2.3)':
'@posthog/react@1.7.0(@types/react@19.2.7)(posthog-js@1.336.1)(react@19.2.3)':
dependencies:
posthog-js: 1.335.5
posthog-js: 1.336.1
react: 19.2.3
optionalDependencies:
'@types/react': 19.2.7
'@posthog/types@1.335.5': {}
'@posthog/types@1.336.1': {}
'@prisma/client@4.8.1':
dependencies:
@ -12484,15 +12484,15 @@ snapshots:
postgres@3.4.7: {}
posthog-js@1.335.5:
posthog-js@1.336.1:
dependencies:
'@opentelemetry/api': 1.9.0
'@opentelemetry/api-logs': 0.208.0
'@opentelemetry/exporter-logs-otlp-http': 0.208.0(@opentelemetry/api@1.9.0)
'@opentelemetry/resources': 2.5.0(@opentelemetry/api@1.9.0)
'@opentelemetry/sdk-logs': 0.208.0(@opentelemetry/api@1.9.0)
'@posthog/core': 1.14.1
'@posthog/types': 1.335.5
'@posthog/core': 1.15.0
'@posthog/types': 1.336.1
core-js: 3.47.0
dompurify: 3.3.1
fflate: 0.4.8
@ -12500,9 +12500,9 @@ snapshots:
query-selector-shadow-dom: 1.0.1
web-vitals: 5.1.0
posthog-node@5.24.3:
posthog-node@5.24.4:
dependencies:
'@posthog/core': 1.14.1
'@posthog/core': 1.15.0
preact@10.28.2: {}

View file

@ -5,5 +5,3 @@ declare global {
posthog?: PostHog;
}
}
export {};