Skip to content

Fully autonomous AI Agents system capable of performing complex penetration testing tasks

chore(frontend): drop redundant-direct tiptap subs + dead vaul/drawer

Sergey Kozyrenko7315a9f99fc3
diff --git a/frontend/package.json b/frontend/package.json
index a5ba0341..33d416f9 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -44,9 +44,6 @@
"@tanstack/react-table": "^8.21.3",
"@tanstack/react-virtual": "^3.14.3",
"@tiptap/core": "^3.27.1",
- "@tiptap/extension-code": "^3.27.1",
- "@tiptap/extension-code-block": "^3.27.1",
- "@tiptap/extension-hard-break": "^3.27.1",
"@tiptap/extension-image": "^3.27.1",
"@tiptap/extension-list": "^3.27.1",
"@tiptap/extension-table": "^3.27.1",
@@ -93,7 +90,6 @@
"tailwind-merge": "^3.6.0",
"tw-animate-css": "^1.4.0",
"use-debounce": "^10.1.1",
- "vaul": "^1.1.2",
"zod": "^4.4.3"
},
"devDependencies": {
diff --git a/frontend/pnpm-lock.yaml b/frontend/pnpm-lock.yaml
index 6fdf7570..6776a54e 100644
--- a/frontend/pnpm-lock.yaml
+++ b/frontend/pnpm-lock.yaml
@@ -92,15 +92,6 @@ importers:
'@tiptap/core':
specifier: ^3.27.1
version: 3.27.1(@tiptap/[email protected])
- '@tiptap/extension-code':
- specifier: ^3.27.1
- version: 3.27.1(@tiptap/[email protected](@tiptap/[email protected]))
- '@tiptap/extension-code-block':
- specifier: ^3.27.1
- version: 3.27.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])
- '@tiptap/extension-hard-break':
- specifier: ^3.27.1
- version: 3.27.1(@tiptap/[email protected](@tiptap/[email protected]))
'@tiptap/extension-image':
specifier: ^3.27.1
version: 3.27.1(@tiptap/[email protected](@tiptap/[email protected]))
@@ -239,9 +230,6 @@ importers:
use-debounce:
specifier: ^10.1.1
version: 10.1.1([email protected])
- vaul:
- specifier: ^1.1.2
zod:
specifier: ^4.4.3
version: 4.4.3
@@ -5377,12 +5365,6 @@ packages:
resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}
- resolution: {integrity: sha512-ZFkClGpWyI2WUQjdLJ/BaGuV6AVQiJ3uELGk3OYtP+B6yCO7Cmn9vPFXVJkRaGkOJu3m8bQMgtyzNHixULceQA==}
- peerDependencies:
- react: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0.0 || ^19.0.0-rc
-
resolution: {integrity: sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==}
@@ -11196,15 +11178,6 @@ snapshots:
- dependencies:
- react: 19.2.7
- react-dom: 19.2.7([email protected])
- transitivePeerDependencies:
- - '@types/react'
- - '@types/react-dom'
-
dependencies:
'@types/unist': 3.0.3
diff --git a/frontend/src/components/ui/drawer.tsx b/frontend/src/components/ui/drawer.tsx
deleted file mode 100644
index e935dadb..00000000
--- a/frontend/src/components/ui/drawer.tsx
+++ /dev/null
@@ -1,95 +0,0 @@
-import * as React from 'react';
-import { Drawer as DrawerPrimitive } from 'vaul';
-
-import { cn } from '@/lib/utils';
-
-function Drawer({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>) {
- return (
- <DrawerPrimitive.Root
- shouldScaleBackground={shouldScaleBackground}
- {...props}
- />
- );
-}
-
-const DrawerTrigger = DrawerPrimitive.Trigger;
-
-const DrawerPortal = DrawerPrimitive.Portal;
-
-const DrawerClose = DrawerPrimitive.Close;
-
-function DrawerContent({ children, className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content>) {
- return (
- <DrawerPortal>
- <DrawerOverlay />
- <DrawerPrimitive.Content
- className={cn(
- 'bg-background fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border',
- className,
- )}
- {...props}
- >
- <div className="bg-muted mx-auto mt-4 h-2 w-[100px] rounded-full" />
- {children}
- </DrawerPrimitive.Content>
- </DrawerPortal>
- );
-}
-
-function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>) {
- return (
- <DrawerPrimitive.Description
- className={cn('text-muted-foreground text-sm', className)}
- {...props}
- />
- );
-}
-
-function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>) {
- return (
- <div
- className={cn('mt-auto flex flex-col gap-2 p-4', className)}
- {...props}
- />
- );
-}
-
-function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>) {
- return (
- <div
- className={cn('grid gap-1.5 p-4 text-center sm:text-left', className)}
- {...props}
- />
- );
-}
-
-function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>) {
- return (
- <DrawerPrimitive.Overlay
- className={cn('fixed inset-0 z-50 bg-black/80', className)}
- {...props}
- />
- );
-}
-
-function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>) {
- return (
- <DrawerPrimitive.Title
- className={cn('text-lg leading-none font-semibold tracking-tight', className)}
- {...props}
- />
- );
-}
-
-export {
- Drawer,
- DrawerClose,
- DrawerContent,
- DrawerDescription,
- DrawerFooter,
- DrawerHeader,
- DrawerOverlay,
- DrawerPortal,
- DrawerTitle,
- DrawerTrigger,
-};