⚡ Project management that doesn't become the project. Boards, Gantt charts, and GitHub integration. Self-host it or use Kaneo Cloud.
TypeScript honoissue-managementissue-trackerjira-alternativekanbanlinear-alternativemcpproject-managementreactself-hostedtypescript
Version 2 (#570)
Andrejd2af903911a2
diff --git a/.env.sample b/.env.samplenew file mode 100644index 000000000..2bc156a0d--- /dev/null+++ b/.env.sample@@ -0,0 +1,27 @@+# General URLs+KANEO_CLIENT_URL=+KANEO_API_URL=++# Database+DATABASE_URL=+POSTGRES_DB=kaneo+POSTGRES_USER=kaneo+POSTGRES_PASSWORD=++# Authentication+AUTH_SECRET=++# GitHub SSO & Integration+GITHUB_CLIENT_ID=+GITHUB_CLIENT_SECRET=+GITHUB_APP_ID=+GITHUB_WEBHOOK_SECRET=+GITHUB_PRIVATE_KEY=++# SMTP Configuration+SMTP_HOST=+SMTP_PORT=+SMTP_SECURE=+SMTP_USER=+SMTP_PASSWORD=+SMTP_FROM=\ No newline at end of filediff --git a/.github/dependabot.yml b/.github/dependabot.ymlindex f55e5fa94..ee88bfabd 100644--- a/.github/dependabot.yml+++ b/.github/dependabot.yml@@ -14,3 +14,13 @@ updates:directory: "/packages/libs"schedule:interval: "weekly"++ - package-ecosystem: "npm"+ directory: "/packages/email"+ schedule:+ interval: "weekly"++ - package-ecosystem: "npm"+ directory: "/apps/docs"+ schedule:+ interval: "weekly"\ No newline at end of filediff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 67d2a7c04..c6e9f107a 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -12,6 +12,6 @@ jobs:- name: Setup Biomeuses: biomejs/setup-biome@v2with:- version: 1.9.4+ version: 2.0.6- name: Run Biomerun: biome ci .diff --git a/.gitignore b/.gitignoreindex a1ba7e43f..3d978e52a 100644--- a/.gitignore+++ b/.gitignore@@ -38,4 +38,7 @@ yarn-error.log**.pem# DB-*.db\ No newline at end of file+*.db++# Cache+.cache/\ No newline at end of filediff --git a/.husky/pre-commit b/.husky/pre-commitindex 53d355e53..b0fb3fe8f 100644--- a/.husky/pre-commit+++ b/.husky/pre-commit@@ -1,2 +1,2 @@-pnpm dlx @biomejs/[email protected] ci .+pnpm dlx @biomejs/[email protected] ci .pnpm run build\ No newline at end of filediff --git a/CHANGELOG.md b/CHANGELOG.mdindex 76e1f5e2d..00125610c 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -1,3 +1,45 @@+## [2.0.1-beta.2](https://github.com/usekaneo/kaneo/compare/v1.2.4...v2.0.1-beta.2) (2025-10-01)+++### Bug Fixes++* adjust button margin in sign-up form for improved layout ([dc8db99](https://github.com/usekaneo/kaneo/commit/dc8db99dd1485bf84c426bfd04f18b3f96eb6e7e))+* merge conflicts, route gen ([4838df3](https://github.com/usekaneo/kaneo/commit/4838df30f5d51e7c9374f277bce9dd1b39f3b1c4))+* preserve formatting when copy/pasting in new task modal ([#432](https://github.com/usekaneo/kaneo/issues/432)) ([#481](https://github.com/usekaneo/kaneo/issues/481)) ([b105d43](https://github.com/usekaneo/kaneo/commit/b105d43d0d90f434c573999c9961fd5ac9b8e8e9))+* update active item styles in navigation components and adjust sign-in callback URL ([c73e8e4](https://github.com/usekaneo/kaneo/commit/c73e8e44c3793727abc4e17128b11166b038af61))+* update email placeholder in sign-in and sign-up forms for consistency ([564f6a6](https://github.com/usekaneo/kaneo/commit/564f6a6bf0a5d5ace9ce8537ae5343e8ce36bac9))+++### Features++* add animation classes and keyframes for enhanced UI transitions in CSS ([220cce7](https://github.com/usekaneo/kaneo/commit/220cce723f4c5ec043cd04093b60ec7f8e074dc5))+* add environment configuration and update service definitions for local development ([273a7ce](https://github.com/usekaneo/kaneo/commit/273a7ce02757cc7dd817a5e8e66a17db4deab33e))+* add GitHub sign-in support with environment variable configuration ([0fc8528](https://github.com/usekaneo/kaneo/commit/0fc8528cb762b442042f909733a3e61a68df0718))+* add health check endpoint and update Dockerfile health check command ([aedc019](https://github.com/usekaneo/kaneo/commit/aedc0193ae76d66e6207f421ed19d2a6c40f1dfd))+* add label filtering support to task management, enhancing task visibility and organization ([880572f](https://github.com/usekaneo/kaneo/commit/880572fd1e62366ac01d4fad8e1b2d5b7ad13a21))+* add task management popovers for assignee, due date, priority, and status ([87ae386](https://github.com/usekaneo/kaneo/commit/87ae3866d36be88a4668f81c78af7b2bfdea969e))+* add team and team_member tables, enhance invitation and label tables with new columns, and implement foreign key constraints ([3e174e6](https://github.com/usekaneo/kaneo/commit/3e174e63ba8a6cb2ed31de89fe1f96d8b6e54006))+* add user avatar component and enhance sidebar navigation with workspace switcher ([3b3b9a3](https://github.com/usekaneo/kaneo/commit/3b3b9a3524019a201428d030d6a051a5cbd6932c))+* better auth integration ([#466](https://github.com/usekaneo/kaneo/issues/466)) ([91bb9c2](https://github.com/usekaneo/kaneo/commit/91bb9c2a86c25fddb34fff7b589f9684d945b184))+* enhance email invitation functionality ([cd84548](https://github.com/usekaneo/kaneo/commit/cd84548de2fc68d66eb1356ef331affe762abfb9))+* enhance sidebar navigation with search functionality and UI improvements ([9dacada](https://github.com/usekaneo/kaneo/commit/9dacada90616ce2527011cf984918b0e9cc57bff))+* enhance task labels functionality with deduplication and improved filtering in the board view ([ea8cca3](https://github.com/usekaneo/kaneo/commit/ea8cca302e91fe7153367ff48adb3235cb682b6e))+* enhance task management with activity tracking and updates for assignee, priority, and status ([f37b975](https://github.com/usekaneo/kaneo/commit/f37b975bf2219a22d2199f1d7d59a791590f75e3))+* implement due date update functionality in task management with associated activity tracking ([e177a46](https://github.com/usekaneo/kaneo/commit/e177a4650440ccaa1d7b18697e17027714780849))+* implement magic link authentication and email sending functionality ([90139d7](https://github.com/usekaneo/kaneo/commit/90139d7ce4f88e3113dacea4735d7062b7114fb6))+* implement onboarding flow and update routing ([#469](https://github.com/usekaneo/kaneo/issues/469)) ([6f7057b](https://github.com/usekaneo/kaneo/commit/6f7057b13fa8817f1a00b3a05cd008de913ff6b7))+* implement password hashing and verification using bcrypt in authentication ([17cce57](https://github.com/usekaneo/kaneo/commit/17cce57dbcba0465f447b5b8c927b892c084c36e))+* implement team and label management features in the database schema and API ([6864ec9](https://github.com/usekaneo/kaneo/commit/6864ec9e3e06dedf69e9585d0089975fe228538a))+* initial docs refactor ([cfd92f4](https://github.com/usekaneo/kaneo/commit/cfd92f401b35ed0414242fdf9ba2a9439916af60))+* initial task details page ([43fe59a](https://github.com/usekaneo/kaneo/commit/43fe59ad88bfba18912e0d3979cded8f5b2cb74f))+* integrate rich text editing for task description and title with improved state management ([27d0413](https://github.com/usekaneo/kaneo/commit/27d041337e753c191da10f77080b08ee245e15de))+* migrates web to use auth client organization methods ([5ec4d28](https://github.com/usekaneo/kaneo/commit/5ec4d283b52d1fd8a1eb2645b768898158aee0f6))+* refactor create task modal with new task description editor and enhanced label management ([7649ac0](https://github.com/usekaneo/kaneo/commit/7649ac06e87835e2bbbe84031c0ca274bee96558))+* update dependencies and enhance documentation layout with new features section ([bd6d9b9](https://github.com/usekaneo/kaneo/commit/bd6d9b9b8dffbb7a22079f6530d062fb91445ae3))+* update environment configuration and integrate dotenv-mono for improved variable management ([ffcb482](https://github.com/usekaneo/kaneo/commit/ffcb4821256cef46e34c39ab94c678700175bd1d))+++## [1.2.4](https://github.com/usekaneo/kaneo/compare/v1.2.3...v1.2.4) (2025-08-17)diff --git a/README.md b/README.mdindex 733cef852..066715206 100644--- a/README.md+++ b/README.md@@ -1,11 +1,9 @@<p align="center"><a href="https://kaneo.app">- <img src="https://assets.kaneo.app/logo-mono-rounded.png" alt="Kaneo's logo" width="200" />+ <img src="https://assets.kaneo.app/logo-text.png" alt="Kaneo's logo" width="300" /></a></p>-<h1 align="center">Kaneo</h1>-<div align="center">[](LICENSE)@@ -20,17 +18,23 @@<span> | </span><a href="https://kaneo.app">Website</a><span> | </span>- <a href="https://demo.kaneo.app">Demo</a>+ <a href="https://cloud.kaneo.app">Cloud (free)</a><span> | </span><a href="https://discord.gg/rU4tSyhXXU">Discord</a></h3></div>-<p align="center">A modern, self-hosted project management platform that gets out of your way.</p>+<h1 align="center">All you need. Nothing you don't.</h1>++<p align="center">Project management that gets out of your way so you can focus on building great products.</p>## Why Kaneo?-We built Kaneo because existing project management tools either feel bloated with features you'll never use, or they're too simple to handle real work. Kaneo finds the sweet spot—powerful enough for complex projects, simple enough that you'll actually want to use it.+After years of using bloated, overcomplicated project management platforms that distracted from actual work, we built Kaneo to be different.++The problem with most tools isn't that they lack features—it's that they have **too many**. Every notification, every unnecessary button, every complex workflow pulls your team away from what matters: **building great products**.++We believe the best tools are **invisible**. They should amplify your team's natural workflow, not force you to adapt to theirs. Kaneo is built on the principle that **less is more**—every feature exists because it solves a real problem, not because it looks impressive in a demo.**What makes it different:**- **Clean interface** that focuses on your work, not the tool@@ -38,6 +42,8 @@ We built Kaneo because existing project management tools either feel bloated wit- **Actually fast** because we care about performance- **Open source** and free forever+Learn more about Kaneo's features and capabilities in our [documentation](https://kaneo.app/docs).+## Getting Started### Quick Start with Docker Compose@@ -48,42 +54,48 @@ The fastest way to try Kaneo is with Docker Compose. This sets up the API, web iservices:postgres:image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password+ env_file:+ - .env+ ports:+ - "5432:5432"volumes:- postgres_data:/var/lib/postgresql/datarestart: unless-stopped+ healthcheck:+ test: ["CMD-SHELL", "pg_isready -U kaneo -d kaneo"]+ interval: 10s+ timeout: 5s+ retries: 5- backend:+ api:image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your-secret-key-here"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"ports:- - 1337:1337+ - "1337:1337"+ env_file:+ - .envdepends_on:- - postgres+ postgres:+ condition: service_healthyrestart: unless-stopped- frontend:+ web:image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://localhost:1337"ports:- - 5173:5173+ - "5173:5173"+ env_file:+ - .envdepends_on:- - backend+ - apirestart: unless-stoppedvolumes:postgres_data:+ name: kaneo_postgres_data```-Save this as `compose.yml`, run `docker compose up -d`, and open [http://localhost:5173](http://localhost:5173).+Save this as `compose.yml`, create a `.env` file with your configuration (see [Configuration Options](#configuration-options) below), run `docker compose up -d`, and open [http://localhost:5173](http://localhost:5173).-> **Quick tip:** Change `JWT_ACCESS` to something secure in production. This is used to sign authentication tokens.+> **Important:** See our [full documentation](https://kaneo.app/docs) for detailed setup instructions, environment variable configuration, and troubleshooting guides.### Development Setup@@ -91,13 +103,20 @@ For development, see our [Environment Setup Guide](ENVIRONMENT_SETUP.md) for det### Configuration Options+Here are the essential environment variables you'll need in your `.env` file:+| Variable | What it does | Default || -------- | ------------ | ------- || `KANEO_API_URL` | Where the web app finds the API | Required || `JWT_ACCESS` | Secret key for user authentication | Required || `DATABASE_URL` | PostgreSQL connection string | Required |+| `POSTGRES_DB` | PostgreSQL database name | `kaneo` |+| `POSTGRES_USER` | PostgreSQL username | Required |+| `POSTGRES_PASSWORD` | PostgreSQL password | Required || `DISABLE_REGISTRATION` | Block new user signups | `true` |+For a complete list of configuration options and advanced settings, see the [full documentation](https://kaneo.app/docs).+### Database SetupKaneo uses PostgreSQL for data storage. The Docker Compose setup above handles this automatically, but if you're running Kaneo outside of Docker, or if you are using an external postgres database, you'll need to:@@ -119,38 +138,11 @@ Kaneo uses PostgreSQL for data storage. The Docker Compose setup above handles texport DATABASE_URL="postgresql://kaneo_user:your_password@localhost:5432/kaneo"```-## Kubernetes Deployment--If you're running Kubernetes, we have a Helm chart that handles the complexity:--```bash-# Clone the repo-git clone https://github.com/usekaneo/kaneo.git-cd kaneo--# Install with Helm-helm install kaneo ./charts/kaneo --namespace kaneo --create-namespace--# Access locally-kubectl port-forward svc/kaneo-web 5173:5173 -n kaneo-```--Open [http://localhost:5173](http://localhost:5173) and you're good to go.--### Production Setup--For real deployments, you'll want proper ingress:+For more database configuration options and troubleshooting, visit the [documentation](https://kaneo.app/docs).-```bash-helm install kaneo ./charts/kaneo \- --namespace kaneo \- --create-namespace \- --set ingress.enabled=true \- --set ingress.className=nginx \- --set "ingress.hosts[0].host=pm.yourcompany.com"-```+## Kubernetes Deployment-Check the [Helm chart docs](./charts/kaneo/README.md) for TLS setup, cert-manager integration, and other production considerations.+If you're running Kubernetes, we provide a comprehensive Helm chart. Check out the [Helm chart documentation](./charts/kaneo/README.md) for detailed installation instructions, production configuration examples, TLS setup, and more.## Development@@ -174,21 +166,13 @@ cp apps/web/.env.sample apps/web/.envpnpm dev```-## Migration from SQLite--If you're upgrading from a previous version that used SQLite, you'll need to migrate your data to PostgreSQL. We recommend:--1. **Export your data** from the old SQLite database-2. **Set up PostgreSQL** using the new Docker Compose configuration-3. **Import your data** into the new PostgreSQL database--Contact us on [Discord](https://discord.gg/rU4tSyhXXU) if you need help with the migration process.+For contributing guidelines, code structure, and development best practices, check out our [contributing guide](CONTRIBUTING.md) and [documentation](https://kaneo.app/docs).## Community- **[Discord](https://discord.gg/rU4tSyhXXU)** - Chat with users and contributors- **[GitHub Issues](https://github.com/usekaneo/kaneo/issues)** - Bug reports and feature requests-- **[Documentation](https://kaneo.app/quick-start)** - Detailed guides and API docs+- **[Documentation](https://kaneo.app/docs)** - Detailed guides, API docs, and tutorials## Contributingdiff --git a/apps/api/.env.sample b/apps/api/.env.sampledeleted file mode 100644index 82054d808..000000000--- a/apps/api/.env.sample+++ /dev/null@@ -1,36 +0,0 @@-# Database Configuration-# PostgreSQL connection string-DATABASE_URL=postgresql://kaneo_user:kaneo_password@localhost:5432/kaneo--# JWT Configuration-# Secret key for JWT token generation (change this in production!)-JWT_ACCESS=your-development-secret-here--# Application Settings-# Disable new user registration (set to "true" to disable)-DISABLE_REGISTRATION=false--# Enable demo mode for testing (set to "true" to enable)-DEMO_MODE=false--# GitHub Integration (Optional)-# GitHub App ID for repository integration-GITHUB_APP_ID=--# GitHub App Private Key (PEM format)-GITHUB_PRIVATE_KEY=--# GitHub App Webhook Secret-GITHUB_WEBHOOK_SECRET=--# GitHub App Name (used for installation URLs)-GITHUB_APP_NAME=--# CORS Configuration-# Comma-separated list of allowed origins (optional, defaults to "*")-# Example: CORS_ORIGINS=http://localhost:3000,https://yourdomain.com-CORS_ORIGINS=--# Server Configuration-# Port for the API server (default: 1337)-PORT=1337diff --git a/apps/api/Dockerfile b/apps/api/Dockerfileindex a0792fc0f..48c57004d 100644--- a/apps/api/Dockerfile+++ b/apps/api/Dockerfile@@ -3,14 +3,15 @@ FROM --platform=$BUILDPLATFORM node:20-alpine AS builder# Install build dependencies in a single layerRUN apk add --no-cache python3 make g++ && \- corepack enable && \- corepack prepare [email protected] --activate+ corepack enable && \+ corepack prepare [email protected] --activateWORKDIR /app# Copy only package files first for better cachingCOPY pnpm-workspace.yaml package.json pnpm-lock.yaml ./COPY packages/typescript-config/package.json ./packages/typescript-config/+COPY packages/email/package.json ./packages/email/COPY packages/libs/package.json ./packages/libs/COPY apps/api/package.json ./apps/api/@@ -19,22 +20,27 @@ RUN pnpm install --frozen-lockfile# Copy source filesCOPY packages/typescript-config ./packages/typescript-config+COPY packages/email ./packages/emailCOPY packages/libs ./packages/libsCOPY apps/api ./apps/api-# Fix TypeScript config and build in one layer+# Build email package first+WORKDIR /app/packages/email+RUN pnpm run build++# Fix TypeScript config and build APIWORKDIR /app/apps/apiRUN sed -i 's/"extends": "@kaneo\/typescript-config\/base.json"/"extends": "..\/..\/packages\/typescript-config\/base.json"/g' /app/apps/api/tsconfig.json && \- pnpm run build+ pnpm run build# Production stage - use specific version tag without SHA256FROM node:20.12-alpine AS runtime# Set up user in a single layerRUN addgroup -g 1001 appuser && \- adduser -u 1001 -G appuser -D appuser && \- mkdir -p /app/apps/api/data && \- chown -R appuser:appuser /app+ adduser -u 1001 -G appuser -D appuser && \+ mkdir -p /app/apps/api/data && \+ chown -R appuser:appuser /appWORKDIR /app@@ -43,16 +49,18 @@ COPY --from=builder /app/package.json /app/pnpm-lock.yaml /app/pnpm-workspace.yaCOPY --from=builder /app/apps/api/package.json ./apps/api/COPY --from=builder /app/packages/typescript-config/package.json ./packages/typescript-config/COPY --from=builder /app/packages/libs/package.json ./packages/libs/+COPY --from=builder /app/packages/email/package.json ./packages/email/# Install production dependencies onlyRUN sed -i 's/"prepare": "husky"/"prepare": ""/g' package.json && \- corepack enable && \- corepack prepare [email protected] --activate && \- HUSKY=0 NODE_ENV=production pnpm install --prod --frozen-lockfile --no-optional+ corepack enable && \+ corepack prepare [email protected] --activate && \+ HUSKY=0 NODE_ENV=production pnpm install --prod --frozen-lockfile --no-optional# Copy built filesCOPY --from=builder /app/apps/api/dist ./apps/api/distCOPY --from=builder /app/apps/api/drizzle ./apps/api/drizzle+COPY --from=builder /app/packages/email ./packages/email# Set environment variablesENV NODE_ENV=production@@ -64,6 +72,6 @@ EXPOSE 1337# Add health checkHEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \- CMD wget --no-verbose --tries=1 --spider http://localhost:1337/me || exit 1+ CMD wget --no-verbose --tries=1 --spider http://localhost:1337/health || exit 1-CMD ["node", "--enable-source-maps", "dist/index.js"]\ No newline at end of file+CMD ["node", "--enable-source-maps", "dist/index.js"]diff --git a/apps/api/drizzle.config.ts b/apps/api/drizzle.config.tsindex 3b61bef09..9e41ad886 100644--- a/apps/api/drizzle.config.ts+++ b/apps/api/drizzle.config.ts@@ -1,7 +1,7 @@-import dotenv from "dotenv";+import { config } from "dotenv-mono";import { type Config, defineConfig } from "drizzle-kit";-dotenv.config();+config();export default defineConfig({out: "./drizzle",diff --git a/apps/api/drizzle/0003_round_human_fly.sql b/apps/api/drizzle/0003_round_human_fly.sqlindex cecc4ec05..27e90f4ce 100644--- a/apps/api/drizzle/0003_round_human_fly.sql+++ b/apps/api/drizzle/0003_round_human_fly.sql@@ -41,78 +41,209 @@ ALTER TABLE "workspace" DROP CONSTRAINT "workspace_owner_email_user_email_fk";--> statement-breakpointALTER TABLE "workspace_member" DROP CONSTRAINT "workspace_member_workspace_id_workspace_id_fk";--> statement-breakpoint--- Add session columns for better-auth-ALTER TABLE "session" ADD COLUMN "token" text NOT NULL;--> statement-breakpoint-ALTER TABLE "session" ADD COLUMN "created_at" timestamp DEFAULT now() NOT NULL;--> statement-breakpoint-ALTER TABLE "session" ADD COLUMN "updated_at" timestamp DEFAULT now() NOT NULL;--> statement-breakpoint-ALTER TABLE "session" ADD COLUMN "ip_address" text;--> statement-breakpoint-ALTER TABLE "session" ADD COLUMN "user_agent" text;--> statement-breakpoint--- Add user columns for better-auth (nullable first)-ALTER TABLE "user" ADD COLUMN "email_verified" boolean;--> statement-breakpoint--- Update existing users with default value-UPDATE "user" SET "email_verified" = false WHERE "email_verified" IS NULL;--> statement-breakpoint--- Make email_verified NOT NULL-ALTER TABLE "user" ALTER COLUMN "email_verified" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "user" ADD COLUMN "image" text;--> statement-breakpoint--- Add user updated_at column as nullable first-ALTER TABLE "user" ADD COLUMN "updated_at" timestamp;--> statement-breakpoint--- Update existing users with default value-UPDATE "user" SET "updated_at" = NOW() WHERE "updated_at" IS NULL;--> statement-breakpoint--- Make updated_at NOT NULL-ALTER TABLE "user" ALTER COLUMN "updated_at" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "user" ADD COLUMN "is_anonymous" boolean;--> statement-breakpoint--- Convert activity.user_email to activity.user_id-ALTER TABLE "activity" ADD COLUMN "user_id" text;--> statement-breakpoint-UPDATE "activity" SET "user_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "activity"."user_email"-) WHERE "user_id" IS NULL;--> statement-breakpoint-ALTER TABLE "activity" ALTER COLUMN "user_id" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "activity" DROP COLUMN "user_email";--> statement-breakpoint--- Convert notification.user_email to notification.user_id-ALTER TABLE "notification" ADD COLUMN "user_id" text;--> statement-breakpoint-UPDATE "notification" SET "user_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "notification"."user_email"-) WHERE "user_id" IS NULL;--> statement-breakpoint-ALTER TABLE "notification" ALTER COLUMN "user_id" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "notification" DROP COLUMN "user_email";--> statement-breakpoint--- Convert task.assignee_email to task.assignee_id-ALTER TABLE "task" ADD COLUMN "assignee_id" text;--> statement-breakpoint-UPDATE "task" SET "assignee_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "task"."assignee_email"-) WHERE "assignee_email" IS NOT NULL AND "assignee_id" IS NULL;--> statement-breakpoint-ALTER TABLE "task" DROP COLUMN "assignee_email";--> statement-breakpoint--- Convert time_entry.user_email to time_entry.user_id-ALTER TABLE "time_entry" ADD COLUMN "user_id" text;--> statement-breakpoint-UPDATE "time_entry" SET "user_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "time_entry"."user_email"-) WHERE "user_email" IS NOT NULL AND "user_id" IS NULL;--> statement-breakpoint-ALTER TABLE "time_entry" DROP COLUMN "user_email";--> statement-breakpoint--- Convert workspace.owner_email to workspace.owner_id-ALTER TABLE "workspace" ADD COLUMN "owner_id" text;--> statement-breakpoint-UPDATE "workspace" SET "owner_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "workspace"."owner_email"-) WHERE "owner_id" IS NULL;--> statement-breakpoint-ALTER TABLE "workspace" ALTER COLUMN "owner_id" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "workspace" DROP COLUMN "owner_email";--> statement-breakpoint--- Convert workspace_member.user_email to workspace_member.user_id-ALTER TABLE "workspace_member" ADD COLUMN "user_id" text;--> statement-breakpoint-UPDATE "workspace_member" SET "user_id" = (- SELECT u.id- FROM "user" u- WHERE u.email = "workspace_member"."user_email"-) WHERE "user_id" IS NULL;--> statement-breakpoint-ALTER TABLE "workspace_member" ALTER COLUMN "user_id" SET NOT NULL;--> statement-breakpoint-ALTER TABLE "workspace_member" DROP COLUMN "user_email";--> statement-breakpoint+-- Add session columns for better-auth (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'session' AND column_name = 'token') THEN+ ALTER TABLE "session" ADD COLUMN "token" text NOT NULL DEFAULT '';+ ALTER TABLE "session" ALTER COLUMN "token" DROP DEFAULT;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'session' AND column_name = 'created_at') THEN+ ALTER TABLE "session" ADD COLUMN "created_at" timestamp DEFAULT now() NOT NULL;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'session' AND column_name = 'updated_at') THEN+ ALTER TABLE "session" ADD COLUMN "updated_at" timestamp DEFAULT now() NOT NULL;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'session' AND column_name = 'ip_address') THEN+ ALTER TABLE "session" ADD COLUMN "ip_address" text;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'session' AND column_name = 'user_agent') THEN+ ALTER TABLE "session" ADD COLUMN "user_agent" text;+ END IF;+END $$;--> statement-breakpoint+-- Add user columns for better-auth (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user' AND column_name = 'email_verified') THEN+ ALTER TABLE "user" ADD COLUMN "email_verified" boolean DEFAULT false NOT NULL;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user' AND column_name = 'image') THEN+ ALTER TABLE "user" ADD COLUMN "image" text;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user' AND column_name = 'updated_at') THEN+ ALTER TABLE "user" ADD COLUMN "updated_at" timestamp DEFAULT now() NOT NULL;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'user' AND column_name = 'is_anonymous') THEN+ ALTER TABLE "user" ADD COLUMN "is_anonymous" boolean;+ END IF;+END $$;--> statement-breakpoint+-- Convert activity.user_email to activity.user_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'activity' AND column_name = 'user_id') THEN+ ALTER TABLE "activity" ADD COLUMN "user_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'activity' AND column_name = 'user_email') THEN+ UPDATE "activity" SET "user_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "activity"."user_email"+ ) WHERE "user_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+DELETE FROM "activity" WHERE "user_id" IS NULL;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'activity' AND column_name = 'user_id' AND is_nullable = 'YES') THEN+ ALTER TABLE "activity" ALTER COLUMN "user_id" SET NOT NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'activity' AND column_name = 'user_email') THEN+ ALTER TABLE "activity" DROP COLUMN "user_email";+ END IF;+END $$;--> statement-breakpoint+-- Convert notification.user_email to notification.user_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'notification' AND column_name = 'user_id') THEN+ ALTER TABLE "notification" ADD COLUMN "user_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'notification' AND column_name = 'user_email') THEN+ UPDATE "notification" SET "user_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "notification"."user_email"+ ) WHERE "user_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+DELETE FROM "notification" WHERE "user_id" IS NULL;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'notification' AND column_name = 'user_id' AND is_nullable = 'YES') THEN+ ALTER TABLE "notification" ALTER COLUMN "user_id" SET NOT NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'notification' AND column_name = 'user_email') THEN+ ALTER TABLE "notification" DROP COLUMN "user_email";+ END IF;+END $$;--> statement-breakpoint+-- Convert task.assignee_email to task.assignee_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'task' AND column_name = 'assignee_id') THEN+ ALTER TABLE "task" ADD COLUMN "assignee_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'task' AND column_name = 'assignee_email') THEN+ UPDATE "task" SET "assignee_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "task"."assignee_email"+ ) WHERE "assignee_email" IS NOT NULL AND "assignee_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'task' AND column_name = 'assignee_email') THEN+ ALTER TABLE "task" DROP COLUMN "assignee_email";+ END IF;+END $$;--> statement-breakpoint+-- Convert time_entry.user_email to time_entry.user_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'time_entry' AND column_name = 'user_id') THEN+ ALTER TABLE "time_entry" ADD COLUMN "user_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'time_entry' AND column_name = 'user_email') THEN+ UPDATE "time_entry" SET "user_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "time_entry"."user_email"+ ) WHERE "user_email" IS NOT NULL AND "user_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'time_entry' AND column_name = 'user_email') THEN+ ALTER TABLE "time_entry" DROP COLUMN "user_email";+ END IF;+END $$;--> statement-breakpoint+-- Convert workspace.owner_email to workspace.owner_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace' AND column_name = 'owner_id') THEN+ ALTER TABLE "workspace" ADD COLUMN "owner_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace' AND column_name = 'owner_email') THEN+ UPDATE "workspace" SET "owner_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "workspace"."owner_email"+ ) WHERE "owner_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+DELETE FROM "workspace" WHERE "owner_id" IS NULL;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace' AND column_name = 'owner_id' AND is_nullable = 'YES') THEN+ ALTER TABLE "workspace" ALTER COLUMN "owner_id" SET NOT NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace' AND column_name = 'owner_email') THEN+ ALTER TABLE "workspace" DROP COLUMN "owner_email";+ END IF;+END $$;--> statement-breakpoint+-- Convert workspace_member.user_email to workspace_member.user_id (idempotent)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace_member' AND column_name = 'user_id') THEN+ ALTER TABLE "workspace_member" ADD COLUMN "user_id" text;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace_member' AND column_name = 'user_email') THEN+ UPDATE "workspace_member" SET "user_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "workspace_member"."user_email"+ ) WHERE "user_id" IS NULL;+ END IF;+END $$;--> statement-breakpoint+-- Clean up any remaining NULL values before setting NOT NULL+DELETE FROM "workspace_member" WHERE "user_id" IS NULL;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace_member' AND column_name = 'user_id' AND is_nullable = 'YES') THEN+ ALTER TABLE "workspace_member" ALTER COLUMN "user_id" SET NOT NULL;+ END IF;+END $$;--> statement-breakpoint+DO $$+BEGIN+ IF EXISTS (SELECT 1 FROM information_schema.columns WHERE table_name = 'workspace_member' AND column_name = 'user_email') THEN+ ALTER TABLE "workspace_member" DROP COLUMN "user_email";+ END IF;+END $$;--> statement-breakpoint-- Migrate existing passwords to account table before dropping user.passwordINSERT INTO "account" ("id",diff --git a/apps/api/drizzle/0004_curved_stingray.sql b/apps/api/drizzle/0004_curved_stingray.sqlnew file mode 100644index 000000000..848df0b38--- /dev/null+++ b/apps/api/drizzle/0004_curved_stingray.sql@@ -0,0 +1,201 @@+-- =================================================================+-- Setup: Ensure required tables and constraints are handled idempotently+-- =================================================================++-- Create invitation table if it doesn't exist+CREATE TABLE IF NOT EXISTS "invitation" (+ "id" text PRIMARY KEY NOT NULL,+ "workspace_id" text NOT NULL,+ "email" text NOT NULL,+ "role" text,+ "team_id" text, -- This column exists from your previous snippet.+ "status" text DEFAULT 'pending' NOT NULL,+ "expires_at" timestamp NOT NULL,+ "inviter_id" text NOT NULL+);++-- Create team_member table if it doesn't exist+CREATE TABLE IF NOT EXISTS "team_member" (+ "id" text PRIMARY KEY NOT NULL,+ "team_id" text NOT NULL,+ "user_id" text NOT NULL,+ "created_at" timestamp+);++-- Create team table if it doesn't exist+CREATE TABLE IF NOT EXISTS "team" (+ "id" text PRIMARY KEY NOT NULL,+ "name" text NOT NULL,+ "workspace_id" text NOT NULL,+ "created_at" timestamp NOT NULL,+ "updated_at" timestamp+);++-- Add unique constraint for workspace_member (needed for UPSERT)+-- This needs to be done before the INSERT with ON CONFLICT.+DO $$+BEGIN+ IF NOT EXISTS (+ SELECT 1 FROM pg_catalog.pg_constraint+ WHERE conname = 'workspace_member_workspace_id_user_id_unique'+ AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')+ AND conrelid = 'workspace_member'::regclass+ ) THEN+ ALTER TABLE "workspace_member"+ ADD CONSTRAINT "workspace_member_workspace_id_user_id_unique"+ UNIQUE ("workspace_id", "user_id");+ END IF;+END $$;++-- Add foreign key constraints idempotently+DO $$+BEGIN+ -- For invitation table+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'invitation_workspace_id_workspace_id_fk' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "invitation" ADD CONSTRAINT "invitation_workspace_id_workspace_id_fk" FOREIGN KEY ("workspace_id") REFERENCES "public"."workspace"("id") ON DELETE CASCADE;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'invitation_inviter_id_user_id_fk' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "invitation" ADD CONSTRAINT "invitation_inviter_id_user_id_fk" FOREIGN KEY ("inviter_id") REFERENCES "public"."user"("id") ON DELETE CASCADE;+ END IF;++ -- For team tables+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'team_workspace_id_workspace_id_fk' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "team" ADD CONSTRAINT "team_workspace_id_workspace_id_fk" FOREIGN KEY ("workspace_id") REFERENCES "public"."workspace"("id") ON DELETE CASCADE;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'team_member_team_id_team_id_fk' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "team_member" ADD CONSTRAINT "team_member_team_id_team_id_fk" FOREIGN KEY ("team_id") REFERENCES "public"."team"("id") ON DELETE CASCADE;+ END IF;+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'team_member_user_id_user_id_fk' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "team_member" ADD CONSTRAINT "team_member_user_id_user_id_fk" FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE CASCADE;+ END IF;+END $$;+++-- =================================================================+-- Data Migration: Persist owners and convert pending members to invites+-- =================================================================++-- Clean up potential duplicates in workspace_member before applying unique constraint+-- This MUST run before the ON CONFLICT DML if the constraint doesn't exist yet,+-- or if it was dropped and re-added. If the constraint already exists and is enforced,+-- this step would be necessary *before* attempting to create the constraint.+-- Since we're handling constraint creation idempotently above, this DELETE is safe.+DO $$+BEGIN+ -- Check if the constraint exists before attempting the delete to avoid errors if it's already in place+ IF EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'workspace_member_workspace_id_user_id_unique' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ DELETE FROM "workspace_member"+ WHERE id NOT IN (+ SELECT DISTINCT ON (workspace_id, user_id) id+ FROM "workspace_member"+ ORDER BY workspace_id, user_id, joined_at DESC+ );+ END IF;+END $$;+++-- Part A: Migrate existing workspace owners to workspace_member roles.+-- Uses ON CONFLICT to safely handle cases where an owner might already be a member.+INSERT INTO "workspace_member" (+ id,+ workspace_id,+ user_id,+ role,+ status,+ joined_at+)+SELECT+ gen_random_uuid()::text,+ w.id,+ w.owner_id,+ 'owner',+ 'active', -- Assuming existing owners are active members+ NOW()+FROM+ "workspace" w+WHERE+ w.owner_id IS NOT NULL+ON CONFLICT (workspace_id, user_id)+DO UPDATE SET+ role = 'owner', -- Ensure owner role is set even if they were a different role before+ status = 'active'; -- Ensure status is active++-- Part B: Migrate existing "pending" workspace_members to the invitation table.+-- This should happen after Part A so we can correctly assign inviter_id.+INSERT INTO "invitation" (+ id,+ workspace_id,+ email,+ role,+ status,+ expires_at,+ inviter_id+)+SELECT+ gen_random_uuid()::text,+ wm.workspace_id,+ u.email,+ wm.role, -- Carry over the role if it was defined in workspace_member+ 'pending',+ NOW() + INTERVAL '1 month', -- Set an expiry for the invitation+ COALESCE(+ (SELECT user_id FROM workspace_member owner WHERE owner.workspace_id = wm.workspace_id AND owner.role = 'owner' LIMIT 1),+ (SELECT id FROM "user" LIMIT 1) -- Fallback: use the first user if no owner is found for this workspace yet+ )+FROM+ "workspace_member" wm+JOIN+ "user" u ON wm.user_id = u.id+WHERE+ wm.status = 'pending'+ON CONFLICT DO NOTHING; -- Safely avoid inserting duplicates if the migration runs again+++-- =================================================================+-- Schema Alterations: Add/Drop Columns and Constraints+-- =================================================================++DO $$+BEGIN+ -- Add new columns to existing tables (using IF NOT EXISTS logic with pg_attribute)+ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'session'::regclass AND attname = 'active_workspace_id' AND NOT attisdropped) THEN+ ALTER TABLE "session" ADD COLUMN "active_workspace_id" text;+ END IF;++ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'session'::regclass AND attname = 'active_team_id' AND NOT attisdropped) THEN+ ALTER TABLE "session" ADD COLUMN "active_team_id" text;+ END IF;++ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'workspace'::regclass AND attname = 'slug' AND NOT attisdropped) THEN+ ALTER TABLE "workspace" ADD COLUMN "slug" text;+ END IF;++ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'workspace'::regclass AND attname = 'logo' AND NOT attisdropped) THEN+ ALTER TABLE "workspace" ADD COLUMN "logo" text;+ END IF;++ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'workspace'::regclass AND attname = 'metadata' AND NOT attisdropped) THEN+ ALTER TABLE "workspace" ADD COLUMN "metadata" text;+ END IF;++ IF NOT EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'invitation'::regclass AND attname = 'team_id' AND NOT attisdropped) THEN+ ALTER TABLE "invitation" ADD COLUMN "team_id" text;+ END IF;++ -- Drop columns (using IF EXISTS logic with pg_attribute)+ IF EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'workspace'::regclass AND attname = 'owner_id' AND NOT attisdropped) THEN+ ALTER TABLE "workspace" DROP COLUMN "owner_id";+ END IF;++ IF EXISTS (SELECT 1 FROM pg_attribute WHERE attrelid = 'workspace_member'::regclass AND attname = 'status' AND NOT attisdropped) THEN+ ALTER TABLE "workspace_member" DROP COLUMN "status";+ END IF;+END $$;++-- Add the unique constraint for workspace slug (idempotently)+DO $$+BEGIN+ IF NOT EXISTS (SELECT 1 FROM pg_catalog.pg_constraint WHERE conname = 'workspace_slug_unique' AND connamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = 'public')) THEN+ ALTER TABLE "workspace" ADD CONSTRAINT "workspace_slug_unique" UNIQUE("slug");+ END IF;+END $$;\ No newline at end of filediff --git a/apps/api/drizzle/0005_jittery_monster_badoon.sql b/apps/api/drizzle/0005_jittery_monster_badoon.sqlnew file mode 100644index 000000000..8727bf2ea--- /dev/null+++ b/apps/api/drizzle/0005_jittery_monster_badoon.sql@@ -0,0 +1,142 @@+CREATE TABLE IF NOT EXISTS "team_member" (+ "id" text PRIMARY KEY NOT NULL,+ "team_id" text NOT NULL,+ "user_id" text NOT NULL,+ "created_at" timestamp+);+--> statement-breakpoint+CREATE TABLE IF NOT EXISTS "team" (+ "id" text PRIMARY KEY NOT NULL,+ "name" text NOT NULL,+ "workspace_id" text NOT NULL,+ "created_at" timestamp NOT NULL,+ "updated_at" timestamp+);+--> statement-breakpoint++-- Make task_id nullable in label table+DO $$+BEGIN+ IF EXISTS (+ SELECT 1 FROM information_schema.columns+ WHERE table_name = 'label'+ AND column_name = 'task_id'+ AND is_nullable = 'NO'+ ) THEN+ ALTER TABLE "label" ALTER COLUMN "task_id" DROP NOT NULL;+ END IF;+END $$;+--> statement-breakpoint++-- Add team_id column to invitation table if it doesn't exist+DO $$+BEGIN+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.columns+ WHERE table_name = 'invitation'+ AND column_name = 'team_id'+ ) THEN+ ALTER TABLE "invitation" ADD COLUMN "team_id" text;+ END IF;+END $$;+--> statement-breakpoint++-- Add workspace_id column to label table if it doesn't exist+DO $$+BEGIN+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.columns+ WHERE table_name = 'label'+ AND column_name = 'workspace_id'+ ) THEN+ -- Add column as nullable first+ ALTER TABLE "label" ADD COLUMN "workspace_id" text;++ -- Update existing labels with workspace_id from their associated tasks+ UPDATE "label" SET "workspace_id" = (+ SELECT p.workspace_id+ FROM "task" t+ JOIN "project" p ON t.project_id = p.id+ WHERE t.id = "label"."task_id"+ ) WHERE "task_id" IS NOT NULL AND "workspace_id" IS NULL;++ -- For labels without task_id, we need to assign them to a default workspace+ -- or remove them. Let's assign them to the first available workspace+ UPDATE "label" SET "workspace_id" = (+ SELECT id FROM "workspace" LIMIT 1+ ) WHERE "workspace_id" IS NULL;++ -- Remove any labels that still don't have a workspace_id+ DELETE FROM "label" WHERE "workspace_id" IS NULL;++ -- Now make the column NOT NULL+ ALTER TABLE "label" ALTER COLUMN "workspace_id" SET NOT NULL;+ END IF;+END $$;+--> statement-breakpoint++-- Add active_team_id column to session table if it doesn't exist+DO $$+BEGIN+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.columns+ WHERE table_name = 'session'+ AND column_name = 'active_team_id'+ ) THEN+ ALTER TABLE "session" ADD COLUMN "active_team_id" text;+ END IF;+END $$;+--> statement-breakpoint+-- Add foreign key constraints idempotently+DO $$+BEGIN+ -- team_member -> team foreign key+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'team_member_team_id_team_id_fk'+ AND table_name = 'team_member'+ ) THEN+ ALTER TABLE "team_member" ADD CONSTRAINT "team_member_team_id_team_id_fk"+ FOREIGN KEY ("team_id") REFERENCES "public"."team"("id") ON DELETE cascade ON UPDATE no action;+ END IF;++ -- team_member -> user foreign key+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'team_member_user_id_user_id_fk'+ AND table_name = 'team_member'+ ) THEN+ ALTER TABLE "team_member" ADD CONSTRAINT "team_member_user_id_user_id_fk"+ FOREIGN KEY ("user_id") REFERENCES "public"."user"("id") ON DELETE cascade ON UPDATE no action;+ END IF;++ -- team -> workspace foreign key+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'team_workspace_id_workspace_id_fk'+ AND table_name = 'team'+ ) THEN+ ALTER TABLE "team" ADD CONSTRAINT "team_workspace_id_workspace_id_fk"+ FOREIGN KEY ("workspace_id") REFERENCES "public"."workspace"("id") ON DELETE cascade ON UPDATE no action;+ END IF;++ -- label -> workspace foreign key+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'label_workspace_id_workspace_id_fk'+ AND table_name = 'label'+ ) THEN+ ALTER TABLE "label" ADD CONSTRAINT "label_workspace_id_workspace_id_fk"+ FOREIGN KEY ("workspace_id") REFERENCES "public"."workspace"("id") ON DELETE cascade ON UPDATE cascade;+ END IF;++ -- workspace_member unique constraint+ IF NOT EXISTS (+ SELECT 1 FROM information_schema.table_constraints+ WHERE constraint_name = 'workspace_member_workspace_id_user_id_unique'+ AND table_name = 'workspace_member'+ ) THEN+ ALTER TABLE "workspace_member" ADD CONSTRAINT "workspace_member_workspace_id_user_id_unique"+ UNIQUE("workspace_id","user_id");+ END IF;+END $$;\ No newline at end of filediff --git a/apps/api/drizzle/meta/0004_snapshot.json b/apps/api/drizzle/meta/0004_snapshot.jsonnew file mode 100644index 000000000..834ef93ef--- /dev/null+++ b/apps/api/drizzle/meta/0004_snapshot.json@@ -0,0 +1,1070 @@+{+ "id": "5a87247b-1f15-4cbd-b349-877df219ba71",+ "prevId": "d34d4766-db81-4be9-b4d2-e94653498363",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.account": {+ "name": "account",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "account_id": {+ "name": "account_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "provider_id": {+ "name": "provider_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "access_token": {+ "name": "access_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "refresh_token": {+ "name": "refresh_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "id_token": {+ "name": "id_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "access_token_expires_at": {+ "name": "access_token_expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "refresh_token_expires_at": {+ "name": "refresh_token_expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "scope": {+ "name": "scope",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "password": {+ "name": "password",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "account_user_id_user_id_fk": {+ "name": "account_user_id_user_id_fk",+ "tableFrom": "account",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.activity": {+ "name": "activity",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "content": {+ "name": "content",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "activity_task_id_task_id_fk": {+ "name": "activity_task_id_task_id_fk",+ "tableFrom": "activity",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "activity_user_id_user_id_fk": {+ "name": "activity_user_id_user_id_fk",+ "tableFrom": "activity",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.github_integration": {+ "name": "github_integration",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "project_id": {+ "name": "project_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "repository_owner": {+ "name": "repository_owner",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "repository_name": {+ "name": "repository_name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "installation_id": {+ "name": "installation_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "is_active": {+ "name": "is_active",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "github_integration_project_id_project_id_fk": {+ "name": "github_integration_project_id_project_id_fk",+ "tableFrom": "github_integration",+ "tableTo": "project",+ "columnsFrom": ["project_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "github_integration_project_id_unique": {+ "name": "github_integration_project_id_unique",+ "nullsNotDistinct": false,+ "columns": ["project_id"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.invitation": {+ "name": "invitation",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'pending'"+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "inviter_id": {+ "name": "inviter_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {},+ "foreignKeys": {+ "invitation_workspace_id_workspace_id_fk": {+ "name": "invitation_workspace_id_workspace_id_fk",+ "tableFrom": "invitation",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "invitation_inviter_id_user_id_fk": {+ "name": "invitation_inviter_id_user_id_fk",+ "tableFrom": "invitation",+ "tableTo": "user",+ "columnsFrom": ["inviter_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.label": {+ "name": "label",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "color": {+ "name": "color",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {},+ "foreignKeys": {+ "label_task_id_task_id_fk": {+ "name": "label_task_id_task_id_fk",+ "tableFrom": "label",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.notification": {+ "name": "notification",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "content": {+ "name": "content",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'info'"+ },+ "is_read": {+ "name": "is_read",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "resource_id": {+ "name": "resource_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "resource_type": {+ "name": "resource_type",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "notification_user_id_user_id_fk": {+ "name": "notification_user_id_user_id_fk",+ "tableFrom": "notification",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.project": {+ "name": "project",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "slug": {+ "name": "slug",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "icon": {+ "name": "icon",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "default": "'Layout'"+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "is_public": {+ "name": "is_public",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "project_workspace_id_workspace_id_fk": {+ "name": "project_workspace_id_workspace_id_fk",+ "tableFrom": "project",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.session": {+ "name": "session",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "ip_address": {+ "name": "ip_address",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_agent": {+ "name": "user_agent",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "active_workspace_id": {+ "name": "active_workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "session_user_id_user_id_fk": {+ "name": "session_user_id_user_id_fk",+ "tableFrom": "session",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "session_token_unique": {+ "name": "session_token_unique",+ "nullsNotDistinct": false,+ "columns": ["token"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.task": {+ "name": "task",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "project_id": {+ "name": "project_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "position": {+ "name": "position",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "number": {+ "name": "number",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 1+ },+ "assignee_id": {+ "name": "assignee_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'to-do'"+ },+ "priority": {+ "name": "priority",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "default": "'low'"+ },+ "due_date": {+ "name": "due_date",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "task_project_id_project_id_fk": {+ "name": "task_project_id_project_id_fk",+ "tableFrom": "task",+ "tableTo": "project",+ "columnsFrom": ["project_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "task_assignee_id_user_id_fk": {+ "name": "task_assignee_id_user_id_fk",+ "tableFrom": "task",+ "tableTo": "user",+ "columnsFrom": ["assignee_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.time_entry": {+ "name": "time_entry",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "start_time": {+ "name": "start_time",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "end_time": {+ "name": "end_time",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "time_entry_task_id_task_id_fk": {+ "name": "time_entry_task_id_task_id_fk",+ "tableFrom": "time_entry",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "time_entry_user_id_user_id_fk": {+ "name": "time_entry_user_id_user_id_fk",+ "tableFrom": "time_entry",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.user": {+ "name": "user",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email_verified": {+ "name": "email_verified",+ "type": "boolean",+ "primaryKey": false,+ "notNull": true+ },+ "image": {+ "name": "image",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "is_anonymous": {+ "name": "is_anonymous",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "user_email_unique": {+ "name": "user_email_unique",+ "nullsNotDistinct": false,+ "columns": ["email"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.verification": {+ "name": "verification",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "identifier": {+ "name": "identifier",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.workspace": {+ "name": "workspace",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "slug": {+ "name": "slug",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "logo": {+ "name": "logo",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "metadata": {+ "name": "metadata",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "workspace_slug_unique": {+ "name": "workspace_slug_unique",+ "nullsNotDistinct": false,+ "columns": ["slug"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.workspace_member": {+ "name": "workspace_member",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'member'"+ },+ "joined_at": {+ "name": "joined_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "workspace_member_workspace_id_workspace_id_fk": {+ "name": "workspace_member_workspace_id_workspace_id_fk",+ "tableFrom": "workspace_member",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "workspace_member_user_id_user_id_fk": {+ "name": "workspace_member_user_id_user_id_fk",+ "tableFrom": "workspace_member",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {},+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "columns": {},+ "schemas": {},+ "tables": {}+ }+}diff --git a/apps/api/drizzle/meta/0005_snapshot.json b/apps/api/drizzle/meta/0005_snapshot.jsonnew file mode 100644index 000000000..b31230630--- /dev/null+++ b/apps/api/drizzle/meta/0005_snapshot.json@@ -0,0 +1,1212 @@+{+ "id": "2e7cc59a-5fd1-4185-b702-c0a61ac2bc4c",+ "prevId": "5a87247b-1f15-4cbd-b349-877df219ba71",+ "version": "7",+ "dialect": "postgresql",+ "tables": {+ "public.account": {+ "name": "account",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "account_id": {+ "name": "account_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "provider_id": {+ "name": "provider_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "access_token": {+ "name": "access_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "refresh_token": {+ "name": "refresh_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "id_token": {+ "name": "id_token",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "access_token_expires_at": {+ "name": "access_token_expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "refresh_token_expires_at": {+ "name": "refresh_token_expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "scope": {+ "name": "scope",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "password": {+ "name": "password",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "account_user_id_user_id_fk": {+ "name": "account_user_id_user_id_fk",+ "tableFrom": "account",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.activity": {+ "name": "activity",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "content": {+ "name": "content",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "activity_task_id_task_id_fk": {+ "name": "activity_task_id_task_id_fk",+ "tableFrom": "activity",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "activity_user_id_user_id_fk": {+ "name": "activity_user_id_user_id_fk",+ "tableFrom": "activity",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.github_integration": {+ "name": "github_integration",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "project_id": {+ "name": "project_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "repository_owner": {+ "name": "repository_owner",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "repository_name": {+ "name": "repository_name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "installation_id": {+ "name": "installation_id",+ "type": "integer",+ "primaryKey": false,+ "notNull": false+ },+ "is_active": {+ "name": "is_active",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "github_integration_project_id_project_id_fk": {+ "name": "github_integration_project_id_project_id_fk",+ "tableFrom": "github_integration",+ "tableTo": "project",+ "columnsFrom": ["project_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "github_integration_project_id_unique": {+ "name": "github_integration_project_id_unique",+ "nullsNotDistinct": false,+ "columns": ["project_id"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.invitation": {+ "name": "invitation",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "team_id": {+ "name": "team_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'pending'"+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "inviter_id": {+ "name": "inviter_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ }+ },+ "indexes": {},+ "foreignKeys": {+ "invitation_workspace_id_workspace_id_fk": {+ "name": "invitation_workspace_id_workspace_id_fk",+ "tableFrom": "invitation",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "invitation_inviter_id_user_id_fk": {+ "name": "invitation_inviter_id_user_id_fk",+ "tableFrom": "invitation",+ "tableTo": "user",+ "columnsFrom": ["inviter_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.label": {+ "name": "label",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "color": {+ "name": "color",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "label_task_id_task_id_fk": {+ "name": "label_task_id_task_id_fk",+ "tableFrom": "label",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "label_workspace_id_workspace_id_fk": {+ "name": "label_workspace_id_workspace_id_fk",+ "tableFrom": "label",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.notification": {+ "name": "notification",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "content": {+ "name": "content",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "type": {+ "name": "type",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'info'"+ },+ "is_read": {+ "name": "is_read",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ },+ "resource_id": {+ "name": "resource_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "resource_type": {+ "name": "resource_type",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp with time zone",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "notification_user_id_user_id_fk": {+ "name": "notification_user_id_user_id_fk",+ "tableFrom": "notification",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.project": {+ "name": "project",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "slug": {+ "name": "slug",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "icon": {+ "name": "icon",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "default": "'Layout'"+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "is_public": {+ "name": "is_public",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false,+ "default": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "project_workspace_id_workspace_id_fk": {+ "name": "project_workspace_id_workspace_id_fk",+ "tableFrom": "project",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.session": {+ "name": "session",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "token": {+ "name": "token",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "ip_address": {+ "name": "ip_address",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_agent": {+ "name": "user_agent",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "active_workspace_id": {+ "name": "active_workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "active_team_id": {+ "name": "active_team_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "session_user_id_user_id_fk": {+ "name": "session_user_id_user_id_fk",+ "tableFrom": "session",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "session_token_unique": {+ "name": "session_token_unique",+ "nullsNotDistinct": false,+ "columns": ["token"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.task": {+ "name": "task",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "project_id": {+ "name": "project_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "position": {+ "name": "position",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "number": {+ "name": "number",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 1+ },+ "assignee_id": {+ "name": "assignee_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "title": {+ "name": "title",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "status": {+ "name": "status",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'to-do'"+ },+ "priority": {+ "name": "priority",+ "type": "text",+ "primaryKey": false,+ "notNull": false,+ "default": "'low'"+ },+ "due_date": {+ "name": "due_date",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "task_project_id_project_id_fk": {+ "name": "task_project_id_project_id_fk",+ "tableFrom": "task",+ "tableTo": "project",+ "columnsFrom": ["project_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "task_assignee_id_user_id_fk": {+ "name": "task_assignee_id_user_id_fk",+ "tableFrom": "task",+ "tableTo": "user",+ "columnsFrom": ["assignee_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.team_member": {+ "name": "team_member",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "team_id": {+ "name": "team_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "team_member_team_id_team_id_fk": {+ "name": "team_member_team_id_team_id_fk",+ "tableFrom": "team_member",+ "tableTo": "team",+ "columnsFrom": ["team_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "team_member_user_id_user_id_fk": {+ "name": "team_member_user_id_user_id_fk",+ "tableFrom": "team_member",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.team": {+ "name": "team",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {+ "team_workspace_id_workspace_id_fk": {+ "name": "team_workspace_id_workspace_id_fk",+ "tableFrom": "team",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.time_entry": {+ "name": "time_entry",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "task_id": {+ "name": "task_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "start_time": {+ "name": "start_time",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "end_time": {+ "name": "end_time",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": false+ },+ "duration": {+ "name": "duration",+ "type": "integer",+ "primaryKey": false,+ "notNull": false,+ "default": 0+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "time_entry_task_id_task_id_fk": {+ "name": "time_entry_task_id_task_id_fk",+ "tableFrom": "time_entry",+ "tableTo": "task",+ "columnsFrom": ["task_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ },+ "time_entry_user_id_user_id_fk": {+ "name": "time_entry_user_id_user_id_fk",+ "tableFrom": "time_entry",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "cascade"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.user": {+ "name": "user",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email": {+ "name": "email",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "email_verified": {+ "name": "email_verified",+ "type": "boolean",+ "primaryKey": false,+ "notNull": true+ },+ "image": {+ "name": "image",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "is_anonymous": {+ "name": "is_anonymous",+ "type": "boolean",+ "primaryKey": false,+ "notNull": false+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "user_email_unique": {+ "name": "user_email_unique",+ "nullsNotDistinct": false,+ "columns": ["email"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.verification": {+ "name": "verification",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "identifier": {+ "name": "identifier",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "value": {+ "name": "value",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "expires_at": {+ "name": "expires_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ },+ "updated_at": {+ "name": "updated_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {},+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.workspace": {+ "name": "workspace",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "name": {+ "name": "name",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "slug": {+ "name": "slug",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "logo": {+ "name": "logo",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "metadata": {+ "name": "metadata",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "description": {+ "name": "description",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "created_at": {+ "name": "created_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {},+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "workspace_slug_unique": {+ "name": "workspace_slug_unique",+ "nullsNotDistinct": false,+ "columns": ["slug"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ },+ "public.workspace_member": {+ "name": "workspace_member",+ "schema": "",+ "columns": {+ "id": {+ "name": "id",+ "type": "text",+ "primaryKey": true,+ "notNull": true+ },+ "workspace_id": {+ "name": "workspace_id",+ "type": "text",+ "primaryKey": false,+ "notNull": false+ },+ "user_id": {+ "name": "user_id",+ "type": "text",+ "primaryKey": false,+ "notNull": true+ },+ "role": {+ "name": "role",+ "type": "text",+ "primaryKey": false,+ "notNull": true,+ "default": "'member'"+ },+ "joined_at": {+ "name": "joined_at",+ "type": "timestamp",+ "primaryKey": false,+ "notNull": true,+ "default": "now()"+ }+ },+ "indexes": {},+ "foreignKeys": {+ "workspace_member_workspace_id_workspace_id_fk": {+ "name": "workspace_member_workspace_id_workspace_id_fk",+ "tableFrom": "workspace_member",+ "tableTo": "workspace",+ "columnsFrom": ["workspace_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ },+ "workspace_member_user_id_user_id_fk": {+ "name": "workspace_member_user_id_user_id_fk",+ "tableFrom": "workspace_member",+ "tableTo": "user",+ "columnsFrom": ["user_id"],+ "columnsTo": ["id"],+ "onDelete": "cascade",+ "onUpdate": "no action"+ }+ },+ "compositePrimaryKeys": {},+ "uniqueConstraints": {+ "workspace_member_workspace_id_user_id_unique": {+ "name": "workspace_member_workspace_id_user_id_unique",+ "nullsNotDistinct": false,+ "columns": ["workspace_id", "user_id"]+ }+ },+ "policies": {},+ "checkConstraints": {},+ "isRLSEnabled": false+ }+ },+ "enums": {},+ "schemas": {},+ "sequences": {},+ "roles": {},+ "policies": {},+ "views": {},+ "_meta": {+ "columns": {},+ "schemas": {},+ "tables": {}+ }+}diff --git a/apps/api/drizzle/meta/_journal.json b/apps/api/drizzle/meta/_journal.jsonindex 83a5e3fa0..3b4ce1a84 100644--- a/apps/api/drizzle/meta/_journal.json+++ b/apps/api/drizzle/meta/_journal.json@@ -29,6 +29,20 @@"when": 1755016234993,"tag": "0003_round_human_fly","breakpoints": true+ },+ {+ "idx": 4,+ "version": "7",+ "when": 1755720143109,+ "tag": "0004_curved_stingray",+ "breakpoints": true+ },+ {+ "idx": 5,+ "version": "7",+ "when": 1759234332200,+ "tag": "0005_jittery_monster_badoon",+ "breakpoints": true}]}diff --git a/apps/api/package.json b/apps/api/package.jsonindex a7bc0e7e7..62a18164d 100644--- a/apps/api/package.json+++ b/apps/api/package.json@@ -20,14 +20,14 @@"dependencies": {"@hono/node-server": "^1.19.0","@hono/zod-validator": "^0.7.2",+ "@kaneo/email": "workspace:*","@octokit/webhooks": "^14.1.3","@oslojs/crypto": "^1.0.1","@oslojs/encoding": "^1.1.0","@paralleldrive/cuid2": "^2.2.2","bcrypt": "^6.0.0",- "better-auth": "^1.3.7",+ "better-auth": "^1.3.8","croner": "^9.1.0",- "dotenv": "^17.2.1","drizzle-kit": "^0.31.1","drizzle-orm": "^0.44.3","hono": "^4.9.5",diff --git a/apps/api/src/activity/controllers/get-activities.ts b/apps/api/src/activity/controllers/get-activities.tsindex 2f20169f1..c16bdcf4a 100644--- a/apps/api/src/activity/controllers/get-activities.ts+++ b/apps/api/src/activity/controllers/get-activities.ts@@ -5,7 +5,7 @@ import { activityTable } from "../../database/schema";async function getActivitiesFromTaskId(taskId: string) {const activities = await db.query.activityTable.findMany({where: eq(activityTable.taskId, taskId),- orderBy: [desc(activityTable.createdAt), desc(activityTable.id)],+ orderBy: [desc(activityTable.createdAt)],});return activities;}diff --git a/apps/api/src/activity/index.ts b/apps/api/src/activity/index.tsindex a9399f26e..d70e75f92 100644--- a/apps/api/src/activity/index.ts+++ b/apps/api/src/activity/index.ts@@ -2,11 +2,13 @@ import { zValidator } from "@hono/zod-validator";import { Hono } from "hono";import { z } from "zod";import { subscribeToEvent } from "../events";+import toNormalCase from "../utils/to-normal-case";import createActivity from "./controllers/create-activity";import createComment from "./controllers/create-comment";import deleteComment from "./controllers/delete-comment";import getActivitiesFromTaskId from "./controllers/get-activities";import updateComment from "./controllers/update-comment";+const activity = new Hono().get("/:taskId",@@ -113,4 +115,111 @@ subscribeToEvent(},);+subscribeToEvent(+ "task.assignee_changed",+ async ({+ taskId,+ userId,+ type,+ newAssignee,+ }: {+ taskId: string;+ userId: string;+ type: string;+ newAssignee: string;+ }) => {+ await createActivity(+ taskId,+ type,+ userId,+ `assigned the task to ${newAssignee}`,+ );+ },+);++subscribeToEvent(+ "task.unassigned",+ async ({+ taskId,+ userId,+ type,+ }: {+ taskId: string;+ userId: string;+ type: string;+ }) => {+ await createActivity(taskId, type, userId, "unassigned the task");+ },+);++subscribeToEvent(+ "task.status_changed",+ async ({+ taskId,+ userId,+ type,+ oldStatus,+ newStatus,+ }: {+ taskId: string;+ userId: string;+ type: string;+ oldStatus: string;+ newStatus: string;+ }) => {+ await createActivity(+ taskId,+ type,+ userId,+ `changed the status from ${toNormalCase(oldStatus)} to ${toNormalCase(newStatus)}`,+ );+ },+);++subscribeToEvent(+ "task.priority_changed",+ async ({+ taskId,+ userId,+ type,+ oldPriority,+ newPriority,+ }: {+ taskId: string;+ userId: string;+ type: string;+ oldPriority: string;+ newPriority: string;+ }) => {+ await createActivity(+ taskId,+ type,+ userId,+ `changed the priority from ${oldPriority} to ${newPriority}`,+ );+ },+);++subscribeToEvent(+ "task.due_date_changed",+ async ({+ taskId,+ userId,+ type,+ newDueDate,+ }: {+ taskId: string;+ userId: string;+ type: string;+ newDueDate: string;+ }) => {+ await createActivity(+ taskId,+ type,+ userId,+ `changed the due date to ${new Date(newDueDate).toLocaleDateString("en-US", { month: "short", day: "numeric" })}`,+ );+ },+);+export default activity;diff --git a/apps/api/src/auth.ts b/apps/api/src/auth.tsindex 9270850a4..fbcb18973 100644--- a/apps/api/src/auth.ts+++ b/apps/api/src/auth.ts@@ -1,17 +1,26 @@+import { sendMagicLinkEmail, sendWorkspaceInvitationEmail } from "@kaneo/email";+import bcrypt from "bcrypt";import { betterAuth } from "better-auth";import { drizzleAdapter } from "better-auth/adapters/drizzle";-import { anonymous } from "better-auth/plugins";+import {+ anonymous,+ createAuthMiddleware,+ lastLoginMethod,+ magicLink,+ organization,+} from "better-auth/plugins";+import { config } from "dotenv-mono";+import { eq } from "drizzle-orm";import db, { schema } from "./database";+import { publishEvent } from "./events";import { generateDemoName } from "./utils/generate-demo-name";-import dotenv from "dotenv";+config();-dotenv.config();--export const auth: ReturnType<typeof betterAuth> = betterAuth({- baseURL: process.env.BETTER_AUTH_URL || "http://localhost:1337",- trustedOrigins: ["http://localhost:5173"], // TODO: Add production URL- secret: process.env.JWT_ACCESS_SECRET || "",+export const auth = betterAuth({+ baseURL: process.env.KANEO_API_URL || "http://localhost:1337",+ trustedOrigins: [process.env.KANEO_CLIENT_URL || "http://localhost:5173"],+ secret: process.env.AUTH_SECRET || "",database: drizzleAdapter(db, {provider: "pg",schema: {@@ -20,22 +29,154 @@ export const auth: ReturnType<typeof betterAuth> = betterAuth({account: schema.accountTable,session: schema.sessionTable,verification: schema.verificationTable,+ workspace: schema.workspaceTable,+ workspace_member: schema.workspaceUserTable,+ invitation: schema.invitationTable,+ team: schema.teamTable,+ teamMember: schema.teamMemberTable,},}),emailAndPassword: {enabled: true,autoSignIn: true,+ password: {+ hash: async (password) => {+ return await bcrypt.hash(password, 10);+ },+ verify: async ({ hash, password }) => {+ return await bcrypt.compare(password, hash);+ },+ },},socialProviders: {github: {clientId: process.env.GITHUB_CLIENT_ID || "",clientSecret: process.env.GITHUB_CLIENT_SECRET || "",- scopes: ["user:email"],+ scope: ["user:email"],+ },+ google: {+ clientId: process.env.GOOGLE_CLIENT_ID || "",+ clientSecret: process.env.GOOGLE_CLIENT_SECRET || "",},},plugins: [anonymous({generateName: async () => generateDemoName(),+ emailDomainName: "kaneo.com",+ }),+ lastLoginMethod(),+ magicLink({+ sendMagicLink: async ({ email, url }) => {+ try {+ await sendMagicLinkEmail(email, "Login for Kaneo", {+ magicLink: url,+ });+ } catch (error) {+ console.error(error);+ }+ },+ }),+ organization({+ // creatorRole: "admin", // maybe will want this "The role of the user who creates the organization."+ // invitationLimit and other fields like this may be beneficial as well+ teams: {+ enabled: true,+ maximumTeams: 10,+ allowRemovingAllTeams: false,+ },+ schema: {+ organization: {+ modelName: "workspace",+ additionalFields: {+ // in metadata+ description: {+ type: "string",+ input: true,+ required: false,+ },+ },+ },+ member: {+ modelName: "workspace_member",+ fields: {+ organizationId: "workspaceId",+ createdAt: "joinedAt",+ },+ },+ invitation: {+ modelName: "invitation",+ fields: {+ organizationId: "workspaceId",+ },+ },+ team: {+ modelName: "team",+ fields: {+ organizationId: "workspaceId",+ },+ },+ },+ organizationCreation: {+ disabled: false,+ afterCreate: async ({ organization, user }) => {+ publishEvent("workspace.created", {+ workspaceId: organization.id,+ workspaceName: organization.name,+ ownerEmail: user.name,+ });+ },+ },+ async sendInvitationEmail(data) {+ const inviteLink = `${process.env.KANEO_CLIENT_URL}/auth/accept-invitation/${data.id}`;++ await sendWorkspaceInvitationEmail(+ data.email,+ `${data.inviter.user.name} invited you to join ${data.organization.name} on Kaneo`,+ {+ inviterEmail: data.inviter.user.email,+ inviterName: data.inviter.user.name,+ workspaceName: data.organization.name,+ invitationLink: inviteLink,+ to: data.email,+ },+ );+ },}),],+ session: {+ cookieCache: {+ enabled: true,+ maxAge: 5 * 60,+ },+ },+ hooks: {+ after: createAuthMiddleware(async (ctx) => {+ if (ctx.path.startsWith("/sign-up") || ctx.path.startsWith("/sign-in")) {+ const newSession = ctx.context.newSession;+ if (newSession) {+ const workspaceMember = await db+ .select({ workspaceId: schema.workspaceUserTable.workspaceId })+ .from(schema.workspaceUserTable)+ .where(eq(schema.workspaceUserTable.userId, newSession.user.id))+ .limit(1);++ const activeWorkspaceId = workspaceMember[0]?.workspaceId || null;++ if (activeWorkspaceId) {+ await db+ .update(schema.sessionTable)+ .set({ activeOrganizationId: activeWorkspaceId })+ .where(eq(schema.sessionTable.id, newSession.session.id));+ }+ }+ }+ }),+ },+ advanced: {+ defaultCookieAttributes: {+ sameSite: "none", // need this to allow many clients+ secure: true,+ partitioned: true,+ },+ },});diff --git a/apps/api/src/database/index.ts b/apps/api/src/database/index.tsindex 2f9283544..cecacf465 100644--- a/apps/api/src/database/index.ts+++ b/apps/api/src/database/index.ts@@ -1,4 +1,4 @@-import dotenv from "dotenv";+import { config } from "dotenv-mono";import { drizzle } from "drizzle-orm/node-postgres";import { Pool } from "pg";import {@@ -20,11 +20,14 @@ import {accountTable,activityTable,githubIntegrationTable,+ invitationTable,labelTable,notificationTable,projectTable,sessionTable,taskTable,+ teamMemberTable,+ teamTable,timeEntryTable,userTable,verificationTable,@@ -32,7 +35,7 @@ import {workspaceUserTable,} from "./schema";-dotenv.config();+config();const pool = new Pool({connectionString:@@ -54,6 +57,9 @@ export const schema = {verificationTable,workspaceTable,workspaceUserTable,+ invitationTable,+ teamTable,+ teamMemberTable,userTableRelations,sessionTableRelations,accountTableRelations,diff --git a/apps/api/src/database/relations.ts b/apps/api/src/database/relations.tsindex 9f0c68926..ea0b195f3 100644--- a/apps/api/src/database/relations.ts+++ b/apps/api/src/database/relations.ts@@ -3,6 +3,7 @@ import {accountTable,activityTable,githubIntegrationTable,+ invitationTable,labelTable,notificationTable,projectTable,@@ -24,6 +25,7 @@ export const userTableRelations = relations(userTable, ({ many }) => ({timeEntries: many(timeEntryTable),activities: many(activityTable),notifications: many(notificationTable),+ sentInvitations: many(invitationTable),}));export const sessionTableRelations = relations(sessionTable, ({ one }) => ({@@ -47,13 +49,10 @@ export const verificationTableRelations = relations(export const workspaceTableRelations = relations(workspaceTable,- ({ one, many }) => ({- owner: one(userTable, {- fields: [workspaceTable.ownerId],- references: [userTable.id],- }),+ ({ many }) => ({members: many(workspaceUserTable),projects: many(projectTable),+ invitations: many(invitationTable),}),);@@ -145,3 +144,17 @@ export const githubIntegrationTableRelations = relations(}),}),);++export const invitationTableRelations = relations(+ invitationTable,+ ({ one }) => ({+ workspace: one(workspaceTable, {+ fields: [invitationTable.workspaceId],+ references: [workspaceTable.id],+ }),+ inviter: one(userTable, {+ fields: [invitationTable.inviterId],+ references: [userTable.id],+ }),+ }),+);diff --git a/apps/api/src/database/schema.ts b/apps/api/src/database/schema.tsindex 4ed58f8bb..e94e68133 100644--- a/apps/api/src/database/schema.ts+++ b/apps/api/src/database/schema.ts@@ -5,6 +5,7 @@ import {pgTable,text,timestamp,+ unique,} from "drizzle-orm/pg-core";export const userTable = pgTable("user", {@@ -33,6 +34,8 @@ export const sessionTable = pgTable("session", {userId: text("user_id").notNull().references(() => userTable.id, { onDelete: "cascade" }),+ activeOrganizationId: text("active_workspace_id"),+ activeTeamId: text("active_team_id"),});export const accountTable = pgTable("account", {@@ -47,7 +50,9 @@ export const accountTable = pgTable("account", {accessToken: text("access_token"),refreshToken: text("refresh_token"),idToken: text("id_token"),- accessTokenExpiresAt: timestamp("access_token_expires_at", { mode: "date" }),+ accessTokenExpiresAt: timestamp("access_token_expires_at", {+ mode: "date",+ }),refreshTokenExpiresAt: timestamp("refresh_token_expires_at", {mode: "date",}),@@ -73,30 +78,71 @@ export const workspaceTable = pgTable("workspace", {.$defaultFn(() => createId()).primaryKey(),name: text("name").notNull(),+ slug: text("slug").unique(),+ logo: text("logo"),+ metadata: text("metadata"),description: text("description"),- ownerId: text("owner_id")- .notNull()- .references(() => userTable.id, {+ createdAt: timestamp("created_at", { mode: "date" }).defaultNow().notNull(),+});++export const workspaceUserTable = pgTable(+ "workspace_member",+ {+ id: text("id")+ .$defaultFn(() => createId())+ .primaryKey(),+ workspaceId: text("workspace_id").references(() => workspaceTable.id, {onDelete: "cascade",}),- createdAt: timestamp("created_at", { mode: "date" }).defaultNow().notNull(),+ userId: text("user_id")+ .notNull()+ .references(() => userTable.id, {+ onDelete: "cascade",+ }),+ role: text("role").default("member").notNull(),+ joinedAt: timestamp("joined_at", { mode: "date" }).defaultNow().notNull(),+ },+ (table) => ({+ workspaceUserUnique: unique().on(table.workspaceId, table.userId),+ }),+);++export const teamTable = pgTable("team", {+ id: text("id").primaryKey(),+ name: text("name").notNull(),+ workspaceId: text("workspace_id")+ .notNull()+ .references(() => workspaceTable.id, { onDelete: "cascade" }),+ createdAt: timestamp("created_at").notNull(),+ updatedAt: timestamp("updated_at"),});-export const workspaceUserTable = pgTable("workspace_member", {+export const teamMemberTable = pgTable("team_member", {+ id: text("id").primaryKey(),+ teamId: text("team_id")+ .notNull()+ .references(() => teamTable.id, { onDelete: "cascade" }),+ userId: text("user_id")+ .notNull()+ .references(() => userTable.id, { onDelete: "cascade" }),+ createdAt: timestamp("created_at"),+});++export const invitationTable = pgTable("invitation", {id: text("id").$defaultFn(() => createId()).primaryKey(),- workspaceId: text("workspace_id").references(() => workspaceTable.id, {- onDelete: "cascade",- }),- userId: text("user_id")+ workspaceId: text("workspace_id").notNull()- .references(() => userTable.id, {- onDelete: "cascade",- }),- role: text("role").default("member").notNull(),- joinedAt: timestamp("joined_at", { mode: "date" }).defaultNow().notNull(),+ .references(() => workspaceTable.id, { onDelete: "cascade" }),+ email: text("email").notNull(),+ role: text("role"),+ teamId: text("team_id"),status: text("status").default("pending").notNull(),+ expiresAt: timestamp("expires_at").notNull(),+ inviterId: text("inviter_id")+ .notNull()+ .references(() => userTable.id, { onDelete: "cascade" }),});export const projectTable = pgTable("project", {@@ -190,12 +236,14 @@ export const labelTable = pgTable("label", {name: text("name").notNull(),color: text("color").notNull(),createdAt: timestamp("created_at", { mode: "date" }).defaultNow().notNull(),- taskId: text("task_id")- .notNull()- .references(() => taskTable.id, {- onDelete: "cascade",- onUpdate: "cascade",- }),+ taskId: text("task_id").references(() => taskTable.id, {+ onDelete: "cascade",+ onUpdate: "cascade",+ }),+ workspaceId: text("workspace_id").references(() => workspaceTable.id, {+ onDelete: "cascade",+ onUpdate: "cascade",+ }),});export const notificationTable = pgTable("notification", {diff --git a/apps/api/src/github-integration/controllers/get-github-integration.ts b/apps/api/src/github-integration/controllers/get-github-integration.tsindex cf119ee95..7f58b5967 100644--- a/apps/api/src/github-integration/controllers/get-github-integration.ts+++ b/apps/api/src/github-integration/controllers/get-github-integration.ts@@ -1,5 +1,4 @@import { eq } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";import db from "../../database";import { githubIntegrationTable } from "../../database/schema";@@ -9,9 +8,7 @@ async function getGithubIntegration(projectId: string) {});if (!integration) {- throw new HTTPException(404, {- message: "GitHub integration not found",- });+ return null;}return integration;diff --git a/apps/api/src/github-integration/utils/create-github-app.ts b/apps/api/src/github-integration/utils/create-github-app.tsindex 1cc5917d6..0d1c8d04c 100644--- a/apps/api/src/github-integration/utils/create-github-app.ts+++ b/apps/api/src/github-integration/utils/create-github-app.ts@@ -1,7 +1,7 @@-import dotenv from "dotenv";+import { config } from "dotenv-mono";import { App } from "octokit";-dotenv.config();+config();function createGithubApp(): App | null {if (diff --git a/apps/api/src/github-integration/utils/create-github-labels.ts b/apps/api/src/github-integration/utils/create-github-labels.tsindex 9b983db5f..c2519be53 100644--- a/apps/api/src/github-integration/utils/create-github-labels.ts+++ b/apps/api/src/github-integration/utils/create-github-labels.ts@@ -16,7 +16,7 @@ export async function createGitHubLabels(name: labelName,});console.log(`Label "${labelName}" already exists`);- } catch (error) {+ } catch (_error) {const color = getLabelColor(labelName);await octokit.rest.issues.createLabel({owner,diff --git a/apps/api/src/github-integration/utils/task-priority-changed.ts b/apps/api/src/github-integration/utils/task-priority-changed.tsindex befeb4c4b..fb585b338 100644--- a/apps/api/src/github-integration/utils/task-priority-changed.ts+++ b/apps/api/src/github-integration/utils/task-priority-changed.ts@@ -72,12 +72,12 @@ export async function handleTaskPriorityChanged(data: {const octokit = await githubApp.getInstallationOctokit(installationId);let githubIssueUrlMatch = task.description?.match(- /Linked to GitHub issue: (https:\/\/github\.com\/[^\/]+\/[^\/]+\/issues\/\d+)/,+ /Linked to GitHub issue: (https:\/\/github\.com\/[^/]+\/[^/]+\/issues\/\d+)/,);if (!githubIssueUrlMatch) {githubIssueUrlMatch = task.description?.match(- /Created from GitHub issue: (https:\/\/github\.com\/[^\/]+\/[^\/]+\/issues\/\d+)/,+ /Created from GitHub issue: (https:\/\/github\.com\/[^/]+\/[^/]+\/issues\/\d+)/,);}diff --git a/apps/api/src/github-integration/utils/task-status-changed.ts b/apps/api/src/github-integration/utils/task-status-changed.tsindex 953e86cbe..355f2da6c 100644--- a/apps/api/src/github-integration/utils/task-status-changed.ts+++ b/apps/api/src/github-integration/utils/task-status-changed.ts@@ -72,12 +72,12 @@ export async function handleTaskStatusChanged(data: {const octokit = await githubApp.getInstallationOctokit(installationId);let githubIssueUrlMatch = task.description?.match(- /Linked to GitHub issue: (https:\/\/github\.com\/[^\/]+\/[^\/]+\/issues\/\d+)/,+ /Linked to GitHub issue: (https:\/\/github\.com\/[^/]+\/[^/]+\/issues\/\d+)/,);if (!githubIssueUrlMatch) {githubIssueUrlMatch = task.description?.match(- /Created from GitHub issue: (https:\/\/github\.com\/[^\/]+\/[^\/]+\/issues\/\d+)/,+ /Created from GitHub issue: (https:\/\/github\.com\/[^/]+\/[^/]+\/issues\/\d+)/,);}diff --git a/apps/api/src/index.ts b/apps/api/src/index.tsindex 2a65bba03..5ce09f5a7 100644--- a/apps/api/src/index.ts+++ b/apps/api/src/index.ts@@ -1,6 +1,5 @@import { serve } from "@hono/node-server";import type { Session, User } from "better-auth/types";-import { Cron } from "croner";import { migrate } from "drizzle-orm/postgres-js/migrator";import { Hono } from "hono";import { cors } from "hono/cors";@@ -18,10 +17,7 @@ import { getPublicProject } from "./project/controllers/get-public-project";import search from "./search";import task from "./task";import timeEntry from "./time-entry";-import getSettings from "./utils/get-settings";-import purgeDemoData from "./utils/purge-demo-data";-import workspace from "./workspace";-import workspaceUser from "./workspace-user";+import { migrateWorkspaceUserEmail } from "./utils/migrate-workspace-user-email";const app = new Hono<{Variables: {@@ -31,8 +27,6 @@ const app = new Hono<{};}>();-const { isDemoMode } = getSettings();-const corsOrigins = process.env.CORS_ORIGINS? process.env.CORS_ORIGINS.split(",").map((origin) => origin.trim()): undefined;@@ -55,6 +49,10 @@ app.use(}),);+app.get("/health", (c) => {+ return c.json({ status: "ok" });+});+const configRoute = app.route("/config", config);const githubIntegrationRoute = app.route(@@ -86,14 +84,6 @@ app.use("*", async (c, next) => {return next();});-if (isDemoMode) {- new Cron("0 * * * *", async () => {- await purgeDemoData();- });-}--const workspaceRoute = app.route("/workspace", workspace);-const workspaceUserRoute = app.route("/workspace-user", workspaceUser);const projectRoute = app.route("/project", project);const taskRoute = app.route("/task", task);const activityRoute = app.route("/activity", activity);@@ -102,28 +92,34 @@ const labelRoute = app.route("/label", label);const notificationRoute = app.route("/notification", notification);const searchRoute = app.route("/search", search);-try {- console.log("Migrating database...");- migrate(db, {- migrationsFolder: `${process.cwd()}/drizzle`,- });-} catch (error) {- console.error(error);-}+(async () => {+ try {+ await migrateWorkspaceUserEmail();++ console.log("🔄 Migrating database...");+ await migrate(db, {+ migrationsFolder: `${process.cwd()}/drizzle`,+ });+ console.log("✅ Database migrated successfully!");+ } catch (error) {+ console.error("❌ Database migration failed!", error);+ process.exit(1);+ }+})();serve({fetch: app.fetch,port: 1337,},- (info) => {- console.log(`🏃 Hono API is running at http://localhost:${info.port}`);+ () => {+ console.log(+ `⚡ API is running at ${process.env.KANEO_API_URL || "http://localhost:1337"}`,+ );},);export type AppType =- | typeof workspaceRoute- | typeof workspaceUserRoute| typeof projectRoute| typeof taskRoute| typeof activityRoutediff --git a/apps/api/src/label/controllers/create-label.ts b/apps/api/src/label/controllers/create-label.tsindex a8371e933..32965e544 100644--- a/apps/api/src/label/controllers/create-label.ts+++ b/apps/api/src/label/controllers/create-label.ts@@ -1,10 +1,15 @@import db from "../../database";import { labelTable } from "../../database/schema";-async function createLabel(name: string, color: string, taskId: string) {+async function createLabel(+ name: string,+ color: string,+ taskId: string | undefined,+ workspaceId: string,+) {const [label] = await db.insert(labelTable)- .values({ name, color, taskId })+ .values({ name, color, taskId, workspaceId }).returning();return label;diff --git a/apps/api/src/label/controllers/get-labels-by-workspace-id.ts b/apps/api/src/label/controllers/get-labels-by-workspace-id.tsnew file mode 100644index 000000000..e008840b8--- /dev/null+++ b/apps/api/src/label/controllers/get-labels-by-workspace-id.ts@@ -0,0 +1,12 @@+import { eq } from "drizzle-orm";+import db from "../../database";+import { labelTable } from "../../database/schema";++function getLabelsByWorkspaceId(workspaceId: string) {+ return db+ .select()+ .from(labelTable)+ .where(eq(labelTable.workspaceId, workspaceId));+}++export default getLabelsByWorkspaceId;diff --git a/apps/api/src/label/index.ts b/apps/api/src/label/index.tsindex 6c56e6765..26b8ee90c 100644--- a/apps/api/src/label/index.ts+++ b/apps/api/src/label/index.ts@@ -5,6 +5,7 @@ import createLabel from "./controllers/create-label";import deleteLabel from "./controllers/delete-label";import getLabel from "./controllers/get-label";import getLabelsByTaskId from "./controllers/get-labels-by-task-id";+import getLabelsByWorkspaceId from "./controllers/get-labels-by-workspace-id";import updateLabel from "./controllers/update-label";const label = new Hono<{@@ -13,7 +14,7 @@ const label = new Hono<{};}>().get(- "/:taskId",+ "/task/:taskId",zValidator("param", z.object({ taskId: z.string() })),async (c) => {const { taskId } = c.req.valid("param");@@ -21,15 +22,29 @@ const label = new Hono<{return c.json(labels);},)+ .get(+ "/workspace/:workspaceId",+ zValidator("param", z.object({ workspaceId: z.string() })),+ async (c) => {+ const { workspaceId } = c.req.valid("param");+ const labels = await getLabelsByWorkspaceId(workspaceId);+ return c.json(labels);+ },+ ).post("/",zValidator("json",- z.object({ name: z.string(), color: z.string(), taskId: z.string() }),+ z.object({+ name: z.string(),+ color: z.string(),+ taskId: z.string().optional(),+ workspaceId: z.string(),+ }),),async (c) => {- const { name, color, taskId } = c.req.valid("json");- const label = await createLabel(name, color, taskId);+ const { name, color, taskId, workspaceId } = c.req.valid("json");+ const label = await createLabel(name, color, taskId, workspaceId);return c.json(label);},)diff --git a/apps/api/src/notification/index.ts b/apps/api/src/notification/index.tsindex 15be8bbc2..1d7419302 100644--- a/apps/api/src/notification/index.ts+++ b/apps/api/src/notification/index.ts@@ -104,7 +104,11 @@ subscribeToEvent(workspaceId,ownerId,workspaceName,- }: { workspaceId: string; ownerId: string; workspaceName: string }) => {+ }: {+ workspaceId: string;+ ownerId: string;+ workspaceName: string;+ }) => {if (!workspaceId || !ownerId) {return;}diff --git a/apps/api/src/search/controllers/global-search.ts b/apps/api/src/search/controllers/global-search.tsindex 32668208b..de6efac2c 100644--- a/apps/api/src/search/controllers/global-search.ts+++ b/apps/api/src/search/controllers/global-search.ts@@ -231,7 +231,6 @@ async function globalSearch(params: SearchParams): Promise<{id: workspaceTable.id,name: workspaceTable.name,description: workspaceTable.description,- ownerId: workspaceTable.ownerId,createdAt: workspaceTable.createdAt,relevanceScore: workspaceRelevanceScore.as("relevanceScore"),})@@ -262,7 +261,6 @@ async function globalSearch(params: SearchParams): Promise<{description: workspace.description || undefined,workspaceId: workspace.id,workspaceName: workspace.name,- userId: workspace.ownerId,createdAt: workspace.createdAt,relevanceScore: workspace.relevanceScore,});diff --git a/apps/api/src/task/controllers/create-task.ts b/apps/api/src/task/controllers/create-task.tsindex 564e02491..e7ffa079c 100644--- a/apps/api/src/task/controllers/create-task.ts+++ b/apps/api/src/task/controllers/create-task.ts@@ -36,7 +36,7 @@ async function createTask({userId: userId || null,title: title || "",status: status || "",- dueDate: dueDate || new Date(),+ dueDate: dueDate || null,description: description || "",priority: priority || "",number: nextTaskNumber + 1,diff --git a/apps/api/src/task/controllers/update-task-assignee.ts b/apps/api/src/task/controllers/update-task-assignee.tsnew file mode 100644index 000000000..fad7adb5d--- /dev/null+++ b/apps/api/src/task/controllers/update-task-assignee.ts@@ -0,0 +1,37 @@+import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";+import db from "../../database";+import { taskTable } from "../../database/schema";++async function updateTaskAssignee({+ id,+ userId,+}: {+ id: string;+ userId: string;+}) {+ const updatedTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ await db+ .update(taskTable)+ .set({ userId: userId || null })+ .where(eq(taskTable.id, id));++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ return updatedTask;+}++export default updateTaskAssignee;diff --git a/apps/api/src/task/controllers/update-task-description.ts b/apps/api/src/task/controllers/update-task-description.tsnew file mode 100644index 000000000..bf9fffd53--- /dev/null+++ b/apps/api/src/task/controllers/update-task-description.ts@@ -0,0 +1,38 @@+import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";+import db from "../../database";+import { taskTable } from "../../database/schema";++async function updateTaskDescription({+ id,+ description,+}: {+ id: string;+ description: string;+}) {+ const existingTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!existingTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ const [updatedTask] = await db+ .update(taskTable)+ .set({ description })+ .where(eq(taskTable.id, id))+ .returning();++ if (!updatedTask) {+ throw new HTTPException(500, {+ message: "Failed to update task description",+ });+ }++ return updatedTask;+}++export default updateTaskDescription;diff --git a/apps/api/src/task/controllers/update-task-due-date.ts b/apps/api/src/task/controllers/update-task-due-date.tsnew file mode 100644index 000000000..b32a75268--- /dev/null+++ b/apps/api/src/task/controllers/update-task-due-date.ts@@ -0,0 +1,34 @@+import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";+import db from "../../database";+import { taskTable } from "../../database/schema";++async function updateTaskDueDate({+ id,+ dueDate,+}: {+ id: string;+ dueDate: Date;+}) {+ const updatedTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ await db.update(taskTable).set({ dueDate }).where(eq(taskTable.id, id));++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ return updatedTask;+}++export default updateTaskDueDate;diff --git a/apps/api/src/task/controllers/update-task-priority.ts b/apps/api/src/task/controllers/update-task-priority.tsnew file mode 100644index 000000000..66c0787d6--- /dev/null+++ b/apps/api/src/task/controllers/update-task-priority.ts@@ -0,0 +1,34 @@+import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";+import db from "../../database";+import { taskTable } from "../../database/schema";++async function updateTaskPriority({+ id,+ priority,+}: {+ id: string;+ priority: string;+}) {+ const updatedTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ await db.update(taskTable).set({ priority }).where(eq(taskTable.id, id));++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ return updatedTask;+}++export default updateTaskPriority;diff --git a/apps/api/src/task/controllers/update-task-status.ts b/apps/api/src/task/controllers/update-task-status.tsindex 11ef459b6..46e2879b5 100644--- a/apps/api/src/task/controllers/update-task-status.ts+++ b/apps/api/src/task/controllers/update-task-status.ts@@ -1,16 +1,28 @@import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";import db from "../../database";import { taskTable } from "../../database/schema";async function updateTaskStatus({id,status,- userId,-}: { id: string; status: string; userId: string }) {- await db- .update(taskTable)- .set({ status, userId })- .where(eq(taskTable.id, id));+}: {+ id: string;+ status: string;+}) {+ const updatedTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!updatedTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ await db.update(taskTable).set({ status }).where(eq(taskTable.id, id));++ return updatedTask;}export default updateTaskStatus;diff --git a/apps/api/src/task/controllers/update-task-title.ts b/apps/api/src/task/controllers/update-task-title.tsnew file mode 100644index 000000000..f32715bb0--- /dev/null+++ b/apps/api/src/task/controllers/update-task-title.ts@@ -0,0 +1,32 @@+import { eq } from "drizzle-orm";+import { HTTPException } from "hono/http-exception";+import db from "../../database";+import { taskTable } from "../../database/schema";++async function updateTaskTitle({ id, title }: { id: string; title: string }) {+ const existingTask = await db.query.taskTable.findFirst({+ where: eq(taskTable.id, id),+ });++ if (!existingTask) {+ throw new HTTPException(404, {+ message: "Task not found",+ });+ }++ const [updatedTask] = await db+ .update(taskTable)+ .set({ title })+ .where(eq(taskTable.id, id))+ .returning();++ if (!updatedTask) {+ throw new HTTPException(500, {+ message: "Failed to update task title",+ });+ }++ return updatedTask;+}++export default updateTaskTitle;diff --git a/apps/api/src/task/controllers/update-task.ts b/apps/api/src/task/controllers/update-task.tsindex a3232045b..819d726b9 100644--- a/apps/api/src/task/controllers/update-task.ts+++ b/apps/api/src/task/controllers/update-task.ts@@ -2,13 +2,12 @@ import { eq } from "drizzle-orm";import { HTTPException } from "hono/http-exception";import db from "../../database";import { taskTable } from "../../database/schema";-import { publishEvent } from "../../events";async function updateTask(id: string,title: string,status: string,- dueDate: Date,+ dueDate: Date | undefined,projectId: string,description: string,priority: string,@@ -30,7 +29,7 @@ async function updateTask(.set({title,status,- dueDate,+ dueDate: dueDate || null,projectId,description,priority,@@ -46,42 +45,6 @@ async function updateTask(});}- const eventPromises = [];- if (existingTask.status !== status) {- eventPromises.push(- publishEvent("task.status_changed", {- taskId: updatedTask.id,- userId: updatedTask.userId,- oldStatus: existingTask.status,- newStatus: status,- title: updatedTask.title,- }),- );- }- if (existingTask.priority !== priority) {- eventPromises.push(- publishEvent("task.priority_changed", {- taskId: updatedTask.id,- userId: updatedTask.userId,- oldPriority: existingTask.priority,- newPriority: priority,- title: updatedTask.title,- }),- );- }- if (existingTask.userId !== userId) {- eventPromises.push(- publishEvent("task.assignee_changed", {- taskId: updatedTask.id,- newAssignee: userId,- title: updatedTask.title,- }),- );- }- if (eventPromises.length > 0) {- await Promise.all(eventPromises);- }-return updatedTask;}diff --git a/apps/api/src/task/index.ts b/apps/api/src/task/index.tsindex 5ee6180d4..6275d3d98 100644--- a/apps/api/src/task/index.ts+++ b/apps/api/src/task/index.ts@@ -1,6 +1,8 @@import { zValidator } from "@hono/zod-validator";import { Hono } from "hono";import { z } from "zod";+import { auth } from "../auth";+import { publishEvent } from "../events";import createTask from "./controllers/create-task";import deleteTask from "./controllers/delete-task";import exportTasks from "./controllers/export-tasks";@@ -8,6 +10,12 @@ import getTask from "./controllers/get-task";import getTasks from "./controllers/get-tasks";import importTasks from "./controllers/import-tasks";import updateTask from "./controllers/update-task";+import updateTaskAssignee from "./controllers/update-task-assignee";+import updateTaskDescription from "./controllers/update-task-description";+import updateTaskDueDate from "./controllers/update-task-due-date";+import updateTaskPriority from "./controllers/update-task-priority";+import updateTaskStatus from "./controllers/update-task-status";+import updateTaskTitle from "./controllers/update-task-title";const task = new Hono<{Variables: {@@ -32,7 +40,7 @@ const task = new Hono<{z.object({title: z.string(),description: z.string(),- dueDate: z.string(),+ dueDate: z.string().optional(),priority: z.string(),status: z.string(),userId: z.string().optional(),@@ -48,7 +56,7 @@ const task = new Hono<{userId,title,description,- dueDate: new Date(dueDate),+ dueDate: dueDate ? new Date(dueDate) : undefined,priority,status,});@@ -71,7 +79,7 @@ const task = new Hono<{z.object({title: z.string(),description: z.string(),- dueDate: z.string(),+ dueDate: z.string().optional(),priority: z.string(),status: z.string(),projectId: z.string(),@@ -96,7 +104,7 @@ const task = new Hono<{id,title,status,- new Date(dueDate),+ dueDate ? new Date(dueDate) : undefined,projectId,description,priority,@@ -153,7 +161,164 @@ const task = new Hono<{const task = await deleteTask(id);+ return c.json(task);+ },+ )+ .put(+ "/status/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ status: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { status } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskStatus({ id, status });++ await publishEvent("task.status_changed", {+ taskId: task.id,+ userId: user,+ oldStatus: task.status,+ newStatus: status,+ title: task.title,+ type: "status_changed",+ });++ return c.json(task);+ },+ )+ .put(+ "/priority/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ priority: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { priority } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskPriority({ id, priority });++ await publishEvent("task.priority_changed", {+ taskId: task.id,+ userId: user,+ oldPriority: task.priority,+ newPriority: priority,+ title: task.title,+ type: "priority_changed",+ });++ return c.json(task);+ },+ )+ .put(+ "/assignee/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ userId: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { userId } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskAssignee({ id, userId });++ const members = await auth.api.listMembers({+ headers: c.req.header(),+ });++ const newAssigneeName = members.members.find(+ (member) => member.userId === userId,+ )?.user?.name;++ if (!userId) {+ await publishEvent("task.unassigned", {+ taskId: task.id,+ userId: user,+ title: task.title,+ type: "unassigned",+ });+ return c.json(task);+ }++ await publishEvent("task.assignee_changed", {+ taskId: task.id,+ userId: user,+ oldAssignee: task.userId,+ newAssignee: newAssigneeName,+ title: task.title,+ type: "assignee_changed",+ });++ return c.json(task);+ },+ )+ .put(+ "/due-date/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ dueDate: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { dueDate } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskDueDate({ id, dueDate: new Date(dueDate) });++ await publishEvent("task.due_date_changed", {+ taskId: task.id,+ userId: user,+ oldDueDate: task.dueDate,+ newDueDate: dueDate,+ title: task.title,+ type: "due_date_changed",+ });++ return c.json(task);+ },+ )++ .put(+ "/title/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ title: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { title } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskTitle({ id, title });++ await publishEvent("task.title_changed", {+ taskId: task.id,+ userId: user,+ oldTitle: task.title,+ newTitle: title,+ title: task.title,+ type: "title_changed",+ });++ return c.json(task);+ },+ )++ .put(+ "/description/:id",+ zValidator("param", z.object({ id: z.string() })),+ zValidator("json", z.object({ description: z.string() })),+ async (c) => {+ const { id } = c.req.valid("param");+ const { description } = c.req.valid("json");+ const user = c.get("userId");++ const task = await updateTaskDescription({ id, description });++ await publishEvent("task.description_changed", {+ taskId: task.id,+ userId: user,+ title: task.title,+ type: "description_changed",+ });+return c.json(task);},);+export default task;diff --git a/apps/api/src/utils/get-settings.ts b/apps/api/src/utils/get-settings.tsindex f83a12bd0..e23ce5daf 100644--- a/apps/api/src/utils/get-settings.ts+++ b/apps/api/src/utils/get-settings.ts@@ -1,11 +1,23 @@-import dotenv from "dotenv";+import { config } from "dotenv-mono";-dotenv.config();+config();function getSettings() {return {disableRegistration: process.env.DISABLE_REGISTRATION === "true",isDemoMode: process.env.DEMO_MODE === "true",+ hasSmtp:+ Boolean(process.env.SMTP_HOST) &&+ Boolean(process.env.SMTP_PORT) &&+ Boolean(process.env.SMTP_SECURE) &&+ Boolean(process.env.SMTP_USER) &&+ Boolean(process.env.SMTP_PASSWORD),+ hasGithubSignIn:+ Boolean(process.env.GITHUB_CLIENT_ID) &&+ Boolean(process.env.GITHUB_CLIENT_SECRET),+ hasGoogleSignIn:+ Boolean(process.env.GOOGLE_CLIENT_ID) &&+ Boolean(process.env.GOOGLE_CLIENT_SECRET),};}diff --git a/apps/api/src/utils/migrate-organizations.ts b/apps/api/src/utils/migrate-organizations.tsnew file mode 100644index 000000000..b500c6180--- /dev/null+++ b/apps/api/src/utils/migrate-organizations.ts@@ -0,0 +1,40 @@+import { eq } from "drizzle-orm";+import { auth } from "../auth";+import db, { schema } from "../database";++async function migrateOrganizations() {+ console.log("Migrating organizations...");++ const workspaces = await db.select().from(schema.workspaceTable);++ for (const workspace of workspaces) {+ const members = await db+ .select()+ .from(schema.workspaceUserTable)+ .where(eq(schema.workspaceUserTable.workspaceId, workspace.id));++ const owner = members.find((member) => member.role === "owner");++ const data = await auth.api.createOrganization({+ body: {+ name: workspace.name,+ description: workspace.description || undefined,+ slug:+ workspace.slug || workspace.name.toLowerCase().replace(/\s+/g, "-"),+ userId: owner?.userId,+ },+ });++ // now we need to migrate the members+ for (const member of members) {+ await auth.api.addTeamMember({+ body: {+ teamId: data?.id || "",+ userId: member.userId,+ },+ });+ }+ }+}++export default migrateOrganizations;diff --git a/apps/api/src/utils/migrate-workspace-user-email.ts b/apps/api/src/utils/migrate-workspace-user-email.tsnew file mode 100644index 000000000..90298fd33--- /dev/null+++ b/apps/api/src/utils/migrate-workspace-user-email.ts@@ -0,0 +1,151 @@+import { sql } from "drizzle-orm";+import db from "../database";++/**+ * Migration script to handle conversion from user_email to user_id in workspace_member table.+ * This runs before Drizzle migrations to ensure no NULL user_id values exist and prevents+ * column collision errors during migration.+ */+export async function migrateWorkspaceUserEmail() {+ console.log(+ "🔄 Checking workspace_member table for user_email to user_id migration...",+ );++ try {+ const tableExists = await db.execute(sql`+ SELECT EXISTS (+ SELECT 1+ FROM information_schema.tables+ WHERE table_name = 'workspace_member'+ ) AS exists;+ `);++ const exists =+ tableExists.rows[0]?.exists === true ||+ tableExists.rows[0]?.exists === "t";+ if (!exists) {+ console.log(+ "🛈 workspace_member table does not exist — skipping migration.",+ );+ return;+ }++ // Check if user_email column still exists+ const hasUserEmailColumn = await db.execute(sql`+ SELECT column_name+ FROM information_schema.columns+ WHERE table_name = 'workspace_member'+ AND column_name = 'user_email'+ `);++ // Check if user_id column already exists+ const hasUserIdColumn = await db.execute(sql`+ SELECT column_name+ FROM information_schema.columns+ WHERE table_name = 'workspace_member'+ AND column_name = 'user_id'+ `);++ if (hasUserEmailColumn.rows.length > 0) {+ console.log("📧 Found user_email column, migrating to user_id...");++ // Add user_id column if it doesn't exist+ if (hasUserIdColumn.rows.length === 0) {+ await db.execute(sql`+ ALTER TABLE "workspace_member" ADD COLUMN "user_id" text;+ `);+ console.log("➕ Added user_id column");+ }++ // Update user_id based on user_email+ await db.execute(sql`+ UPDATE "workspace_member"+ SET "user_id" = (+ SELECT u.id+ FROM "user" u+ WHERE u.email = "workspace_member"."user_email"+ )+ WHERE "user_id" IS NULL AND "user_email" IS NOT NULL;+ `);++ // Remove records where user_email doesn't match any existing user+ const orphanedRecords = await db.execute(sql`+ SELECT COUNT(*) as count+ FROM "workspace_member"+ WHERE "user_id" IS NULL AND "user_email" IS NOT NULL;+ `);++ if (+ orphanedRecords.rows[0]?.count &&+ Number(orphanedRecords.rows[0].count) > 0+ ) {+ console.log(+ `⚠️ Found ${orphanedRecords.rows[0].count} workspace_member records with invalid user_email. Removing them...`,+ );++ await db.execute(sql`+ DELETE FROM "workspace_member"+ WHERE "user_id" IS NULL AND "user_email" IS NOT NULL;+ `);+ }++ // Remove records where both user_email and user_id are NULL+ const nullRecords = await db.execute(sql`+ SELECT COUNT(*) as count+ FROM "workspace_member"+ WHERE "user_id" IS NULL AND ("user_email" IS NULL OR "user_email" = '');+ `);++ if (nullRecords.rows[0]?.count && Number(nullRecords.rows[0].count) > 0) {+ console.log(+ `⚠️ Found ${nullRecords.rows[0].count} workspace_member records with no user identification. Removing them...`,+ );++ await db.execute(sql`+ DELETE FROM "workspace_member"+ WHERE "user_id" IS NULL AND ("user_email" IS NULL OR "user_email" = '');+ `);+ }++ // Drop the user_email column (completing the migration)+ await db.execute(sql`+ ALTER TABLE "workspace_member" DROP COLUMN "user_email";+ `);++ console.log(+ "✅ Successfully migrated user_email to user_id and dropped user_email column",+ );+ } else if (hasUserIdColumn.rows.length === 0) {+ // Neither column exists, add user_id column+ console.log("➕ Adding user_id column to workspace_member table...");+ await db.execute(sql`+ ALTER TABLE "workspace_member" ADD COLUMN "user_id" text;+ `);+ }++ // Check if there are any remaining NULL user_id values+ const nullUserIds = await db.execute(sql`+ SELECT COUNT(*) as count+ FROM "workspace_member"+ WHERE "user_id" IS NULL;+ `);++ if (nullUserIds.rows[0]?.count && Number(nullUserIds.rows[0].count) > 0) {+ console.log(+ `⚠️ Found ${nullUserIds.rows[0].count} workspace_member records with NULL user_id. Removing them...`,+ );++ await db.execute(sql`+ DELETE FROM "workspace_member"+ WHERE "user_id" IS NULL;+ `);++ console.log("✅ Removed records with NULL user_id");+ }++ console.log("✅ Workspace member migration completed successfully!");+ } catch (error) {+ console.error("❌ Error during workspace member migration:", error);+ throw error;+ }+}diff --git a/apps/api/src/utils/purge-demo-data.ts b/apps/api/src/utils/purge-demo-data.tsdeleted file mode 100644index 8d9a9f3e7..000000000--- a/apps/api/src/utils/purge-demo-data.ts+++ /dev/null@@ -1,17 +0,0 @@-import { projectTable } from "../database/schema";-import { taskTable } from "../database/schema";-import { userTable } from "../database/schema";-import { workspaceTable } from "../database/schema";-import { workspaceUserTable } from "../database/schema";--import db from "../database";--async function purgeData() {- await db.delete(userTable);- await db.delete(workspaceTable);- await db.delete(workspaceUserTable);- await db.delete(projectTable);- await db.delete(taskTable);-}--export default purgeData;diff --git a/apps/api/src/utils/to-normal-case.ts b/apps/api/src/utils/to-normal-case.tsnew file mode 100644index 000000000..d15232433--- /dev/null+++ b/apps/api/src/utils/to-normal-case.ts@@ -0,0 +1,10 @@+function toNormalCase(str: string | undefined) {+ if (!str) return str;+ return str+ .replace(/[-_]/g, " ")+ .split(" ")+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())+ .join(" ");+}++export default toNormalCase;diff --git a/apps/api/src/workspace-user/controllers/create-root-workspace-user.ts b/apps/api/src/workspace-user/controllers/create-root-workspace-user.tsdeleted file mode 100644index b8a24d19b..000000000--- a/apps/api/src/workspace-user/controllers/create-root-workspace-user.ts+++ /dev/null@@ -1,18 +0,0 @@-import db from "../../database";-import { workspaceUserTable } from "../../database/schema";--async function createRootWorkspaceUser(workspaceId: string, userId: string) {- const [workspaceUser] = await db- .insert(workspaceUserTable)- .values({- workspaceId,- userId,- role: "owner",- status: "active",- })- .returning();-- return workspaceUser;-}--export default createRootWorkspaceUser;diff --git a/apps/api/src/workspace-user/controllers/delete-workspace-user.ts b/apps/api/src/workspace-user/controllers/delete-workspace-user.tsdeleted file mode 100644index d9531ed53..000000000--- a/apps/api/src/workspace-user/controllers/delete-workspace-user.ts+++ /dev/null@@ -1,19 +0,0 @@-import { and, eq } from "drizzle-orm";-import db from "../../database";-import { workspaceUserTable } from "../../database/schema";--async function deleteWorkspaceUser(workspaceId: string, userId: string) {- const [deletedWorkspaceUser] = await db- .delete(workspaceUserTable)- .where(- and(- eq(workspaceUserTable.workspaceId, workspaceId),- eq(workspaceUserTable.userId, userId),- ),- )- .returning();-- return deletedWorkspaceUser;-}--export default deleteWorkspaceUser;diff --git a/apps/api/src/workspace-user/controllers/get-active-workspace-users.ts b/apps/api/src/workspace-user/controllers/get-active-workspace-users.tsdeleted file mode 100644index ec4fae2e3..000000000--- a/apps/api/src/workspace-user/controllers/get-active-workspace-users.ts+++ /dev/null@@ -1,26 +0,0 @@-import { and, eq } from "drizzle-orm";-import db from "../../database";-import { userTable, workspaceUserTable } from "../../database/schema";--async function getActiveWorkspaceUsers(workspaceId: string) {- const activeWorkspaceUsers = await db- .select({- id: workspaceUserTable.id,- userId: workspaceUserTable.userId,- userName: userTable.name,- role: workspaceUserTable.role,- status: workspaceUserTable.status,- })- .from(workspaceUserTable)- .where(- and(- eq(workspaceUserTable.workspaceId, workspaceId),- eq(workspaceUserTable.status, "active"),- ),- )- .innerJoin(userTable, eq(workspaceUserTable.userId, userTable.id));-- return activeWorkspaceUsers;-}--export default getActiveWorkspaceUsers;diff --git a/apps/api/src/workspace-user/controllers/get-workspace-user.ts b/apps/api/src/workspace-user/controllers/get-workspace-user.tsdeleted file mode 100644index df6636286..000000000--- a/apps/api/src/workspace-user/controllers/get-workspace-user.ts+++ /dev/null@@ -1,20 +0,0 @@-import { eq } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceUserTable } from "../../database/schema";--async function getWorkspaceUser(id: string) {- const workspaceUser = await db.query.workspaceUserTable.findMany({- where: eq(workspaceUserTable.workspaceId, id),- });-- if (!workspaceUser) {- throw new HTTPException(404, {- message: "Workspace user not found",- });- }-- return workspaceUser;-}--export default getWorkspaceUser;diff --git a/apps/api/src/workspace-user/controllers/get-workspace-users.ts b/apps/api/src/workspace-user/controllers/get-workspace-users.tsdeleted file mode 100644index bfb0b9bbb..000000000--- a/apps/api/src/workspace-user/controllers/get-workspace-users.ts+++ /dev/null@@ -1,20 +0,0 @@-import { asc, eq } from "drizzle-orm";-import db from "../../database";-import { userTable, workspaceUserTable } from "../../database/schema";--function getWorkspaceUsers(workspaceId: string) {- return db- .select({- userId: workspaceUserTable.userId,- userName: userTable.name,- joinedAt: workspaceUserTable.joinedAt,- status: workspaceUserTable.status,- role: workspaceUserTable.role,- })- .from(workspaceUserTable)- .leftJoin(userTable, eq(workspaceUserTable.userId, userTable.id))- .where(eq(workspaceUserTable.workspaceId, workspaceId))- .orderBy(asc(workspaceUserTable.status));-}--export default getWorkspaceUsers;diff --git a/apps/api/src/workspace-user/controllers/invite-workspace-user.ts b/apps/api/src/workspace-user/controllers/invite-workspace-user.tsdeleted file mode 100644index 694a75f63..000000000--- a/apps/api/src/workspace-user/controllers/invite-workspace-user.ts+++ /dev/null@@ -1,45 +0,0 @@-import { and, eq } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceTable, workspaceUserTable } from "../../database/schema";--async function inviteWorkspaceUser(workspaceId: string, userId: string) {- const [workspace] = await db- .select()- .from(workspaceTable)- .where(eq(workspaceTable.id, workspaceId));-- if (!workspace) {- throw new HTTPException(404, {- message: "Workspace not found",- });- }-- const [existingUser] = await db- .select()- .from(workspaceUserTable)- .where(- and(- eq(workspaceUserTable.workspaceId, workspaceId),- eq(workspaceUserTable.userId, userId),- ),- );-- if (existingUser) {- throw new HTTPException(400, {- message: "User is already invited to this workspace",- });- }-- const [invitedUser] = await db- .insert(workspaceUserTable)- .values({- userId,- workspaceId,- })- .returning();-- return invitedUser;-}--export default inviteWorkspaceUser;diff --git a/apps/api/src/workspace-user/controllers/update-workspace-user.ts b/apps/api/src/workspace-user/controllers/update-workspace-user.tsdeleted file mode 100644index 4f0c17d86..000000000--- a/apps/api/src/workspace-user/controllers/update-workspace-user.ts+++ /dev/null@@ -1,15 +0,0 @@-import { eq } from "drizzle-orm";-import db from "../../database";-import { workspaceUserTable } from "../../database/schema";--async function updateWorkspaceUser(userId: string, status: string) {- const [updatedWorkspaceUser] = await db- .update(workspaceUserTable)- .set({ status })- .where(eq(workspaceUserTable.userId, userId))- .returning();-- return updatedWorkspaceUser;-}--export default updateWorkspaceUser;diff --git a/apps/api/src/workspace-user/index.ts b/apps/api/src/workspace-user/index.tsdeleted file mode 100644index 8b91d60bf..000000000--- a/apps/api/src/workspace-user/index.ts+++ /dev/null@@ -1,146 +0,0 @@-import { zValidator } from "@hono/zod-validator";-import { Hono } from "hono";-import { z } from "zod";-import { subscribeToEvent } from "../events";-import createRootWorkspaceUser from "./controllers/create-root-workspace-user";-import deleteWorkspaceUser from "./controllers/delete-workspace-user";-import getActiveWorkspaceUsers from "./controllers/get-active-workspace-users";-import getWorkspaceUser from "./controllers/get-workspace-user";-import getWorkspaceUsers from "./controllers/get-workspace-users";-import inviteWorkspaceUser from "./controllers/invite-workspace-user";-import updateWorkspaceUser from "./controllers/update-workspace-user";--const workspaceUser = new Hono<{- Variables: {- userId: string;- };-}>()- .get("/:id", zValidator("param", z.object({ id: z.string() })), async (c) => {- const { id } = c.req.valid("param");-- const workspaceUser = await getWorkspaceUser(id);-- return c.json(workspaceUser);- })- .post(- "/root",- zValidator(- "json",- z.object({- workspaceId: z.string(),- userId: z.string(),- }),- ),- async (c) => {- const { workspaceId, userId } = c.req.valid("json");-- const workspaceUser = await createRootWorkspaceUser(workspaceId, userId);-- return c.json(workspaceUser);- },- )- .get(- "/:workspaceId",- zValidator("param", z.object({ workspaceId: z.string() })),- async (c) => {- const { workspaceId } = c.req.valid("param");-- const workspaceUsers = await getWorkspaceUsers(workspaceId);-- return c.json(workspaceUsers);- },- )- .delete(- "/:workspaceId",- zValidator("param", z.object({ workspaceId: z.string() })),- zValidator("query", z.object({ userId: z.string() })),- async (c) => {- const { workspaceId } = c.req.valid("param");- const { userId } = c.req.valid("query");-- const deletedWorkspaceUser = await deleteWorkspaceUser(- workspaceId,- userId,- );-- return c.json(deletedWorkspaceUser);- },- )- .put(- "/:userId",- zValidator("param", z.object({ userId: z.string() })),- zValidator("json", z.object({ status: z.string() })),- async (c) => {- const { userId } = c.req.valid("param");- const { status } = c.req.valid("json");-- const updatedWorkspaceUser = await updateWorkspaceUser(userId, status);-- return c.json(updatedWorkspaceUser);- },- )- .get(- "/:workspaceId/active",- zValidator("param", z.object({ workspaceId: z.string() })),- async (c) => {- const { workspaceId } = c.req.valid("param");-- const activeWorkspaceUsers = await getActiveWorkspaceUsers(workspaceId);-- return c.json(activeWorkspaceUsers);- },- )- .post(- "/:workspaceId/invite",- zValidator("param", z.object({ workspaceId: z.string() })),- zValidator("json", z.object({ userId: z.string() })),- async (c) => {- const { workspaceId } = c.req.valid("param");- const { userId } = c.req.valid("json");-- const workspaceUser = await inviteWorkspaceUser(workspaceId, userId);-- return c.json(workspaceUser);- },- )- .delete(- "/:workspaceId/invite/:userId",- zValidator(- "param",- z.object({ workspaceId: z.string(), userId: z.string() }),- ),- async (c) => {- const { workspaceId, userId } = c.req.valid("param");-- const deletedWorkspaceUser = await deleteWorkspaceUser(- workspaceId,- userId,- );-- return c.json(deletedWorkspaceUser);- },- );--subscribeToEvent("user.signed_up", async ({ email }: { email: string }) => {- if (!email) {- return;- }-- await updateWorkspaceUser(email, "active");-});--subscribeToEvent(- "workspace.created",- async ({- workspaceId,- ownerId,- }: { workspaceId: string; ownerId: string }) => {- if (!workspaceId || !ownerId) {- return;- }-- await createRootWorkspaceUser(workspaceId, ownerId);- },-);--export default workspaceUser;diff --git a/apps/api/src/workspace/controllers/create-workspace.ts b/apps/api/src/workspace/controllers/create-workspace.tsdeleted file mode 100644index 1278d6a85..000000000--- a/apps/api/src/workspace/controllers/create-workspace.ts+++ /dev/null@@ -1,29 +0,0 @@-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceTable } from "../../database/schema";-import { publishEvent } from "../../events";-async function createWorkspace(name: string, ownerId: string) {- const [workspace] = await db- .insert(workspaceTable)- .values({- name,- ownerId,- })- .returning();-- if (!workspace) {- throw new HTTPException(500, {- message: "Failed to create workspace",- });- }-- publishEvent("workspace.created", {- workspaceId: workspace.id,- workspaceName: workspace.name,- ownerId,- });-- return workspace;-}--export default createWorkspace;diff --git a/apps/api/src/workspace/controllers/delete-workspace.ts b/apps/api/src/workspace/controllers/delete-workspace.tsdeleted file mode 100644index a4b2c8cdd..000000000--- a/apps/api/src/workspace/controllers/delete-workspace.ts+++ /dev/null@@ -1,42 +0,0 @@-import { and, eq } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceTable } from "../../database/schema";--async function deleteWorkspace(userId: string, workspaceId: string) {- const [existingWorkspace] = await db- .select({- id: workspaceTable.id,- ownerId: workspaceTable.ownerId,- })- .from(workspaceTable)- .where(- and(- eq(workspaceTable.id, workspaceId),- eq(workspaceTable.ownerId, userId),- ),- )- .limit(1);-- const isWorkspaceExisting = Boolean(existingWorkspace);-- if (!isWorkspaceExisting) {- throw new HTTPException(404, {- message: "Workspace not found",- });- }-- const [deletedWorkspace] = await db- .delete(workspaceTable)- .where(eq(workspaceTable.id, workspaceId))- .returning({- id: workspaceTable.id,- name: workspaceTable.name,- ownerId: workspaceTable.ownerId,- createdAt: workspaceTable.createdAt,- });-- return deletedWorkspace;-}--export default deleteWorkspace;diff --git a/apps/api/src/workspace/controllers/get-workspace.ts b/apps/api/src/workspace/controllers/get-workspace.tsdeleted file mode 100644index a35dd21c3..000000000--- a/apps/api/src/workspace/controllers/get-workspace.ts+++ /dev/null@@ -1,42 +0,0 @@-import { and, eq, or } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceTable, workspaceUserTable } from "../../database/schema";--async function getWorkspace(userId: string, workspaceId: string) {- const [existingWorkspace] = await db- .select({- id: workspaceTable.id,- name: workspaceTable.name,- ownerId: workspaceTable.ownerId,- description: workspaceTable.description,- createdAt: workspaceTable.createdAt,- })- .from(workspaceTable)- .leftJoin(- workspaceUserTable,- eq(workspaceTable.id, workspaceUserTable.workspaceId),- )- .where(- and(- eq(workspaceTable.id, workspaceId),- or(- eq(workspaceTable.ownerId, userId),- eq(workspaceUserTable.userId, userId),- ),- ),- )- .limit(1);-- const isWorkspaceExisting = Boolean(existingWorkspace);-- if (!isWorkspaceExisting) {- throw new HTTPException(404, {- message: "Workspace not found",- });- }-- return existingWorkspace;-}--export default getWorkspace;diff --git a/apps/api/src/workspace/controllers/get-workspaces.ts b/apps/api/src/workspace/controllers/get-workspaces.tsdeleted file mode 100644index 74a6de536..000000000--- a/apps/api/src/workspace/controllers/get-workspaces.ts+++ /dev/null@@ -1,35 +0,0 @@-import { eq, or } from "drizzle-orm";-import db from "../../database";-import { workspaceTable, workspaceUserTable } from "../../database/schema";--async function getWorkspaces(userId: string) {- const workspaces = await db- .select({- id: workspaceTable.id,- name: workspaceTable.name,- ownerId: workspaceTable.ownerId,- createdAt: workspaceTable.createdAt,- description: workspaceTable.description,- })- .from(workspaceTable)- .leftJoin(- workspaceUserTable,- eq(workspaceTable.id, workspaceUserTable.workspaceId),- )- .where(- or(- eq(workspaceTable.ownerId, userId),- eq(workspaceUserTable.userId, userId),- ),- )- .groupBy(- workspaceTable.id,- workspaceTable.name,- workspaceTable.ownerId,- workspaceTable.description,- );-- return workspaces;-}--export default getWorkspaces;diff --git a/apps/api/src/workspace/controllers/update-workspace.ts b/apps/api/src/workspace/controllers/update-workspace.tsdeleted file mode 100644index d9afa4fa7..000000000--- a/apps/api/src/workspace/controllers/update-workspace.ts+++ /dev/null@@ -1,52 +0,0 @@-import { and, eq } from "drizzle-orm";-import { HTTPException } from "hono/http-exception";-import db from "../../database";-import { workspaceTable } from "../../database/schema";--async function updateWorkspace(- userId: string,- workspaceId: string,- name: string,- description: string,-) {- const [existingWorkspace] = await db- .select({- id: workspaceTable.id,- ownerId: workspaceTable.ownerId,- })- .from(workspaceTable)- .where(- and(- eq(workspaceTable.id, workspaceId),- eq(workspaceTable.ownerId, userId),- ),- )- .limit(1);-- const isWorkspaceExisting = Boolean(existingWorkspace);-- if (!isWorkspaceExisting) {- throw new HTTPException(404, {- message: "Workspace not found",- });- }-- const [updatedWorkspace] = await db- .update(workspaceTable)- .set({- name,- description,- })- .where(eq(workspaceTable.id, workspaceId))- .returning({- id: workspaceTable.id,- name: workspaceTable.name,- ownerId: workspaceTable.ownerId,- description: workspaceTable.description,- createdAt: workspaceTable.createdAt,- });-- return updatedWorkspace;-}--export default updateWorkspace;diff --git a/apps/api/src/workspace/index.ts b/apps/api/src/workspace/index.tsdeleted file mode 100644index a8f5884e3..000000000--- a/apps/api/src/workspace/index.ts+++ /dev/null@@ -1,72 +0,0 @@-import { zValidator } from "@hono/zod-validator";-import { Hono } from "hono";-import { z } from "zod";-import createWorkspace from "./controllers/create-workspace";-import deleteWorkspace from "./controllers/delete-workspace";-import getWorkspace from "./controllers/get-workspace";-import getWorkspaces from "./controllers/get-workspaces";-import updateWorkspace from "./controllers/update-workspace";--const workspace = new Hono<{- Variables: {- userId: string;- };-}>()- .get("/", async (c) => {- const userId = c.get("userId");-- const workspaces = await getWorkspaces(userId);-- return c.json(workspaces);- })- .get("/:id", zValidator("param", z.object({ id: z.string() })), async (c) => {- const id = c.req.param("id");-- const userId = c.get("userId");-- const workspace = await getWorkspace(userId, id);-- return c.json(workspace);- })- .post(- "/",- zValidator("json", z.object({ name: z.string(), description: z.string() })),- async (c) => {- const { name } = c.req.valid("json");-- const userId = c.get("userId");-- const workspace = await createWorkspace(name, userId);-- return c.json(workspace);- },- )- .put(- "/:id",- zValidator("json", z.object({ name: z.string(), description: z.string() })),- async (c) => {- const id = c.req.param("id");- const { name, description } = c.req.valid("json");-- const userId = c.get("userId");-- const workspace = await updateWorkspace(userId, id, name, description);-- return c.json(workspace);- },- )- .delete(- "/:id",- zValidator("param", z.object({ id: z.string() })),- async (c) => {- const id = c.req.param("id");-- const userId = c.get("userId");-- const workspace = await deleteWorkspace(userId, id);-- return c.json(workspace);- },- );--export default workspace;diff --git a/apps/api/tsconfig.json b/apps/api/tsconfig.jsonindex 803a272f0..a7e0e664d 100644--- a/apps/api/tsconfig.json+++ b/apps/api/tsconfig.json@@ -12,9 +12,10 @@"DOM"],"sourceMap": true,- "declaration": true,"skipLibCheck": true,- "isolatedModules": true+ "isolatedModules": true,+ "declaration": false,+ "declarationMap": false},"include": ["src/**/*"diff --git a/apps/docs/app/(home)/layout.tsx b/apps/docs/app/(home)/layout.tsxindex 0d9f755c2..6b33b0462 100644--- a/apps/docs/app/(home)/layout.tsx+++ b/apps/docs/app/(home)/layout.tsx@@ -1,14 +1,15 @@-import { baseOptions } from "@/app/layout.config";import { HomeLayout } from "fumadocs-ui/layouts/home";import { Book, Server } from "lucide-react";import type { Metadata } from "next";+import Link from "next/link";import Script from "next/script";import type { ReactNode } from "react";+import { baseOptions } from "@/app/layout.config";export const metadata: Metadata = {- title: "Kaneo - Project management made simple",+ title: "Kaneo ⎯ All you need. Nothing you don't.",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com. Features kanban boards, time tracking, Gantt charts, and team collaboration. Docker deployment in 5 minutes.",+ "All you need. Nothing you don't. Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",alternates: {canonical: "https://kaneo.app",},@@ -16,24 +17,24 @@ export const metadata: Metadata = {type: "website",locale: "en_US",url: "https://kaneo.app",- title: "Kaneo - Project management made simple",+ title: "Kaneo ⎯ All you need. Nothing you don't.",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com with kanban boards, time tracking, and team collaboration.",+ "Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",siteName: "Kaneo",images: [{url: "/og-image.png",width: 1200,height: 630,- alt: "Kaneo - Free Open Source Project Management Software",+ alt: "Kaneo ⎯ All you need. Nothing you don't.",},],},twitter: {card: "summary_large_image",- title: "Kaneo - Project management made simple",+ title: "Kaneo ⎯ All you need. Nothing you don't.",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com with kanban boards, time tracking, and team collaboration.",+ "Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",images: ["/og-image.png"],creator: "@usekaneo",},@@ -50,8 +51,36 @@ export const metadata: Metadata = {export default function Layout({ children }: { children: ReactNode }) {return (<HomeLayout+ className="bg-sidebar"{...baseOptions}links={[+ {+ type: "custom",+ on: "nav",+ children: (+ <Link+ href="https://cloud.kaneo.app"+ className="inline-flex items-center gap-1.5 p-2 text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground data-[active=true]:text-fd-primary [&_svg]:size-4 text-base"+ >+ Cloud+ <span className="rounded border border-fd-border bg-fd-card px-1.5 py-0.5 text-[9px] font-medium uppercase tracking-wider text-fd-muted-foreground">+ Free Forever+ </span>+ </Link>+ ),+ },+ {+ type: "custom",+ on: "nav",+ children: (+ <Link+ href="/docs"+ className="inline-flex items-center gap-1 p-2 text-fd-muted-foreground transition-colors hover:text-fd-accent-foreground data-[active=true]:text-fd-primary [&_svg]:size-4 text-base"+ >+ Documentation+ </Link>+ ),+ },{type: "menu",on: "menu",@@ -85,6 +114,27 @@ export default function Layout({ children }: { children: ReactNode }) {),external: true,},+ {+ type: "icon",+ url: "https://discord.com/invite/rU4tSyhXXU",+ text: "Discord",+ icon: (+ <svg+ viewBox="0 -28.5 256 256"+ version="1.1"+ xmlns="http://www.w3.org/2000/svg"+ >+ <title>Discord</title>+ <g>+ <path+ d="M216.856339,16.5966031 C200.285002,8.84328665 182.566144,3.2084988 164.041564,0 C161.766523,4.11318106 159.108624,9.64549908 157.276099,14.0464379 C137.583995,11.0849896 118.072967,11.0849896 98.7430163,14.0464379 C96.9108417,9.64549908 94.1925838,4.11318106 91.8971895,0 C73.3526068,3.2084988 55.6133949,8.86399117 39.0420583,16.6376612 C5.61752293,67.146514 -3.4433191,116.400813 1.08711069,164.955721 C23.2560196,181.510915 44.7403634,191.567697 65.8621325,198.148576 C71.0772151,190.971126 75.7283628,183.341335 79.7352139,175.300261 C72.104019,172.400575 64.7949724,168.822202 57.8887866,164.667963 C59.7209612,163.310589 61.5131304,161.891452 63.2445898,160.431257 C105.36741,180.133187 151.134928,180.133187 192.754523,160.431257 C194.506336,161.891452 196.298154,163.310589 198.110326,164.667963 C191.183787,168.842556 183.854737,172.420929 176.223542,175.320965 C180.230393,183.341335 184.861538,190.991831 190.096624,198.16893 C211.238746,191.588051 232.743023,181.531619 254.911949,164.955721 C260.227747,108.668201 245.831087,59.8662432 216.856339,16.5966031 Z M85.4738752,135.09489 C72.8290281,135.09489 62.4592217,123.290155 62.4592217,108.914901 C62.4592217,94.5396472 72.607595,82.7145587 85.4738752,82.7145587 C98.3405064,82.7145587 108.709962,94.5189427 108.488529,108.914901 C108.508531,123.290155 98.3405064,135.09489 85.4738752,135.09489 Z M170.525237,135.09489 C157.88039,135.09489 147.510584,123.290155 147.510584,108.914901 C147.510584,94.5396472 157.658606,82.7145587 170.525237,82.7145587 C183.391518,82.7145587 193.761324,94.5189427 193.539891,108.914901 C193.539891,123.290155 183.391518,135.09489 170.525237,135.09489 Z"+ fill="currentColor"+ />+ </g>+ </svg>+ ),+ external: true,+ },]}><Scriptdiff --git a/apps/docs/app/(home)/page.tsx b/apps/docs/app/(home)/page.tsxindex da1ec448c..ac7e1b380 100644--- a/apps/docs/app/(home)/page.tsx+++ b/apps/docs/app/(home)/page.tsx@@ -1,21 +1,32 @@-import Community from "@/components/community";import Features from "@/components/features";import Footer from "@/components/footer";import Hero from "@/components/hero";-import Stats from "@/components/stats";+import PersonalStatement from "@/components/personal-statement";+import SectionSeparator from "@/components/section-separator";import StructuredData from "@/components/structured-data";export default function HomePage() {return (- <main>- <StructuredData type="organization" />- <StructuredData type="software" />- <StructuredData type="faq" />- <Hero />- <Stats />- <Features />- <Community />+ <>+ <main className="relative">+ <StructuredData type="organization" />+ <StructuredData type="software" />+ <StructuredData type="faq" />++ <div className="relative">+ <Hero />+ </div>++ <SectionSeparator>+ <Features />+ </SectionSeparator>++ <SectionSeparator>+ <PersonalStatement />+ </SectionSeparator>+ </main>+<Footer />- </main>+ </>);}diff --git a/apps/docs/app/api/search/route.ts b/apps/docs/app/api/search/route.tsindex ba030707e..5369f411c 100644--- a/apps/docs/app/api/search/route.ts+++ b/apps/docs/app/api/search/route.ts@@ -1,5 +1,5 @@-import { source } from "@/lib/source";import { createFromSource } from "fumadocs-core/search/server";+import { source } from "@/lib/source";export const revalidate = false;diff --git a/apps/docs/app/docs-og/[...slug]/route.ts b/apps/docs/app/docs-og/[...slug]/route.tsindex b699414da..0cc97f10f 100644--- a/apps/docs/app/docs-og/[...slug]/route.ts+++ b/apps/docs/app/docs-og/[...slug]/route.ts@@ -1,6 +1,6 @@+import { notFound } from "next/navigation";import { generateOgImage } from "@/lib/og";import { source } from "@/lib/source";-import { notFound } from "next/navigation";export async function GET(_req: Request,diff --git a/apps/docs/app/docs/[[...slug]]/page.tsx b/apps/docs/app/docs/[[...slug]]/page.tsxindex 3ea093170..3996b37c3 100644--- a/apps/docs/app/docs/[[...slug]]/page.tsx+++ b/apps/docs/app/docs/[[...slug]]/page.tsx@@ -1,12 +1,18 @@-import { source } from "@/lib/source";-import { getMDXComponents } from "@/mdx-components";+import path from "node:path";import Link from "fumadocs-core/link";-import { buttonVariants } from "fumadocs-ui/components/ui/button";-import { createRelativeLink } from "fumadocs-ui/mdx";-import { DocsBody, DocsPage, DocsTitle } from "fumadocs-ui/page";-import { cn } from "fumadocs-ui/utils/cn";+import { Banner } from "fumadocs-ui/components/banner";+import { Callout } from "fumadocs-ui/components/callout";+import { DocsPage } from "fumadocs-ui/page";import type { Metadata } from "next";import { notFound } from "next/navigation";+import { LLMCopyButton, ViewOptions } from "@/components/ai/page-actions";+import {+ HoverCard,+ HoverCardContent,+ HoverCardTrigger,+} from "@/components/ui/hover-card";+import { source } from "@/lib/source";+import { getMDXComponents } from "@/mdx-components";export default async function Page(props: {params: Promise<{ slug?: string[] }>;@@ -15,27 +21,69 @@ export default async function Page(props: {const page = source.getPage(params.slug);if (!page) notFound();- const MDX = page.data.body;+ const { body: Mdx, toc, lastModified } = page.data;return (<DocsPage+ toc={toc}+ lastUpdate={lastModified ? new Date(lastModified) : undefined}+ tableOfContent={{+ style: "clerk",+ }}editOnGithub={{owner: "usekaneo",repo: "kaneo",+ path: `apps/docs/content/docs/${page.path}`,sha: "main",- path: `apps/docs/content/docs/${page.file.path}`,}}- toc={page.data.toc}- full={page.data.full}>- <DocsTitle>{page.data.title}</DocsTitle>- <DocsBody>- <MDX+ <h1 className="text-[1.75em] font-semibold">{page.data.title}</h1>+ <p className="text-lg text-fd-muted-foreground mb-2">+ {page.data.description}+ </p>+ <div className="flex flex-row gap-2 items-center border-b pb-6">+ <LLMCopyButton markdownUrl={`${page.url}.mdx`} />+ <ViewOptions+ markdownUrl={`${page.url}.mdx`}+ githubUrl={`https://github.com/usekaneo/kaneo/blob/main/apps/docs/content/docs/${page.path}`}+ />+ </div>+ <div className="prose flex-1 text-fd-foreground/90">+ <Mdxcomponents={getMDXComponents({- a: createRelativeLink(source, page),+ Banner,+ a: ({ href, ...props }) => {+ const found = source.getPageByHref(href ?? "", {+ dir: path.dirname(page.path),+ });++ if (!found) return <Link href={href} {...props} />;++ return (+ <HoverCard>+ <HoverCardTrigger asChild>+ <Link+ href={+ found.hash+ ? `${found.page.url}#${found.hash}`+ : found.page.url+ }+ {...props}+ />+ </HoverCardTrigger>+ <HoverCardContent className="text-sm">+ <p className="font-medium">{found.page.data.title}</p>+ <p className="text-fd-muted-foreground">+ {found.page.data.description}+ </p>+ </HoverCardContent>+ </HoverCard>+ );+ },+ blockquote: Callout,})}/>- </DocsBody>+ </div></DocsPage>);}@@ -80,29 +128,3 @@ export async function generateMetadata({},} satisfies Metadata;}--function EditOnGitHub({ url }: { url: string }) {- return (- <Link- className={cn(- buttonVariants({- color: "secondary",- size: "sm",- className: "gap-2 mr-auto",- }),- )}- href={url}- >- <svg- fill="currentColor"- role="img"- viewBox="0 0 24 24"- className="size-3.5"- >- <title>GitHub</title>- <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />- </svg>- Edit on GitHub- </Link>- );-}diff --git a/apps/docs/app/docs/layout.tsx b/apps/docs/app/docs/layout.tsxindex 535819be8..5d969fa99 100644--- a/apps/docs/app/docs/layout.tsx+++ b/apps/docs/app/docs/layout.tsx@@ -1,9 +1,10 @@-import { baseOptions } from "@/app/layout.config";-import { source } from "@/lib/source";import { DocsLayout, type DocsLayoutProps } from "fumadocs-ui/layouts/docs";import type { Metadata } from "next";import Script from "next/script";import type { ReactNode } from "react";+import { baseOptions } from "@/app/layout.config";+import { Banner } from "@/components/banner";+import { source } from "@/lib/source";export const metadata: Metadata = {title: {@@ -67,13 +68,40 @@ const docsOptions: DocsLayoutProps = {export default function Layout({ children }: { children: ReactNode }) {return (- <DocsLayout {...docsOptions}>- <Script- defer- data-domain="kaneo.app"- src="https://plausible.kaneo.app/js/script.js"- />- {children}- </DocsLayout>+ <>+ <Banner+ id="version-banner"+ variant="normal"+ className="border-b border-border/40 bg-muted/50 backdrop-blur-sm"+ >+ <div className="flex items-center justify-center gap-2">+ 🎉+ <p className="text-muted-foreground">+ Version 2 of Kaneo is now available! Check out the{" "}+ <a+ href="https://github.com/usekaneo/kaneo/releases/tag/v2.0.0"+ target="_blank"+ rel="noopener noreferrer"+ className="font-medium text-primary underline-offset-4 hover:underline"+ >+ changelog+ </a>+ .+ </p>+ </div>+ </Banner>+ <DocsLayout+ {...docsOptions}+ containerProps={{ className: "bg-background" }}+ sidebar={{ className: "bg-sidebar" }}+ >+ <Script+ defer+ data-domain="kaneo.app"+ src="https://plausible.kaneo.app/js/script.js"+ />+ {children}+ </DocsLayout>+ </>);}diff --git a/apps/docs/app/global.css b/apps/docs/app/global.cssindex 47b232460..bb10bbf65 100644--- a/apps/docs/app/global.css+++ b/apps/docs/app/global.css@@ -1,8 +1,375 @@+@import url('https://fonts.googleapis.com/css2?family=Geist+Mono:[email protected]&family=Geist:[email protected]&display=swap');@import 'tailwindcss';-@import 'fumadocs-ui/css/neutral.css';+@import 'fumadocs-ui/css/shadcn.css';@import 'fumadocs-ui/css/preset.css';-@import 'fumadocs-ui/css/vitepress.css';++@custom-variant dark (&:is(.dark *));++@layer base {+ :root {+ color-scheme: light;+ --font-geist: 'Geist', sans-serif;+ --font-geist-mono: 'Geist Mono', monospace;+ --background: oklch(0.9881 0 0);+ --foreground: oklch(0.1881 0.0060 285.8056);+ --card: oklch(1.0000 0 0);+ --card-foreground: oklch(0.1881 0.0060 285.8056);+ --card-gradient: linear-gradient(to bottom right, oklch(1.0000 0 0), oklch(1.0000 0 0), oklch(0.9881 0 0));+ --popover: oklch(0.9881 0 0);+ --popover-foreground: oklch(0.1881 0.0060 285.8056);+ --primary: oklch(0.5820 0.2289 272.7771);+ --primary-foreground: oklch(0.9851 0 0);+ --secondary: oklch(0.9524 0.0013 286.3747);+ --secondary-foreground: oklch(0.1881 0.0060 285.8056);+ --muted: oklch(0.9674 0.0013 286.3752);+ --muted-foreground: oklch(0.5343 0.0139 285.9192);+ --accent: oklch(0.9524 0.0013 286.3747);+ --accent-foreground: oklch(0.1881 0.0060 285.8056);+ --destructive: oklch(0.5785 0.2138 27.1723);+ --destructive-foreground: oklch(0.9851 0 0);+ --border: oklch(0.8714 0.0068 286.2574);+ --input: oklch(0.8714 0.0068 286.2574);+ --ring: oklch(0.5820 0.2289 272.7771);+ --chart-1: oklch(0.8688 0.1348 154.6144);+ --chart-2: oklch(0.5820 0.2289 272.7771);+ --chart-3: oklch(0.7118 0.0129 286.0665);+ --chart-4: oklch(0.9197 0.0040 286.3202);+ --chart-5: oklch(0.5343 0.0139 285.9192);+ --sidebar: oklch(0.9794 0.0013 286.3747);+ --sidebar-foreground: oklch(0.1881 0.0060 285.8056);+ --sidebar-primary: oklch(0.5820 0.2289 272.7771);+ --sidebar-primary-foreground: oklch(1.0000 0 0);+ --sidebar-accent: oklch(0.9674 0.0013 286.3752);+ --sidebar-accent-foreground: oklch(0.1881 0.0060 285.8056);+ --sidebar-border: oklch(0.8714 0.0068 286.2574);+ --sidebar-ring: oklch(0.5820 0.2289 272.7771);+ --font-sans: 'Inter', system-ui, sans-serif;+ --font-serif: 'Georgia', serif;+ --font-mono: 'JetBrains Mono', 'Fira Code', monospace;+ --radius: 0.5rem;+ --shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);+ --shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);+ --shadow-sm: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);+ --shadow: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);+ --shadow-md: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);+ --shadow-lg: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);+ --shadow-xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);+ --shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);+ --tracking-normal: 0em;+ --spacing: 0.25rem;+ }++ .dark {+ color-scheme: dark;+ --font-geist: 'Geist', sans-serif;+ --font-geist-mono: 'Geist Mono', monospace;+ --background: oklch(0.1252 0.0018 286.1313);+ --foreground: oklch(0.9674 0.0013 286.3752);+ --card: oklch(0.1717 0.0018 286.2103);+ --card-foreground: oklch(0.9674 0.0013 286.3752);+ --card-gradient: linear-gradient(to bottom right, rgb(24 24 27), rgb(24 24 27), rgb(39 39 42));+ --popover: oklch(0.2100 0.0025 286.1774);+ --popover-foreground: oklch(0.9674 0.0013 286.3752);+ --primary: oklch(0.5820 0.2289 272.7771);+ --primary-foreground: oklch(0.1252 0.0018 286.1313);+ --secondary: oklch(0.2120 0.0047 285.9459);+ --secondary-foreground: oklch(0.9674 0.0013 286.3752);+ --muted: oklch(0.1903 0.0049 285.8852);+ --muted-foreground: oklch(0.6879 0.0091 286.1398);+ --accent: oklch(0.2332 0.0046 285.9939);+ --accent-foreground: oklch(0.9674 0.0013 286.3752);+ --destructive: oklch(0.5618 0.1955 26.2182);+ --destructive-foreground: oklch(0.9674 0.0013 286.3752);+ --border: oklch(0.2947 0.0061 285.9873);+ --input: oklch(0.2539 0.0045 286.0326);+ --ring: oklch(0.5820 0.2289 272.7771);+ --chart-1: oklch(0.7362 0.0089 286.1606);+ --chart-2: oklch(0.5820 0.2289 272.7771);+ --chart-3: oklch(0.6944 0.0090 286.1428);+ --chart-4: oklch(0.4356 0.0103 285.9442);+ --chart-5: oklch(0.5213 0.0129 285.9271);+ --sidebar: oklch(0.1903 0.0049 285.8852);+ --sidebar-foreground: oklch(0.9674 0.0013 286.3752);+ --sidebar-primary: oklch(0.5820 0.2289 272.7771);+ --sidebar-primary-foreground: oklch(0.1903 0.0049 285.8852);+ --sidebar-accent: oklch(0.2332 0.0046 285.9939);+ --sidebar-accent-foreground: oklch(0.9674 0.0013 286.3752);+ --sidebar-border: oklch(0.2947 0.0061 285.9873);+ --sidebar-ring: oklch(0.5820 0.2289 272.7771);+ --font-sans: 'Inter', system-ui, sans-serif;+ --font-serif: 'Georgia', serif;+ --font-mono: 'JetBrains Mono', 'Fira Code', monospace;+ --radius: 0.5rem;+ --shadow-2xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);+ --shadow-xs: 0px 1px 2px 0px hsl(0 0% 0% / 0.09);+ --shadow-sm: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);+ --shadow: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 1px 2px -1px hsl(0 0% 0% / 0.18);+ --shadow-md: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 2px 4px -1px hsl(0 0% 0% / 0.18);+ --shadow-lg: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 4px 6px -1px hsl(0 0% 0% / 0.18);+ --shadow-xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.18), 0px 8px 10px -1px hsl(0 0% 0% / 0.18);+ --shadow-2xl: 0px 1px 2px 0px hsl(0 0% 0% / 0.45);+ --tracking-normal: 0em;+ --spacing: 0.25rem;+ }++ * {+ scrollbar-width: thin;+ #nd-nav > div > nav {+ @apply max-w-6xl mx-auto px-4 md:!px-0;+ }++ article {+ @apply bg-card;+ }++ #nd-docs-layout {+ @apply !bg-card;+ }++ #nd-page {+ @apply flex flex-1 w-full mx-auto max-w-(--fd-page-width) pt-(--fd-tocnav-height) pe-(--fd-toc-width)+ }+ }++ *::-webkit-scrollbar {+ width: 6px;+ height: 6px;+ }++ *::-webkit-scrollbar-thumb {+ background-color: hsl(var(--muted));+ border-radius: 9999px;+ }++ .dark *::-webkit-scrollbar-thumb {+ background-color: hsl(var(--muted));+ }++ *::-webkit-scrollbar-track {+ background-color: transparent;+ }++ *,+ ::after,+ ::before,+ ::backdrop,+ ::file-selector-button {+ border-color: var(--color-border, currentColor);+ }++ button {+ cursor: pointer;+ }++ body {+ @apply bg-background text-foreground antialiased;+ }+}++/* Fumadocs fd color tokens */+@layer base {+ :root {+ --color-fd-background: hsl(0, 0%, 96%);+ --color-fd-foreground: hsl(0, 0%, 3.9%);+ --color-fd-muted: hsl(0, 0%, 96.1%);+ --color-fd-muted-foreground: hsl(0, 0%, 45.1%);+ --color-fd-popover: hsl(0, 0%, 98%);+ --color-fd-popover-foreground: hsl(0, 0%, 15.1%);+ --color-fd-card: hsl(0, 0%, 94.7%);+ --color-fd-card-foreground: hsl(0, 0%, 3.9%);+ --color-fd-border: hsla(0, 0%, 80%, 50%);+ --color-fd-primary: var(--primary);+ --color-fd-primary-foreground: var(--primary-foreground);+ --color-fd-secondary: hsl(0, 0%, 93.1%);+ --color-fd-secondary-foreground: hsl(0, 0%, 9%);+ --color-fd-accent: hsla(0, 0%, 82%, 50%);+ --color-fd-accent-foreground: hsl(0, 0%, 9%);+ --color-fd-ring: hsl(0, 0%, 63.9%);+ }++ .dark {+ --color-fd-background: hsl(0, 0%, 7.04%);+ --color-fd-foreground: hsl(0, 0%, 92%);+ --color-fd-muted: hsl(0, 0%, 12.9%);+ --color-fd-muted-foreground: hsla(0, 0%, 70%, 0.8);+ --color-fd-popover: hsl(0, 0%, 11.6%);+ --color-fd-popover-foreground: hsl(0, 0%, 86.9%);+ --color-fd-card: hsl(0, 0%, 9.8%);+ --color-fd-card-foreground: hsl(0, 0%, 98%);+ --color-fd-border: hsla(0, 0%, 40%, 20%);+ --color-fd-primary: var(--primary);+ --color-fd-primary-foreground: var(--primary-foreground);+ --color-fd-secondary: hsl(0, 0%, 12.9%);+ --color-fd-secondary-foreground: hsl(0, 0%, 92%);+ --color-fd-accent: hsla(0, 0%, 40.9%, 30%);+ --color-fd-accent-foreground: hsl(0, 0%, 90%);+ --color-fd-ring: hsl(0, 0%, 54.9%);+ }++ .dark #nd-sidebar {+ --color-fd-muted: hsl(0, 0%, 16%);+ --color-fd-secondary: hsl(0, 0%, 18%);+ --color-fd-muted-foreground: hsl(0, 0%, 72%);+ }+}++@theme inline {+ --font-geist: var(--font-geist);+ --font-geist-mono: var(--font-geist-mono);+ --color-background: var(--background);+ --color-foreground: var(--foreground);+ --color-card: var(--card);+ --color-card-foreground: var(--card-foreground);+ --color-card-gradient: var(--card-gradient);+ --color-popover: var(--popover);+ --color-popover-foreground: var(--popover-foreground);+ --color-primary: var(--primary);+ --color-primary-foreground: var(--primary-foreground);+ --color-secondary: var(--secondary);+ --color-secondary-foreground: var(--secondary-foreground);+ --color-muted: var(--muted);+ --color-muted-foreground: var(--muted-foreground);+ --color-accent: var(--accent);+ --color-accent-foreground: var(--accent-foreground);+ --color-destructive: var(--destructive);+ --color-destructive-foreground: var(--destructive-foreground);+ --color-border: var(--border);+ --color-input: var(--input);+ --color-ring: var(--ring);+ --color-chart-1: var(--chart-1);+ --color-chart-2: var(--chart-2);+ --color-chart-3: var(--chart-3);+ --color-chart-4: var(--chart-4);+ --color-chart-5: var(--chart-5);+ --color-sidebar: var(--sidebar);+ --color-sidebar-foreground: var(--sidebar-foreground);+ --color-sidebar-primary: var(--sidebar-primary);+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);+ --color-sidebar-accent: var(--sidebar-accent);+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);+ --color-sidebar-border: var(--sidebar-border);+ --color-sidebar-ring: var(--sidebar-ring);++ --font-sans: var(--font-sans);+ --font-mono: var(--font-mono);+ --font-serif: var(--font-serif);++ --radius-sm: calc(var(--radius) - 4px);+ --radius-md: calc(var(--radius) - 2px);+ --radius-lg: var(--radius);+ --radius-xl: calc(var(--radius) + 4px);++ --shadow-2xs: var(--shadow-2xs);+ --shadow-xs: var(--shadow-xs);+ --shadow-sm: var(--shadow-sm);+ --shadow: var(--shadow);+ --shadow-md: var(--shadow-md);+ --shadow-lg: var(--shadow-lg);+ --shadow-xl: var(--shadow-xl);+ --shadow-2xl: var(--shadow-2xl);++ --tracking-normal: var(--tracking-normal);+ --spacing: var(--spacing);+}++@layer utilities {+ .bg-card-gradient {+ background: var(--card-gradient);+ }+}++/* View Transitions for Theme Switching */+@supports (view-transition-name: none) {+ ::view-transition-old(root),+ ::view-transition-new(root) {+ animation: none;+ mix-blend-mode: normal;+ }++ ::view-transition-old(root) {+ /* Ensure the outgoing view (old theme) is beneath */+ z-index: 0;+ }++ ::view-transition-new(root) {+ /* Ensure the incoming view (new theme) is always on top */+ z-index: 1;+ /* Apply the reveal animation */+ animation: reveal 0.4s ease-in-out forwards;+ }++ @keyframes reveal {+ from {+ /* Use CSS variables for the origin, defaulting to center if not set */+ clip-path: circle(0% at var(--x, 50%) var(--y, 50%));+ opacity: 0.7;+ }+ to {+ /* Use CSS variables for the origin, defaulting to center if not set */+ clip-path: circle(150% at var(--x, 50%) var(--y, 50%));+ opacity: 1;+ }+ }+}++/* Reduced motion preference */+@media (prefers-reduced-motion: reduce) {+ ::view-transition-new(root) {+ animation-duration: 0.1s !important;+ }+}++/* User Preferences CSS */++/* Compact Mode - Reduce padding and spacing throughout the app */+.compact-mode {+ --spacing-factor: 0.75;+}++.compact-mode [data-sidebar="sidebar"] {+ --sidebar-width: calc(var(--spacing) * 52);+}++.compact-mode .p-1 { padding: calc(0.25rem * var(--spacing-factor, 1)); }+.compact-mode .p-2 { padding: calc(0.5rem * var(--spacing-factor, 1)); }+.compact-mode .p-3 { padding: calc(0.75rem * var(--spacing-factor, 1)); }+.compact-mode .p-4 { padding: calc(1rem * var(--spacing-factor, 1)); }+.compact-mode .p-6 { padding: calc(1.5rem * var(--spacing-factor, 1)); }++.compact-mode .gap-1 { gap: calc(0.25rem * var(--spacing-factor, 1)); }+.compact-mode .gap-2 { gap: calc(0.5rem * var(--spacing-factor, 1)); }+.compact-mode .gap-3 { gap: calc(0.75rem * var(--spacing-factor, 1)); }+.compact-mode .gap-4 { gap: calc(1rem * var(--spacing-factor, 1)); }++.compact-mode .space-y-1 > * + * { margin-top: calc(0.25rem * var(--spacing-factor, 1)); }+.compact-mode .space-y-2 > * + * { margin-top: calc(0.5rem * var(--spacing-factor, 1)); }+.compact-mode .space-y-3 > * + * { margin-top: calc(0.75rem * var(--spacing-factor, 1)); }+.compact-mode .space-y-4 > * + * { margin-top: calc(1rem * var(--spacing-factor, 1)); }++/* Theme-specific overrides */+.theme-light {+ --primary-accent: oklch(0.5820 0.2289 272.7771);+}++.theme-dark {+ --primary-accent: oklch(0.6820 0.1989 272.7771);+}++.theme-system {+ --primary-accent: oklch(0.5820 0.2289 272.7771);+}++@media (prefers-color-scheme: dark) {+ .theme-system {+ --primary-accent: oklch(0.6820 0.1989 272.7771);+ }+}++* {+ font-family: var(--font-geist);+}+@keyframes fadeIn {from { opacity: 0; }@@ -67,4 +434,35 @@.animate-fade-in-up-2 {animation: fadeInUp 0.3s ease-out forwards;animation-delay: 0.15s;-}\ No newline at end of file+}++.animate-fade-in-up-3 {+ animation: fadeInUp 0.3s ease-out forwards;+ animation-delay: 0.2s;+}++/* Ensure --text-fd-primary matches current primary, with highest precedence */+@layer base {+ :root,+ html,+ body,+ #nd-root {+ --text-fd-primary: var(--primary) !important;+ }++ html.dark,+ .dark,+ body.dark,+ #nd-root.dark {+ --text-fd-primary: var(--primary) !important;+ }++ code,+ code *,+ code span,+ pre code,+ pre code *,+ pre code span {+ font-family: 'Geist Mono', monospace !important;+ }+}diff --git a/apps/docs/app/icon.svg b/apps/docs/app/icon.svgnew file mode 100644index 000000000..c5e259f8d--- /dev/null+++ b/apps/docs/app/icon.svg@@ -0,0 +1,7 @@+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="104" height="104"><svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M14.6855 95.7248C10.5715 96.5962 8 95.2648 8 93.6603L8 62.0256C8 61.8599 8.00322 61.6859 8.00879 61.507C8.00389 61.3849 8.00098 61.2491 8.00098 61.0978L8.00098 29.9435C8.01505 28.6517 8.259 27.7441 11.2588 27.1086L25.3145 24.2756C29.4285 23.4041 32 24.7356 32 26.34L32 57.9748C32 58.1411 31.9978 58.3157 31.9922 58.4953C31.997 58.6169 31.999 58.7521 31.999 58.9025L31.999 90.0568C31.985 91.3487 31.7411 92.2563 28.7412 92.8918L14.6855 95.7248Z" fill="#5463FF"></path>+<path d="M46.6855 87.7243C42.572 88.5956 40.0005 87.265 40 85.6608L40 54.0261C40 53.8601 40.0032 53.6858 40.0088 53.5065C40.0039 53.3845 40.001 53.2484 40.001 53.0973L40.001 21.944C40.0151 20.6524 40.2592 19.7445 43.2588 19.1091L57.3145 16.277C61.4284 15.4056 63.9999 16.7362 64 18.3405L64 49.9753C64 50.1412 63.9978 50.3156 63.9922 50.4948C63.9971 50.6166 63.999 50.7522 63.999 50.903L63.999 82.0563C63.985 83.3483 63.7412 84.2558 60.7412 84.8913L46.6855 87.7243Z" fill="#5463FF"></path>+<path d="M89.3145 8.27435C93.4281 7.40301 95.9996 8.73456 96 10.3388V21.1845L78.0576 44.5009L95.999 66.7792V74.0566C95.9849 75.3482 95.7407 76.2561 92.7412 76.8915L78.6855 79.7236C74.5716 80.595 72.0001 79.2645 72 77.6601V46.0253C72 45.8596 72.0032 45.6848 72.0088 45.5058C72.0039 45.3838 72.001 45.2477 72.001 45.0966V13.9423C72.0151 12.6507 72.2593 11.7428 75.2588 11.1074L89.3145 8.27435Z" fill="#5463FF"></path>+</svg><style>@media (prefers-color-scheme: light) { :root { filter: none; } }+@media (prefers-color-scheme: dark) { :root { filter: none; } }+</style></svg>\ No newline at end of filediff --git a/apps/docs/app/icon.tsx b/apps/docs/app/icon.tsxdeleted file mode 100644index 670d98d3f..000000000--- a/apps/docs/app/icon.tsx+++ /dev/null@@ -1,45 +0,0 @@-import { ImageResponse } from "next/og";--export const size = {- width: 32,- height: 32,-};-export const contentType = "image/png";--export const revalidate = false;--export default function Icon() {- return new ImageResponse(- <div- style={{- display: "flex",- alignItems: "center",- justifyContent: "center",- width: "100%",- height: "100%",- background: "rgba(99,102,241,0.1)",- borderRadius: "8px",- }}- >- {/* biome-ignore lint/a11y/noSvgWithoutTitle: It's an icon */}- <svg- width="24"- height="24"- viewBox="0 0 24 24"- fill="none"- stroke="rgb(99,102,241)"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- >- <rect width="7" height="7" x="3" y="3" rx="1" />- <rect width="7" height="7" x="14" y="3" rx="1" />- <rect width="7" height="7" x="14" y="14" rx="1" />- <rect width="7" height="7" x="3" y="14" rx="1" />- </svg>- </div>,- {- ...size,- },- );-}diff --git a/apps/docs/app/layout.config.tsx b/apps/docs/app/layout.config.tsxindex ebe7d5753..368869f8d 100644--- a/apps/docs/app/layout.config.tsx+++ b/apps/docs/app/layout.config.tsx@@ -1,36 +1,50 @@import type { BaseLayoutProps } from "fumadocs-ui/layouts/shared";-/**- * Shared layout configurations- *- * you can customise layouts individually from:- * Home Layout: app/(home)/layout.tsx- * Docs Layout: app/docs/layout.tsx- */export const baseOptions: BaseLayoutProps = {nav: {title: (- <>- <svg- xmlns="http://www.w3.org/2000/svg"- width="24"- height="24"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- className="lucide lucide-layout-grid w-5 h-5 text-indigo-600 dark:text-indigo-400"- >- <title>Kaneo Logo</title>- <rect width="7" height="7" x="3" y="3" rx="1" />- <rect width="7" height="7" x="14" y="3" rx="1" />- <rect width="7" height="7" x="14" y="14" rx="1" />- <rect width="7" height="7" x="3" y="14" rx="1" />- </svg>- Kaneo- </>+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width="450"+ height="104"+ viewBox="0 0 450 104"+ fill="none"+ className="h-6 w-auto text-[#1E1E1E] dark:text-white"+ >+ <title>Kaneo Logo</title>+ <path+ d="M14.6855 95.7242C10.5716 96.5957 8.00007 95.2652 8 93.6608L8 62.026C8 61.8601 8.00321 61.6857 8.00879 61.5065C8.00391 61.3845 8.00098 61.2484 8.00098 61.0973L8.00098 29.944C8.01499 28.6519 8.25865 27.7436 11.2588 27.108L25.3145 24.276C29.4283 23.4046 31.9997 24.7352 32 26.3395L32 57.9742C32 58.1404 31.9978 58.3153 31.9922 58.4948C31.997 58.6165 31.999 58.7522 31.999 58.903L31.999 90.0573C31.9849 91.3489 31.7407 92.2568 28.7412 92.8922L14.6855 95.7242Z"+ fill="#5463FF"+ />+ <path+ d="M46.6855 87.7238C42.5716 88.5952 40 87.2647 40 85.6603L40 54.0265C40 53.8607 40.0032 53.6861 40.0088 53.507C40.0039 53.3849 40.001 53.2491 40.001 53.0978L40.001 21.9445C40.015 20.6526 40.2589 19.7451 43.2588 19.1096L57.3145 16.2765C61.4285 15.4051 64 16.7366 64 18.341L64 49.9748C64 50.141 63.9978 50.3157 63.9922 50.4953C63.997 50.617 63.999 50.7528 63.999 50.9035L63.999 82.0568C63.9849 83.3485 63.7408 84.2564 60.7412 84.8918L46.6855 87.7238Z"+ fill="#5463FF"+ />+ <path+ d="M89.3145 8.27576C93.4284 7.40433 95.9999 8.73485 96 10.3392V21.184L78.0576 44.5013L95.999 66.7797V74.057C95.9849 75.3486 95.7407 76.2565 92.7412 76.892L78.6855 79.725C74.572 80.5963 72.0005 79.2647 72 77.6605V46.0258C72 45.8599 72.0032 45.6853 72.0088 45.5062C72.0039 45.3844 72.001 45.248 72.001 45.097V13.9427C72.0151 12.6511 72.2594 11.7432 75.2588 11.1078L89.3145 8.27576Z"+ fill="#5463FF"+ />+ <path+ d="M413.776 80C408.324 80 403.571 78.8698 399.515 76.6094C395.46 74.2826 392.302 71.0249 390.041 66.8366C387.781 62.6482 386.651 57.7285 386.651 52.0775C386.651 46.4266 387.781 41.5401 390.041 37.4183C392.302 33.2299 395.46 29.9723 399.515 27.6454C403.571 25.3185 408.324 24.1551 413.776 24.1551C419.227 24.1551 423.981 25.3185 428.036 27.6454C432.091 29.9723 435.249 33.2299 437.51 37.4183C439.77 41.5401 440.9 46.4266 440.9 52.0775C440.9 57.7285 439.77 62.6482 437.51 66.8366C435.249 71.0249 432.091 74.2826 428.036 76.6094C423.981 78.8698 419.227 80 413.776 80ZM413.776 68.5318C417.499 68.5318 420.391 67.1025 422.451 64.2438C424.512 61.3186 425.543 57.2631 425.543 52.0775C425.543 46.8919 424.512 42.8698 422.451 40.0111C420.391 37.0858 417.499 35.6232 413.776 35.6232C410.053 35.6232 407.161 37.0858 405.1 40.0111C403.039 42.8698 402.008 46.8919 402.008 52.0775C402.008 57.2631 403.039 61.3186 405.1 64.2438C407.161 67.1025 410.053 68.5318 413.776 68.5318Z"+ fill="currentColor"+ />+ <path+ d="M354.17 80C348.719 80 343.965 78.8698 339.91 76.6094C335.921 74.2826 332.796 71.0249 330.536 66.8366C328.342 62.6482 327.245 57.7285 327.245 52.0775C327.245 46.4266 328.342 41.5401 330.536 37.4183C332.796 33.2299 335.921 29.9723 339.91 27.6454C343.899 25.3185 348.619 24.1551 354.07 24.1551C359.389 24.1551 364.009 25.3185 367.932 27.6454C371.854 29.9723 374.879 33.2964 377.007 37.6177C379.201 41.939 380.298 47.0914 380.298 53.0748V56.0665H342.702C342.901 60.3213 344.032 63.4792 346.093 65.5402C348.22 67.6011 351.012 68.6316 354.469 68.6316C356.996 68.6316 359.09 68.0997 360.752 67.036C362.48 65.9723 363.71 64.3435 364.442 62.1496L379.5 63.0471C378.104 68.3656 375.145 72.5208 370.624 75.5125C366.104 78.5042 360.619 80 354.17 80ZM342.702 46.8919H364.94C364.741 42.9695 363.644 40.0443 361.649 38.1163C359.721 36.1883 357.195 35.2244 354.07 35.2244C350.946 35.2244 348.353 36.2548 346.292 38.3158C344.298 40.3102 343.101 43.169 342.702 46.8919Z"+ fill="currentColor"+ />+ <path+ d="M270.654 79.8001V25.1781H284.144L284.744 41.1774L282.845 40.6679C283.378 36.5916 284.444 33.3306 286.043 30.8849C287.708 28.4391 289.774 26.6727 292.239 25.5857C294.704 24.4987 297.402 23.9552 300.333 23.9552C304.197 23.9552 307.462 24.8044 310.126 26.5029C312.858 28.2013 314.923 30.6131 316.322 33.7383C317.788 36.7955 318.521 40.4301 318.521 44.6423V79.8001H303.531V49.7376C303.531 46.8163 303.298 44.3366 302.831 42.2984C302.365 40.2603 301.532 38.7317 300.333 37.7126C299.134 36.6256 297.468 36.0821 295.337 36.0821C292.205 36.0821 289.807 37.271 288.142 39.6488C286.476 41.9587 285.643 45.3217 285.643 49.7376V79.8001H270.654Z"+ fill="currentColor"+ />+ <path+ d="M227.085 80C221.567 80 217.046 78.7368 213.523 76.2105C210.066 73.6177 208.337 70.0277 208.337 65.4404C208.337 60.7202 209.8 57.0969 212.725 54.5706C215.717 51.9778 220.104 50.0831 225.888 48.8864L243.141 45.4958C243.141 42.0388 242.343 39.446 240.747 37.7174C239.218 35.9224 236.991 35.0249 234.066 35.0249C231.207 35.0249 228.98 35.6897 227.384 37.0194C225.789 38.2825 224.758 40.1773 224.293 42.7036L209.235 42.0055C210.232 36.1551 212.858 31.734 217.113 28.7423C221.434 25.6842 227.085 24.1551 234.066 24.1551C242.044 24.1551 248.027 26.0498 252.016 29.8393C256.071 33.6288 258.099 39.18 258.099 46.4931V64.7424C258.099 66.2715 258.332 67.3019 258.797 67.8338C259.329 68.2992 260.093 68.5318 261.091 68.5318H262.587V78.8033C262.121 78.9363 261.357 79.0693 260.293 79.2022C259.296 79.3352 258.298 79.4017 257.301 79.4017C255.174 79.4017 253.179 79.036 251.318 78.3047C249.523 77.5734 248.06 76.3435 246.93 74.615C245.8 72.8199 245.235 70.2936 245.235 67.036L246.531 68.0332C245.866 70.4266 244.67 72.5208 242.941 74.3158C241.279 76.1108 239.085 77.5069 236.359 78.5042C233.7 79.5014 230.609 80 227.085 80ZM230.675 69.7285C233.135 69.7285 235.296 69.2632 237.157 68.3324C239.019 67.3352 240.481 65.9058 241.545 64.0443C242.609 62.1828 243.141 59.9889 243.141 57.4626V54.8698L230.974 57.4626C228.581 57.928 226.753 58.7257 225.49 59.8559C224.293 60.9197 223.695 62.3158 223.695 64.0443C223.695 65.8393 224.293 67.2355 225.49 68.2327C226.686 69.2299 228.415 69.7285 230.675 69.7285Z"+ fill="currentColor"+ />+ <path+ d="M146 79.8006V8H161.082V39.3496L186.683 8H204.246L178.348 39.6529L205.834 79.8006H188.668L168.425 49.968L161.082 58.6649V79.8006H146Z"+ fill="currentColor"+ />+ </svg>),transparentMode: "top",},diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsxindex 61800e5ef..dd199513a 100644--- a/apps/docs/app/layout.tsx+++ b/apps/docs/app/layout.tsx@@ -11,38 +11,24 @@ const inter = Inter({export const metadata: Metadata = {metadataBase: new URL("https://kaneo.app"),title: {- default: "Kaneo - Project management made simple",+ default: "Kaneo ⎯ All you need. Nothing you don't.",template: "%s",},description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com. Features kanban boards, time tracking, Gantt charts, and team collaboration. Docker deployment in 5 minutes.",+ "All you need. Nothing you don't. Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",keywords: [- "free open source project management software",- "open source project management",- "free project management software",- "self-hosted project management",- "project management alternative",- "kanban board software",- "agile project management",- "team collaboration software",- "task management software",- "project tracking software",- "gantt chart software",- "time tracking software",- "scrum project management",- "docker project management",+ "project management",+ "open source",+ "self-hosted",+ "kanban",+ "team collaboration",+ "task management",+ "time tracking",+ "gantt chart","jira alternative","asana alternative",- "monday.com alternative",- "trello alternative",- "productivity software",- "development team tools",- "project planning software",- "issue tracking software",- "postgresql",- "typescript",- "react",- "nextjs",+ "productivity",+ "docker",],authors: [{ name: "Andrej Acevski" }],creator: "Andrej Acevski",@@ -56,24 +42,24 @@ export const metadata: Metadata = {type: "website",locale: "en_US",url: "https://kaneo.app",- title: "Kaneo - Project management made simple",+ title: "Kaneo ⎯ All you need. Nothing you don't.",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com with kanban boards, time tracking, and team collaboration.",+ "Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",siteName: "Kaneo",images: [{url: "/og-image.png",width: 1200,height: 630,- alt: "Kaneo - Free Open Source Project Management Software",+ alt: "Kaneo ⎯ All you need. Nothing you don't.",},],},twitter: {card: "summary_large_image",- title: "Kaneo - Project management made simple",+ title: "Kaneo ⎯ All you need. Nothing you don't.",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com with kanban boards, time tracking, and team collaboration.",+ "Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",images: ["/og-image.png"],creator: "@usekaneo",},diff --git a/apps/docs/app/manifest.json b/apps/docs/app/manifest.jsonindex 195b571f4..628664ead 100644--- a/apps/docs/app/manifest.json+++ b/apps/docs/app/manifest.json@@ -1,7 +1,7 @@{"name": "Kaneo","short_name": "Kaneo",- "description": "Kaneo is a modern, self-hosted project management platform focused on simplicity and efficiency. Open source, customizable, and built for teams that value productivity.",+ "description": "All you need. Nothing you don't. Open source project management that works for you, not against you.","start_url": "/","display": "standalone","background_color": "#ffffff",diff --git a/apps/docs/components.json b/apps/docs/components.jsonnew file mode 100644index 000000000..f5f55bf59--- /dev/null+++ b/apps/docs/components.json@@ -0,0 +1,22 @@+{+ "$schema": "https://ui.shadcn.com/schema.json",+ "style": "new-york",+ "rsc": true,+ "tsx": true,+ "tailwind": {+ "config": "",+ "css": "app/global.css",+ "baseColor": "zinc",+ "cssVariables": true,+ "prefix": ""+ },+ "iconLibrary": "lucide",+ "aliases": {+ "components": "@/components",+ "utils": "@/lib/utils",+ "ui": "@/components/ui",+ "lib": "@/lib",+ "hooks": "@/hooks"+ },+ "registries": {}+}diff --git a/apps/docs/components/ai/page-actions.tsx b/apps/docs/components/ai/page-actions.tsxnew file mode 100644index 000000000..01e538f3a--- /dev/null+++ b/apps/docs/components/ai/page-actions.tsx@@ -0,0 +1,248 @@+"use client";+import { cva } from "class-variance-authority";+import { buttonVariants } from "fumadocs-ui/components/ui/button";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "fumadocs-ui/components/ui/popover";+import { useCopyButton } from "fumadocs-ui/utils/use-copy-button";+import {+ Check,+ ChevronDown,+ Copy,+ ExternalLinkIcon,+ MessageCircleIcon,+} from "lucide-react";+import { useMemo, useState } from "react";+import { cn } from "@/lib/utils";++const cache = new Map<string, string>();++export function LLMCopyButton({+ /**+ * A URL to fetch the raw Markdown/MDX content of page+ */+ markdownUrl,+}: {+ markdownUrl: string;+}) {+ const [isLoading, setLoading] = useState(false);+ const [checked, onClick] = useCopyButton(async () => {+ const cached = cache.get(markdownUrl);+ if (cached) return navigator.clipboard.writeText(cached);++ setLoading(true);++ try {+ await navigator.clipboard.write([+ new ClipboardItem({+ "text/plain": fetch(markdownUrl).then(async (res) => {+ const content = await res.text();+ cache.set(markdownUrl, content);++ return content;+ }),+ }),+ ]);+ } finally {+ setLoading(false);+ }+ });++ return (+ <button+ type="button"+ disabled={isLoading}+ className={cn(+ buttonVariants({+ color: "secondary",+ size: "sm",+ className: "gap-2 [&_svg]:size-3.5 [&_svg]:text-fd-muted-foreground",+ }),+ )}+ onClick={onClick}+ >+ {checked ? <Check /> : <Copy />}+ Copy Markdown+ </button>+ );+}++const optionVariants = cva(+ "text-sm p-2 rounded-lg inline-flex items-center gap-2 hover:text-fd-accent-foreground hover:bg-fd-accent [&_svg]:size-4",+);++export function ViewOptions({+ markdownUrl,+ githubUrl,+}: {+ /**+ * A URL to the raw Markdown/MDX content of page+ */+ markdownUrl: string;++ /**+ * Source file URL on GitHub+ */+ githubUrl: string;+}) {+ const items = useMemo(() => {+ const fullMarkdownUrl =+ typeof window !== "undefined"+ ? new URL(markdownUrl, window.location.origin)+ : "loading";+ const q = `Read ${fullMarkdownUrl}, I want to ask questions about it.`;++ return [+ {+ title: "Open in GitHub",+ href: githubUrl,+ icon: (+ <svg fill="currentColor" role="img" viewBox="0 0 24 24">+ <title>GitHub</title>+ <path d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />+ </svg>+ ),+ },+ {+ title: "Open in Scira AI",+ href: `https://scira.ai/?${new URLSearchParams({+ q,+ })}`,+ icon: (+ <svg+ width="910"+ height="934"+ viewBox="0 0 910 934"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <title>Scira AI</title>+ <path+ d="M647.664 197.775C569.13 189.049 525.5 145.419 516.774 66.8849C508.048 145.419 464.418 189.049 385.884 197.775C464.418 206.501 508.048 250.131 516.774 328.665C525.5 250.131 569.13 206.501 647.664 197.775Z"+ fill="currentColor"+ stroke="currentColor"+ strokeWidth="8"+ strokeLinejoin="round"+ />+ <path+ d="M516.774 304.217C510.299 275.491 498.208 252.087 480.335 234.214C462.462 216.341 439.058 204.251 410.333 197.775C439.059 191.3 462.462 179.209 480.335 161.336C498.208 143.463 510.299 120.06 516.774 91.334C523.25 120.059 535.34 143.463 553.213 161.336C571.086 179.209 594.49 191.3 623.216 197.775C594.49 204.251 571.086 216.341 553.213 234.214C535.34 252.087 523.25 275.491 516.774 304.217Z"+ fill="currentColor"+ stroke="currentColor"+ strokeWidth="8"+ strokeLinejoin="round"+ />+ <path+ d="M857.5 508.116C763.259 497.644 710.903 445.288 700.432 351.047C689.961 445.288 637.605 497.644 543.364 508.116C637.605 518.587 689.961 570.943 700.432 665.184C710.903 570.943 763.259 518.587 857.5 508.116Z"+ stroke="currentColor"+ strokeWidth="20"+ strokeLinejoin="round"+ />+ <path+ d="M700.432 615.957C691.848 589.05 678.575 566.357 660.383 548.165C642.191 529.973 619.499 516.7 592.593 508.116C619.499 499.533 642.191 486.258 660.383 468.066C678.575 449.874 691.848 427.181 700.432 400.274C709.015 427.181 722.289 449.874 740.481 468.066C758.673 486.258 781.365 499.533 808.271 508.116C781.365 516.7 758.673 529.973 740.481 548.165C722.289 566.357 709.015 589.05 700.432 615.957Z"+ stroke="currentColor"+ strokeWidth="20"+ strokeLinejoin="round"+ />+ <path+ d="M889.949 121.237C831.049 114.692 798.326 81.9698 791.782 23.0692C785.237 81.9698 752.515 114.692 693.614 121.237C752.515 127.781 785.237 160.504 791.782 219.404C798.326 160.504 831.049 127.781 889.949 121.237Z"+ fill="currentColor"+ stroke="currentColor"+ strokeWidth="8"+ strokeLinejoin="round"+ />+ <path+ d="M791.782 196.795C786.697 176.937 777.869 160.567 765.16 147.858C752.452 135.15 736.082 126.322 716.226 121.237C736.082 116.152 752.452 107.324 765.16 94.6152C777.869 81.9065 786.697 65.5368 791.782 45.6797C796.867 65.5367 805.695 81.9066 818.403 94.6152C831.112 107.324 847.481 116.152 867.338 121.237C847.481 126.322 831.112 135.15 818.403 147.858C805.694 160.567 796.867 176.937 791.782 196.795Z"+ fill="currentColor"+ stroke="currentColor"+ strokeWidth="8"+ strokeLinejoin="round"+ />+ <path+ d="M760.632 764.337C720.719 814.616 669.835 855.1 611.872 882.692C553.91 910.285 490.404 924.255 426.213 923.533C362.022 922.812 298.846 907.419 241.518 878.531C184.19 849.643 134.228 808.026 95.4548 756.863C56.6815 705.7 30.1238 646.346 17.8129 583.343C5.50207 520.339 7.76433 455.354 24.4266 393.359C41.089 331.364 71.7099 274.001 113.947 225.658C156.184 177.315 208.919 139.273 268.117 114.442"+ stroke="currentColor"+ strokeWidth="30"+ strokeLinecap="round"+ strokeLinejoin="round"+ />+ </svg>+ ),+ },+ {+ title: "Open in ChatGPT",+ href: `https://chatgpt.com/?${new URLSearchParams({+ hints: "search",+ q,+ })}`,+ icon: (+ <svg+ role="img"+ viewBox="0 0 24 24"+ fill="currentColor"+ xmlns="http://www.w3.org/2000/svg"+ >+ <title>OpenAI</title>+ <path d="M22.2819 9.8211a5.9847 5.9847 0 0 0-.5157-4.9108 6.0462 6.0462 0 0 0-6.5098-2.9A6.0651 6.0651 0 0 0 4.9807 4.1818a5.9847 5.9847 0 0 0-3.9977 2.9 6.0462 6.0462 0 0 0 .7427 7.0966 5.98 5.98 0 0 0 .511 4.9107 6.051 6.051 0 0 0 6.5146 2.9001A5.9847 5.9847 0 0 0 13.2599 24a6.0557 6.0557 0 0 0 5.7718-4.2058 5.9894 5.9894 0 0 0 3.9977-2.9001 6.0557 6.0557 0 0 0-.7475-7.0729zm-9.022 12.6081a4.4755 4.4755 0 0 1-2.8764-1.0408l.1419-.0804 4.7783-2.7582a.7948.7948 0 0 0 .3927-.6813v-6.7369l2.02 1.1686a.071.071 0 0 1 .038.052v5.5826a4.504 4.504 0 0 1-4.4945 4.4944zm-9.6607-4.1254a4.4708 4.4708 0 0 1-.5346-3.0137l.142.0852 4.783 2.7582a.7712.7712 0 0 0 .7806 0l5.8428-3.3685v2.3324a.0804.0804 0 0 1-.0332.0615L9.74 19.9502a4.4992 4.4992 0 0 1-6.1408-1.6464zM2.3408 7.8956a4.485 4.485 0 0 1 2.3655-1.9728V11.6a.7664.7664 0 0 0 .3879.6765l5.8144 3.3543-2.0201 1.1685a.0757.0757 0 0 1-.071 0l-4.8303-2.7865A4.504 4.504 0 0 1 2.3408 7.872zm16.5963 3.8558L13.1038 8.364 15.1192 7.2a.0757.0757 0 0 1 .071 0l4.8303 2.7913a4.4944 4.4944 0 0 1-.6765 8.1042v-5.6772a.79.79 0 0 0-.407-.667zm2.0107-3.0231l-.142-.0852-4.7735-2.7818a.7759.7759 0 0 0-.7854 0L9.409 9.2297V6.8974a.0662.0662 0 0 1 .0284-.0615l4.8303-2.7866a4.4992 4.4992 0 0 1 6.6802 4.66zM8.3065 12.863l-2.02-1.1638a.0804.0804 0 0 1-.038-.0567V6.0742a4.4992 4.4992 0 0 1 7.3757-3.4537l-.142.0805L8.704 5.459a.7948.7948 0 0 0-.3927.6813zm1.0976-2.3654l2.602-1.4998 2.6069 1.4998v2.9994l-2.5974 1.4997-2.6067-1.4997Z" />+ </svg>+ ),+ },+ {+ title: "Open in Claude",+ href: `https://claude.ai/new?${new URLSearchParams({+ q,+ })}`,+ icon: (+ <svg+ fill="currentColor"+ role="img"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ >+ <title>Anthropic</title>+ <path d="M17.3041 3.541h-3.6718l6.696 16.918H24Zm-10.6082 0L0 20.459h3.7442l1.3693-3.5527h7.0052l1.3693 3.5528h3.7442L10.5363 3.5409Zm-.3712 10.2232 2.2914-5.9456 2.2914 5.9456Z" />+ </svg>+ ),+ },+ {+ title: "Open in T3 Chat",+ href: `https://t3.chat/new?${new URLSearchParams({+ q,+ })}`,+ icon: <MessageCircleIcon />,+ },+ ];+ }, [githubUrl, markdownUrl]);++ return (+ <Popover>+ <PopoverTrigger+ className={cn(+ buttonVariants({+ color: "secondary",+ size: "sm",+ className: "gap-2",+ }),+ )}+ >+ Open+ <ChevronDown className="size-3.5 text-fd-muted-foreground" />+ </PopoverTrigger>+ <PopoverContent className="flex flex-col overflow-auto">+ {items.map((item) => (+ <a+ key={item.href}+ href={item.href}+ rel="noreferrer noopener"+ target="_blank"+ className={cn(optionVariants())}+ >+ {item.icon}+ {item.title}+ <ExternalLinkIcon className="text-fd-muted-foreground size-3.5 ms-auto" />+ </a>+ ))}+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/docs/components/banner.tsx b/apps/docs/components/banner.tsxnew file mode 100644index 000000000..a8cf22e89--- /dev/null+++ b/apps/docs/components/banner.tsx@@ -0,0 +1,139 @@+"use client";++import { X } from "lucide-react";+import { type HTMLAttributes, useEffect, useState } from "react";+import { cn } from "@/lib/utils";++type BannerVariant = "rainbow" | "normal";++export function Banner({+ id,+ variant = "normal",+ changeLayout = true,+ height = "3rem",+ rainbowColors = [+ "rgba(0,149,255,0.56)",+ "rgba(231,77,255,0.77)",+ "rgba(255,0,0,0.73)",+ "rgba(131,255,166,0.66)",+ ],+ ...props+}: HTMLAttributes<HTMLDivElement> & {+ /**+ * @defaultValue 3rem+ */+ height?: string;++ /**+ * @defaultValue 'normal'+ */+ variant?: BannerVariant;++ /**+ * For rainbow variant only, customise the colors+ */+ rainbowColors?: string[];++ /**+ * Change Fumadocs layout styles+ *+ * @defaultValue true+ */+ changeLayout?: boolean;+}) {+ const [open, setOpen] = useState(true);+ const globalKey = id ? `nd-banner-${id}` : null;++ useEffect(() => {+ if (globalKey) setOpen(localStorage.getItem(globalKey) !== "true");+ }, [globalKey]);++ if (!open) return null;++ return (+ <div+ id={id}+ {...props}+ className={cn(+ "sticky top-0 z-40 flex flex-row items-center justify-center px-4 text-center text-sm font-medium",+ variant === "normal" && "bg-fd-secondary",+ variant === "rainbow" && "bg-fd-background",+ !open && "hidden",+ props.className,+ )}+ style={{+ height,+ }}+ >+ {changeLayout && open ? (+ <style>+ {globalKey+ ? `:root:not(.${globalKey}) { --fd-banner-height: ${height}; }`+ : `:root { --fd-banner-height: ${height}; }`}+ </style>+ ) : null}+ {globalKey ? (+ <style>{`.${globalKey} #${id} { display: none; }`}</style>+ ) : null}+ {globalKey ? (+ <script+ // biome-ignore lint/security/noDangerouslySetInnerHtml: Required for SSR localStorage check+ dangerouslySetInnerHTML={{+ __html: `if (localStorage.getItem('${globalKey}') === 'true') document.documentElement.classList.add('${globalKey}');`,+ }}+ />+ ) : null}++ {variant === "rainbow"+ ? flow({+ colors: rainbowColors,+ })+ : null}+ {props.children}+ {id ? (+ <button+ type="button"+ aria-label="Close Banner"+ onClick={() => {+ setOpen(false);+ if (globalKey) localStorage.setItem(globalKey, "true");+ }}+ className={cn(+ "absolute end-2 top-1/2 -translate-y-1/2 h-6 w-6 rounded-md text-muted-foreground/40 transition-colors hover:text-muted-foreground/70 hover:bg-transparent",+ )}+ >+ <X className="h-3.5 w-3.5" />+ </button>+ ) : null}+ </div>+ );+}++const maskImage =+ "linear-gradient(to bottom,white,transparent), radial-gradient(circle at top center, white, transparent)";++function flow({ colors }: { colors: string[] }) {+ return (+ <>+ <div+ className="absolute inset-0 z-[-1]"+ style={+ {+ maskImage,+ maskComposite: "intersect",+ animation: "fd-moving-banner 20s linear infinite",+ backgroundImage: `repeating-linear-gradient(70deg, ${[...colors, colors[0]].map((color, i) => `${color} ${(i * 50) / colors.length}%`).join(", ")})`,+ backgroundSize: "200% 100%",+ filter: "saturate(2)",+ } as object+ }+ />+ <style>+ {`@keyframes fd-moving-banner {+ from { background-position: 0% 0; }+ to { background-position: 100% 0; }+ }`}+ </style>+ </>+ );+}diff --git a/apps/docs/components/community.tsx b/apps/docs/components/community.tsxdeleted file mode 100644index 6e44a0541..000000000--- a/apps/docs/components/community.tsx+++ /dev/null@@ -1,118 +0,0 @@-"use client";--import { Github, MessageSquare, Twitter } from "lucide-react";--export default function Community() {- return (- <div className="py-16 bg-white dark:bg-zinc-950" id="community">- <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">- <div className="text-center">- <h2 className="text-3xl font-bold tracking-tight text-zinc-900 dark:text-white sm:text-4xl animate-fade-in">- Built by the community- </h2>- <p className="mt-4 text-lg text-zinc-600 dark:text-zinc-400 animate-fade-in-delay">- Join us in making project management accessible to everyone- </p>- </div>-- <div className="mt-12 grid grid-cols-1 gap-6 md:grid-cols-3">- <a- href="https://github.com/orgs/usekaneo/discussions"- target="_blank"- rel="noopener noreferrer"- className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-0"- aria-label="GitHub Discussions"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.open(- "https://github.com/orgs/usekaneo/discussions",- "_blank",- );- }- }}- >- <Github className="h-6 w-6 text-zinc-600 dark:text-zinc-400 mb-3 group-hover:text-zinc-900 dark:group-hover:text-white transition-colors duration-100" />- <h3 className="text-lg font-semibold text-zinc-900 dark:text-white mb-2">- GitHub Discussions- </h3>- <p className="text-zinc-600 dark:text-zinc-400">- Share ideas and connect with developers- </p>- </a>-- <a- href="https://discord.gg/rU4tSyhXXU"- target="_blank"- rel="noopener noreferrer"- className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-1"- aria-label="Discord Community"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.open("https://discord.gg/rU4tSyhXXU", "_blank");- }- }}- >- <MessageSquare className="h-6 w-6 text-zinc-600 dark:text-zinc-400 mb-3 group-hover:text-zinc-900 dark:group-hover:text-white transition-colors duration-100" />- <h3 className="text-lg font-semibold text-zinc-900 dark:text-white mb-2">- Discord Community- </h3>- <p className="text-zinc-600 dark:text-zinc-400">- Get real-time help and chat with us- </p>- </a>-- <a- href="https://x.com/usekaneo"- target="_blank"- rel="noopener noreferrer"- className="community-item group relative rounded-xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-6 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100 animate-fade-in-up-2"- aria-label="Twitter Updates"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.open("https://x.com/usekaneo", "_blank");- }- }}- >- <Twitter className="h-6 w-6 text-zinc-600 dark:text-zinc-400 mb-3 group-hover:text-zinc-900 dark:group-hover:text-white transition-colors duration-100" />- <h3 className="text-lg font-semibold text-zinc-900 dark:text-white mb-2">- Twitter Updates- </h3>- <p className="text-zinc-600 dark:text-zinc-400">- Stay updated with latest news- </p>- </a>- </div>-- <div className="mt-12 text-center animate-fade-in-delay-2">- <a- href="https://github.com/usekaneo/kaneo"- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow h-9 px-4 py-2 bg-indigo-600 text-white hover:bg-indigo-500 dark:bg-indigo-500 dark:hover:bg-indigo-400"- aria-label="View on GitHub"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.open("https://github.com/usekaneo/kaneo", "_blank");- }- }}- >- <Github className="h-4 w-4" />- View on GitHub- </a>- </div>- </div>- </div>- );-}diff --git a/apps/docs/components/features.tsx b/apps/docs/components/features.tsxindex 0692fb113..f9dad5e07 100644--- a/apps/docs/components/features.tsx+++ b/apps/docs/components/features.tsx@@ -1,60 +1,197 @@-import { Cloud, Kanban, Lock } from "lucide-react";--const features = [- {- name: "Visual Task Management",- description:- "Organize tasks with our intuitive kanban board interface. Drag and drop tasks, set priorities, and track progress.",- icon: Kanban,- },- {- name: "Self-hosted & Secure",- description:- "Deploy on your own infrastructure with complete control over your data and customization options.",- icon: Cloud,- },- {- name: "Data Privacy",- description:- "Built with security in mind. Your data stays private and protected with robust security measures.",- icon: Lock,- },-];+import {+ Calendar,+ ChevronsUp,+ CircleDot,+ GitBranch,+ LayoutListIcon,+ PlusIcon,+ Server,+ ShieldIcon,+ Wand,+} from "lucide-react";+import Link from "next/link";export default function Features() {return (- <div className="py-16 bg-white dark:bg-zinc-950" id="features">- <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">- <div className="text-center max-w-2xl mx-auto">- <h2 className="text-3xl font-bold tracking-tight text-zinc-900 dark:text-white sm:text-4xl animate-fade-in">- Simple yet powerful- </h2>- <p className="mt-4 text-lg text-zinc-600 dark:text-zinc-400 animate-fade-in-delay">- Focus on what matters with our essential features- </p>- </div>+ <section className="relative bg-sidebar" id="features">+ <div+ aria-hidden="true"+ className="absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-border/30 to-transparent"+ />++ <div className="@container border-t border-foreground/10 border-dashed">+ <div className="mx-auto max-w-6xl px-2 lg:px-6">+ <div className="border-x border-foreground/10 border-dashed px-2 lg:px-2">+ <div className="relative border-x border-foreground/10 border-dashed">+ <div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-4 divide-x divide-y divide-foreground/10 divide-dashed overflow-hidden *:p-4 md:*:p-6 xl:*:p-8">+ <div className="xl:col-span-2 col-span-full xl:row-span-2 grid gap-8">+ <div className="mx-auto w-full max-w-md self-center">+ <div className="flex flex-col h-full w-full min-h-0 backdrop-blur-xs rounded-lg relative group transition-all duration-300 ease-out bg-card/50 border border-border/50 hover:bg-card/70 hover:shadow-md">+ <div className="p-3 shrink-0">+ <div className="flex items-center gap-2">+ <CircleDot className="w-4 h-4 text-muted-foreground" />+ <h3 className="font-medium text-foreground">+ In Progress+ </h3>+ <span className="text-sm text-muted-foreground">+ 1+ </span>+ </div>+ </div>++ <div className="p-3 pt-0 overflow-y-auto overflow-x-hidden flex-1 min-h-0">+ <div className="flex flex-col gap-2">+ <div className="relative overflow-visible">+ <div className="absolute inset-0 translate-y-2 translate-x-2 rounded-lg bg-card border border-border/40 opacity-60 pointer-events-none" />+ <div className="absolute inset-0 translate-y-1 translate-x-1 rounded-lg bg-card border border-border/40 opacity-80 pointer-events-none" />++ <div className="relative bg-card border border-border rounded-lg p-3 transition-all duration-200 ease-out hover:border-primary/30 hover:shadow-sm">+ <div className="mb-3">+ <h4 className="font-medium text-foreground text-sm leading-relaxed">+ Design onboarding flow for new workspace+ members+ </h4>+ </div>+ <div className="mb-3">+ <div className="flex flex-wrap gap-1">+ <span className="px-2 py-0.5 text-[10px] flex items-center rounded border border-border text-muted-foreground">+ <span className="inline-block w-1.5 h-1.5 mr-1 rounded-full bg-stone-500" />+ <span className="truncate">Onboarding</span>+ </span>+ <span className="px-2 py-0.5 text-[10px] flex items-center rounded border border-border text-muted-foreground">+ <span className="inline-block w-1.5 h-1.5 mr-1 rounded-full bg-violet-500" />+ <span className="truncate">Design</span>+ </span>+ </div>+ </div>+ <div className="flex items-center gap-2">+ <span className="inline-flex items-center gap-1.5 px-2 py-1 rounded border border-border bg-sidebar text-[10px] font-medium text-muted-foreground">+ <ChevronsUp className="size-3 text-orange-400/70" />+ </span>+ <div className="flex items-center gap-1 text-[10px] px-2 py-1 rounded text-muted-foreground bg-muted/50">+ <Calendar className="size-3" />+ <span>Oct 12</span>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ </div>+ <div className="mx-auto max-w-sm text-center">+ <h3 className="text-balance font-semibold text-lg">+ Powerful task workflows+ </h3>+ <p className="text-muted-foreground mt-3">+ Plan, prioritize, and ship with a fast Kanban board and an+ efficient list view.+ </p>+ </div>+ </div>++ <div className="xl:col-span-2 col-span-full xl:row-span-2 grid gap-8 xl:border-r-0">+ <div className="mx-auto max-w-sm w-full self-center">+ <div className="bg-foreground/5 rounded-2xl overflow-hidden">+ <div className="flex items-center gap-1.5 px-6 py-3 text-sm font-medium">+ <GitBranch className="size-3.5 opacity-50" />+ Integrations+ </div>+ <div className="relative">+ <div className="absolute inset-0 opacity-100 blur-lg">+ <div className="absolute inset-x-6 bottom-0 top-12 bg-gradient-to-r from-violet-400/30 to-purple-400/30" />+ </div>+ <div className="bg-card ring-foreground/10 relative overflow-hidden rounded-2xl border border-transparent px-6 py-4 shadow-lg ring-1">+ <div className="grid grid-cols-[auto_1fr_auto] items-center gap-3 border-b border-dashed border-border/60 pb-3">+ <div className="bg-muted border-foreground/5 flex size-12 items-center justify-center rounded-lg border">+ <svg+ width="1em"+ height="1em"+ viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ className="size-6"+ aria-label="GitHub"+ >+ <title>GitHub</title>+ <path+ fill="currentColor"+ d="M12 1.5c-5.8 0-10.5 4.7-10.5 10.5 0 4.6 3 8.5 7.2 9.9.5.1.7-.2.7-.5v-1.8c-2.9.6-3.6-1.2-3.6-1.2-.5-1.1-1.1-1.4-1.1-1.4-.9-.6.1-.6.1-.6 1 .1 1.5 1 1.5 1 .9 1.5 2.5 1.1 3.1.8.1-.7.4-1.1.7-1.4-2.3-.3-4.6-1.1-4.6-5 0-1.1.4-1.9 1-2.6-.1-.3-.4-1.3.1-2.6 0 0 .8-.3 2.7 1 .8-.2 1.7-.3 2.6-.3.9 0 1.8.1 2.6.3 1.9-1.3 2.7-1 2.7-1 .5 1.3.2 2.3.1 2.6.6.7 1 1.6 1 2.6 0 3.9-2.4 4.7-4.6 5 .4.3.7.9.7 1.8v2.7c0 .3.2.6.7.5 4.2-1.4 7.2-5.3 7.2-9.9C22.5 6.2 17.8 1.5 12 1.5z"+ />+ </svg>+ </div>+ <div className="space-y-0.5">+ <h3 className="text-sm font-medium">+ GitHub Pull Requests+ </h3>+ <p className="text-muted-foreground text-xs">+ Import issues from GitHub and sync them to+ Kaneo.+ </p>+ </div>+ <Link href="/docs/integrations/github/setup">+ <div className="cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors border border-transparent bg-background ring-1 ring-foreground/10 hover:bg-muted/50 h-9 w-9">+ <PlusIcon className="size-4" />+ </div>+ </Link>+ </div>+ </div>+ </div>+ </div>+ </div>+ <div className="relative z-10 mx-auto max-w-sm text-center">+ <h3 className="text-balance font-semibold text-lg">+ Native GitHub integration+ </h3>+ <p className="text-muted-foreground mt-3">+ Connect repositories and sync issues.+ </p>+ </div>+ </div>++ <div className="space-y-2 xl:border-b-0">+ <div className="flex items-center gap-2">+ <LayoutListIcon className="size-4 text-primary" />+ <h3 className="text-sm font-medium">Kanban & List views</h3>+ </div>+ <p className="text-muted-foreground text-sm leading-relaxed">+ Switch between board and table with filters and saved views.+ </p>+ </div>++ <div className="space-y-2 xl:border-b-0">+ <div className="flex items-center gap-2">+ <ShieldIcon className="size-4 text-primary" />+ <h3 className="text-sm font-medium">Privacy-first</h3>+ </div>+ <p className="text-muted-foreground text-sm leading-relaxed">+ Minimal analytics, no tracking, granular access controls.+ </p>+ </div>++ <div className="space-y-2 border-b-0">+ <div className="flex items-center gap-2">+ <Server className="size-4 text-primary" />+ <h3 className="text-sm font-medium">Self-hosted</h3>+ </div>+ <p className="text-muted-foreground text-sm leading-relaxed">+ One-click Docker deploys, backups, no vendor lock-in.+ </p>+ </div>- <div className="mt-16 grid grid-cols-1 gap-8 sm:grid-cols-2 lg:grid-cols-3">- {features.map((feature, index) => (- <div- key={feature.name}- className={`feature-item relative animate-fade-in-up-${index}`}- >- <div className="relative rounded-2xl border border-zinc-200 dark:border-zinc-800 bg-white dark:bg-zinc-900 p-8 hover:border-zinc-300 dark:hover:border-zinc-700 transition-colors duration-100">- <div className="inline-flex p-3 rounded-lg bg-indigo-50 dark:bg-indigo-500/10">- <feature.icon className="h-6 w-6 text-indigo-600 dark:text-indigo-400" />+ <div className="space-y-2 border-b-0 xl:border-r-0">+ <div className="flex items-center gap-2">+ <Wand className="size-4 text-primary" />+ <h3 className="text-sm font-medium">Labels & priorities</h3>+ </div>+ <p className="text-muted-foreground text-sm leading-relaxed">+ Everything you need: tags, priorities, due dates.+ </p></div>- <h3 className="mt-6 text-lg font-semibold text-zinc-900 dark:text-white">- {feature.name}- </h3>- <p className="mt-2 text-zinc-600 dark:text-zinc-400">- {feature.description}- </p></div></div>- ))}+ </div></div></div>- </div>+ </section>);}diff --git a/apps/docs/components/footer.tsx b/apps/docs/components/footer.tsxindex 359447aed..279a2e994 100644--- a/apps/docs/components/footer.tsx+++ b/apps/docs/components/footer.tsx@@ -1,139 +1,136 @@-import {- CheckCircle,- ExternalLink,- Github,- Heart,- MessageSquare,- Twitter,-} from "lucide-react";import Link from "next/link";export default function Footer() {return (- <footer className="bg-zinc-100 dark:bg-zinc-950 border-t border-zinc-200 dark:border-zinc-900">- <div className="max-w-7xl mx-auto py-12 px-4 sm:px-6 lg:px-8">- <div className="grid grid-cols-1 md:grid-cols-3 gap-8 mb-12">- <div className="flex flex-col">- <div className="flex items-center">- <div className="flex items-center justify-center bg-indigo-500/10 rounded p-1 mr-2">- <svg- xmlns="http://www.w3.org/2000/svg"- width="24"- height="24"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="1.8"- strokeLinecap="round"- strokeLinejoin="round"- className="lucide lucide-layout-grid w-5 h-5 text-indigo-600 dark:text-indigo-400"- >- <title>Kaneo Logo</title>- <rect width="7" height="7" x="3" y="3" rx="1" />- <rect width="7" height="7" x="14" y="3" rx="1" />- <rect width="7" height="7" x="14" y="14" rx="1" />- <rect width="7" height="7" x="3" y="14" rx="1" />- </svg>- </div>- <span className="text-zinc-900 dark:text-white font-medium text-xl">- Kaneo- </span>- </div>- <p className="mt-4 text-zinc-600 dark:text-zinc-400 text-sm">- <a- href="https://kaneo.openstatus.dev/"- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center px-2.5 py-1 bg-green-50/50 dark:bg-green-950/20 border border-green-200/50 dark:border-green-800/50 rounded-md text-green-700 hover:text-green-800 dark:text-green-400 dark:hover:text-green-300 hover:bg-green-50 dark:hover:bg-green-950/30 transition-all duration-200"+ <footer className="py-12 sm:py-16 lg:py-20 bg-sidebar border-t border-border/30">+ <div className="mx-auto max-w-6xl space-y-12 px-6 lg:px-12">+ <div className="grid gap-12 md:grid-cols-5">+ <div className="space-y-6 md:col-span-2">+ <Link aria-label="go home" className="block size-fit" href="/">+ <svg+ xmlns="http://www.w3.org/2000/svg"+ width="450"+ height="104"+ viewBox="0 0 450 104"+ fill="none"+ className="h-5 w-auto text-[#1E1E1E] dark:text-white">- <span className="relative flex items-center mr-2">- <span className="inline-flex h-2 w-2 bg-green-500 rounded-full animate-pulse" />- </span>- <span className="text-xs font-medium">- All systems operational- </span>- </a>+ <title>Kaneo Logo</title>+ <path+ d="M14.6855 95.7242C10.5716 96.5957 8.00007 95.2652 8 93.6608L8 62.026C8 61.8601 8.00321 61.6857 8.00879 61.5065C8.00391 61.3845 8.00098 61.2484 8.00098 61.0973L8.00098 29.944C8.01499 28.6519 8.25865 27.7436 11.2588 27.108L25.3145 24.276C29.4283 23.4046 31.9997 24.7352 32 26.3395L32 57.9742C32 58.1404 31.9978 58.3153 31.9922 58.4948C31.997 58.6165 31.999 58.7522 31.999 58.903L31.999 90.0573C31.9849 91.3489 31.7407 92.2568 28.7412 92.8922L14.6855 95.7242Z"+ fill="#5463FF"+ />+ <path+ d="M46.6855 87.7238C42.5716 88.5952 40 87.2647 40 85.6603L40 54.0265C40 53.8607 40.0032 53.6861 40.0088 53.507C40.0039 53.3849 40.001 53.2491 40.001 53.0978L40.001 21.9445C40.015 20.6526 40.2589 19.7451 43.2588 19.1096L57.3145 16.2765C61.4285 15.4051 64 16.7366 64 18.341L64 49.9748C64 50.141 63.9978 50.3157 63.9922 50.4953C63.997 50.617 63.999 50.7528 63.999 50.9035L63.999 82.0568C63.9849 83.3485 63.7408 84.2564 60.7412 84.8918L46.6855 87.7238Z"+ fill="#5463FF"+ />+ <path+ d="M89.3145 8.27576C93.4284 7.40433 95.9999 8.73485 96 10.3392V21.184L78.0576 44.5013L95.999 66.7797V74.057C95.9849 75.3486 95.7407 76.2565 92.7412 76.892L78.6855 79.725C74.572 80.5963 72.0005 79.2647 72 77.6605V46.0258C72 45.8599 72.0032 45.6853 72.0088 45.5062C72.0039 45.3844 72.001 45.248 72.001 45.097V13.9427C72.0151 12.6511 72.2594 11.7432 75.2588 11.1078L89.3145 8.27576Z"+ fill="#5463FF"+ />+ <path+ d="M413.776 80C408.324 80 403.571 78.8698 399.515 76.6094C395.46 74.2826 392.302 71.0249 390.041 66.8366C387.781 62.6482 386.651 57.7285 386.651 52.0775C386.651 46.4266 387.781 41.5401 390.041 37.4183C392.302 33.2299 395.46 29.9723 399.515 27.6454C403.571 25.3185 408.324 24.1551 413.776 24.1551C419.227 24.1551 423.981 25.3185 428.036 27.6454C432.091 29.9723 435.249 33.2299 437.51 37.4183C439.77 41.5401 440.9 46.4266 440.9 52.0775C440.9 57.7285 439.77 62.6482 437.51 66.8366C435.249 71.0249 432.091 74.2826 428.036 76.6094C423.981 78.8698 419.227 80 413.776 80ZM413.776 68.5318C417.499 68.5318 420.391 67.1025 422.451 64.2438C424.512 61.3186 425.543 57.2631 425.543 52.0775C425.543 46.8919 424.512 42.8698 422.451 40.0111C420.391 37.0858 417.499 35.6232 413.776 35.6232C410.053 35.6232 407.161 37.0858 405.1 40.0111C403.039 42.8698 402.008 46.8919 402.008 52.0775C402.008 57.2631 403.039 61.3186 405.1 64.2438C407.161 67.1025 410.053 68.5318 413.776 68.5318Z"+ fill="currentColor"+ />+ <path+ d="M354.17 80C348.719 80 343.965 78.8698 339.91 76.6094C335.921 74.2826 332.796 71.0249 330.536 66.8366C328.342 62.6482 327.245 57.7285 327.245 52.0775C327.245 46.4266 328.342 41.5401 330.536 37.4183C332.796 33.2299 335.921 29.9723 339.91 27.6454C343.899 25.3185 348.619 24.1551 354.07 24.1551C359.389 24.1551 364.009 25.3185 367.932 27.6454C371.854 29.9723 374.879 33.2964 377.007 37.6177C379.201 41.939 380.298 47.0914 380.298 53.0748V56.0665H342.702C342.901 60.3213 344.032 63.4792 346.093 65.5402C348.22 67.6011 351.012 68.6316 354.469 68.6316C356.996 68.6316 359.09 68.0997 360.752 67.036C362.48 65.9723 363.71 64.3435 364.442 62.1496L379.5 63.0471C378.104 68.3656 375.145 72.5208 370.624 75.5125C366.104 78.5042 360.619 80 354.17 80ZM342.702 46.8919H364.94C364.741 42.9695 363.644 40.0443 361.649 38.1163C359.721 36.1883 357.195 35.2244 354.07 35.2244C350.946 35.2244 348.353 36.2548 346.292 38.3158C344.298 40.3102 343.101 43.169 342.702 46.8919Z"+ fill="currentColor"+ />+ <path+ d="M270.654 79.8001V25.1781H284.144L284.744 41.1774L282.845 40.6679C283.378 36.5916 284.444 33.3306 286.043 30.8849C287.708 28.4391 289.774 26.6727 292.239 25.5857C294.704 24.4987 297.402 23.9552 300.333 23.9552C304.197 23.9552 307.462 24.8044 310.126 26.5029C312.858 28.2013 314.923 30.6131 316.322 33.7383C317.788 36.7955 318.521 40.4301 318.521 44.6423V79.8001H303.531V49.7376C303.531 46.8163 303.298 44.3366 302.831 42.2984C302.365 40.2603 301.532 38.7317 300.333 37.7126C299.134 36.6256 297.468 36.0821 295.337 36.0821C292.205 36.0821 289.807 37.271 288.142 39.6488C286.476 41.9587 285.643 45.3217 285.643 49.7376V79.8001H270.654Z"+ fill="currentColor"+ />+ <path+ d="M227.085 80C221.567 80 217.046 78.7368 213.523 76.2105C210.066 73.6177 208.337 70.0277 208.337 65.4404C208.337 60.7202 209.8 57.0969 212.725 54.5706C215.717 51.9778 220.104 50.0831 225.888 48.8864L243.141 45.4958C243.141 42.0388 242.343 39.446 240.747 37.7174C239.218 35.9224 236.991 35.0249 234.066 35.0249C231.207 35.0249 228.98 35.6897 227.384 37.0194C225.789 38.2825 224.758 40.1773 224.293 42.7036L209.235 42.0055C210.232 36.1551 212.858 31.734 217.113 28.7423C221.434 25.6842 227.085 24.1551 234.066 24.1551C242.044 24.1551 248.027 26.0498 252.016 29.8393C256.071 33.6288 258.099 39.18 258.099 46.4931V64.7424C258.099 66.2715 258.332 67.3019 258.797 67.8338C259.329 68.2992 260.093 68.5318 261.091 68.5318H262.587V78.8033C262.121 78.9363 261.357 79.0693 260.293 79.2022C259.296 79.3352 258.298 79.4017 257.301 79.4017C255.174 79.4017 253.179 79.036 251.318 78.3047C249.523 77.5734 248.06 76.3435 246.93 74.615C245.8 72.8199 245.235 70.2936 245.235 67.036L246.531 68.0332C245.866 70.4266 244.67 72.5208 242.941 74.3158C241.279 76.1108 239.085 77.5069 236.359 78.5042C233.7 79.5014 230.609 80 227.085 80ZM230.675 69.7285C233.135 69.7285 235.296 69.2632 237.157 68.3324C239.019 67.3352 240.481 65.9058 241.545 64.0443C242.609 62.1828 243.141 59.9889 243.141 57.4626V54.8698L230.974 57.4626C228.581 57.928 226.753 58.7257 225.49 59.8559C224.293 60.9197 223.695 62.3158 223.695 64.0443C223.695 65.8393 224.293 67.2355 225.49 68.2327C226.686 69.2299 228.415 69.7285 230.675 69.7285Z"+ fill="currentColor"+ />+ <path+ d="M146 79.8006V8H161.082V39.3496L186.683 8H204.246L178.348 39.6529L205.834 79.8006H188.668L168.425 49.968L161.082 58.6649V79.8006H146Z"+ fill="currentColor"+ />+ </svg>+ </Link>+ <p className="text-muted-foreground text-balance text-sm max-w-sm">+ All you need. Nothing you don't.</p></div>- <div>- <h3 className="text-zinc-900 dark:text-white font-medium mb-4">- Product- </h3>- <ul className="space-y-3">- <li>+ <div className="col-span-3 grid gap-6 sm:grid-cols-3">+ <div className="space-y-4 text-sm">+ <span className="block font-medium">Product</span>+ <div className="flex flex-wrap gap-4 sm:flex-col"><Link+ className="text-muted-foreground hover:text-primary block duration-150"href="/docs"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <ExternalLink className="h-4 w-4 mr-2" />- Documentation+ <span>Documentation</span>+ </Link>+ <Link+ className="text-muted-foreground hover:text-primary block duration-150"+ href="/docs/getting-started"+ >+ <span>Getting Started</span></Link>- </li>- <li>+ <Link+ className="text-muted-foreground hover:text-primary block duration-150"+ href="/docs/roadmap"+ >+ <span>Roadmap</span>+ </Link>+ </div>+ </div>++ <div className="space-y-4 text-sm">+ <span className="block font-medium">Resources</span>+ <div className="flex flex-wrap gap-4 sm:flex-col"><a+ className="text-muted-foreground hover:text-primary block duration-150"href="https://github.com/usekaneo/kaneo"target="_blank"rel="noopener noreferrer"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <Github className="h-4 w-4 mr-2" />- GitHub+ <span>GitHub</span></a>- </li>- <li><a- href="https://demo.kaneo.app"+ className="text-muted-foreground hover:text-primary block duration-150"+ href="https://github.com/usekaneo/kaneo/blob/main/LICENSE"target="_blank"rel="noopener noreferrer"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <ExternalLink className="h-4 w-4 mr-2" />- Demo+ <span>License</span></a>- </li>- </ul>- </div>-- <div>- <h3 className="text-zinc-900 dark:text-white font-medium mb-4">- Community- </h3>- <ul className="space-y-3">- <li><a- href="https://x.com/usekaneo"+ className="text-muted-foreground hover:text-primary block duration-150"+ href="https://github.com/usekaneo/kaneo/blob/main/CONTRIBUTING.md"target="_blank"rel="noopener noreferrer"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <Twitter className="h-4 w-4 mr-2" />+ <span>Contributing</span></a>- </li>- <li>+ </div>+ </div>++ <div className="space-y-4 text-sm">+ <span className="block font-medium">Community</span>+ <div className="flex flex-wrap gap-4 sm:flex-col"><a- href="https://discord.gg/rU4tSyhXXU"+ className="text-muted-foreground hover:text-primary block duration-150"+ href="https://github.com/usekaneo/kaneo"target="_blank"rel="noopener noreferrer"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <MessageSquare className="h-4 w-4 mr-2" />- Discord+ <span>GitHub</span></a>- </li>- <li><a- href="https://github.com/orgs/usekaneo/discussions"+ className="text-muted-foreground hover:text-primary block duration-150"+ href="https://discord.com/invite/rU4tSyhXXU"target="_blank"rel="noopener noreferrer"- className="text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-white transition-colors text-sm flex items-center">- <MessageSquare className="h-4 w-4 mr-2" />- Discussions+ <span>Discord</span></a>- </li>- </ul>+ </div>+ </div></div></div></div>diff --git a/apps/docs/components/hero.tsx b/apps/docs/components/hero.tsxindex fb3994e2f..e32f7a2b8 100644--- a/apps/docs/components/hero.tsx+++ b/apps/docs/components/hero.tsx@@ -1,123 +1,81 @@-"use client";--import { ArrowRight, ExternalLink, Sparkles, Terminal } from "lucide-react";-import Link from "next/link";-import DemoSection from "./laptop-animation";+import { ChevronRight, Github } from "lucide-react";+import { Button } from "@/components/ui/button";export default function Hero() {return (- <div className="relative">- <div className="absolute inset-0 -z-10 overflow-hidden">- <div- className="absolute left-[max(-7rem,calc(50%-52rem))] top-0 -z-10 transform-gpu blur-3xl sm:left-[max(-11rem,calc(50%-52rem))] lg:left-[max(-15rem,calc(50%-52rem))] xl:left-[max(-19rem,calc(50%-52rem))]"- aria-hidden="true"- >- <div- className="aspect-[1155/678] w-[72.1875rem] bg-gradient-to-br from-indigo-500 to-indigo-200 opacity-30"- style={{- clipPath:- "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)",- }}- />- </div>- <div- className="absolute left-[max(45rem,calc(50%+8rem))] top-0 -z-10 transform-gpu blur-3xl xl:left-[max(49rem,calc(50%+12rem))]"- aria-hidden="true"- >- <div- className="aspect-[1155/678] w-[72.1875rem] bg-gradient-to-tr from-indigo-500 to-indigo-200 opacity-30"- style={{- clipPath:- "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)",- }}- />- </div>- </div>- <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 pt-20 text-center lg:pt-32">- <div id="headline" className="mb-8">- <a- href="https://cloud.kaneo.app"- className="hover:bg-zinc-100 dark:hover:bg-zinc-800 bg-zinc-50 dark:bg-zinc-900 group mx-auto flex w-fit items-center gap-4 rounded-full border border-zinc-200 dark:border-zinc-800 p-1 pl-4 shadow-md shadow-zinc-950/5 transition-all duration-150 hover:scale-[1.02]"- aria-label="Try Kaneo Cloud - 100% Free Forever"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.location.href = "https://cloud.kaneo.app";- }- }}- >- <span className="text-zinc-900 dark:text-zinc-100 text-sm flex items-center gap-2">- <Sparkles className="h-4 w-4 text-amber-400" />- Try Kaneo Cloud - 100% Free Forever- </span>- <span className="block h-4 w-0.5 border-l border-zinc-300 dark:border-zinc-700" />- <div className="bg-white dark:bg-zinc-800 group-hover:bg-zinc-100 dark:group-hover:bg-zinc-700 size-6 overflow-hidden rounded-full duration-200">- <div className="flex w-12 -translate-x-1/2 duration-200 ease-in-out group-hover:translate-x-0">- <span className="flex size-6">- <ArrowRight className="m-auto size-3 text-zinc-600 dark:text-zinc-400" />- </span>- <span className="flex size-6">- <ArrowRight className="m-auto size-3 text-zinc-600 dark:text-zinc-400" />- </span>- </div>- </div>- </a>-- <h1 className="mx-auto mt-8 max-w-4xl font-display text-4xl font-medium tracking-tight text-zinc-900 dark:text-white sm:text-7xl animate-fade-in">- Project management{" "}- <span className="relative whitespace-nowrap text-indigo-600 dark:text-indigo-400">- <span className="relative">made simple</span>- </span>{" "}- for teams- </h1>-- <p className="mx-auto mt-6 max-w-2xl text-base sm:text-lg text-zinc-600 dark:text-zinc-400 animate-fade-in-delay">- An open source project management platform focused on simplicity and- efficiency. Self-host it, customize it, make it yours.- </p>-- <div className="mt-10 flex flex-wrap justify-center gap-4 animate-fade-in-delay-2">+ <div className="relative pt-24 pb-24 md:pt-36 lg:pt-44 overflow-hidden p-4">+ <div className="relative z-10 mx-auto w-full max-w-6xl">+ <div className="md:w-1/2">+ <div><a- href="https://demo.kaneo.app"+ href="https://github.com/usekaneo/kaneo/releases/tag/v2.0.0"target="_blank"rel="noopener noreferrer"- className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow-lg shadow-indigo-500/20 py-2 bg-indigo-600 text-white hover:bg-indigo-500 hover:scale-[1.02] dark:bg-indigo-500 dark:hover:bg-indigo-400 h-12 px-8"- aria-label="Try Demo"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.open("https://demo.kaneo.app", "_blank");- }- }}+ className="inline-flex items-center gap-2 rounded-full border border-border/40 bg-card/30 backdrop-blur-sm px-4 py-1.5 text-sm font-medium text-muted-foreground transition-colors hover:bg-card/50 hover:text-foreground mb-6">- <ExternalLink className="mr-2 h-4 w-4" />- Try Demo+ <span className="text-base">🎉</span>+ <span>Version 2 is now available</span>+ <ChevronRight className="h-3.5 w-3.5" /></a>- <Link- href="/docs"- className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-zinc-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow-lg py-2 bg-white text-zinc-900 hover:bg-zinc-50 hover:scale-[1.02] dark:bg-zinc-800 dark:text-zinc-100 dark:hover:bg-zinc-700 h-12 px-8 border border-zinc-200 dark:border-zinc-700"- aria-label="Documentation"- tabIndex={0}- // biome-ignore lint/a11y/useSemanticElements: <explanation>- role="button"- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- window.location.href = "/docs";- }- }}- >- <Terminal className="mr-2 h-4 w-4" />- Documentation- </Link>+ <h1 className="max-w-md text-balance text-5xl font-medium md:text-6xl">+ All you{" "}+ <span className="relative text-primary">+ <svg+ aria-hidden="true"+ className="pointer-events-none absolute inset-x-0 bottom-0 w-full h-4"+ viewBox="0 0 100 12"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ >+ <path+ d="M2 8C20 3, 40 2, 60 3C75 4, 85 6, 98 8"+ stroke="currentColor"+ strokeWidth="3"+ className="text-primary/40"+ />+ </svg>+ <span className="relative">need</span>+ </span>+ . Nothing you don't.+ </h1>+ <p className="text-muted-foreground mb-8 mt-4 max-w-2xl text-balance text-xl">+ The project management tool that gets out of your way. Focus on+ what matters with Kaneo's minimalist approach to team+ collaboration.+ </p>+ <div className="flex items-center gap-3">+ <Button asChild size="lg" className="gap-2">+ <a href="/docs" className="text-white">+ Get Started+ <ChevronRight className="h-4 w-4" />+ </a>+ </Button>+ <Button asChild variant="outline" size="lg" className="gap-2">+ <a href="https://github.com/usekaneo/kaneo">+ <Github className="h-4 w-4" />+ View on GitHub+ </a>+ </Button>+ </div></div></div>-- <div className="mt-16 sm:mt-24 animate-fade-in-delay-3">- <DemoSection />+ </div>+ <div className="perspective-near mt-24 translate-x-0 md:absolute md:-right-6 md:bottom-16 md:left-1/2 md:top-40 md:mt-0 md:-translate-x-16">+ <div className="before:border-foreground/5 before:bg-foreground/5 relative h-full max-w-2xl before:absolute before:-inset-x-4 before:bottom-7 before:top-0 before:skew-x-6 before:rounded-[calc(var(--radius)+1rem)] before:border">+ <div className="bg-background rounded-(--radius) shadow-foreground/10 ring-foreground/5 relative h-full -translate-y-12 skew-x-6 overflow-hidden border border-transparent shadow-md ring-1">+ {/** biome-ignore lint/performance/noImgElement: we need to use the img element */}+ <img+ src="/cover-dark.png"+ alt="Kaneo Dashboard"+ className="w-full h-full object-cover object-left p-2 bg-sidebar hidden dark:block"+ />+ {/** biome-ignore lint/performance/noImgElement: we need to use the img element */}+ <img+ alt="Kaneo Dashboard"+ className="w-full h-full object-cover object-left p-2 block dark:hidden"+ src="/cover-white.png"+ />+ </div></div></div></div>diff --git a/apps/docs/components/personal-statement.tsx b/apps/docs/components/personal-statement.tsxnew file mode 100644index 000000000..e8008ff55--- /dev/null+++ b/apps/docs/components/personal-statement.tsx@@ -0,0 +1,44 @@+export default function PersonalStatement() {+ return (+ <div className="relative max-w-2xl mx-auto px-4 py-6 lg:py-17">+ <div className="relative">+ <div className="text-muted-foreground space-y-6 text-lg leading-relaxed md:text-xl">+ <p>+ I'm <strong className="text-foreground font-medium">Andrej</strong>,+ and I created Kaneo because I was tired of project management tools+ that got in the way more than they helped. After years of using+ bloated, overcomplicated platforms that{" "}+ <strong className="text-foreground font-medium">+ distracted from actual work+ </strong>+ , I knew there had to be a better way.+ </p>++ <p>+ The problem wasn't that these tools lacked features—it was that they+ had{" "}+ <strong className="text-foreground font-medium">too many</strong>.+ Every notification, every unnecessary button, every complex workflow+ was pulling my team away from what mattered:{" "}+ <strong className="text-foreground font-medium">+ building great products+ </strong>+ .+ </p>++ <p>+ I believe the best tools are{" "}+ <strong className="text-foreground font-medium">invisible</strong>.+ They should amplify your team's natural workflow, not force you to+ adapt to theirs. Kaneo is built on the principle that{" "}+ <strong className="text-foreground font-medium">+ less is more+ </strong>+ —every feature exists because it solves a real problem, not because+ it looks impressive in a demo.+ </p>+ </div>+ </div>+ </div>+ );+}diff --git a/apps/docs/components/section-separator.tsx b/apps/docs/components/section-separator.tsxnew file mode 100644index 000000000..45ec5dc67--- /dev/null+++ b/apps/docs/components/section-separator.tsx@@ -0,0 +1,23 @@+import type { ReactNode } from "react";++interface SectionSeparatorProps {+ children: ReactNode;+}++export default function SectionSeparator({ children }: SectionSeparatorProps) {+ return (+ <div className="relative w-auto bg-card">+ <div+ aria-hidden="true"+ className="absolute top-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-border/30 to-transparent"+ />++ <div+ aria-hidden="true"+ className="absolute top-0 left-0 h-3 w-full bg-[repeating-linear-gradient(-45deg,var(--color-foreground),var(--color-foreground)_1px,transparent_1px,transparent_4px)] opacity-[0.02]"+ />++ {children}+ </div>+ );+}diff --git a/apps/docs/components/structured-data.tsx b/apps/docs/components/structured-data.tsxindex 309eb2310..35201d10e 100644--- a/apps/docs/components/structured-data.tsx+++ b/apps/docs/components/structured-data.tsx@@ -33,7 +33,7 @@ export default function StructuredData({url: "https://kaneo.app",logo: "https://kaneo.app/logo.png",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com.",+ "All you need. Nothing you don't. Open source project management that works for you, not against you.",foundingDate: "2024",contactPoint: {"@type": "ContactPoint",@@ -53,7 +53,7 @@ export default function StructuredData({"@type": "SoftwareApplication",name: "Kaneo",description:- "Free open source project management software for teams. Self-hosted alternative to Jira, Asana & Monday.com with kanban boards, time tracking, and team collaboration.",+ "Open source project management that works for you, not against you. Self-hosted, simple, and powerful.",url: "https://kaneo.app",downloadUrl: "https://github.com/usekaneo/kaneo",screenshot: "https://kaneo.app/screenshot.png",@@ -70,8 +70,7 @@ export default function StructuredData({"@type": "Offer",price: "0",priceCurrency: "USD",- description:- "Free forever - open source project management software",+ description: "Free forever. All you need. Nothing you don't.",},features: ["Kanban boards",@@ -89,11 +88,10 @@ export default function StructuredData({return {...baseData,"@type": "Article",- headline:- data?.title || "Free Open Source Project Management Software",+ headline: data?.title || "Kaneo ⎯ All you need. Nothing you don't.",description:data?.description ||- "Complete guide to Kaneo - the free, open source project management software",+ "Open source project management that works for you, not against you.",author: {"@type": "Organization",name: "Kaneo",@@ -129,7 +127,7 @@ export default function StructuredData({name: "How does Kaneo compare to Jira?",acceptedAnswer: {"@type": "Answer",- text: "Kaneo is a free, open source alternative to Jira with similar features like issue tracking, project management, and team collaboration, but without licensing costs.",+ text: "Kaneo is an open source alternative to Jira with powerful features like issue tracking, kanban boards, and team collaboration, without the complexity or licensing costs.",},},{diff --git a/apps/docs/components/ui/badge.tsx b/apps/docs/components/ui/badge.tsxnew file mode 100644index 000000000..d9ebd4afc--- /dev/null+++ b/apps/docs/components/ui/badge.tsx@@ -0,0 +1,46 @@+import { Slot } from "@radix-ui/react-slot";+import { cva, type VariantProps } from "class-variance-authority";+import type * as React from "react";++import { cn } from "@/lib/utils";++const badgeVariants = cva(+ "inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",+ {+ variants: {+ variant: {+ default:+ "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",+ secondary:+ "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",+ destructive:+ "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",+ outline:+ "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",+ },+ },+ defaultVariants: {+ variant: "default",+ },+ },+);++function Badge({+ className,+ variant,+ asChild = false,+ ...props+}: React.ComponentProps<"span"> &+ VariantProps<typeof badgeVariants> & { asChild?: boolean }) {+ const Comp = asChild ? Slot : "span";++ return (+ <Comp+ data-slot="badge"+ className={cn(badgeVariants({ variant }), className)}+ {...props}+ />+ );+}++export { Badge, badgeVariants };diff --git a/apps/docs/components/ui/button.tsx b/apps/docs/components/ui/button.tsxnew file mode 100644index 000000000..46c219564--- /dev/null+++ b/apps/docs/components/ui/button.tsx@@ -0,0 +1,58 @@+import { Slot } from "@radix-ui/react-slot";+import { cva, type VariantProps } from "class-variance-authority";+import type * as React from "react";++import { cn } from "@/lib/utils";++const buttonVariants = cva(+ "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",+ {+ variants: {+ variant: {+ default: "bg-primary text-primary-foreground hover:bg-primary/90",+ destructive:+ "bg-destructive text-white hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",+ outline:+ "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",+ secondary:+ "bg-secondary text-secondary-foreground hover:bg-secondary/80",+ ghost:+ "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",+ link: "text-primary underline-offset-4 hover:underline",+ },+ size: {+ default: "h-9 px-4 py-2 has-[>svg]:px-3",+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",+ icon: "size-9",+ },+ },+ defaultVariants: {+ variant: "default",+ size: "default",+ },+ },+);++function Button({+ className,+ variant,+ size,+ asChild = false,+ ...props+}: React.ComponentProps<"button"> &+ VariantProps<typeof buttonVariants> & {+ asChild?: boolean;+ }) {+ const Comp = asChild ? Slot : "button";++ return (+ <Comp+ data-slot="button"+ className={cn(buttonVariants({ variant, size, className }))}+ {...props}+ />+ );+}++export { Button, buttonVariants };diff --git a/apps/docs/components/ui/card.tsx b/apps/docs/components/ui/card.tsxnew file mode 100644index 000000000..13631edc3--- /dev/null+++ b/apps/docs/components/ui/card.tsx@@ -0,0 +1,92 @@+import type * as React from "react";++import { cn } from "@/lib/utils";++function Card({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card"+ className={cn(+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",+ className,+ )}+ {...props}+ />+ );+}++function CardHeader({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-header"+ className={cn(+ "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",+ className,+ )}+ {...props}+ />+ );+}++function CardTitle({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-title"+ className={cn("leading-none font-semibold", className)}+ {...props}+ />+ );+}++function CardDescription({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-description"+ className={cn("text-muted-foreground text-sm", className)}+ {...props}+ />+ );+}++function CardAction({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-action"+ className={cn(+ "col-start-2 row-span-2 row-start-1 self-start justify-self-end",+ className,+ )}+ {...props}+ />+ );+}++function CardContent({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-content"+ className={cn("px-6", className)}+ {...props}+ />+ );+}++function CardFooter({ className, ...props }: React.ComponentProps<"div">) {+ return (+ <div+ data-slot="card-footer"+ className={cn("flex items-center px-6 [.border-t]:pt-6", className)}+ {...props}+ />+ );+}++export {+ Card,+ CardHeader,+ CardFooter,+ CardTitle,+ CardAction,+ CardDescription,+ CardContent,+};diff --git a/apps/docs/components/ui/hover-card.tsx b/apps/docs/components/ui/hover-card.tsxnew file mode 100644index 000000000..0ef6109c9--- /dev/null+++ b/apps/docs/components/ui/hover-card.tsx@@ -0,0 +1,44 @@+"use client";++import * as HoverCardPrimitive from "@radix-ui/react-hover-card";+import type * as React from "react";++import { cn } from "@/lib/utils";++function HoverCard({+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Root>) {+ return <HoverCardPrimitive.Root data-slot="hover-card" {...props} />;+}++function HoverCardTrigger({+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Trigger>) {+ return (+ <HoverCardPrimitive.Trigger data-slot="hover-card-trigger" {...props} />+ );+}++function HoverCardContent({+ className,+ align = "center",+ sideOffset = 4,+ ...props+}: React.ComponentProps<typeof HoverCardPrimitive.Content>) {+ return (+ <HoverCardPrimitive.Portal data-slot="hover-card-portal">+ <HoverCardPrimitive.Content+ data-slot="hover-card-content"+ align={align}+ sideOffset={sideOffset}+ className={cn(+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--radix-hover-card-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",+ className,+ )}+ {...props}+ />+ </HoverCardPrimitive.Portal>+ );+}++export { HoverCard, HoverCardTrigger, HoverCardContent };diff --git a/apps/docs/content/docs/deployments/kubernetes.mdx b/apps/docs/content/docs/deployments/kubernetes.mdxdeleted file mode 100644index 141a68e41..000000000--- a/apps/docs/content/docs/deployments/kubernetes.mdx+++ /dev/null@@ -1,345 +0,0 @@-----title: Kubernetes Deployment Guide-description: Deploy Kaneo on Kubernetes using Helm charts. Complete guide for production-ready deployment with PostgreSQL, ingress configuration, and scaling options.-----import { Step, Steps } from 'fumadocs-ui/components/steps';--# Kubernetes Deployment Guide--This comprehensive guide explains how to deploy Kaneo on Kubernetes using our official Helm chart. This setup is ideal for production environments where you need scalability, high availability, and enterprise-grade infrastructure.--## Prerequisites--Before you begin, ensure you have:--- **Kubernetes cluster** (v1.19 or higher)-- **Helm 3** installed and configured-- **kubectl** configured to communicate with your cluster-- **Basic knowledge** of Kubernetes and Helm concepts-- **Ingress controller** (nginx, traefik, etc.) for production deployments--## Quick Installation--<Steps>-<Step>-**Clone the Kaneo repository**--```bash-git clone https://github.com/usekaneo/kaneo.git-cd kaneo-```-</Step>--<Step>-**Install with default configuration**--```bash-helm install kaneo ./charts/kaneo --namespace kaneo --create-namespace-```--This will deploy Kaneo with PostgreSQL and default settings.-</Step>--<Step>-**Access your deployment**--Use port forwarding to access the services locally:--```bash-# Port forward to access both services-kubectl port-forward svc/kaneo-web 5173:5173 -n kaneo &-kubectl port-forward svc/kaneo-api 1337:1337 -n kaneo &--# Access the application at http://localhost:5173-```-</Step>-</Steps>--## Production Deployment with Ingress--For production environments, you should expose Kaneo through an Ingress controller:--<Steps>-<Step>-**Create a production values file**--Create a file named `kaneo-values.yaml` with production-ready configuration:--```yaml-# PostgreSQL configuration-postgresql:- auth:- password: "your-secure-db-password"- persistence:- size: 20Gi- storageClass: "managed-premium"- resources:- limits:- cpu: 500m- memory: 512Mi- requests:- cpu: 100m- memory: 128Mi--# API configuration-api:- env:- jwtAccess: "your-secure-jwt-token"-- # For production, consider setting resource limits- resources:- limits:- cpu: 500m- memory: 512Mi- requests:- cpu: 100m- memory: 256Mi--# Web configuration-web:- env:- apiUrl: "https://your-domain.com"-- resources:- limits:- cpu: 300m- memory: 256Mi- requests:- cpu: 100m- memory: 128Mi--ingress:- enabled: true- className: "nginx"- annotations:- cert-manager.io/cluster-issuer: letsencrypt-prod- nginx.ingress.kubernetes.io/ssl-redirect: "true"- nginx.ingress.kubernetes.io/rewrite-target: /$1- hosts:- - host: your-domain.com- paths:- - path: /?(.*)- pathType: Prefix- service: web- port: 80- - path: /api/?(.*)- pathType: Prefix- service: api- port: 1337- tls:- - secretName: kaneo-tls- hosts:- - your-domain.com-```-</Step>--<Step>-**Deploy with custom configuration**--```bash-helm install kaneo ./charts/kaneo \- --namespace kaneo \- --create-namespace \- -f kaneo-values.yaml-```-</Step>--<Step>-**Configure DNS**--Configure your DNS settings to point `your-domain.com` to your Ingress controller's external IP or load balancer.-</Step>--<Step>-**Verify deployment**--You should now be able to access Kaneo at `https://your-domain.com` and the API will be accessible at `https://your-domain.com/api`. 🎉-</Step>-</Steps>--## Using Secrets for Sensitive Data--For better security, you can store sensitive data like JWT tokens and database credentials in Kubernetes Secrets:--<Steps>-<Step>-**Create secrets**--```bash-kubectl create secret generic kaneo-secrets \- --namespace kaneo \- --from-literal=jwt-access="your-secure-jwt-token" \- --from-literal=postgres-password="your-secure-db-password"-```-</Step>--<Step>-**Update values to use secrets**--```yaml-postgresql:- auth:- existingSecret: "kaneo-secrets"- secretKeys:- userPasswordKey: "postgres-password"--api:- env:- existingSecret:- enabled: true- name: "kaneo-secrets"- key: "jwt-access"-```-</Step>--<Step>-**Upgrade your deployment**--```bash-helm upgrade kaneo ./charts/kaneo \- --namespace kaneo \- -f kaneo-values.yaml-```-</Step>-</Steps>--## Using External PostgreSQL Database--If you prefer to use an external PostgreSQL database instead of the bundled one:--<Steps>-<Step>-**Configure external database**--Update your values file to disable the bundled PostgreSQL and configure external database:--```yaml-# Disable bundled PostgreSQL-postgresql:- enabled: false--api:- env:- jwtAccess: "your-secure-jwt-token"- database:- external:- enabled: true- host: "your-postgres-host.com"- port: 5432- database: "kaneo"- username: "kaneo_user"- password: "your-db-password"-```-</Step>--<Step>-**Deploy or upgrade**--```bash-helm upgrade --install kaneo ./charts/kaneo \- --namespace kaneo \- --create-namespace \- -f kaneo-values.yaml-```-</Step>-</Steps>--## Using Gateway API--As an alternative to Ingress, you can use the Kubernetes Gateway API for more advanced routing capabilities:--<Steps>-<Step>-**Verify Gateway API installation**--Make sure the Gateway API is installed in your cluster.-</Step>--<Step>-**Create Gateway configuration**--Create a file named `kaneo-gateway.yaml`:--```yaml-apiVersion: gateway.networking.k8s.io/v1beta1-kind: HTTPRoute-metadata:- name: kaneo- namespace: kaneo-spec:- parentRefs:- - name: main-gateway # Your gateway name- namespace: gateway-system # Your gateway namespace- sectionName: https- hostnames:- - "your-domain.com"- rules:- # Frontend route (root path)- - matches:- - path:- type: PathPrefix- value: /- backendRefs:- - name: kaneo-web- port: 80- # API route (api path prefix)- - matches:- - path:- type: PathPrefix- value: /api- backendRefs:- - name: kaneo-api- port: 1337- filters:- - type: URLRewrite- urlRewrite:- path:- type: ReplacePrefixMatch- replacePrefixMatch: /-```-</Step>--<Step>-**Apply the configuration**--```bash-kubectl apply -f kaneo-gateway.yaml-```-</Step>-</Steps>--## Database Management--### Backup and Recovery--For production deployments, consider implementing regular database backups:--```bash-# Example backup command-kubectl exec -it deployment/kaneo-postgresql -- pg_dump -U kaneo_user kaneo > kaneo-backup.sql-```--### Migration from SQLite--If you're migrating from a previous SQLite-based installation, you'll need to:-1. Export your data from SQLite-2. Deploy the new PostgreSQL-based chart-3. Import your data into PostgreSQL--Contact the Kaneo community on [Discord](https://discord.gg/rU4tSyhXXU) for migration assistance.--## Uninstalling--To uninstall Kaneo from your Kubernetes cluster:--```bash-helm uninstall kaneo -n kaneo-```--This will remove all the Kubernetes components associated with the chart and delete the release.--## Next Steps--- Configure monitoring with Prometheus and Grafana-- Set up automated backups for your PostgreSQL database-- Implement horizontal pod autoscaling for high availability\ No newline at end of filediff --git a/apps/docs/content/docs/deployments/meta.json b/apps/docs/content/docs/deployments/meta.jsondeleted file mode 100644index a12ba9600..000000000--- a/apps/docs/content/docs/deployments/meta.json+++ /dev/null@@ -1,6 +0,0 @@-{- "title": "Deployments",- "icon": "Server",- "pages": ["nginx", "traefik", "kubernetes"],- "defaultOpen": true-}diff --git a/apps/docs/content/docs/deployments/nginx.mdx b/apps/docs/content/docs/deployments/nginx.mdxdeleted file mode 100644index fc167e4aa..000000000--- a/apps/docs/content/docs/deployments/nginx.mdx+++ /dev/null@@ -1,238 +0,0 @@-----title: Nginx-description: Deploy Kaneo with Nginx as a reverse proxy-----import { Step, Steps } from 'fumadocs-ui/components/steps';--This guide explains how to deploy Kaneo using Nginx as a reverse proxy. This setup is ideal for production environments where you want to expose Kaneo through a domain name with HTTPS.--## Prerequisites--- A server with Docker and Docker Compose installed-- A domain name pointing to your server-- Basic knowledge of Nginx configuration--<Steps>-<Step>-Create a `compose.yml` file with the following content:-</Step>--```yaml-services:- postgres:- image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password- volumes:- - postgres_data:/var/lib/postgresql/data- restart: unless-stopped-- backend:- image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your_secure_jwt_token"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"- ports:- - "1337:1337"- depends_on:- - postgres- restart: unless-stopped-- frontend:- image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://localhost:1337"- ports:- - "5173:5173"- depends_on:- - backend- restart: unless-stopped--volumes:- postgres_data:-```--<Step>-Create a `nginx.conf` file with the following content in `/etc/nginx/sites-available/kaneo.conf`:-</Step>--```nginx-server {- listen 80;- server_name your-domain.com;-- location / {- proxy_pass http://localhost:5173;- proxy_set_header Host $host;- proxy_set_header X-Real-IP $remote_addr;- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;- }-}--server {- listen 80;- server_name api.your-domain.com;-- location / {- proxy_pass http://localhost:1337;- proxy_set_header Host $host;- proxy_set_header X-Real-IP $remote_addr;- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;- }-}-```--<Step>-Start the containers:--```bash-docker compose up -d-```-</Step>--<Step>-Enable the configuration:--```bash-sudo ln -s /etc/nginx/sites-available/kaneo.conf /etc/nginx/sites-enabled/-```-</Step>--<Step>-Test the configuration:--```bash-sudo nginx -t-```-</Step>--<Step>-Restart Nginx:--```bash-sudo systemctl restart nginx-```-</Step>--<Step>-Configure your DNS settings to point both `your-domain.com` and `api.your-domain.com` to your server's IP address.-</Step>--<Step>-You should now be able to access Kaneo at `http://your-domain.com` and the API at `http://api.your-domain.com`. 🎉-</Step>-</Steps>--## Alternative Configuration: Single Domain with Path-Based Routing--If you prefer to use a single domain with path-based routing, you can use the following configuration:--<Steps>-<Step>-Create a `compose.yml` file with the following content:-</Step>--```yaml-services:- postgres:- image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password- volumes:- - postgres_data:/var/lib/postgresql/data- restart: unless-stopped-- backend:- image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your_secure_jwt_token"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"- ports:- - "1337:1337"- depends_on:- - postgres- restart: unless-stopped-- frontend:- image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://your-domain.com/api"- ports:- - "5173:5173"- depends_on:- - backend- restart: unless-stopped--volumes:- postgres_data:-```--<Step>-Create a `nginx.conf` file with the following content in `/etc/nginx/sites-available/kaneo.conf`:-</Step>--```nginx-server {- listen 80;- server_name your-domain.com;-- location / {- proxy_pass http://localhost:5173;- proxy_set_header Host $host;- proxy_set_header X-Real-IP $remote_addr;- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;- }-- location /api/ {- proxy_pass http://localhost:1337/;- proxy_set_header Host $host;- proxy_set_header X-Real-IP $remote_addr;- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;- }-}-```--<Step>-Start the containers:--```bash-docker compose up -d-```-</Step>--<Step>-Enable the configuration:--```bash-sudo ln -s /etc/nginx/sites-available/kaneo.conf /etc/nginx/sites-enabled/-```-</Step>--<Step>-Test the configuration:--```bash-sudo nginx -t-```-</Step>--<Step>-Restart Nginx:--```bash-sudo systemctl restart nginx-```-</Step>--<Step>-Configure your DNS settings to point `your-domain.com` to your server's IP address.-</Step>--<Step>-You should now be able to access Kaneo at `http://your-domain.com` and the API will be accessible at `http://your-domain.com/api`. ��-</Step>-</Steps>diff --git a/apps/docs/content/docs/deployments/traefik.mdx b/apps/docs/content/docs/deployments/traefik.mdxdeleted file mode 100644index 6f78f7397..000000000--- a/apps/docs/content/docs/deployments/traefik.mdx+++ /dev/null@@ -1,195 +0,0 @@-----title: Traefik-description: Deploy Kaneo with Traefik-----import { Step, Steps } from 'fumadocs-ui/components/steps';--This guide explains how to deploy Kaneo using Traefik as a reverse proxy. This setup is ideal for production environments where you want to expose Kaneo through a domain name with HTTPS.--## Prerequisites--- A server with Docker and Docker Compose installed-- A domain name pointing to your server-- Basic knowledge of Traefik configuration--<Steps>-<Step>-Create a `compose.yml` file with the following content:-</Step>--```yaml-services:- traefik:- image: "traefik:v3.3"- container_name: "traefik"- command:- - "--providers.docker=true"- - "--entryPoints.web.address=:80"- ports:- - "80:80"- volumes:- - "/var/run/docker.sock:/var/run/docker.sock:ro"- networks:- - traefik-net-- postgres:- image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password- volumes:- - postgres_data:/var/lib/postgresql/data- networks:- - traefik-net- restart: unless-stopped-- backend:- image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your_secure_jwt_token"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"- labels:- - "traefik.enable=true"- - "traefik.http.routers.backend.rule=Host(`api.your-domain.com`)"- - "traefik.http.routers.backend.entrypoints=web"- - "traefik.http.services.backend.loadbalancer.server.port=1337"- depends_on:- - postgres- networks:- - traefik-net- restart: unless-stopped-- frontend:- image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://api.your-domain.com"- labels:- - "traefik.enable=true"- - "traefik.http.routers.frontend.rule=Host(`your-domain.com`)"- - "traefik.http.routers.frontend.entrypoints=web"- - "traefik.http.services.frontend.loadbalancer.server.port=5173"- depends_on:- - backend- networks:- - traefik-net- restart: unless-stopped--networks:- traefik-net:- driver: bridge--volumes:- postgres_data:-```--<Step>-Start the containers:--```bash-docker compose up -d-```-</Step>--<Step>-Configure your DNS settings to point both `your-domain.com` and `api.your-domain.com` to your server's IP address.-</Step>--<Step>-You should now be able to access Kaneo at `http://your-domain.com` and the API at `http://api.your-domain.com`. 🎉-</Step>-</Steps>--## Alternative Configuration: Single Domain with Path-Based Routing--If you prefer to use a single domain with path-based routing, you can use the following configuration:--<Steps>-<Step>-Create a `compose.yml` file with the following content:-</Step>--```yaml-services:- traefik:- image: "traefik:v3.3"- container_name: "traefik"- command:- - "--providers.docker=true"- - "--entryPoints.web.address=:80"- ports:- - "80:80"- volumes:- - "/var/run/docker.sock:/var/run/docker.sock:ro"- networks:- - traefik-net-- postgres:- image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password- volumes:- - postgres_data:/var/lib/postgresql/data- networks:- - traefik-net- restart: unless-stopped-- backend:- image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your_secure_jwt_token"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"- labels:- - "traefik.enable=true"- - "traefik.http.routers.backend.rule=Host(`your-domain.com`) && PathPrefix(`/api`)"- - "traefik.http.routers.backend.entrypoints=web"- - "traefik.http.middlewares.backend-stripprefix.stripprefix.prefixes=/api"- - "traefik.http.routers.backend.middlewares=backend-stripprefix"- - "traefik.http.services.backend.loadbalancer.server.port=1337"- depends_on:- - postgres- networks:- - traefik-net- restart: unless-stopped-- frontend:- image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://your-domain.com/api"- labels:- - "traefik.enable=true"- - "traefik.http.routers.frontend.rule=Host(`your-domain.com`)"- - "traefik.http.routers.frontend.entrypoints=web"- - "traefik.http.services.frontend.loadbalancer.server.port=80"- depends_on:- - backend- networks:- - traefik-net- restart: unless-stopped--networks:- traefik-net:- driver: bridge--volumes:- postgres_data:-```--<Step>-Start the containers:--```bash-docker compose up -d-```-</Step>--<Step>-Configure your DNS settings to point `your-domain.com` to your server's IP address.-</Step>--<Step>-You should now be able to access Kaneo at `http://your-domain.com` and the API will be accessible at `http://your-domain.com/api`. 🎉-</Step>-</Steps>\ No newline at end of filediff --git a/apps/docs/content/docs/guide/meta.json b/apps/docs/content/docs/guide/meta.jsonnew file mode 100644index 000000000..c9dc98691--- /dev/null+++ b/apps/docs/content/docs/guide/meta.json@@ -0,0 +1,6 @@+{+ "title": "Guide",+ "icon": "Book",+ "pages": ["index", "migrating-from-v1"],+ "defaultOpen": true+}diff --git a/apps/docs/content/docs/guide/migrating-from-v1.mdx b/apps/docs/content/docs/guide/migrating-from-v1.mdxnew file mode 100644index 000000000..b8bb16359--- /dev/null+++ b/apps/docs/content/docs/guide/migrating-from-v1.mdx@@ -0,0 +1,59 @@+---+title: Migrating from v1+description: This guide will help you migrate your Kaneo instance from v1 to v2.+---++## Overview++Migrating from v1 to v2 is a straightforward process. We have updated the environment variables and the compose file to use the new variables.++> **Note:** Please backup your database before migrating.++## Environment variables++The environment variables are used to configure the application.++The big change is that we are using a `.env` file to store the variables.++1. Create a `.env` file in the root of the project.+2. JWT_ACCESS has been changed to AUTH_SECRET.++Other than that, there's newly introduced environment variables that you need to set.+++- `KANEO_CLIENT_URL` (required)+- `AUTH_SECRET` (required)+- `DATABASE_URL` (required)+- `POSTGRES_DB` (required)+- `POSTGRES_USER` (required)+- `POSTGRES_PASSWORD` (required)+- `CORS_ORIGINS` (optional)+- `SMTP_HOST` (optional)+- `SMTP_PORT` (optional)+- `SMTP_SECURE` (optional)+- `SMTP_USER` (optional)+- `SMTP_PASSWORD` (optional)+- `SMTP_FROM` (optional)++For more information, see the [Environment variables](/docs/installation/environment-variables) page.++## Compose file++The compose file has been updated to use the new environment variables.++```yml+services:+ api:+ image: ghcr.io/usekaneo/api:latest+ env_file:+ - .env+ ...++ web:+ image: ghcr.io/usekaneo/web:latest+ env_file:+ - .env+ ...+```++For the complete compose file, see the [Docker Compose](/docs/installation/docker-compose) page.\ No newline at end of filediff --git a/apps/docs/content/docs/index.mdx b/apps/docs/content/docs/index.mdxindex cc40097e0..3b0e5c0fb 100644--- a/apps/docs/content/docs/index.mdx+++ b/apps/docs/content/docs/index.mdx@@ -1,170 +1,27 @@----title: Quick Start Guide-description: Get started with Kaneo in minutes. Learn how to deploy the open source project management platform using Docker Compose, configure PostgreSQL, and set up your first project.-icon: Rocket+title: Quick Start+description: Get started with Kaneo in minutes+icon: Album----import { Step, Steps } from 'fumadocs-ui/components/steps';+## Introduction-Kaneo is an open source project management platform focused on simplicity and efficiency. This comprehensive guide will help you get up and running quickly with a production-ready setup.+Kaneo <span className='text-fd-muted-foreground text-sm'>(/kəˈneɪ.oʊ/)</span> is a project management tool that gets out of your way. It is designed to be a simple, yet powerful tool for managing your projects. It **works for you** instead of you working for it.-> 🌟 **Try Kaneo Cloud**: Don't want to self-host? Get started instantly with our [free cloud version](https://cloud.kaneo.app) - no installation required and always free!+### Components-## Why Choose Kaneo?+Kaneo is composed of several components:-- **🚀 Fast Setup**: Get running in under 5 minutes with Docker Compose-- **🔒 Self-Hosted**: Your data stays on your infrastructure-- **🛠️ Customizable**: Open source and built for extensibility-- **📊 PostgreSQL**: Reliable database with proper data integrity-- **🔧 Production Ready**: Built with Docker, Kubernetes, and modern DevOps practices+- API: The backend API that powers the application, it is built with Hono and TypeScript.+- Web: The frontend web application that is built with React and Tailwind CSS.+- Database: The database that is built with PostgreSQL.-## Docker Compose Installation+### Installation-The easiest way to get started with Kaneo is using Docker Compose. This setup includes PostgreSQL for reliable data storage:+The installation process is straightforward, we have a Docker Compose file that will start the required services.-<Steps>-<Step>-**Create your Docker Compose configuration**+It is part of a three part installation process.-Create a `compose.yml` file with the following content:-</Step>--```yaml-services:- postgres:- image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password- volumes:- - postgres_data:/var/lib/postgresql/data- restart: unless-stopped-- backend:- image: ghcr.io/usekaneo/api:latest- environment:- JWT_ACCESS: "your_secure_jwt_token"- DATABASE_URL: "postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo"- ports:- - 1337:1337- depends_on:- - postgres- restart: unless-stopped-- frontend:- image: ghcr.io/usekaneo/web:latest- environment:- KANEO_API_URL: "http://localhost:1337"- ports:- - 5173:5173- depends_on:- - backend- restart: unless-stopped--volumes:- postgres_data:-```--<Step>-**Start the services**--Run the following command to start all services:--```bash-docker compose up -d-```--This will download the images and start the containers in the background.-</Step>--<Step>-**Access your Kaneo instance**--Open [http://localhost:5173](http://localhost:5173) in your browser.-</Step>--<Step>-**Create your first project**--Create your first project and start managing your tasks! 🎉--You'll be able to:-- Create projects and organize tasks-- Assign team members and set priorities-- Track progress with kanban boards-- Collaborate with your team in real-time-</Step>--</Steps>--## Environment Variables Reference--| Variable | Description | Required | Default |-| -------- | ----------- | -------- | ------- |-| `KANEO_API_URL` | The URL where the API is accessible | Yes | - |-| `JWT_ACCESS` | Secret key for generating JWT tokens | Yes | - |-| `DATABASE_URL` | PostgreSQL connection string | Yes | - |-| `DISABLE_REGISTRATION` | Enable/disable new user registration | No | `false` |--## Database Setup--Kaneo uses PostgreSQL for reliable data storage with proper relational integrity. The Docker Compose setup above handles this automatically, but if you're running Kaneo outside of Docker, you'll need to:--### Manual PostgreSQL Setup--1. **Install PostgreSQL** (version 12 or higher)- ```bash- # Ubuntu/Debian- sudo apt install postgresql postgresql-contrib-- # macOS with Homebrew- brew install postgresql- ```--2. **Create a database and user:**- ```sql- CREATE DATABASE kaneo;- CREATE USER kaneo_user WITH PASSWORD 'your_password';- GRANT ALL PRIVILEGES ON DATABASE kaneo TO kaneo_user;- ```--3. **Set the DATABASE_URL environment variable:**- ```bash- export DATABASE_URL="postgresql://kaneo_user:your_password@localhost:5432/kaneo"- ```--## Security Considerations--For production deployments, make sure to:--- **Change default passwords**: Use strong, unique passwords for JWT_ACCESS and database credentials-- **Use HTTPS**: Deploy behind a reverse proxy with SSL/TLS certificates-- **Regular backups**: Set up automated database backups-- **Update regularly**: Keep your Kaneo installation up to date--## Migration from SQLite--If you're upgrading from a previous version that used SQLite, you'll need to migrate your data to PostgreSQL. We recommend:--1. **Export your data** from the old SQLite database-2. **Set up PostgreSQL** using the new Docker Compose configuration-3. **Import your data** into the new PostgreSQL database--Contact us on [Discord](https://discord.gg/rU4tSyhXXU) if you need help with the migration process.--## Next Steps--Now that you have Kaneo running, explore these features and deployment options:--- **[GitHub Integration](/docs/integrations/github)** - Automatically create GitHub issues when tasks are created-- **[Deploy with Nginx](/docs/deployments/nginx)** - Set up a reverse proxy with SSL-- **[Deploy with Traefik](/docs/deployments/traefik)** - Modern reverse proxy with automatic HTTPS-- **[Kubernetes Deployment](/docs/deployments/kubernetes)** - Scalable container orchestration-- **[Terminology](/docs/terminology)** - Learn about Kaneo's core concepts and features--## Getting Help--- **[GitHub Issues](https://github.com/usekaneo/kaneo/issues)** - Report bugs or request features-- **[Discord Community](https://discord.gg/rU4tSyhXXU)** - Get help from the community-- **[Documentation](/docs)** - Browse the complete documentation\ No newline at end of file+- [Setting up the Docker compose file](/docs/installation/docker-compose)+- [Setting up the environment variables](/docs/installation/environment-variables)+- [Starting the services](/docs/installation/start-services)diff --git a/apps/docs/content/docs/installation/docker-compose.mdx b/apps/docs/content/docs/installation/docker-compose.mdxnew file mode 100644index 000000000..0a33c78cc--- /dev/null+++ b/apps/docs/content/docs/installation/docker-compose.mdx@@ -0,0 +1,55 @@+---+title: The compose.yml file+description: The Docker Compose file is used to start the required services.+---++## The initial compose file++The first step is to create a Docker Compose file. We will call it `compose.yml`.++```yml+services:+ postgres:+ image: postgres:16-alpine+ env_file:+ - .env+ ports:+ - "5432:5432"+ volumes:+ - postgres_data:/var/lib/postgresql/data+ restart: unless-stopped++ api:+ image: ghcr.io/usekaneo/api:2.0.0-beta.3+ ports:+ - "1337:1337"+ env_file:+ - .env+ restart: unless-stopped++ web:+ image: ghcr.io/usekaneo/web:2.0.0-beta.3+ ports:+ - "5173:5173"+ env_file:+ - .env+ restart: unless-stopped++volumes:+ postgres_data:+ name: kaneo_postgres_data+```++## The services and volumes++Kaneo utilities the following services:++- `postgres`: The PostgreSQL database.+- `api`: The API server.+- `web`: The web application.++Additionally, the following volumes are used:++- `postgres_data`: The PostgreSQL data.++After creating the compose file, the next step is to set up the environment variables.\ No newline at end of filediff --git a/apps/docs/content/docs/installation/environment-variables.mdx b/apps/docs/content/docs/installation/environment-variables.mdxnew file mode 100644index 000000000..41998af2f--- /dev/null+++ b/apps/docs/content/docs/installation/environment-variables.mdx@@ -0,0 +1,83 @@+---+title: Environment variables+description: The environment variables are used to configure the application.+---++## Set up the file++The environment variables are used to configure the application. We will use a `.env` file to store the variables.++The variables are split up into the following sections:++- [General URLs](#general-urls)+- [Database](#database)+- [Authentication](#authentication)+- [GitHub SSO & Integration](#github-sso-&-integration)+- [SMTP Configuration](#smtp-configuration)++## Required variables++### General URLs++This section will cover all the variables related to the general URLs.++Name | Description |+--- | --- |+| `KANEO_CLIENT_URL` | The URL of the web application.+| `KANEO_API_URL` | The URL of the API.++### Database++This section will cover all the variables related to the database.++Name | Description |+--- | --- |+| `DATABASE_URL` | The URL of the PostgreSQL database.+| `POSTGRES_DB` | The name of the PostgreSQL database.+| `POSTGRES_USER` | The username for the PostgreSQL database.+| `POSTGRES_PASSWORD` | The password for the PostgreSQL database.++### Authentication++This section will cover all the variables related to the authentication.++Name | Description |+--- | --- |+| `AUTH_SECRET` | The secret key for the JWT token.+++## Optional variables++### GitHub SSO & Integration++Name | Description |+--- | --- |+| `GITHUB_CLIENT_ID` | The GitHub client ID.+| `GITHUB_CLIENT_SECRET` | The GitHub client secret.+| `GITHUB_APP_ID` | The GitHub app ID.+| `GITHUB_WEBHOOK_SECRET` | The GitHub webhook secret.+| `GITHUB_PRIVATE_KEY` | The GitHub private key.++### Google SSO & Integration++Name | Description |+--- | --- |+| `GOOGLE_CLIENT_ID` | The Google client ID.+| `GOOGLE_CLIENT_SECRET` | The Google client secret.++### SMTP Configuration++Name | Description |+--- | --- |+| `SMTP_HOST` | The SMTP host.+| `SMTP_PORT` | The SMTP port.+| `SMTP_SECURE` | Whether to use SSL/TLS.+| `SMTP_USER` | The SMTP user.+| `SMTP_PASSWORD` | The SMTP password.+| `SMTP_FROM` | The SMTP from address.++## Key points++- If you enable GitHub SSO, you need to set up the GitHub app which is used to authenticate users in the [GitHub Developer Settings](https://github.com/settings/developers).+- If you enable Google SSO, you need to set up the Google app which is used to authenticate users in the [Google Cloud Console](https://console.cloud.google.com/).+- If you have enabled SMTP, your sign in will be done via email using a magic link.diff --git a/apps/docs/content/docs/installation/meta.json b/apps/docs/content/docs/installation/meta.jsonnew file mode 100644index 000000000..ac7f72440--- /dev/null+++ b/apps/docs/content/docs/installation/meta.json@@ -0,0 +1,11 @@+{+ "title": "Installation",+ "icon": "Package",+ "pages": [+ "index",+ "docker-compose",+ "environment-variables",+ "start-services"+ ],+ "defaultOpen": true+}diff --git a/apps/docs/content/docs/installation/start-services.mdx b/apps/docs/content/docs/installation/start-services.mdxnew file mode 100644index 000000000..a0b031a07--- /dev/null+++ b/apps/docs/content/docs/installation/start-services.mdx@@ -0,0 +1,21 @@+---+title: Start the services+description: Start the services to start using Kaneo+---++## Start the services++Congratulations! You have now set up the services to start using Kaneo.++To start the services, you can use the following command:++```bash+docker compose up -d+```++You can now access the web application at [http://localhost:5173](http://localhost:5173).++The next logical step would be to set up a reverse proxy to access the web application from the internet.++- Nginx+- Traefikdiff --git a/apps/docs/content/docs/integrations/github.mdx b/apps/docs/content/docs/integrations/github.mdxdeleted file mode 100644index 0c6b54d35..000000000--- a/apps/docs/content/docs/integrations/github.mdx+++ /dev/null@@ -1,5 +0,0 @@-----title: GitHub Integration-description: Automatically create GitHub issues when tasks are created in Kaneo. Connect your projects to GitHub repositories for seamless issue tracking and project management integration.-icon: Github----diff --git a/apps/docs/content/docs/integrations/github/configuration.mdx b/apps/docs/content/docs/integrations/github/configuration.mdxindex 09ce6e324..5ae8671c9 100644--- a/apps/docs/content/docs/integrations/github/configuration.mdx+++ b/apps/docs/content/docs/integrations/github/configuration.mdx@@ -1,7 +1,6 @@---title: Configuration & Setupdescription: Configure Kaneo with your GitHub App credentials and connect projects to repositories. Includes Docker Compose and Kubernetes examples.-icon: Cog---import { Step, Steps } from 'fumadocs-ui/components/steps';diff --git a/apps/docs/content/docs/integrations/github/meta.json b/apps/docs/content/docs/integrations/github/meta.jsonindex a60b86d57..5aed06019 100644--- a/apps/docs/content/docs/integrations/github/meta.json+++ b/apps/docs/content/docs/integrations/github/meta.json@@ -1,5 +1,5 @@{"title": "GitHub",- "icon": "Github",- "pages": ["setup", "configuration", "troubleshooting"]+ "pages": ["setup", "configuration", "troubleshooting"],+ "defaultOpen": false}diff --git a/apps/docs/content/docs/integrations/github/setup.mdx b/apps/docs/content/docs/integrations/github/setup.mdxindex ecf008c4a..e65d90479 100644--- a/apps/docs/content/docs/integrations/github/setup.mdx+++ b/apps/docs/content/docs/integrations/github/setup.mdx@@ -1,7 +1,6 @@---title: App Setupdescription: Learn how to create and configure a GitHub App for Kaneo integration. Step-by-step guide to register your Kaneo instance with GitHub.-icon: Settings---import { Step, Steps } from 'fumadocs-ui/components/steps';diff --git a/apps/docs/content/docs/integrations/github/troubleshooting.mdx b/apps/docs/content/docs/integrations/github/troubleshooting.mdxindex 25125a9d9..2751e54f8 100644--- a/apps/docs/content/docs/integrations/github/troubleshooting.mdx+++ b/apps/docs/content/docs/integrations/github/troubleshooting.mdx@@ -1,7 +1,6 @@---title: Troubleshootingdescription: Common issues and solutions for GitHub integration. Debug connection problems, permission errors, and webhook issues.-icon: TriangleAlert---import { Callout } from 'fumadocs-ui/components/callout';diff --git a/apps/docs/content/docs/integrations/meta.json b/apps/docs/content/docs/integrations/meta.jsonindex 70716ca7d..141741b99 100644--- a/apps/docs/content/docs/integrations/meta.json+++ b/apps/docs/content/docs/integrations/meta.json@@ -2,5 +2,5 @@"title": "Integrations","icon": "Plug","pages": ["github"],- "defaultOpen": true+ "defaultOpen": false}diff --git a/apps/docs/content/docs/meta.json b/apps/docs/content/docs/meta.jsonnew file mode 100644index 000000000..f1278134b--- /dev/null+++ b/apps/docs/content/docs/meta.json@@ -0,0 +1,12 @@+{+ "title": "Docs",+ "pages": [+ "index.mdx",+ "installation",+ "reverse-proxy",+ "social-providers",+ "integrations",+ "guide"+ ],+ "defaultOpen": true+}diff --git a/apps/docs/content/docs/reverse-proxy/meta.json b/apps/docs/content/docs/reverse-proxy/meta.jsonnew file mode 100644index 000000000..f99a03c3a--- /dev/null+++ b/apps/docs/content/docs/reverse-proxy/meta.json@@ -0,0 +1,6 @@+{+ "title": "Reverse Proxy",+ "icon": "Server",+ "pages": ["index", "nginx", "traefik"],+ "defaultOpen": true+}diff --git a/apps/docs/content/docs/reverse-proxy/nginx.mdx b/apps/docs/content/docs/reverse-proxy/nginx.mdxnew file mode 100644index 000000000..724126a0a--- /dev/null+++ b/apps/docs/content/docs/reverse-proxy/nginx.mdx@@ -0,0 +1,78 @@+---+title: Nginx+description: Nginx is a web server that can be used as a reverse proxy.+---++## Overview++This guide explains how to deploy Kaneo using Nginx as a reverse proxy. This setup is ideal for production environments where you want to expose Kaneo through a domain name with HTTPS.++## Prerequisites++- A domain name+- A SSL certificate+- A Nginx web server++## Installation++The first step is to make sure nginx is installed and running.++```bash+sudo apt update+sudo apt install nginx+```++## Configuration++The next step is to configure Nginx to proxy requests to the Kaneo services. We will create two servers, one for the web application and one for the API.++1. Create a new file in the `/etc/nginx/sites-available/kaneo.conf` directory.++```nginx title="kaneo.conf"+server {+ listen 80;+ server_name kaneo.your-domain.com;++ location / {+ proxy_pass http://localhost:5173;+ proxy_set_header Host $host;+ proxy_set_header X-Real-IP $remote_addr;+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;+ }+}++server {+ listen 80;+ server_name kaneo-api.your-domain.com;++ location / {+ proxy_pass http://localhost:1337;+ proxy_set_header Host $host;+ proxy_set_header X-Real-IP $remote_addr;+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;+ }+}+```++2. Enable the configuration by creating a symlink to the `sites-enabled` directory.++```bash+sudo ln -s /etc/nginx/sites-available/kaneo.conf /etc/nginx/sites-enabled/+```++3. Test the configuration.++```bash+sudo nginx -t+```++4. Restart Nginx to apply the changes.++```bash+sudo systemctl restart nginx+```++## Key points++- This configuration is for a single server, if you want to use a load balancer, you need to configure it accordingly.+- This configuration is for a single domain, if you want to use a subdomain, you need to configure it accordingly.\ No newline at end of filediff --git a/apps/docs/content/docs/roadmap.mdx b/apps/docs/content/docs/roadmap.mdxdeleted file mode 100644index ca057b16f..000000000--- a/apps/docs/content/docs/roadmap.mdx+++ /dev/null@@ -1,69 +0,0 @@-----title: Roadmap-description: View our live roadmap managed in Kaneo-icon: Map------import { Callout } from 'fumadocs-ui/components/callout';--Our roadmap is managed live using Kaneo itself! This gives you real-time visibility into our development progress and planned features.--<Callout type="info">- 🚀 **Live Roadmap**: View our active development board to see what we're working on and what's coming next.-</Callout>--## View Our Live Roadmap--Visit our public Kaneo project board to see:--- **Current development status** - What we're actively working on-- **Planned features** - Upcoming enhancements and improvements-- **Progress tracking** - Real-time updates on feature development-- **Community feedback** - Issues and requests from our users--<div className="not-prose my-6">- <a- href="https://cloud.kaneo.app/public-project/cfbsivkl5ejpuyf1tgghuvxl"- target="_blank"- rel="noopener noreferrer"- className="inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-xl text-sm font-medium transition-all duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 shadow-lg shadow-indigo-500/20 py-3 bg-indigo-600 text-white hover:bg-indigo-500 hover:scale-[1.02] dark:bg-indigo-500 dark:hover:bg-indigo-400 h-12 px-8"- >- <svg- xmlns="http://www.w3.org/2000/svg"- width="20"- height="20"- viewBox="0 0 24 24"- fill="none"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- className="lucide lucide-external-link"- >- <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />- <polyline points="15,3 21,3 21,9" />- <line x1="10" x2="21" y1="14" y2="3" />- </svg>- View Live Roadmap- </a>-</div>--## Why a Live Roadmap?--By using Kaneo to manage our own roadmap, we:--- **Practice what we preach** - We use our own tool for project management-- **Provide transparency** - Real-time visibility into our development process-- **Enable collaboration** - Community members can see progress and provide feedback-- **Demonstrate features** - Showcase Kaneo's capabilities in action--## Contributing to the Roadmap--<Callout>- Your contributions and feedback help shape the future of Kaneo. We encourage community involvement in our development process.-</Callout>--- **View the live board** - Check our [public roadmap](https://cloud.kaneo.app/public-project/cfbsivkl5ejpuyf1tgghuvxl) to see current status-- **Join our [Discord community](https://discord.gg/rU4tSyhXXU)** - Discuss feature ideas and provide feedback-- **Open an issue** - Submit feature requests on our [GitHub repository](https://github.com/usekaneo/kaneo)-- **Submit pull requests** - Contribute code for features from the roadmap\ No newline at end of filediff --git a/apps/docs/content/docs/social-providers/github.mdx b/apps/docs/content/docs/social-providers/github.mdxnew file mode 100644index 000000000..7b4b78777--- /dev/null+++ b/apps/docs/content/docs/social-providers/github.mdx@@ -0,0 +1,22 @@+---+title: GitHub+description: GitHub is a social provider for Kaneo.+---++## Overview++GitHub is a social provider for Kaneo. It allows users to sign in to Kaneo using their GitHub account.++## Configuration++1. Go to the [GitHub Developer Settings](https://github.com/settings/developers/).+2. Create a new OAuth app.+3. Set the redirect URI to `KANEO_API_URL/api/auth/callback/github`.+4. Copy the client ID and client secret.+5. Set the `GITHUB_CLIENT_ID` and `GITHUB_CLIENT_SECRET` environment variables.++For more information on what your `KANEO_API_URL` is, see the [Environment variables](/docs/installation/environment-variables#github-sso--integration) page.++## Usage++Once you have configured the social provider, you can sign in to Kaneo using your GitHub account.\ No newline at end of filediff --git a/apps/docs/content/docs/social-providers/google.mdx b/apps/docs/content/docs/social-providers/google.mdxnew file mode 100644index 000000000..6eb977246--- /dev/null+++ b/apps/docs/content/docs/social-providers/google.mdx@@ -0,0 +1,25 @@+---+title: Google+description: Google is a social provider for Kaneo.+---++## Overview++Google is a social provider for Kaneo. It allows users to sign in to Kaneo using their Google account.++## Configuration++1. Go to the [Google Cloud Console](https://console.cloud.google.com/).+2. Create a new project.+3. Enable the Google Sign In API.+4. Create a new OAuth client ID.+5. Set the redirect URI to `KANEO_API_URL/api/auth/callback/google`.+6. Copy the client ID and client secret.+7. Set the `GOOGLE_CLIENT_ID` and `GOOGLE_CLIENT_SECRET` environment variables.+++For more information on what your `KANEO_API_URL` is, see the [Environment variables](/docs/installation/environment-variables#google-sso--integration) page.++## Usage++Once you have configured the social provider, you can sign in to Kaneo using your Google account.\ No newline at end of filediff --git a/apps/docs/content/docs/social-providers/meta.json b/apps/docs/content/docs/social-providers/meta.jsonnew file mode 100644index 000000000..edde9a862--- /dev/null+++ b/apps/docs/content/docs/social-providers/meta.json@@ -0,0 +1,6 @@+{+ "title": "Social Providers",+ "icon": "Users",+ "pages": ["github", "google"],+ "defaultOpen": true+}diff --git a/apps/docs/content/docs/terminology/index.mdx b/apps/docs/content/docs/terminology/index.mdxdeleted file mode 100644index 4e7d72b1a..000000000--- a/apps/docs/content/docs/terminology/index.mdx+++ /dev/null@@ -1,45 +0,0 @@-----title: Core Concepts-description: Understanding the key concepts in Kaneo------import { Step, Steps } from 'fumadocs-ui/components/steps';--Kaneo is built around a few core concepts that help you organize and manage your work effectively. This guide provides an overview of these concepts and how they relate to each other.--## Core Entities--Kaneo organizes your work using the following key entities:--- **[Workspaces](/docs/concepts/workspaces)**: The top-level organizational unit that contains projects and team members-- **[Projects](/docs/concepts/projects)**: Collections of related tasks within a workspace-- **[Tasks](/docs/concepts/tasks)**: Individual work items that need to be completed-- **[Teams](/docs/concepts/teams)**: Groups of users who collaborate on workspaces and projects--Understanding how these entities work together will help you get the most out of Kaneo.--## Basic Workflow--A typical workflow in Kaneo looks like this:--<Steps>-<Step>-Create a workspace-</Step>-<Step>-Invite team members to the workspace-</Step>-<Step>-Create projects within the workspace-</Step>-<Step>-Add tasks to your projects-</Step>-<Step>-Assign tasks to team members-</Step>-<Step>-Track progress as tasks move through your workflow-</Step>-</Steps>-Each of these steps is explained in detail in the corresponding concept pages.\ No newline at end of filediff --git a/apps/docs/content/docs/terminology/meta.json b/apps/docs/content/docs/terminology/meta.jsondeleted file mode 100644index 0266c70c5..000000000--- a/apps/docs/content/docs/terminology/meta.json+++ /dev/null@@ -1,6 +0,0 @@-{- "title": "Terminology",- "icon": "Book",- "pages": ["index", "workspaces", "projects", "tasks", "teams"],- "defaultOpen": true-}diff --git a/apps/docs/content/docs/terminology/projects.mdx b/apps/docs/content/docs/terminology/projects.mdxdeleted file mode 100644index f587b9f63..000000000--- a/apps/docs/content/docs/terminology/projects.mdx+++ /dev/null@@ -1,73 +0,0 @@-----title: Projects-description: Understanding projects in Kaneo------import { Step, Steps } from 'fumadocs-ui/components/steps';--## What are Projects?--Projects in Kaneo are collections of related tasks within a workspace. They help you organize your work into logical groups. A project could represent a product, a client, a department, or any other way you want to organize your tasks.--## Creating a Project--To create a new project:--<Steps>-<Step>-Navigate to the workspace where you want to create the project-</Step>-<Step>-Click on "Projects" in the sidebar-</Step>-<Step>-Click the "New Project" button-</Step>-<Step>-Enter a name and optional description for your project-</Step>-<Step>-Click "Create"-</Step>-<Step>-The project will be created and you will be redirected to the board view 🎉-</Step>-</Steps>--## Project Views--Each project in Kaneo can be viewed in different ways:--- **List View**: Displays tasks in a simple list format-- **Board View**: Shows tasks organized by status in a Kanban-style board--To switch between views, use the view selector in the project header.--## Project Settings--To access project settings:--<Steps>-<Step>-Navigate to the project-</Step>-<Step>-Click on the "Settings" button in the project header-</Step>-<Step>-You will be redirected to the project settings page-</Step>-</Steps>--From the settings page, you can:-- Update the project name and description-- Configure project-specific settings--## Archiving and Deleting Projects--When a project is completed or no longer needed, you can:--- **Archive**: Keeps the project data but removes it from the active projects list-- **Delete**: Permanently removes the project and all its tasks--To archive or delete a project, go to the project settings and scroll to the bottom of the page.\ No newline at end of filediff --git a/apps/docs/content/docs/terminology/tasks.mdx b/apps/docs/content/docs/terminology/tasks.mdxdeleted file mode 100644index a4afd29af..000000000--- a/apps/docs/content/docs/terminology/tasks.mdx+++ /dev/null@@ -1,57 +0,0 @@-----title: Tasks-description: Understanding tasks in Kaneo------import { Step, Steps } from 'fumadocs-ui/components/steps';--## What are Tasks?--Tasks are the fundamental work items in Kaneo. They represent specific actions that need to be completed within a project. Each task can have various attributes such as assignees, due dates, status, and time tracking.--## Creating Tasks--To create a new task:--<Steps>-<Step>-Navigate to the project where you want to create the task-</Step>-<Step>-Click the "New Task" button-</Step>-<Step>-Enter a title for your task-</Step>-<Step>-Add any additional details-</Step>-<Step>-Click "Create"-</Step>-<Step>-The task will be added to the project's task list 🎉-</Step>-</Steps>--## Task Properties--Tasks in Kaneo have several properties that help you track and manage your work:--- **Title**: A brief description of the task-- **Description**: Detailed information about what needs to be done-- **Status**: The current state of the task (e.g., Todo, In Progress, Done)-- **Assignee**: The person responsible for completing the task-- **Due Date**: When the task should be completed-- **Priority**: The importance level of the task-- **Time Tracking**: Record time spent working on the task--## Managing Tasks--You can manage tasks in several ways:--- **Edit**: Click on a task to open its details and make changes-- **Change Status**: Drag tasks between columns in Board view or select a new status in List view-- **Assign**: Assign or reassign tasks to team members-- **Comment**: Add comments to discuss the task with your team-- **Track Time**: Start and stop time tracking to record work duration\ No newline at end of filediff --git a/apps/docs/content/docs/terminology/teams.mdx b/apps/docs/content/docs/terminology/teams.mdxdeleted file mode 100644index 03178b7f8..000000000--- a/apps/docs/content/docs/terminology/teams.mdx+++ /dev/null@@ -1,63 +0,0 @@-----title: Teams-description: Understanding team management in Kaneo-----import { Step, Steps } from 'fumadocs-ui/components/steps';--## Team Management in Kaneo--Kaneo allows you to collaborate with team members across workspaces and projects. Effective team management is essential for successful collaboration.--## Inviting Team Members--To invite someone to your workspace:-<Steps>-<Step>-Navigate to the workspace settings-</Step>--<Step>-Click on the "Members" tab-</Step>--<Step>-Click "Invite Member"-</Step>--<Step>-Enter the email address of the person you want to invite-</Step>--<Step>-Select the appropriate role for the new member-</Step>--<Step>-Click "Send Invitation"-</Step>--<Step>-The invited person will have access to the workspace after logging in. 🎉-</Step>-</Steps>---## Managing Team Members--To manage existing team members:-<Steps>-<Step>-Navigate to the workspace settings-</Step>--<Step>-Click on the "Members" tab-</Step>--<Step>-From here, you can:- - Add a member to the workspace- - Remove a member from the workspace-</Step>-</Steps>-diff --git a/apps/docs/content/docs/terminology/workspaces.mdx b/apps/docs/content/docs/terminology/workspaces.mdxdeleted file mode 100644index 979db2097..000000000--- a/apps/docs/content/docs/terminology/workspaces.mdx+++ /dev/null@@ -1,83 +0,0 @@-----title: Workspaces-description: Understanding workspaces in Kaneo------import { Step, Steps } from 'fumadocs-ui/components/steps';--## What are Workspaces?--Workspaces are the top-level organizational units in Kaneo. They serve as containers for projects, tasks, and team members. Think of a workspace as a dedicated space for a specific team, department, or area of work.--## Creating a Workspace--To create a new workspace:--<Steps>-<Step>-Click on the workspace selector in the top-left corner-</Step>-<Step>-Select "Create Workspace"-</Step>-<Step>-Enter a name for your workspace-</Step>-<Step>-Click "Create"-</Step>-</Steps>---## Managing Workspace Settings--Each workspace has its own settings that you can configure:--<Steps>-<Step>-Click on the workspace selector in the top-left corner-</Step>-<Step>-Select the workspace you want to manage-</Step>-<Step>-Click on "Settings" in the sidebar-</Step>-</Steps>--From the settings page, you can:-- Update the workspace name-- Configure workspace-specific settings--## Switching Between Workspaces--If you belong to multiple workspaces, you can easily switch between them:--<Steps>-<Step>-Click on the workspace selector in the top-left corner-</Step>-<Step>-Select the workspace you want to switch to-</Step>-</Steps>--## Deleting a Workspace--To delete a workspace:--<Steps>-<Step>-Navigate to the workspace settings-</Step>-<Step>-Scroll to the bottom of the page-</Step>-<Step>-Click on "Delete Workspace"-</Step>-<Step>-Confirm the deletion-</Step>-</Steps>-**Note**: Deleting a workspace will permanently remove all projects, tasks, and data associated with it. This action cannot be undone.\ No newline at end of filediff --git a/apps/docs/lib/Geist-Bold.ttf b/apps/docs/lib/Geist-Bold.ttfnew file mode 100644index 000000000..71dc0022eBinary files /dev/null and b/apps/docs/lib/Geist-Bold.ttf differdiff --git a/apps/docs/lib/Geist-Regular.ttf b/apps/docs/lib/Geist-Regular.ttfnew file mode 100644index 000000000..88c6d7007Binary files /dev/null and b/apps/docs/lib/Geist-Regular.ttf differdiff --git a/apps/docs/lib/Inter_18pt-Bold.ttf b/apps/docs/lib/Inter_18pt-Bold.ttfdeleted file mode 100644index cd13f60ce..000000000Binary files a/apps/docs/lib/Inter_18pt-Bold.ttf and /dev/null differdiff --git a/apps/docs/lib/Inter_18pt-Regular.ttf b/apps/docs/lib/Inter_18pt-Regular.ttfdeleted file mode 100644index ce097c825..000000000Binary files a/apps/docs/lib/Inter_18pt-Regular.ttf and /dev/null differdiff --git a/apps/docs/lib/og.tsx b/apps/docs/lib/og.tsxindex 67227a895..54fc31762 100644--- a/apps/docs/lib/og.tsx+++ b/apps/docs/lib/og.tsx@@ -10,8 +10,8 @@ interface GenerateProps {site?: string;}-const font = readFileSync("./lib/Inter_18pt-Regular.ttf");-const fontBold = readFileSync("./lib/Inter_18pt-Bold.ttf");+const font = readFileSync("./lib/Geist-Regular.ttf");+const fontBold = readFileSync("./lib/Geist-Bold.ttf");export function generateOgImage(options: GenerateProps & ImageResponseOptions) {const { title, description, primaryTextColor, ...rest } = options;@@ -27,12 +27,12 @@ export function generateOgImage(options: GenerateProps & ImageResponseOptions) {height: 630,fonts: [{- name: "Inter",+ name: "Geist",data: font,weight: 400,},{- name: "Inter",+ name: "Geist",data: fontBold,weight: 700,},@@ -51,50 +51,32 @@ function generate(options: GenerateProps): ReactElement {return (<divstyle={{- background: "rgb(9,9,11)",+ backgroundColor: "#151414",width: "100%",height: "100%",display: "flex",flexDirection: "column",justifyContent: "space-between",padding: "80px",- position: "relative",- overflow: "hidden",}}><divstyle={{- position: "absolute",- top: "-20%",- right: "-10%",- width: "120%",- height: "140%",- background:- "linear-gradient(135deg, rgb(99,102,241) 0%, rgb(129,140,248) 100%)",- opacity: 0.15,- transform: "rotate(-12deg)",- filter: "blur(140px)",- }}- />-- <div- style={{- zIndex: 10,width: "100%",display: "flex",flexDirection: "column",- gap: "32px",+ gap: "24px",}}><h1style={{- fontSize: "120px",- fontWeight: 800,+ fontSize: "96px",+ fontWeight: 700,color: primaryTextColor,- lineHeight: 1,- letterSpacing: "-0.03em",+ lineHeight: 1.1,+ letterSpacing: "-0.02em",margin: 0,- fontFamily: "Inter",+ fontFamily: "Geist",}}>{title}@@ -102,13 +84,13 @@ function generate(options: GenerateProps): ReactElement {{description && (<pstyle={{- fontSize: "48px",- color: "rgb(161,161,170)",+ fontSize: "40px",+ color: "#9a9aa0",margin: 0,- lineHeight: 1.3,+ lineHeight: 1.4,fontWeight: 400,maxWidth: "90%",- fontFamily: "Inter",+ fontFamily: "Geist",}}>{description}@@ -120,42 +102,49 @@ function generate(options: GenerateProps): ReactElement {style={{display: "flex",alignItems: "center",- gap: "16px",- zIndex: 10,- background: "rgba(99,102,241,0.1)",- padding: "16px 24px",- borderRadius: "16px",- width: "auto",- alignSelf: "flex-start",}}>{/* biome-ignore lint/a11y/noSvgWithoutTitle: It goes over the logo */}<svg- width="32"- height="32"- viewBox="0 0 24 24"+ xmlns="http://www.w3.org/2000/svg"+ width="180"+ height="42"+ viewBox="0 0 450 104"fill="none"- stroke="rgb(99,102,241)"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round">- <rect width="7" height="7" x="3" y="3" rx="1" />- <rect width="7" height="7" x="14" y="3" rx="1" />- <rect width="7" height="7" x="14" y="14" rx="1" />- <rect width="7" height="7" x="3" y="14" rx="1" />+ <path+ d="M14.6855 95.7242C10.5716 96.5957 8.00007 95.2652 8 93.6608L8 62.026C8 61.8601 8.00321 61.6857 8.00879 61.5065C8.00391 61.3845 8.00098 61.2484 8.00098 61.0973L8.00098 29.944C8.01499 28.6519 8.25865 27.7436 11.2588 27.108L25.3145 24.276C29.4283 23.4046 31.9997 24.7352 32 26.3395L32 57.9742C32 58.1404 31.9978 58.3153 31.9922 58.4948C31.997 58.6165 31.999 58.7522 31.999 58.903L31.999 90.0573C31.9849 91.3489 31.7407 92.2568 28.7412 92.8922L14.6855 95.7242Z"+ fill="#5463FF"+ />+ <path+ d="M46.6855 87.7238C42.5716 88.5952 40 87.2647 40 85.6603L40 54.0265C40 53.8607 40.0032 53.6861 40.0088 53.507C40.0039 53.3849 40.001 53.2491 40.001 53.0978L40.001 21.9445C40.015 20.6526 40.2589 19.7451 43.2588 19.1096L57.3145 16.2765C61.4285 15.4051 64 16.7366 64 18.341L64 49.9748C64 50.141 63.9978 50.3157 63.9922 50.4953C63.997 50.617 63.999 50.7528 63.999 50.9035L63.999 82.0568C63.9849 83.3485 63.7408 84.2564 60.7412 84.8918L46.6855 87.7238Z"+ fill="#5463FF"+ />+ <path+ d="M89.3145 8.27576C93.4284 7.40433 95.9999 8.73485 96 10.3392V21.184L78.0576 44.5013L95.999 66.7797V74.057C95.9849 75.3486 95.7407 76.2565 92.7412 76.892L78.6855 79.725C74.572 80.5963 72.0005 79.2647 72 77.6605V46.0258C72 45.8599 72.0032 45.6853 72.0088 45.5062C72.0039 45.3844 72.001 45.248 72.001 45.097V13.9427C72.0151 12.6511 72.2594 11.7432 75.2588 11.1078L89.3145 8.27576Z"+ fill="#5463FF"+ />+ <path+ d="M413.776 80C408.324 80 403.571 78.8698 399.515 76.6094C395.46 74.2826 392.302 71.0249 390.041 66.8366C387.781 62.6482 386.651 57.7285 386.651 52.0775C386.651 46.4266 387.781 41.5401 390.041 37.4183C392.302 33.2299 395.46 29.9723 399.515 27.6454C403.571 25.3185 408.324 24.1551 413.776 24.1551C419.227 24.1551 423.981 25.3185 428.036 27.6454C432.091 29.9723 435.249 33.2299 437.51 37.4183C439.77 41.5401 440.9 46.4266 440.9 52.0775C440.9 57.7285 439.77 62.6482 437.51 66.8366C435.249 71.0249 432.091 74.2826 428.036 76.6094C423.981 78.8698 419.227 80 413.776 80ZM413.776 68.5318C417.499 68.5318 420.391 67.1025 422.451 64.2438C424.512 61.3186 425.543 57.2631 425.543 52.0775C425.543 46.8919 424.512 42.8698 422.451 40.0111C420.391 37.0858 417.499 35.6232 413.776 35.6232C410.053 35.6232 407.161 37.0858 405.1 40.0111C403.039 42.8698 402.008 46.8919 402.008 52.0775C402.008 57.2631 403.039 61.3186 405.1 64.2438C407.161 67.1025 410.053 68.5318 413.776 68.5318Z"+ fill={primaryTextColor}+ />+ <path+ d="M354.17 80C348.719 80 343.965 78.8698 339.91 76.6094C335.921 74.2826 332.796 71.0249 330.536 66.8366C328.342 62.6482 327.245 57.7285 327.245 52.0775C327.245 46.4266 328.342 41.5401 330.536 37.4183C332.796 33.2299 335.921 29.9723 339.91 27.6454C343.899 25.3185 348.619 24.1551 354.07 24.1551C359.389 24.1551 364.009 25.3185 367.932 27.6454C371.854 29.9723 374.879 33.2964 377.007 37.6177C379.201 41.939 380.298 47.0914 380.298 53.0748V56.0665H342.702C342.901 60.3213 344.032 63.4792 346.093 65.5402C348.22 67.6011 351.012 68.6316 354.469 68.6316C356.996 68.6316 359.09 68.0997 360.752 67.036C362.48 65.9723 363.71 64.3435 364.442 62.1496L379.5 63.0471C378.104 68.3656 375.145 72.5208 370.624 75.5125C366.104 78.5042 360.619 80 354.17 80ZM342.702 46.8919H364.94C364.741 42.9695 363.644 40.0443 361.649 38.1163C359.721 36.1883 357.195 35.2244 354.07 35.2244C350.946 35.2244 348.353 36.2548 346.292 38.3158C344.298 40.3102 343.101 43.169 342.702 46.8919Z"+ fill={primaryTextColor}+ />+ <path+ d="M270.654 79.8001V25.1781H284.144L284.744 41.1774L282.845 40.6679C283.378 36.5916 284.444 33.3306 286.043 30.8849C287.708 28.4391 289.774 26.6727 292.239 25.5857C294.704 24.4987 297.402 23.9552 300.333 23.9552C304.197 23.9552 307.462 24.8044 310.126 26.5029C312.858 28.2013 314.923 30.6131 316.322 33.7383C317.788 36.7955 318.521 40.4301 318.521 44.6423V79.8001H303.531V49.7376C303.531 46.8163 303.298 44.3366 302.831 42.2984C302.365 40.2603 301.532 38.7317 300.333 37.7126C299.134 36.6256 297.468 36.0821 295.337 36.0821C292.205 36.0821 289.807 37.271 288.142 39.6488C286.476 41.9587 285.643 45.3217 285.643 49.7376V79.8001H270.654Z"+ fill={primaryTextColor}+ />+ <path+ d="M227.085 80C221.567 80 217.046 78.7368 213.523 76.2105C210.066 73.6177 208.337 70.0277 208.337 65.4404C208.337 60.7202 209.8 57.0969 212.725 54.5706C215.717 51.9778 220.104 50.0831 225.888 48.8864L243.141 45.4958C243.141 42.0388 242.343 39.446 240.747 37.7174C239.218 35.9224 236.991 35.0249 234.066 35.0249C231.207 35.0249 228.98 35.6897 227.384 37.0194C225.789 38.2825 224.758 40.1773 224.293 42.7036L209.235 42.0055C210.232 36.1551 212.858 31.734 217.113 28.7423C221.434 25.6842 227.085 24.1551 234.066 24.1551C242.044 24.1551 248.027 26.0498 252.016 29.8393C256.071 33.6288 258.099 39.18 258.099 46.4931V64.7424C258.099 66.2715 258.332 67.3019 258.797 67.8338C259.329 68.2992 260.093 68.5318 261.091 68.5318H262.587V78.8033C262.121 78.9363 261.357 79.0693 260.293 79.2022C259.296 79.3352 258.298 79.4017 257.301 79.4017C255.174 79.4017 253.179 79.036 251.318 78.3047C249.523 77.5734 248.06 76.3435 246.93 74.615C245.8 72.8199 245.235 70.2936 245.235 67.036L246.531 68.0332C245.866 70.4266 244.67 72.5208 242.941 74.3158C241.279 76.1108 239.085 77.5069 236.359 78.5042C233.7 79.5014 230.609 80 227.085 80ZM230.675 69.7285C233.135 69.7285 235.296 69.2632 237.157 68.3324C239.019 67.3352 240.481 65.9058 241.545 64.0443C242.609 62.1828 243.141 59.9889 243.141 57.4626V54.8698L230.974 57.4626C228.581 57.928 226.753 58.7257 225.49 59.8559C224.293 60.9197 223.695 62.3158 223.695 64.0443C223.695 65.8393 224.293 67.2355 225.49 68.2327C226.686 69.2299 228.415 69.7285 230.675 69.7285Z"+ fill={primaryTextColor}+ />+ <path+ d="M146 79.8006V8H161.082V39.3496L186.683 8H204.246L178.348 39.6529L205.834 79.8006H188.668L168.425 49.968L161.082 58.6649V79.8006H146Z"+ fill={primaryTextColor}+ /></svg>- <span- style={{- fontSize: "32px",- fontWeight: 600,- color: primaryTextColor,- opacity: 0.9,- fontFamily: "Inter",- }}- >- Kaneo- </span></div></div>);diff --git a/apps/docs/lib/source.ts b/apps/docs/lib/source.tsindex a20d092a3..8da985523 100644--- a/apps/docs/lib/source.ts+++ b/apps/docs/lib/source.ts@@ -1,8 +1,8 @@-import { docs } from "@/.source";-import { loader } from "fumadocs-core/source";import type { InferMetaType, InferPageType } from "fumadocs-core/source";+import { loader } from "fumadocs-core/source";import { icons } from "lucide-react";import { createElement } from "react";+import { docs } from "@/.source";export const source = loader({baseUrl: "/docs",diff --git a/apps/docs/lib/utils.ts b/apps/docs/lib/utils.tsnew file mode 100644index 000000000..365058ceb--- /dev/null+++ b/apps/docs/lib/utils.ts@@ -0,0 +1,6 @@+import { type ClassValue, clsx } from "clsx";+import { twMerge } from "tailwind-merge";++export function cn(...inputs: ClassValue[]) {+ return twMerge(clsx(inputs));+}diff --git a/apps/docs/mdx-components.tsx b/apps/docs/mdx-components.tsxindex b21a16183..87a2df396 100644--- a/apps/docs/mdx-components.tsx+++ b/apps/docs/mdx-components.tsx@@ -1,3 +1,4 @@+import * as Twoslash from "fumadocs-twoslash/ui";import defaultMdxComponents from "fumadocs-ui/mdx";import type { MDXComponents } from "mdx/types";@@ -5,5 +6,6 @@ export function getMDXComponents(components?: MDXComponents): MDXComponents {return {...defaultMdxComponents,...components,+ ...Twoslash,};}diff --git a/apps/docs/next.config.mjs b/apps/docs/next.config.mjsindex 6f8e8288c..0b3e94d08 100644--- a/apps/docs/next.config.mjs+++ b/apps/docs/next.config.mjs@@ -10,6 +10,7 @@ const config = {unoptimized: true,domains: ["assets.kaneo.app"],},+ serverExternalPackages: ["typescript", "twoslash"],};export default withMDX(config);diff --git a/apps/docs/package.json b/apps/docs/package.jsonindex 8a03926d4..9d794c946 100644--- a/apps/docs/package.json+++ b/apps/docs/package.json@@ -9,15 +9,22 @@"postinstall": "fumadocs-mdx"},"dependencies": {- "@fumadocs/mdx-remote": "^1.3.0",- "fumadocs-core": "15.2.8",- "fumadocs-mdx": "11.6.0",- "fumadocs-ui": "15.2.8",+ "@fumadocs/mdx-remote": "^1.4.0",+ "@radix-ui/react-hover-card": "^1.1.15",+ "@radix-ui/react-slot": "^1.2.3",+ "class-variance-authority": "^0.7.1",+ "clsx": "^2.1.1",+ "fumadocs-core": "15.8.4",+ "fumadocs-mdx": "12.0.3",+ "fumadocs-twoslash": "^3.1.8",+ "fumadocs-ui": "15.8.4","lucide-react": "^0.488.0","motion": "^12.7.4","next": "15.3.3",- "react": "^19.1.0",- "react-dom": "^19.1.0"+ "react": "^19.1.1",+ "react-dom": "^19.1.0",+ "tailwind-merge": "^3.3.1",+ "twoslash": "^0.3.4"},"devDependencies": {"@tailwindcss/postcss": "^4.1.4",@@ -27,6 +34,7 @@"@types/react-dom": "^19.1.2","postcss": "^8.5.3","tailwindcss": "^4.1.4",+ "tw-animate-css": "^1.3.8","typescript": "^5.8.3"}}\ No newline at end of filediff --git a/apps/docs/public/android-icon-144x144.png b/apps/docs/public/android-icon-144x144.pngdeleted file mode 100644index f5a2fac9e..000000000Binary files a/apps/docs/public/android-icon-144x144.png and /dev/null differdiff --git a/apps/docs/public/android-icon-192x192.png b/apps/docs/public/android-icon-192x192.pngdeleted file mode 100644index 2278a3267..000000000Binary files a/apps/docs/public/android-icon-192x192.png and /dev/null differdiff --git a/apps/docs/public/android-icon-36x36.png b/apps/docs/public/android-icon-36x36.pngdeleted file mode 100644index 5d8859cae..000000000Binary files a/apps/docs/public/android-icon-36x36.png and /dev/null differdiff --git a/apps/docs/public/android-icon-48x48.png b/apps/docs/public/android-icon-48x48.pngdeleted file mode 100644index 210dc4a7a..000000000Binary files a/apps/docs/public/android-icon-48x48.png and /dev/null differdiff --git a/apps/docs/public/android-icon-72x72.png b/apps/docs/public/android-icon-72x72.pngdeleted file mode 100644index 0ec472ee0..000000000Binary files a/apps/docs/public/android-icon-72x72.png and /dev/null differdiff --git a/apps/docs/public/android-icon-96x96.png b/apps/docs/public/android-icon-96x96.pngdeleted file mode 100644index 0f30b525e..000000000Binary files a/apps/docs/public/android-icon-96x96.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-114x114.png b/apps/docs/public/apple-icon-114x114.pngdeleted file mode 100644index e2c78a4a1..000000000Binary files a/apps/docs/public/apple-icon-114x114.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-120x120.png b/apps/docs/public/apple-icon-120x120.pngdeleted file mode 100644index f3b661063..000000000Binary files a/apps/docs/public/apple-icon-120x120.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-144x144.png b/apps/docs/public/apple-icon-144x144.pngdeleted file mode 100644index f5a2fac9e..000000000Binary files a/apps/docs/public/apple-icon-144x144.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-152x152.png b/apps/docs/public/apple-icon-152x152.pngdeleted file mode 100644index 1bdc5c4dd..000000000Binary files a/apps/docs/public/apple-icon-152x152.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-180x180.png b/apps/docs/public/apple-icon-180x180.pngdeleted file mode 100644index b719dc3c7..000000000Binary files a/apps/docs/public/apple-icon-180x180.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-57x57.png b/apps/docs/public/apple-icon-57x57.pngdeleted file mode 100644index 242dc9d80..000000000Binary files a/apps/docs/public/apple-icon-57x57.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-60x60.png b/apps/docs/public/apple-icon-60x60.pngdeleted file mode 100644index 773838bb1..000000000Binary files a/apps/docs/public/apple-icon-60x60.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-72x72.png b/apps/docs/public/apple-icon-72x72.pngdeleted file mode 100644index 0ec472ee0..000000000Binary files a/apps/docs/public/apple-icon-72x72.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-76x76.png b/apps/docs/public/apple-icon-76x76.pngdeleted file mode 100644index a5b99a8a0..000000000Binary files a/apps/docs/public/apple-icon-76x76.png and /dev/null differdiff --git a/apps/docs/public/apple-icon-precomposed.png b/apps/docs/public/apple-icon-precomposed.pngdeleted file mode 100644index 498cf0fe2..000000000Binary files a/apps/docs/public/apple-icon-precomposed.png and /dev/null differdiff --git a/apps/docs/public/apple-icon.png b/apps/docs/public/apple-icon.pngdeleted file mode 100644index 498cf0fe2..000000000Binary files a/apps/docs/public/apple-icon.png and /dev/null differdiff --git a/apps/docs/public/browserconfig.xml b/apps/docs/public/browserconfig.xmldeleted file mode 100644index c55414822..000000000--- a/apps/docs/public/browserconfig.xml+++ /dev/null@@ -1,2 +0,0 @@-<?xml version="1.0" encoding="utf-8"?>-<browserconfig><msapplication><tile><square70x70logo src="/ms-icon-70x70.png"/><square150x150logo src="/ms-icon-150x150.png"/><square310x310logo src="/ms-icon-310x310.png"/><TileColor>#ffffff</TileColor></tile></msapplication></browserconfig>\ No newline at end of filediff --git a/apps/docs/public/cover-dark.png b/apps/docs/public/cover-dark.pngnew file mode 100644index 000000000..d2d409719Binary files /dev/null and b/apps/docs/public/cover-dark.png differdiff --git a/apps/docs/public/cover-white.png b/apps/docs/public/cover-white.pngnew file mode 100644index 000000000..46beda5deBinary files /dev/null and b/apps/docs/public/cover-white.png differdiff --git a/apps/docs/public/favicon-16x16.png b/apps/docs/public/favicon-16x16.pngdeleted file mode 100644index edbf0fac2..000000000Binary files a/apps/docs/public/favicon-16x16.png and /dev/null differdiff --git a/apps/docs/public/favicon-32x32.png b/apps/docs/public/favicon-32x32.pngdeleted file mode 100644index 5a4e876c8..000000000Binary files a/apps/docs/public/favicon-32x32.png and /dev/null differdiff --git a/apps/docs/public/favicon-96x96.png b/apps/docs/public/favicon-96x96.pngdeleted file mode 100644index 0f30b525e..000000000Binary files a/apps/docs/public/favicon-96x96.png and /dev/null differdiff --git a/apps/docs/public/ms-icon-144x144.png b/apps/docs/public/ms-icon-144x144.pngdeleted file mode 100644index f5a2fac9e..000000000Binary files a/apps/docs/public/ms-icon-144x144.png and /dev/null differdiff --git a/apps/docs/public/ms-icon-150x150.png b/apps/docs/public/ms-icon-150x150.pngdeleted file mode 100644index 8fe516a6e..000000000Binary files a/apps/docs/public/ms-icon-150x150.png and /dev/null differdiff --git a/apps/docs/public/ms-icon-310x310.png b/apps/docs/public/ms-icon-310x310.pngdeleted file mode 100644index a0f9e43e8..000000000Binary files a/apps/docs/public/ms-icon-310x310.png and /dev/null differdiff --git a/apps/docs/public/ms-icon-70x70.png b/apps/docs/public/ms-icon-70x70.pngdeleted file mode 100644index 67237c33d..000000000Binary files a/apps/docs/public/ms-icon-70x70.png and /dev/null differdiff --git a/apps/docs/source.config.ts b/apps/docs/source.config.tsindex 1824f09c2..554e4e1e8 100644--- a/apps/docs/source.config.ts+++ b/apps/docs/source.config.ts@@ -1,9 +1,22 @@+import { rehypeCodeDefaultOptions } from "fumadocs-core/mdx-plugins";import { defineConfig, defineDocs } from "fumadocs-mdx/config";+import { transformerTwoslash } from "fumadocs-twoslash";export const docs = defineDocs({dir: "content/docs",});export default defineConfig({- mdxOptions: {},+ mdxOptions: {+ rehypeCodeOptions: {+ themes: {+ light: "github-light",+ dark: "github-dark",+ },+ transformers: [+ ...(rehypeCodeDefaultOptions.transformers ?? []),+ transformerTwoslash(),+ ],+ },+ },});diff --git a/apps/web/.env.development b/apps/web/.env.developmentnew file mode 100644index 000000000..7083b3ae7--- /dev/null+++ b/apps/web/.env.development@@ -0,0 +1,2 @@+VITE_API_URL=http://localhost:1337+VITE_CLIENT_URL=http://localhost:5173\ No newline at end of filediff --git a/apps/web/.env.production b/apps/web/.env.productionindex 1020abebe..a33f218e2 100644--- a/apps/web/.env.production+++ b/apps/web/.env.production@@ -1 +1,2 @@-VITE_API_URL="KANEO_API_URL"\ No newline at end of file+VITE_API_URL="KANEO_API_URL"+VITE_CLIENT_URL="KANEO_CLIENT_URL"\ No newline at end of filediff --git a/apps/web/.env.sample b/apps/web/.env.sampledeleted file mode 100644index cb197e50f..000000000--- a/apps/web/.env.sample+++ /dev/null@@ -1,14 +0,0 @@-# Frontend Environment Variables-# Copy this file to .env and update the values as needed--# API URL for the frontend to connect to-# This should match your API server URL and CORS configuration-# IMPORTANT: Make sure this matches the CORS_ORIGINS in your API configuration-VITE_API_URL=http://localhost:1337--# App URL for generating links (optional)-VITE_APP_URL=http://localhost:3000--# Development Configuration-# Set to true to enable development features-VITE_DEV_MODE=falsediff --git a/apps/web/Dockerfile b/apps/web/Dockerfileindex 8b6f24fc1..1991de6e4 100644--- a/apps/web/Dockerfile+++ b/apps/web/Dockerfile@@ -3,8 +3,8 @@ FROM --platform=$BUILDPLATFORM node:20-alpine AS builder# Install build dependencies in a single layerRUN apk add --no-cache python3 make g++ && \- corepack enable && \- corepack prepare [email protected] --activate+ corepack enable && \+ corepack prepare [email protected] --activateWORKDIR /app@@ -13,7 +13,6 @@ COPY pnpm-workspace.yaml pnpm-lock.yaml package.json ./COPY apps/web/package.json ./apps/web/COPY packages/typescript-config/package.json ./packages/typescript-config/COPY packages/libs/package.json ./packages/libs/-COPY apps/api/package.json ./apps/api/# Install dependenciesRUN pnpm install --frozen-lockfile@@ -21,7 +20,6 @@ RUN pnpm install --frozen-lockfile# Copy only necessary source codeCOPY packages/typescript-config ./packages/typescript-configCOPY packages/libs ./packages/libs-COPY apps/api ./apps/apiCOPY apps/web ./apps/web# Build the application@@ -33,22 +31,22 @@ FROM nginx:1.25-alpine AS runtime# Create non-root user and configure nginx in a single layerRUN addgroup -g 1001 appuser && \- adduser -u 1001 -G appuser -D appuser && \- # Set permissions for nginx directories- chown -R appuser:appuser /var/cache/nginx && \- chmod -R 755 /var/cache/nginx && \- # Create directory for pid file- mkdir -p /var/run/nginx && \- chown -R appuser:appuser /var/run/nginx && \- chmod -R 755 /var/run/nginx && \- # Set permissions for nginx pid file- touch /var/run/nginx.pid && \- chown appuser:appuser /var/run/nginx.pid && \- chmod 644 /var/run/nginx.pid && \- # Update nginx configuration to run as non-root- sed -i 's/user nginx;/user appuser;/' /etc/nginx/nginx.conf && \- # Remove the user directive completely to avoid warnings- sed -i 's/user appuser;//' /etc/nginx/nginx.conf+ adduser -u 1001 -G appuser -D appuser && \+ # Set permissions for nginx directories+ chown -R appuser:appuser /var/cache/nginx && \+ chmod -R 755 /var/cache/nginx && \+ # Create directory for pid file+ mkdir -p /var/run/nginx && \+ chown -R appuser:appuser /var/run/nginx && \+ chmod -R 755 /var/run/nginx && \+ # Set permissions for nginx pid file+ touch /var/run/nginx.pid && \+ chown appuser:appuser /var/run/nginx.pid && \+ chmod 644 /var/run/nginx.pid && \+ # Update nginx configuration to run as non-root+ sed -i 's/user nginx;/user appuser;/' /etc/nginx/nginx.conf && \+ # Remove the user directive completely to avoid warnings+ sed -i 's/user appuser;//' /etc/nginx/nginx.conf# Copy built files from builder stageCOPY --from=builder --chown=appuser:appuser /app/apps/web/dist /usr/share/nginx/html@@ -65,4 +63,4 @@ USER appuserEXPOSE 5173# Use exec form of CMD for proper signal handling-CMD ["nginx", "-g", "daemon off;"]\ No newline at end of file+CMD ["nginx", "-g", "daemon off;"]diff --git a/apps/web/components.json b/apps/web/components.jsonindex 1589d2eae..94bf7ad7e 100644--- a/apps/web/components.json+++ b/apps/web/components.json@@ -12,7 +12,7 @@},"aliases": {"components": "@/components",- "utils": "@/lib/utils",+ "utils": "@/lib/cn","ui": "@/components/ui","lib": "@/lib","hooks": "@/hooks"diff --git a/apps/web/index.html b/apps/web/index.htmlindex 4341109c2..762f85f68 100644--- a/apps/web/index.html+++ b/apps/web/index.html@@ -3,24 +3,24 @@<head><meta charset="UTF-8" />- <title>Kaneo - Open Source Project Management</title>- <meta name="title" content="Kaneo - Open Source Project Management">+ <title>Kaneo ⎯ All you need. Nothing you don't.</title>+ <meta name="title" content="Kaneo ⎯ All you need. Nothing you don't."><meta name="description"- content="An open source project management platform focused on simplicity and efficiency. Organize projects, collaborate with your team, and get work done.">- <meta name="keywords" content="project management, open source, task management, team collaboration, kanban">+ content="All you need. Nothing you don't. Open source project management that works for you, not against you.">+ <meta name="keywords" content="project management, open source, task management, team collaboration, kanban, self-hosted"><meta property="og:type" content="website"><meta property="og:url" content="https://kaneo.app">- <meta property="og:title" content="Kaneo - Open Source Project Management">+ <meta property="og:title" content="Kaneo ⎯ All you need. Nothing you don't."><meta property="og:description"- content="An open source project management platform focused on simplicity and efficiency. Organize projects, collaborate with your team, and get work done.">+ content="Open source project management that works for you, not against you. Self-hosted, simple, and powerful."><meta property="og:image" content="https://assets.kaneo.app/readme-card.png"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://kaneo.app">- <meta property="twitter:title" content="Kaneo - Open Source Project Management">+ <meta property="twitter:title" content="Kaneo ⎯ All you need. Nothing you don't."><meta property="twitter:description"- content="An open source project management platform focused on simplicity and efficiency. Organize projects, collaborate with your team, and get work done.">+ content="Open source project management that works for you, not against you. Self-hosted, simple, and powerful."><meta property="twitter:image" content="https://assets.kaneo.app/readme-card.png"><link rel="icon" type="image/png" href="/favicon-96x96.png" sizes="96x96" />diff --git a/apps/web/package.json b/apps/web/package.jsonindex c327fb232..83758a2c0 100644--- a/apps/web/package.json+++ b/apps/web/package.json@@ -5,11 +5,14 @@"type": "module","scripts": {"dev": "vite",- "build": "tsc -b && vite build",+ "build": "vite build","preview": "vite preview","lint": "biome check --write ."},"dependencies": {+ "@blocknote/core": "^0.37.0",+ "@blocknote/react": "^0.37.0",+ "@blocknote/shadcn": "^0.37.0","@dnd-kit/core": "^6.3.1","@dnd-kit/modifiers": "^9.0.0","@dnd-kit/sortable": "^10.0.0",@@ -19,34 +22,30 @@"@radix-ui/react-alert-dialog": "^1.1.14","@radix-ui/react-avatar": "^1.1.10","@radix-ui/react-collapsible": "^1.1.11",- "@radix-ui/react-context-menu": "^2.2.15",+ "@radix-ui/react-context-menu": "^2.2.16","@radix-ui/react-dialog": "^1.1.14","@radix-ui/react-dropdown-menu": "^2.1.15",+ "@radix-ui/react-hover-card": "^1.1.15","@radix-ui/react-label": "^2.1.6",+ "@radix-ui/react-menubar": "^1.1.16","@radix-ui/react-popover": "^1.1.14","@radix-ui/react-progress": "^1.1.7","@radix-ui/react-select": "^2.2.2","@radix-ui/react-separator": "^1.1.7","@radix-ui/react-slot": "^1.2.3","@radix-ui/react-switch": "^1.2.6",+ "@radix-ui/react-tabs": "^1.1.13","@radix-ui/react-tooltip": "^1.2.7",+ "@tailwindcss/vite": "^4.1.13","@tanstack/react-query": "^5.83.3","@tanstack/react-query-devtools": "^5.85.3","@tanstack/react-router": "^1.131.28","@tanstack/router-devtools": "^1.131.28","@tanstack/router-plugin": "^1.131.28",- "@tiptap/extension-highlight": "^2.11.7",- "@tiptap/extension-link": "^2.14.0",- "@tiptap/extension-placeholder": "^2.11.7",- "@tiptap/extension-task-item": "^2.11.7",- "@tiptap/extension-task-list": "^2.23.1",- "@tiptap/pm": "^2.12.0",- "@tiptap/react": "^2.12.0",- "@tiptap/starter-kit": "^2.12.0","@types/file-saver": "^2.0.7","@vitejs/plugin-react": "^4.7.0","babel-plugin-react-compiler": "^19.0.0-beta-714736e-20250131",- "better-auth": "^1.3.5",+ "better-auth": "^1.3.8","class-variance-authority": "^0.7.1","clsx": "^2.1.1","cmdk": "^1.1.1",@@ -55,16 +54,16 @@"framer-motion": "^12.23.6","hono": "^4.9.5","immer": "^10.1.1",- "lucide-react": "^0.513.0",+ "lucide-react": "^0.545.0","react": "^19.0.0",- "react-day-picker": "9.8.1",+ "react-day-picker": "9.9.0","react-dom": "^19.0.0","react-hook-form": "^7.58.0","react-use-websocket": "^4.11.1","sonner": "^2.0.6",- "tailwind-merge": "^3.3.0",+ "tailwind-animate": "^0.2.10",+ "tailwind-merge": "^3.3.1","tailwindcss-animate": "^1.0.7",- "tiptap-markdown": "^0.8.10","zod": "^4.0.17","zustand": "^5.0.4"},@@ -72,11 +71,12 @@"@kaneo/libs": "workspace:*","@tailwindcss/postcss": "^4.1.8","@types/node": "^24.1.0",- "@types/react": "^19.1.3",- "@types/react-dom": "^19.0.3",+ "@types/react": "^19.1.12",+ "@types/react-dom": "^19.1.9","globals": "^16.0.0","postcss": "^8.5.1",- "tailwindcss": "^4.0.0",+ "tailwindcss": "^4.1.11",+ "tw-animate-css": "^1.3.8","typescript": "~5.8.3","vite": "^6.3.5"}diff --git a/apps/web/public/apple-touch-icon.png b/apps/web/public/apple-touch-icon.pngindex 30a3c64b5..c6bcb99ed 100644Binary files a/apps/web/public/apple-touch-icon.png and b/apps/web/public/apple-touch-icon.png differdiff --git a/apps/web/public/favicon-96x96.png b/apps/web/public/favicon-96x96.pngindex c57969eb6..0ba723864 100644Binary files a/apps/web/public/favicon-96x96.png and b/apps/web/public/favicon-96x96.png differdiff --git a/apps/web/public/favicon.ico b/apps/web/public/favicon.icoindex 32794c4a7..c6d6026e0 100644Binary files a/apps/web/public/favicon.ico and b/apps/web/public/favicon.ico differdiff --git a/apps/web/public/favicon.svg b/apps/web/public/favicon.svgindex 855ee100f..c5e259f8d 100644--- a/apps/web/public/favicon.svg+++ b/apps/web/public/favicon.svg@@ -1,8 +1,7 @@-<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="1200" height="1200"><svg width="1200" height="1200" viewBox="0 0 1200 1200" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M450 150H200C172.386 150 150 172.386 150 200V450C150 477.614 172.386 500 200 500H450C477.614 500 500 477.614 500 450V200C500 172.386 477.614 150 450 150Z" stroke="#7C86FF" stroke-width="100" stroke-linecap="round" stroke-linejoin="round"></path>-<path d="M1000 150H750C722.386 150 700 172.386 700 200V450C700 477.614 722.386 500 750 500H1000C1027.61 500 1050 477.614 1050 450V200C1050 172.386 1027.61 150 1000 150Z" stroke="#7C86FF" stroke-width="100" stroke-linecap="round" stroke-linejoin="round"></path>-<path d="M1000 700H750C722.386 700 700 722.386 700 750V1000C700 1027.61 722.386 1050 750 1050H1000C1027.61 1050 1050 1027.61 1050 1000V750C1050 722.386 1027.61 700 1000 700Z" stroke="#7C86FF" stroke-width="100" stroke-linecap="round" stroke-linejoin="round"></path>-<path d="M450 700H200C172.386 700 150 722.386 150 750V1000C150 1027.61 172.386 1050 200 1050H450C477.614 1050 500 1027.61 500 1000V750C500 722.386 477.614 700 450 700Z" stroke="#7C86FF" stroke-width="100" stroke-linecap="round" stroke-linejoin="round"></path>+<svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" width="104" height="104"><svg width="104" height="104" viewBox="0 0 104 104" fill="none" xmlns="http://www.w3.org/2000/svg">+<path d="M14.6855 95.7248C10.5715 96.5962 8 95.2648 8 93.6603L8 62.0256C8 61.8599 8.00322 61.6859 8.00879 61.507C8.00389 61.3849 8.00098 61.2491 8.00098 61.0978L8.00098 29.9435C8.01505 28.6517 8.259 27.7441 11.2588 27.1086L25.3145 24.2756C29.4285 23.4041 32 24.7356 32 26.34L32 57.9748C32 58.1411 31.9978 58.3157 31.9922 58.4953C31.997 58.6169 31.999 58.7521 31.999 58.9025L31.999 90.0568C31.985 91.3487 31.7411 92.2563 28.7412 92.8918L14.6855 95.7248Z" fill="#5463FF"></path>+<path d="M46.6855 87.7243C42.572 88.5956 40.0005 87.265 40 85.6608L40 54.0261C40 53.8601 40.0032 53.6858 40.0088 53.5065C40.0039 53.3845 40.001 53.2484 40.001 53.0973L40.001 21.944C40.0151 20.6524 40.2592 19.7445 43.2588 19.1091L57.3145 16.277C61.4284 15.4056 63.9999 16.7362 64 18.3405L64 49.9753C64 50.1412 63.9978 50.3156 63.9922 50.4948C63.9971 50.6166 63.999 50.7522 63.999 50.903L63.999 82.0563C63.985 83.3483 63.7412 84.2558 60.7412 84.8913L46.6855 87.7243Z" fill="#5463FF"></path>+<path d="M89.3145 8.27435C93.4281 7.40301 95.9996 8.73456 96 10.3388V21.1845L78.0576 44.5009L95.999 66.7792V74.0566C95.9849 75.3482 95.7407 76.2561 92.7412 76.8915L78.6855 79.7236C74.5716 80.595 72.0001 79.2645 72 77.6601V46.0253C72 45.8596 72.0032 45.6848 72.0088 45.5058C72.0039 45.3838 72.001 45.2477 72.001 45.0966V13.9423C72.0151 12.6507 72.2593 11.7428 75.2588 11.1074L89.3145 8.27435Z" fill="#5463FF"></path></svg><style>@media (prefers-color-scheme: light) { :root { filter: none; } }-@media (prefers-color-scheme: dark) { :root { filter: contrast(1) brightness(1); } }+@media (prefers-color-scheme: dark) { :root { filter: none; } }</style></svg>\ No newline at end of filediff --git a/apps/web/public/web-app-manifest-192x192.png b/apps/web/public/web-app-manifest-192x192.pngindex ae4005710..304a31998 100644Binary files a/apps/web/public/web-app-manifest-192x192.png and b/apps/web/public/web-app-manifest-192x192.png differdiff --git a/apps/web/public/web-app-manifest-512x512.png b/apps/web/public/web-app-manifest-512x512.pngindex 6dc723370..df864ce07 100644Binary files a/apps/web/public/web-app-manifest-512x512.png and b/apps/web/public/web-app-manifest-512x512.png differdiff --git a/apps/web/src/components/activity/comment-card.tsx b/apps/web/src/components/activity/comment-card.tsxnew file mode 100644index 000000000..8a551c6b1--- /dev/null+++ b/apps/web/src/components/activity/comment-card.tsx@@ -0,0 +1,559 @@+import { filterSuggestionItems } from "@blocknote/core";+import { useCreateBlockNote } from "@blocknote/react";+import { BlockNoteView } from "@blocknote/shadcn";+import { useCallback, useEffect, useRef, useState } from "react";+import "@blocknote/shadcn/style.css";+import {+ BlockTypeSelect,+ type BlockTypeSelectItem,+ CreateLinkButton,+ FormattingToolbarController,+ getDefaultReactSlashMenuItems,+ SuggestionMenuController,+} from "@blocknote/react";+import { useQueryClient } from "@tanstack/react-query";+import { formatDistanceToNow } from "date-fns";+import {+ Bold,+ Check,+ Code,+ Heading1,+ Heading2,+ Heading3,+ Italic,+ List,+ ListOrdered,+ Pencil,+ Strikethrough,+ Type,+ Underline,+ X,+} from "lucide-react";+import { toast } from "sonner";+import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Button } from "@/components/ui/button";+import {+ HoverCard,+ HoverCardContent,+ HoverCardTrigger,+} from "@/components/ui/hover-card";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import useUpdateComment from "@/hooks/mutations/comment/use-update-comment";+import { getModifierKeyText } from "@/hooks/use-keyboard-shortcuts";+import { cn } from "@/lib/cn";+import { useUserPreferencesStore } from "@/store/user-preferences";++interface CommentCardProps {+ commentId: string;+ taskId: string;+ content: string;+ user: {+ id?: string;+ name?: string | null;+ email?: string | null;+ image?: string | null;+ } | null;+ createdAt: string;+}++export default function CommentCard({+ commentId,+ taskId,+ content,+ user,+ createdAt,+}: CommentCardProps) {+ const { theme } = useUserPreferencesStore();+ const { user: currentUser } = useAuth();+ const isInitializedRef = useRef(false);+ const [isEditing, setIsEditing] = useState(false);+ const [editedContent, setEditedContent] = useState("");+ const { mutateAsync: updateComment, isPending } = useUpdateComment();+ const queryClient = useQueryClient();++ const editor = useCreateBlockNote({+ initialContent: [+ {+ type: "paragraph",+ content: "",+ },+ ],+ });++ const canEdit = currentUser?.id === user?.id;++ useEffect(() => {+ if (content?.trim() && !isInitializedRef.current) {+ const loadMarkdown = async () => {+ try {+ const blocks = await editor.tryParseMarkdownToBlocks(+ content.trim() || "",+ );+ editor.replaceBlocks(editor.document, blocks);+ setTimeout(() => {+ editor.isEditable = isEditing;+ isInitializedRef.current = true;+ }, 50);+ } catch (error) {+ console.error("Failed to parse markdown:", error);+ const blocks = await editor.tryParseMarkdownToBlocks("");+ editor.replaceBlocks(editor.document, blocks);+ setTimeout(() => {+ editor.isEditable = isEditing;+ isInitializedRef.current = true;+ }, 50);+ }+ };+ loadMarkdown();+ } else if (!content?.trim() && !isInitializedRef.current) {+ editor.isEditable = isEditing;+ isInitializedRef.current = true;+ }+ }, [content, editor, isEditing]);++ useEffect(() => {+ if (isEditing) {+ editor.isEditable = true;+ editor.focus();+ } else {+ editor.isEditable = false;+ }+ }, [isEditing, editor]);++ const handleEditorChange = useCallback(async () => {+ try {+ const markdown = await editor.blocksToMarkdownLossy(editor.document);+ setEditedContent(markdown.trim());+ } catch (error) {+ console.error("Failed to convert blocks to markdown:", error);+ }+ }, [editor]);++ const handleEdit = () => {+ setIsEditing(true);+ setEditedContent(content);+ };++ const handleCancel = useCallback(async () => {+ setIsEditing(false);+ // Restore original content+ try {+ const blocks = await editor.tryParseMarkdownToBlocks(+ content.trim() || "",+ );+ editor.replaceBlocks(editor.document, blocks);+ setEditedContent("");+ } catch (error) {+ console.error("Failed to restore content:", error);+ }+ }, [editor, content]);++ const handleSave = useCallback(async () => {+ if (!editedContent.trim()) {+ toast.error("Comment cannot be empty");+ return;+ }++ if (!currentUser?.id) {+ toast.error("You must be logged in to edit comments");+ return;+ }++ try {+ await updateComment({+ id: commentId,+ userId: currentUser.id,+ content: editedContent,+ });++ setIsEditing(false);+ setEditedContent("");++ // Invalidate activities query to refresh the list+ await queryClient.invalidateQueries({ queryKey: ["activities", taskId] });++ toast.success("Comment updated");+ } catch (error) {+ console.error("Failed to update comment:", error);+ toast.error("Failed to update comment");+ }+ }, [+ editedContent,+ updateComment,+ commentId,+ currentUser?.id,+ queryClient,+ taskId,+ ]);++ useEffect(() => {+ if (!isEditing) return;++ const handleKeyDown = (e: KeyboardEvent) => {+ if ((e.metaKey || e.ctrlKey) && e.key === "Enter") {+ e.preventDefault();+ handleSave();+ } else if (e.key === "Escape") {+ e.preventDefault();+ handleCancel();+ }+ };++ const editorElement = editor.domElement;+ editorElement?.addEventListener("keydown", handleKeyDown);++ return () => {+ editorElement?.removeEventListener("keydown", handleKeyDown);+ };+ }, [editor, isEditing, handleSave, handleCancel]);++ return (+ <div className="w-full group">+ <div className="flex items-center gap-2 mb-2">+ <HoverCard>+ <HoverCardTrigger asChild>+ <div className="flex items-center gap-2 cursor-pointer">+ <Avatar className="h-6 w-6">+ <AvatarImage src={user?.image ?? ""} alt={user?.name || ""} />+ <AvatarFallback className="text-xs font-medium bg-muted">+ {user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <span className="text-sm font-medium text-foreground hover:text-primary transition-colors">+ {user?.name}+ </span>+ </div>+ </HoverCardTrigger>+ <HoverCardContent className="w-52 p-3">+ <div className="flex items-center gap-3">+ <Avatar className="h-8 w-8">+ <AvatarImage src={user?.image ?? ""} alt={user?.name || ""} />+ <AvatarFallback className="text-xs font-medium bg-muted">+ {user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <div className="flex-1 min-w-0">+ <p className="text-sm font-medium text-foreground leading-none">+ {user?.name}+ </p>+ <p className="text-xs text-muted-foreground mt-1">+ {user?.email}+ </p>+ </div>+ </div>+ </HoverCardContent>+ </HoverCard>+ <span className="text-xs text-muted-foreground/60">+ {formatDistanceToNow(createdAt, { addSuffix: true })}+ </span>+ {canEdit && !isEditing && (+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="sm"+ onClick={handleEdit}+ className="h-6 w-6 p-0 ml-auto opacity-0 group-hover:opacity-100 transition-opacity"+ >+ <Pencil className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <p className="text-xs">Edit comment</p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ )}+ </div>+ <div className="group border border-border rounded-lg bg-card/50 backdrop-blur-sm relative">+ <div+ className={cn(+ "blocknote-transparent p-4",+ !isEditing &&+ "[&_.bn-editor]:!cursor-default [&_.ProseMirror]:!outline-none [&_.ProseMirror]:!min-h-0",+ )}+ >+ <BlockNoteView+ editor={editor}+ className={cn(+ "[&>div:first-of-type]:!bg-transparent",+ isEditing+ ? "[&>div:first-of-type]:!pl-3 [&>div:first-of-type]:!pr-3 min-h-[42px] max-h-[300px] overflow-y-auto"+ : "[&>div:first-of-type]:!pl-0 [&_.bn-block-content]:!cursor-default [&>div:first-of-type]:!min-h-0",+ )}+ formattingToolbar={!isEditing ? false : undefined}+ linkToolbar={!isEditing ? false : undefined}+ filePanel={false}+ sideMenu={false}+ slashMenu={false}+ tableHandles={false}+ theme={theme as "dark" | "light"}+ onChange={isEditing ? handleEditorChange : undefined}+ editable={isEditing}+ >+ {isEditing && (+ <FormattingToolbarController+ formattingToolbar={() => (+ <TooltipProvider>+ <div className="bg-popover flex items-center gap-0.5 px-1.5 py-1 rounded-md border border-border shadow-lg">+ <div className="[&_button]:h-6 [&_button]:px-2 [&_button]:text-xs [&_svg]:size-3">+ <BlockTypeSelect+ items={[+ {+ name: "Paragraph",+ type: "paragraph",+ icon: Type,+ props: {},+ isSelected: (block) => block.type === "paragraph",+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 1",+ type: "heading",+ icon: Heading1,+ props: {+ level: 1,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 1,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 2",+ type: "heading",+ icon: Heading2,+ props: {+ level: 2,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 2,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 3",+ type: "heading",+ icon: Heading3,+ props: {+ level: 3,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 3,+ } satisfies BlockTypeSelectItem,+ {+ name: "Bullet List",+ type: "bulletListItem",+ icon: List,+ props: {},+ isSelected: (block) =>+ block.type === "bulletListItem",+ } satisfies BlockTypeSelectItem,+ {+ name: "Numbered List",+ type: "numberedListItem",+ icon: ListOrdered,+ props: {},+ isSelected: (block) =>+ block.type === "numberedListItem",+ } satisfies BlockTypeSelectItem,+ ]}+ key={"blockTypeSelect"}+ />+ </div>++ <div className="w-px h-4 bg-border mx-0.5" />++ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ bold: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().bold &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Bold className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "B"]}+ description="Bold"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ italic: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().italic &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Italic className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "I"]}+ description="Italic"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ underline: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().underline &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Underline className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "U"]}+ description="Underline"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ code: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().code &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Code className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "E"]}+ description="Code"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ strike: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().strike &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Strikethrough className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Shift", "X"]}+ description="Strikethrough"+ />+ </TooltipContent>+ </Tooltip>++ <div className="w-px h-4 bg-border mx-0.5" />++ <CreateLinkButton key={"createLinkButton"} />+ </div>+ </TooltipProvider>+ )}+ />+ )}+ <SuggestionMenuController+ triggerCharacter={"/"}+ getItems={async (query) =>+ filterSuggestionItems(+ getDefaultReactSlashMenuItems(editor).filter(+ (item) => item.group !== "Media",+ ),+ query,+ )+ }+ />+ </BlockNoteView>+ </div>+ {isEditing && (+ <div className="flex items-center gap-1 px-4 pb-3">+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="sm"+ onClick={handleSave}+ disabled={isPending || !editedContent.trim()}+ className="h-7 px-3 hover:bg-accent"+ >+ <Check className="size-3 mr-1" />+ Save+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Enter"]}+ description="Save changes"+ />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="sm"+ onClick={handleCancel}+ disabled={isPending}+ className="h-7 px-3 hover:bg-accent"+ >+ <X className="size-3 mr-1" />+ Cancel+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence keys={["Esc"]} description="Cancel editing" />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ </div>+ )}+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/activity/comment-input.tsx b/apps/web/src/components/activity/comment-input.tsxnew file mode 100644index 000000000..82f641209--- /dev/null+++ b/apps/web/src/components/activity/comment-input.tsx@@ -0,0 +1,354 @@+import { filterSuggestionItems } from "@blocknote/core";+import { useCreateBlockNote } from "@blocknote/react";+import { BlockNoteView } from "@blocknote/shadcn";+import { useCallback, useEffect, useState } from "react";+import "@blocknote/shadcn/style.css";+import {+ BlockTypeSelect,+ type BlockTypeSelectItem,+ CreateLinkButton,+ FormattingToolbarController,+ getDefaultReactSlashMenuItems,+ SuggestionMenuController,+} from "@blocknote/react";+import { useQueryClient } from "@tanstack/react-query";+import {+ Bold,+ Code,+ Heading1,+ Heading2,+ Heading3,+ Italic,+ List,+ ListOrdered,+ SendHorizontal,+ Strikethrough,+ Type,+ Underline,+} from "lucide-react";+import { toast } from "sonner";+import { Button } from "@/components/ui/button";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import useCreateComment from "@/hooks/mutations/comment/use-create-comment";+import { getModifierKeyText } from "@/hooks/use-keyboard-shortcuts";+import { cn } from "@/lib/cn";+import { useUserPreferencesStore } from "@/store/user-preferences";++interface CommentInputProps {+ taskId: string;+ userId: string;+}++export default function CommentInput({ taskId, userId }: CommentInputProps) {+ const { theme } = useUserPreferencesStore();+ const [content, setContent] = useState("");+ const { mutateAsync: createComment, isPending } = useCreateComment();+ const queryClient = useQueryClient();++ const editor = useCreateBlockNote({+ initialContent: [+ {+ type: "paragraph",+ content: "",+ },+ ],+ });++ const handleEditorChange = useCallback(async () => {+ try {+ const markdown = await editor.blocksToMarkdownLossy(editor.document);+ setContent(markdown.trim());+ } catch (error) {+ console.error("Failed to convert blocks to markdown:", error);+ }+ }, [editor]);++ const handleSubmit = useCallback(async () => {+ if (!content.trim()) {+ toast.error("Comment cannot be empty");+ return;+ }++ try {+ await createComment({+ taskId,+ userId,+ content,+ });++ // Clear editor+ const blocks = await editor.tryParseMarkdownToBlocks("");+ editor.replaceBlocks(editor.document, blocks);+ setContent("");++ // Invalidate activities query to refresh the list+ await queryClient.invalidateQueries({ queryKey: ["activities", taskId] });++ toast.success("Comment added");+ } catch (error) {+ console.error("Failed to create comment:", error);+ toast.error("Failed to add comment");+ }+ }, [content, createComment, taskId, userId, editor, queryClient]);++ useEffect(() => {+ const handleKeyDown = (e: KeyboardEvent) => {+ if ((e.metaKey || e.ctrlKey) && e.key === "Enter") {+ e.preventDefault();+ handleSubmit();+ }+ };++ const editorElement = editor.domElement;+ editorElement?.addEventListener("keydown", handleKeyDown);++ return () => {+ editorElement?.removeEventListener("keydown", handleKeyDown);+ };+ }, [editor, handleSubmit]);++ return (+ <div className="w-full">+ <div className="blocknote-transparent border border-border/50 rounded-lg bg-background/30 hover:border-border transition-colors focus-within:border-border relative pb-8">+ <BlockNoteView+ editor={editor}+ className="min-h-[42px] max-h-[300px] overflow-y-auto [&>div:first-of-type]:!pl-3 [&>div:first-of-type]:!pr-20 [&>div:first-of-type]:!py-2.5 [&>div:first-of-type]:!bg-transparent [&>div:first-of-type]:!min-h-[42px]"+ data-placeholder="Leave a comment..."+ formattingToolbar={false}+ linkToolbar={false}+ filePanel={false}+ sideMenu={false}+ slashMenu={false}+ tableHandles={false}+ theme={theme as "dark" | "light"}+ onChange={handleEditorChange}+ >+ <FormattingToolbarController+ formattingToolbar={() => (+ <TooltipProvider>+ <div className="bg-popover flex items-center gap-0.5 px-1.5 py-1 rounded-md border border-border shadow-lg">+ <div className="[&_button]:h-6 [&_button]:px-2 [&_button]:text-xs [&_svg]:size-3">+ <BlockTypeSelect+ items={[+ {+ name: "Paragraph",+ type: "paragraph",+ icon: Type,+ props: {},+ isSelected: (block) => block.type === "paragraph",+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 1",+ type: "heading",+ icon: Heading1,+ props: {+ level: 1,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 1,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 2",+ type: "heading",+ icon: Heading2,+ props: {+ level: 2,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 2,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 3",+ type: "heading",+ icon: Heading3,+ props: {+ level: 3,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 3,+ } satisfies BlockTypeSelectItem,+ {+ name: "Bullet List",+ type: "bulletListItem",+ icon: List,+ props: {},+ isSelected: (block) =>+ block.type === "bulletListItem",+ } satisfies BlockTypeSelectItem,+ {+ name: "Numbered List",+ type: "numberedListItem",+ icon: ListOrdered,+ props: {},+ isSelected: (block) =>+ block.type === "numberedListItem",+ } satisfies BlockTypeSelectItem,+ ]}+ key={"blockTypeSelect"}+ />+ </div>++ <div className="w-px h-4 bg-border mx-0.5" />++ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ bold: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().bold &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Bold className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "B"]}+ description="Bold"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ italic: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().italic &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Italic className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "I"]}+ description="Italic"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ underline: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().underline &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Underline className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "U"]}+ description="Underline"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ code: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().code &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Code className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "E"]}+ description="Code"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ strike: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().strike &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Strikethrough className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Shift", "X"]}+ description="Strikethrough"+ />+ </TooltipContent>+ </Tooltip>++ <div className="w-px h-4 bg-border mx-0.5" />++ <CreateLinkButton key={"createLinkButton"} />+ </div>+ </TooltipProvider>+ )}+ />+ <SuggestionMenuController+ triggerCharacter={"/"}+ getItems={async (query) =>+ filterSuggestionItems(+ getDefaultReactSlashMenuItems(editor).filter(+ (item) => item.group !== "Media",+ ),+ query,+ )+ }+ />+ </BlockNoteView>+ <div className="absolute right-2 bottom-0 -translate-y-1/2 flex items-center gap-1">+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ size="xs"+ onClick={handleSubmit}+ disabled={isPending || !content.trim()}+ className="h-6 w-6 p-4 text-white"+ >+ <SendHorizontal className="size-4" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Enter"]}+ description="Submit comment"+ />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ </div>+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/activity/index.tsx b/apps/web/src/components/activity/index.tsxnew file mode 100644index 000000000..fe41be456--- /dev/null+++ b/apps/web/src/components/activity/index.tsx@@ -0,0 +1,153 @@+import { formatDistanceToNow } from "date-fns";+import { Calendar, CircleAlert, History, MessageSquare } from "lucide-react";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import useGetWorkspaceUsers from "@/hooks/queries/workspace-users/use-get-workspace-users";+import { cn } from "@/lib/cn";+import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar";+import {+ HoverCard,+ HoverCardContent,+ HoverCardTrigger,+} from "../ui/hover-card";+import CommentCard from "./comment-card";++function getActivityTypeComponent(type: string) {+ const iconClass = "w-3 h-3";+ switch (type) {+ case "status_changed":+ return <History className={iconClass} />;+ case "priority_changed":+ return <CircleAlert className={iconClass} />;+ case "due_date_changed":+ return <Calendar className={iconClass} />;+ case "comment":+ return <MessageSquare className={iconClass} />;+ default:+ return <History className={iconClass} />;+ }+}++function getActivityColor() {+ return "bg-muted/30 border-border text-muted-foreground";+}++function Activity({+ activity,+ isLast = false,+}: {+ activity: {+ type: string;+ content: string | null;+ id: string;+ createdAt: string;+ userId: string;+ taskId: string;+ };+ isLast?: boolean;+}) {+ const { data: workspace } = useActiveWorkspace();++ const { data: workspaceUsers } = useGetWorkspaceUsers({+ workspaceId: workspace?.id,+ });++ const user = workspaceUsers?.find(+ (user) => user.user?.id === activity.userId,+ );++ console.log(activity);++ if (activity.type === "comment" && activity.content) {+ return (+ <div className="relative flex gap-3 py-2 last:pb-0">+ {!isLast && (+ <div className="absolute left-3 top-6 w-px h-full bg-border/40" />+ )}++ <div className="relative flex-shrink-0">+ <div+ className={cn(+ "flex items-center justify-center w-6 h-6 rounded-full border",+ getActivityColor(),+ )}+ >+ {getActivityTypeComponent(activity.type)}+ </div>+ </div>++ <div className="flex-1 min-w-0 pt-0.5">+ <CommentCard+ commentId={activity.id}+ taskId={activity.taskId}+ content={activity.content}+ user={{+ id: user?.user?.id,+ name: user?.user?.name,+ email: user?.user?.email,+ image: user?.user?.image,+ }}+ createdAt={activity.createdAt}+ />+ </div>+ </div>+ );+ }++ return (+ <div className="relative flex gap-3 py-2 last:pb-0">+ {!isLast && (+ <div className="absolute left-3 top-6 w-px h-full bg-border/40" />+ )}++ <div className="relative flex-shrink-0">+ <div+ className={cn(+ "flex items-center justify-center w-6 h-6 rounded-full border",+ getActivityColor(),+ )}+ >+ {getActivityTypeComponent(activity.type)}+ </div>+ </div>++ <div className="flex-1 min-w-0 flex items-center gap-2 pt-0.5">+ <HoverCard>+ <HoverCardTrigger asChild>+ <span className="text-sm font-medium text-foreground hover:text-primary cursor-pointer transition-colors">+ {user?.user?.name}+ </span>+ </HoverCardTrigger>+ <HoverCardContent className="w-52 p-3">+ <div className="flex items-center gap-3">+ <Avatar className="h-8 w-8">+ <AvatarImage+ src={user?.user?.image ?? ""}+ alt={user?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium bg-muted">+ {user?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <div className="flex-1 min-w-0">+ <p className="text-sm font-medium text-foreground leading-none">+ {user?.user?.name}+ </p>+ <p className="text-xs text-muted-foreground mt-1">+ {user?.user?.email}+ </p>+ </div>+ </div>+ </HoverCardContent>+ </HoverCard>+ <span className="text-sm text-muted-foreground">+ {activity.content}+ </span>+ <span className="text-xs text-muted-foreground/60 ml-auto flex-shrink-0">+ {formatDistanceToNow(activity.createdAt, { addSuffix: true })}+ </span>+ </div>+ </div>+ );+}++export default Activity;diff --git a/apps/web/src/components/app-sidebar.tsx b/apps/web/src/components/app-sidebar.tsxindex 7569bbd99..815cb8302 100644--- a/apps/web/src/components/app-sidebar.tsx+++ b/apps/web/src/components/app-sidebar.tsx@@ -2,17 +2,16 @@ import type * as React from "react";import { NavMain } from "@/components/nav-main";import { NavProjects } from "@/components/nav-projects";-import { NavUser } from "@/components/nav-user";import {Sidebar,SidebarContent,- SidebarFooter,SidebarHeader,useSidebar,} from "@/components/ui/sidebar";import { WorkspaceSwitcher } from "@/components/workspace-switcher";import { shortcuts } from "@/constants/shortcuts";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";+import Search from "./search";export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {const { toggleSidebar } = useSidebar();@@ -27,16 +26,14 @@ export function AppSidebar({ ...props }: React.ComponentProps<typeof Sidebar>) {return (<Sidebar collapsible="offcanvas" className="border-none pt-3" {...props}>- <SidebarHeader>+ <SidebarHeader className="pt-0"><WorkspaceSwitcher /></SidebarHeader>- <SidebarContent>+ <SidebarContent className="overflow-hidden">+ <Search /><NavMain /><NavProjects /></SidebarContent>- <SidebarFooter>- <NavUser />- </SidebarFooter></Sidebar>);}diff --git a/apps/web/src/components/auth/layout.tsx b/apps/web/src/components/auth/layout.tsxindex 075e31027..040780c7f 100644--- a/apps/web/src/components/auth/layout.tsx+++ b/apps/web/src/components/auth/layout.tsx@@ -1,33 +1,30 @@-import { motion } from "framer-motion";import { Logo } from "../common/logo";interface AuthLayoutProps {children: React.ReactNode;title: string;- subtitle: string;+ subtitle?: string;}export function AuthLayout({ children, title, subtitle }: AuthLayoutProps) {return (<div className="min-h-screen w-full bg-linear-to-b from-zinc-100 to-white dark:from-zinc-900 dark:to-zinc-950 flex flex-col items-center justify-center p-4">- <motion.div- initial={{ opacity: 0, y: 20 }}- animate={{ opacity: 1, y: 0 }}- className="w-full max-w-sm"- >+ <div className="w-full max-w-sm"><Logo className="mx-auto mb-6 w-full flex items-end justify-center" /><div className="bg-white/50 dark:bg-zinc-900/50 backdrop-blur-xl rounded-xl border border-zinc-200/50 dark:border-zinc-800/50 p-6 shadow-xl shadow-zinc-200/20 dark:shadow-zinc-950/20">- <h1 className="text-xl text-center font-bold text-zinc-900 dark:text-zinc-100 mb-2">+ <h1 className="text-lg font-bold text-foreground dark:text-foreground mb-2">{title}</h1>- <p className="text-center text-zinc-600 dark:text-zinc-400 text-sm">- {subtitle}- </p>+ {subtitle && (+ <p className="text-sm text-muted-foreground dark:text-muted-foreground">+ {subtitle}+ </p>+ )}{children}</div>- </motion.div>+ </div></div>);}diff --git a/apps/web/src/components/auth/magic-link-sign-in-form.tsx b/apps/web/src/components/auth/magic-link-sign-in-form.tsxnew file mode 100644index 000000000..b265a2b03--- /dev/null+++ b/apps/web/src/components/auth/magic-link-sign-in-form.tsx@@ -0,0 +1,98 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useNavigate } from "@tanstack/react-router";+import { useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod/v4";+import { Button } from "@/components/ui/button";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import { authClient } from "@/lib/auth-client";++export type MagicLinkSignInFormValues = {+ email: string;+};++const magicLinkSchema = z.object({+ email: z.email(),+});++export function MagicLinkSignInForm() {+ const [isPending, setIsPending] = useState(false);+ const navigate = useNavigate();+ const form = useForm<MagicLinkSignInFormValues>({+ resolver: standardSchemaResolver(magicLinkSchema),+ defaultValues: {+ email: "",+ },+ });++ const onSubmit = async (data: MagicLinkSignInFormValues) => {+ setIsPending(true);+ try {+ const result = await authClient.signIn.magicLink({+ email: data.email,+ callbackURL: `${import.meta.env.VITE_CLIENT_URL}/profile-setup`,+ });++ if (result.error) {+ toast.error(result.error.message || "Failed to send magic link");+ return;+ }++ toast.success("Magic link sent! Check your email to sign in.");+ navigate({+ to: "/auth/check-email",+ search: { email: data.email },+ });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to send magic link",+ );+ } finally {+ setIsPending(false);+ }+ };++ return (+ <Form {...form}>+ <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-3">+ <div className="space-y-3">+ <FormField+ control={form.control}+ name="email"+ render={({ field, fieldState }) => (+ <FormItem>+ <FormLabel className="text-sm font-medium">Email</FormLabel>+ <FormControl>+ <Input+ placeholder="[email protected]"+ type="email"+ autoComplete="email"+ {...field}+ />+ </FormControl>+ <FormMessage>{fieldState.error?.message}</FormMessage>+ </FormItem>+ )}+ />+ </div>++ <Button+ type="submit"+ disabled={isPending}+ className="w-full mt-4 text-white"+ >+ {isPending ? "Sending..." : "Send Magic Link"}+ </Button>+ </form>+ </Form>+ );+}diff --git a/apps/web/src/components/auth/sign-in-form-skeleton.tsx b/apps/web/src/components/auth/sign-in-form-skeleton.tsxnew file mode 100644index 000000000..668488380--- /dev/null+++ b/apps/web/src/components/auth/sign-in-form-skeleton.tsx@@ -0,0 +1,36 @@+import { Skeleton } from "@/components/ui/skeleton";++export function SignInFormSkeleton() {+ return (+ <div className="space-y-4 mt-6">+ <div className="flex flex-col gap-2">+ <Skeleton className="h-10 w-full" />+ <Skeleton className="h-9 w-full" />+ </div>++ <div className="flex items-center gap-4 my-4">+ <div className="flex-1 h-px bg-border" />+ <span className="text-sm text-muted-foreground">or</span>+ <div className="flex-1 h-px bg-border" />+ </div>++ <div className="space-y-3">+ <div className="space-y-3">+ <div className="space-y-2">+ <Skeleton className="h-4 w-12" />+ <Skeleton className="h-10 w-full" />+ </div>+ <div className="space-y-2">+ <Skeleton className="h-4 w-16" />+ <Skeleton className="h-10 w-full" />+ </div>+ </div>+ <Skeleton className="h-9 w-full mt-4" />+ </div>++ <div className="text-center">+ <Skeleton className="h-4 w-48 mx-auto" />+ </div>+ </div>+ );+}diff --git a/apps/web/src/components/auth/sign-in-form.tsx b/apps/web/src/components/auth/sign-in-form.tsxindex 88cf77f9a..cb2405ded 100644--- a/apps/web/src/components/auth/sign-in-form.tsx+++ b/apps/web/src/components/auth/sign-in-form.tsx@@ -1,3 +1,10 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useRouter } from "@tanstack/react-router";+import { Eye, EyeOff } from "lucide-react";+import { useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod/v4";import { Button } from "@/components/ui/button";import {Form,@@ -9,13 +16,6 @@ import {} from "@/components/ui/form";import { Input } from "@/components/ui/input";import { authClient } from "@/lib/auth-client";-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import { useRouter } from "@tanstack/react-router";-import { Eye, EyeOff } from "lucide-react";-import { useState } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";export type SignInFormValues = {email: string;@@ -75,7 +75,7 @@ export function SignInForm() {<FormLabel className="text-sm font-medium">Email</FormLabel><FormControl><Input- placeholder="[email protected]"+ placeholder="[email protected]"type="email"autoComplete="email"{...field}@@ -119,7 +119,12 @@ export function SignInForm() {/></div>- <Button type="submit" disabled={isPending} className="w-full mt-4">+ <Button+ type="submit"+ disabled={isPending}+ size="sm"+ className="w-full mt-4 text-white"+ >{isPending ? "Signing In..." : "Sign In"}</Button></form>diff --git a/apps/web/src/components/auth/sign-up-form.tsx b/apps/web/src/components/auth/sign-up-form.tsxindex 4cf9281de..3e7a22a70 100644--- a/apps/web/src/components/auth/sign-up-form.tsx+++ b/apps/web/src/components/auth/sign-up-form.tsx@@ -1,3 +1,10 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useRouter } from "@tanstack/react-router";+import { Eye, EyeOff } from "lucide-react";+import { useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod/v4";import { Button } from "@/components/ui/button";import {Form,@@ -9,13 +16,6 @@ import {} from "@/components/ui/form";import { Input } from "@/components/ui/input";import { authClient } from "@/lib/auth-client";-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import { useRouter } from "@tanstack/react-router";-import { Eye, EyeOff } from "lucide-react";-import { useState } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";export type SignUpFormValues = {email: string;@@ -98,7 +98,7 @@ export function SignUpForm() {<FormLabel className="text-sm font-medium">Email</FormLabel><FormControl><Input- placeholder="[email protected]"+ placeholder="[email protected]"type="email"autoComplete="email"{...field}@@ -142,7 +142,11 @@ export function SignUpForm() {/></div>- <Button type="submit" disabled={isPending} className="w-full mt-4">+ <Button+ type="submit"+ disabled={isPending}+ className="w-full mt-4 text-white"+ >{isPending ? "Creating Account..." : "Create Account"}</Button></form>diff --git a/apps/web/src/components/auth/toggle.tsx b/apps/web/src/components/auth/toggle.tsxindex f88d5fd3f..10b15b841 100644--- a/apps/web/src/components/auth/toggle.tsx+++ b/apps/web/src/components/auth/toggle.tsx@@ -1,5 +1,5 @@-import useGetConfig from "@/hooks/queries/config/use-get-config";import { Link } from "@tanstack/react-router";+import useGetConfig from "@/hooks/queries/config/use-get-config";interface AuthToggleProps {message: string;@@ -15,7 +15,7 @@ export function AuthToggle({ message, linkText, linkTo }: AuthToggleProps) {}return (- <div className="text-center text-sm">+ <div className="text-center text-sm text-muted-foreground">{message}{" "}<Linkto={linkTo}diff --git a/apps/web/src/components/backlog-list-view/backlog-task-row.tsx b/apps/web/src/components/backlog-list-view/backlog-task-row.tsxindex 99cddb382..d0137c202 100644--- a/apps/web/src/components/backlog-list-view/backlog-task-row.tsx+++ b/apps/web/src/components/backlog-list-view/backlog-task-row.tsx@@ -1,14 +1,18 @@-import { priorityColorsTaskCard } from "@/constants/priority-colors";+import { useSortable } from "@dnd-kit/sortable";+import { CSS } from "@dnd-kit/utilities";+import { useNavigate } from "@tanstack/react-router";+import { format } from "date-fns";+import { Calendar, CalendarClock, CalendarX } from "lucide-react";+import { type CSSProperties, useMemo } from "react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";import { cn } from "@/lib/cn";import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";+import { getPriorityIcon } from "@/lib/priority";import useProjectStore from "@/store/project";import { useUserPreferencesStore } from "@/store/user-preferences";import type Task from "@/types/task";-import { useSortable } from "@dnd-kit/sortable";-import { CSS } from "@dnd-kit/utilities";-import { useNavigate } from "@tanstack/react-router";-import { format } from "date-fns";-import { Calendar, CalendarClock, CalendarX, Flag, User } from "lucide-react";import TaskCardContextMenuContent from "../kanban-board/task-card-context-menu/task-card-context-menu-content";import TaskCardLabels from "../kanban-board/task-labels";import { ContextMenu, ContextMenuTrigger } from "../ui/context-menu";@@ -29,6 +33,7 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {} = useSortable({ id: task.id });const { project } = useProjectStore();+ const { data: workspace } = useActiveWorkspace();const {showAssignees,showPriority,@@ -37,7 +42,17 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {showTaskNumbers,} = useUserPreferencesStore();- const style = {+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(+ workspace?.id ?? "",+ );++ const assignee = useMemo(() => {+ return workspaceUsers?.members?.find(+ (member) => member.userId === task.userId,+ );+ }, [workspaceUsers, task.userId]);++ const style: CSSProperties = {transform: CSS.Transform.toString(transform),transition:transition || "transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94)",@@ -75,6 +90,7 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {><ContextMenu><ContextMenuTrigger asChild>+ {/* biome-ignore lint/a11y/noStaticElementInteractions: false positive for onClick and onKeyDown */}<divonClick={handleClick}onKeyDown={handleKeyDown}@@ -82,27 +98,17 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {{...attributes}{...listeners}>- {/* Task ID */}- {showTaskNumbers && (- <div className="text-xs font-mono text-zinc-400 dark:text-zinc-500 w-16 flex-shrink-0">- {project?.slug}-{task.number}+ {showPriority && (+ <div className="flex-shrink-0 first:[&_svg]:h-4 first:[&_svg]:w-4">+ {getPriorityIcon(task.priority ?? "")}</div>)}-- {showPriority && (- <div className="flex-shrink-0">- <Flag- className={cn(- "w-3 h-3",- priorityColorsTaskCard[- task.priority as keyof typeof priorityColorsTaskCard- ],- )}- />+ {showTaskNumbers && (+ <div className="text-xs font-mono text-zinc-400 dark:text-zinc-500 flex-shrink-0">+ {project?.slug}-{task.number}</div>)}- {/* Task Title and Labels */}<div className="flex-1 min-w-0 flex items-center gap-2"><div className="flex items-center gap-2 justify-between w-full"><span className="text-sm text-zinc-900 dark:text-zinc-100 truncate">@@ -116,13 +122,9 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {</div></div>- {/* Due Date */}{showDueDates && task.dueDate && (<div- className={cn(- "flex items-center gap-1 text-xs px-1.5 py-0.5 rounded flex-shrink-0",- dueDateStatusColors[getDueDateStatus(task.dueDate)],- )}+ className={`flex items-center gap-1 text-[10px] px-2 py-1 rounded flex-shrink-0 ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}>{getDueDateStatus(task.dueDate) === "overdue" && (<CalendarX className="w-3 h-3" />@@ -138,26 +140,39 @@ export default function BacklogTaskRow({ task }: BacklogTaskRowProps) {</div>)}- {/* Assignee */}{showAssignees && (- <div className="flex items-center gap-1.5 text-xs text-zinc-500 dark:text-zinc-400 flex-shrink-0">- <User className="w-3 h-3" />- <span className="truncate max-w-[100px]">- {task.assigneeName ||- task.userId?.split("@")[0] ||- "Unassigned"}- </span>+ <div className="flex-shrink-0">+ {task.userId ? (+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={assignee?.user?.image ?? ""}+ alt={assignee?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {assignee?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ ) : (+ <div+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium text-muted-foreground">+ ?+ </span>+ </div>+ )}</div>)}</div></ContextMenuTrigger>- {project && (+ {project && workspace && (<TaskCardContextMenuContenttask={task}taskCardContext={{projectId: project.id,- worskpaceId: project.workspaceId,+ worskpaceId: workspace.id,}}/>)}diff --git a/apps/web/src/components/backlog-list-view/index.tsx b/apps/web/src/components/backlog-list-view/index.tsxindex c3f1dfff0..1d9974b42 100644--- a/apps/web/src/components/backlog-list-view/index.tsx+++ b/apps/web/src/components/backlog-list-view/index.tsx@@ -1,10 +1,5 @@-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import { cn } from "@/lib/cn";-import toKebabCase from "@/lib/to-kebab-case";-import type { ProjectWithTasks } from "@/types/project";-import type Task from "@/types/task";import {+ closestCorners,DndContext,type DragEndEvent,type DragOverEvent,@@ -14,7 +9,6 @@ import {MouseSensor,TouchSensor,type UniqueIdentifier,- closestCorners,useDroppable,useSensor,useSensors,@@ -24,9 +18,16 @@ import {SortableContext,verticalListSortingStrategy,} from "@dnd-kit/sortable";+import { produce } from "immer";import { Archive, ChevronRight, Clock, Flag, Plus } from "lucide-react";import { useState } from "react";-import { toast } from "sonner";+import { priorityColorsTaskCard } from "@/constants/priority-colors";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import { cn } from "@/lib/cn";+import toKebabCase from "@/lib/to-kebab-case";+import useProjectStore from "@/store/project";+import type { ProjectWithTasks } from "@/types/project";+import type Task from "@/types/task";import CreateTaskModal from "../shared/modals/create-task-modal";import BacklogTaskRow from "./backlog-task-row";@@ -36,6 +37,7 @@ interface BacklogListViewProps {function BacklogListView({ project }: BacklogListViewProps) {const { mutate: updateTask } = useUpdateTask();+ const { setProject } = useProjectStore();const [activeId, setActiveId] = useState<UniqueIdentifier | null>(null);const [overColumnId, setOverColumnId] = useState<string | null>(null);const [expandedSections, setExpandedSections] = useState<@@ -118,14 +120,83 @@ function BacklogListView({ project }: BacklogListViewProps) {}}- if (activeTask.status === targetSection) return;+ const updatedProject = produce(project, (draft) => {+ const sourceSection =+ activeTask.status === "planned"+ ? draft.plannedTasks || []+ : draft.archivedTasks || [];++ const sourceTaskIndex = sourceSection.findIndex(+ (task) => task.id === activeTaskId,+ );+ const task = sourceSection[sourceTaskIndex];- updateTask({- ...activeTask,- status: targetSection,+ if (!task) return;++ if (activeTask.status === "planned") {+ draft.plannedTasks =+ draft.plannedTasks?.filter((t) => t.id !== activeTaskId) || [];+ } else {+ draft.archivedTasks =+ draft.archivedTasks?.filter((t) => t.id !== activeTaskId) || [];+ }++ if (activeTask.status === targetSection) {+ const targetSectionTasks =+ activeTask.status === "planned"+ ? draft.plannedTasks || []+ : draft.archivedTasks || [];++ let destinationIndex = targetSectionTasks.findIndex(+ (t) => t.id === overId,+ );++ if (sourceTaskIndex <= destinationIndex) {+ destinationIndex += 1;+ }++ if (activeTask.status === "planned") {+ draft.plannedTasks?.splice(destinationIndex, 0, task);+ } else {+ draft.archivedTasks?.splice(destinationIndex, 0, task);+ }++ const finalTasks =+ activeTask.status === "planned"+ ? draft.plannedTasks || []+ : draft.archivedTasks || [];++ finalTasks.forEach((t, index) => {+ updateTask({+ ...t,+ position: index + 1,+ });+ });+ } else {+ task.status = targetSection;++ if (targetSection === "planned") {+ draft.plannedTasks = [...(draft.plannedTasks || []), task];+ } else {+ draft.archivedTasks = [...(draft.archivedTasks || []), task];+ }++ const updatedTasks =+ targetSection === "planned"+ ? draft.plannedTasks || []+ : draft.archivedTasks || [];++ updatedTasks.forEach((t, index) => {+ updateTask({+ ...t,+ status: targetSection,+ position: index + 1,+ });+ });+ }});- toast.success(`Task moved to ${targetSection}`);+ setProject(updatedProject);};const toggleSection = (sectionId: string) => {@@ -166,7 +237,6 @@ function BacklogListView({ project }: BacklogListViewProps) {"border-l-4 border-l-indigo-500 dark:border-l-indigo-400 bg-indigo-50/30 dark:bg-indigo-950/10",)}>- {/* Header */}<div className="flex items-center justify-between py-2 px-4 bg-zinc-100/60 dark:bg-zinc-800/20 border-b border-zinc-200/50 dark:border-zinc-800/30"><buttontype="button"@@ -207,7 +277,6 @@ function BacklogListView({ project }: BacklogListViewProps) {</div></div>- {/* Tasks */}{expandedSections[sectionId] && (<div ref={setNodeRef} className="bg-white dark:bg-transparent"><SortableContextdiff --git a/apps/web/src/components/command-palette/index.tsx b/apps/web/src/components/command-palette/index.tsxindex 0335c8980..dae651971 100644--- a/apps/web/src/components/command-palette/index.tsx+++ b/apps/web/src/components/command-palette/index.tsx@@ -1,3 +1,15 @@+import { useNavigate } from "@tanstack/react-router";+import {+ FolderKanban,+ LayoutDashboard,+ Monitor,+ Moon,+ Plus,+ Search,+ Sun,+ Users,+} from "lucide-react";+import { useState } from "react";import SearchCommandMenu from "@/components/search-command-menu";import CreateTaskModal from "@/components/shared/modals/create-task-modal";import CreateWorkspaceModal from "@/components/shared/modals/create-workspace-modal";@@ -11,28 +23,15 @@ import {} from "@/components/ui/command";import { KbdSequence } from "@/components/ui/kbd";import { shortcuts } from "@/constants/shortcuts";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";import { useUserPreferencesStore } from "@/store/user-preferences";-import useWorkspaceStore from "@/store/workspace";-import { useNavigate } from "@tanstack/react-router";-import {- FolderKanban,- LayoutDashboard,- Monitor,- Moon,- Plus,- Search,- Settings,- Sun,- Users,-} from "lucide-react";-import { useState } from "react";import CreateProjectModal from "../shared/modals/create-project-modal";function CommandPalette() {const { theme, setTheme } = useUserPreferencesStore();const navigate = useNavigate();- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const [open, setOpen] = useState(false);const [isSearchOpen, setIsSearchOpen] = useState(false);const [isCreateTaskOpen, setIsCreateTaskOpen] = useState(false);@@ -87,6 +86,7 @@ function CommandPalette() {<KbdSequencekeys={[shortcuts.task.prefix, shortcuts.task.create]}className="ml-auto"+ description="Create task"/></CommandItem><CommandItem@@ -101,6 +101,7 @@ function CommandPalette() {<KbdSequencekeys={[shortcuts.project.prefix, shortcuts.project.create]}className="ml-auto"+ description="Create project"/></CommandItem><CommandItem@@ -115,6 +116,7 @@ function CommandPalette() {<KbdSequencekeys={[shortcuts.workspace.prefix, shortcuts.workspace.create]}className="ml-auto"+ description="Create workspace"/></CommandItem></CommandGroup>@@ -145,6 +147,7 @@ function CommandPalette() {<KbdSequencekeys={[shortcuts.search.prefix]}className="ml-auto"+ description="Search"/></CommandItem><CommandItem@@ -160,7 +163,7 @@ function CommandPalette() {<Users className="mr-2 h-4 w-4" /><span>Members</span></CommandItem>- <CommandItem+ {/* <CommandItemonSelect={() =>runCommand(() =>navigate({@@ -172,7 +175,7 @@ function CommandPalette() {><Settings className="mr-2 h-4 w-4" /><span>Settings</span>- </CommandItem>+ </CommandItem> */}</CommandGroup><CommandGroup heading="Theme">diff --git a/apps/web/src/components/common/editor.tsx b/apps/web/src/components/common/editor.tsxdeleted file mode 100644index aa34bc080..000000000--- a/apps/web/src/components/common/editor.tsx+++ /dev/null@@ -1,354 +0,0 @@-import { cn } from "@/lib/cn";-import Highlight from "@tiptap/extension-highlight";-import Link from "@tiptap/extension-link";-import Placeholder from "@tiptap/extension-placeholder";-import TaskItem from "@tiptap/extension-task-item";-import TaskList from "@tiptap/extension-task-list";-import {- EditorContent,- type Editor as TiptapEditor,- useEditor,-} from "@tiptap/react";-import StarterKit from "@tiptap/starter-kit";-import {- Bold,- CheckSquare,- ChevronDown,- Code,- HighlighterIcon,- Italic,- Link2,- List,- ListOrdered,- Quote,- Strikethrough,- Type,-} from "lucide-react";-import { useEffect, useRef, useState } from "react";-import { Markdown } from "tiptap-markdown";--interface EditorProps {- value: string;- onChange: (value: string) => void;- placeholder?: string;-}--const TEXT_OPTIONS = [- {- label: "Normal text",- value: "paragraph",- icon: <Type className="w-4 h-4" />,- },- {- label: "Heading 1",- value: "h1",- icon: <span className="text-sm">H1</span>,- },- {- label: "Heading 2",- value: "h2",- icon: <span className="text-sm">H2</span>,- },-];--export function Editor({- value,- onChange,- placeholder = "Write something...",-}: EditorProps) {- const [isTextMenuOpen, setIsTextMenuOpen] = useState(false);- const menuRef = useRef<HTMLDivElement>(null);-- const editor = useEditor({- editorProps: {- attributes: {- class: "h-full flex-1",- },- },- parseOptions: {- preserveWhitespace: "full",- },- extensions: [- StarterKit.configure({- heading: {- levels: [1, 2],- HTMLAttributes: {- class: "text-zinc-900 dark:text-zinc-100",- },- },- codeBlock: {- HTMLAttributes: {- class:- "block rounded-md bg-zinc-100 dark:bg-zinc-900 p-4 font-mono text-sm text-zinc-900 dark:text-zinc-200 my-4",- },- },- blockquote: {- HTMLAttributes: {- class: "border-l-4 border-zinc-300 dark:border-zinc-700 pl-4",- },- },- orderedList: {- HTMLAttributes: {- class: "list-decimal pl-6",- },- },- bulletList: {- HTMLAttributes: {- class: "list-disc pl-6",- },- },- }),- Link.configure({- openOnClick: true,- autolink: true,- defaultProtocol: "https",- HTMLAttributes: {- class:- "text-indigo-600 dark:text-indigo-400 underline cursor-pointer hover:text-indigo-800 dark:hover:text-indigo-300",- },- }),- Highlight.configure({- HTMLAttributes: {- class:- "bg-indigo-100 text-indigo-900 dark:bg-indigo-500/20 dark:text-indigo-300 rounded-sm px-1",- },- }),- TaskList.configure({- HTMLAttributes: {- class: "not-prose pl-2",- },- }),- TaskItem.configure({- nested: true,- HTMLAttributes: {- class: "flex gap-2 items-start",- },- }),- Markdown.configure({- html: true,- tightLists: true,- linkify: true,- breaks: true,- transformPastedText: true,- transformCopiedText: true,- }),- Placeholder.configure({- placeholder,- }),- ],- onSelectionUpdate: ({ editor }) => {- editor.commands.focus();- },- content: value,- onUpdate: ({ editor }: { editor: TiptapEditor }) => {- const markdown = editor.storage.markdown.getMarkdown();- onChange(markdown);- },- });-- useEffect(() => {- function handleClickOutside(event: MouseEvent) {- if (menuRef.current && !menuRef.current.contains(event.target as Node)) {- setIsTextMenuOpen(false);- }- }-- document.addEventListener("mousedown", handleClickOutside);- return () => document.removeEventListener("mousedown", handleClickOutside);- }, []);-- useEffect(() => {- if (editor && value !== editor.storage.markdown.getMarkdown()) {- editor.commands.setContent(value);- }- }, [value, editor]);-- const getCurrentTextStyle = () => {- if (!editor) return TEXT_OPTIONS[0];- if (editor.isActive("heading", { level: 1 })) return TEXT_OPTIONS[1];- if (editor.isActive("heading", { level: 2 })) return TEXT_OPTIONS[2];- return TEXT_OPTIONS[0];- };-- if (!editor) {- return null;- }-- return (- <div className="prose prose-zinc dark:prose-invert max-w-none [&_.is-editor-empty]:text-zinc-500 [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mt-8 [&_h1]:mb-4 [&_h2]:text-xl [&_h2]:font-semibold [&_h2]:mt-6 [&_h2]:mb-3 flex flex-col h-full">- <div className="flex flex-wrap gap-1 p-3 border-b border-zinc-200 dark:border-zinc-800 flex-shrink-0 bg-zinc-100 dark:bg-zinc-800/30">- <div className="relative" ref={menuRef}>- <button- type="button"- onClick={() => setIsTextMenuOpen(!isTextMenuOpen)}- className={cn(- "flex items-center gap-2 p-1.5 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors",- isTextMenuOpen && "bg-zinc-100 dark:bg-zinc-800",- )}- >- {getCurrentTextStyle().icon}- <span className="text-sm text-zinc-600 dark:text-zinc-400">- {getCurrentTextStyle().label}- </span>- <ChevronDown className="w-4 h-4 text-zinc-500 dark:text-zinc-400" />- </button>-- {isTextMenuOpen && (- <div className="absolute z-50 w-40 mt-1 py-1 rounded-md shadow-lg bg-white dark:bg-zinc-800 border border-zinc-200 dark:border-zinc-700">- {TEXT_OPTIONS.map((option) => (- <button- key={option.value}- type="button"- onClick={() => {- if (option.value === "paragraph") {- editor.chain().focus().setParagraph().run();- } else if (option.value === "h1") {- editor.chain().focus().toggleHeading({ level: 1 }).run();- } else if (option.value === "h2") {- editor.chain().focus().toggleHeading({ level: 2 }).run();- }- setIsTextMenuOpen(false);- }}- className={cn(- "w-full flex items-center gap-2 px-3 py-1.5 text-sm",- "hover:bg-zinc-100 dark:hover:bg-zinc-700",- (option.value === "paragraph" &&- editor.isActive("paragraph")) ||- (option.value === "h1" &&- editor.isActive("heading", { level: 1 })) ||- (option.value === "h2" &&- editor.isActive("heading", { level: 2 }))- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-300",- )}- >- {option.icon}- <span className="flex-1 text-left">{option.label}</span>- </button>- ))}- </div>- )}- </div>- <div className="w-px h-6 mx-1 bg-zinc-200 dark:bg-zinc-800" />- <button- type="button"- onClick={() => editor.chain().focus().toggleBold().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("bold") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Bold className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleItalic().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("italic") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Italic className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleStrike().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("strike") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Strikethrough className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleHighlight().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("highlight") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <HighlighterIcon className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <div className="w-px h-6 mx-1 bg-zinc-200 dark:bg-zinc-800" />- <button- type="button"- onClick={() => editor.chain().focus().toggleBulletList().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("bulletList") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <List className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleOrderedList().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("orderedList") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <ListOrdered className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleTaskList().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("taskList") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <CheckSquare className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <div className="w-px h-6 mx-1 bg-zinc-200 dark:bg-zinc-800" />- <button- type="button"- onClick={() => editor.chain().focus().toggleBlockquote().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("blockquote") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Quote className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <button- type="button"- onClick={() => editor.chain().focus().toggleCode().run()}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("code") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Code className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- <div className="w-px h-6 mx-1 bg-zinc-200 dark:bg-zinc-800" />- <button- type="button"- onClick={() => {- const url = window.prompt("Enter URL:");- if (url) {- editor.chain().focus().setLink({ href: url }).run();- }- }}- className={cn(- "p-1.5 rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800",- editor.isActive("link") && "bg-zinc-100 dark:bg-zinc-800",- )}- >- <Link2 className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />- </button>- </div>- {/* biome-ignore lint/a11y/useKeyWithClickEvents: It adds two characters to the editor */}- <div- className="flex-1 overflow-y-auto cursor-text"- onClick={() => editor.chain().focus().run()}- >- <EditorContent- editor={editor}- className="h-full [&_*]:focus:outline-none px-3 py-3 [&_.ProseMirror]:min-h-full [&_.ProseMirror]:cursor-text"- />- </div>- </div>- );-}diff --git a/apps/web/src/components/common/layout.tsx b/apps/web/src/components/common/layout.tsxindex 59acfb9ea..e280b1556 100644--- a/apps/web/src/components/common/layout.tsx+++ b/apps/web/src/components/common/layout.tsx@@ -1,47 +1,50 @@+import type React from "react";+import type { ReactNode } from "react";import { AppSidebar } from "@/components/app-sidebar";import { DemoAlert } from "@/components/demo-alert";import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";import { isDemoMode } from "@/constants/urls";import { useUserPreferencesEffects } from "@/hooks/use-user-preferences-effects";+import { cn } from "@/lib/cn";import { useUserPreferencesStore } from "@/store/user-preferences";-import { motion } from "framer-motion";-import type { ReactNode } from "react";-import type React from "react";interface LayoutProps {children: ReactNode;+ className?: string;}interface HeaderProps {children: ReactNode;+ className?: string;}interface ContentProps {children: ReactNode;+ className?: string;}-function LayoutHeader({ children }: HeaderProps) {+function LayoutHeader({ children, className }: HeaderProps) {return (- <motion.header- initial={{ opacity: 0, y: -20 }}- animate={{ opacity: 1, y: 0 }}- transition={{ duration: 0.3 }}- className="flex h-10 shrink-0 gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-8 border-b border-border bg-card p-2"+ <header+ className={cn(+ "flex h-10 shrink-0 gap-2 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-8 border-b border-border bg-card p-2",+ className,+ )}>{children}- </motion.header>+ </header>);}-function LayoutContent({ children }: ContentProps) {+function LayoutContent({ children, className }: ContentProps) {return (- <div className="flex-1 min-h-0">+ <div className={cn("flex-1 min-h-0", className)}><div className="h-full">{children}</div></div>);}-function Layout({ children }: LayoutProps) {+function Layout({ children, className }: LayoutProps) {const { sidebarDefaultOpen } = useUserPreferencesStore();useUserPreferencesEffects();@@ -58,7 +61,12 @@ function Layout({ children }: LayoutProps) {}><AppSidebar />- <SidebarInset className="flex-1 flex flex-col overflow-auto bg-card border border-border rounded-md m-2">+ <SidebarInset+ className={cn(+ "flex-1 flex flex-col overflow-auto bg-card border border-border rounded-md m-2",+ className,+ )}+ >{isDemoMode && <DemoAlert />}{children}</SidebarInset>diff --git a/apps/web/src/components/common/logo.tsx b/apps/web/src/components/common/logo.tsxindex 88dd132b0..c984a09f3 100644--- a/apps/web/src/components/common/logo.tsx+++ b/apps/web/src/components/common/logo.tsx@@ -1,31 +1,63 @@-import useProjectStore from "@/store/project";-import useWorkspaceStore from "@/store/workspace";import { Link } from "@tanstack/react-router";-import { LayoutGrid } from "lucide-react";+import useProjectStore from "@/store/project";interface LogoProps {className?: string;}export function Logo({ className = "" }: LogoProps) {- const { setWorkspace } = useWorkspaceStore();const { setProject } = useProjectStore();return (<LinkonClick={() => {- setWorkspace(undefined);setProject(undefined);}}to="/dashboard"- className={`flex items-center gap-2 ${className}`}+ className={`w-auto ${className}`}>- <div className="p-1.5">- <LayoutGrid className="w-5 h-5 text-indigo-600 dark:text-indigo-400" />- </div>- <span className="text-lg text-zinc-900 dark:text-white font-semibold">- Kaneo- </span>+ <svg+ width="450"+ height="104"+ viewBox="0 0 450 104"+ fill="none"+ xmlns="http://www.w3.org/2000/svg"+ className="h-6 w-auto text-[#1E1E1E] dark:text-white"+ >+ <title>Kaneo Logo</title>+ <path+ d="M14.6855 95.7242C10.5716 96.5957 8.00007 95.2652 8 93.6608L8 62.026C8 61.8601 8.00321 61.6857 8.00879 61.5065C8.00391 61.3845 8.00098 61.2484 8.00098 61.0973L8.00098 29.944C8.01499 28.6519 8.25865 27.7436 11.2588 27.108L25.3145 24.276C29.4283 23.4046 31.9997 24.7352 32 26.3395L32 57.9742C32 58.1404 31.9978 58.3153 31.9922 58.4948C31.997 58.6165 31.999 58.7522 31.999 58.903L31.999 90.0573C31.9849 91.3489 31.7407 92.2568 28.7412 92.8922L14.6855 95.7242Z"+ fill="#5463FF"+ />+ <path+ d="M46.6855 87.7238C42.5716 88.5952 40 87.2647 40 85.6603L40 54.0265C40 53.8607 40.0032 53.6861 40.0088 53.507C40.0039 53.3849 40.001 53.2491 40.001 53.0978L40.001 21.9445C40.015 20.6526 40.2589 19.7451 43.2588 19.1096L57.3145 16.2765C61.4285 15.4051 64 16.7366 64 18.341L64 49.9748C64 50.141 63.9978 50.3157 63.9922 50.4953C63.997 50.617 63.999 50.7528 63.999 50.9035L63.999 82.0568C63.9849 83.3485 63.7408 84.2564 60.7412 84.8918L46.6855 87.7238Z"+ fill="#5463FF"+ />+ <path+ d="M89.3145 8.27576C93.4284 7.40433 95.9999 8.73485 96 10.3392V21.184L78.0576 44.5013L95.999 66.7797V74.057C95.9849 75.3486 95.7407 76.2565 92.7412 76.892L78.6855 79.725C74.572 80.5963 72.0005 79.2647 72 77.6605V46.0258C72 45.8599 72.0032 45.6853 72.0088 45.5062C72.0039 45.3844 72.001 45.248 72.001 45.097V13.9427C72.0151 12.6511 72.2594 11.7432 75.2588 11.1078L89.3145 8.27576Z"+ fill="#5463FF"+ />+ <path+ d="M413.776 80C408.324 80 403.571 78.8698 399.515 76.6094C395.46 74.2826 392.302 71.0249 390.041 66.8366C387.781 62.6482 386.651 57.7285 386.651 52.0775C386.651 46.4266 387.781 41.5401 390.041 37.4183C392.302 33.2299 395.46 29.9723 399.515 27.6454C403.571 25.3185 408.324 24.1551 413.776 24.1551C419.227 24.1551 423.981 25.3185 428.036 27.6454C432.091 29.9723 435.249 33.2299 437.51 37.4183C439.77 41.5401 440.9 46.4266 440.9 52.0775C440.9 57.7285 439.77 62.6482 437.51 66.8366C435.249 71.0249 432.091 74.2826 428.036 76.6094C423.981 78.8698 419.227 80 413.776 80ZM413.776 68.5318C417.499 68.5318 420.391 67.1025 422.451 64.2438C424.512 61.3186 425.543 57.2631 425.543 52.0775C425.543 46.8919 424.512 42.8698 422.451 40.0111C420.391 37.0858 417.499 35.6232 413.776 35.6232C410.053 35.6232 407.161 37.0858 405.1 40.0111C403.039 42.8698 402.008 46.8919 402.008 52.0775C402.008 57.2631 403.039 61.3186 405.1 64.2438C407.161 67.1025 410.053 68.5318 413.776 68.5318Z"+ fill="currentColor"+ />+ <path+ d="M354.17 80C348.719 80 343.965 78.8698 339.91 76.6094C335.921 74.2826 332.796 71.0249 330.536 66.8366C328.342 62.6482 327.245 57.7285 327.245 52.0775C327.245 46.4266 328.342 41.5401 330.536 37.4183C332.796 33.2299 335.921 29.9723 339.91 27.6454C343.899 25.3185 348.619 24.1551 354.07 24.1551C359.389 24.1551 364.009 25.3185 367.932 27.6454C371.854 29.9723 374.879 33.2964 377.007 37.6177C379.201 41.939 380.298 47.0914 380.298 53.0748V56.0665H342.702C342.901 60.3213 344.032 63.4792 346.093 65.5402C348.22 67.6011 351.012 68.6316 354.469 68.6316C356.996 68.6316 359.09 68.0997 360.752 67.036C362.48 65.9723 363.71 64.3435 364.442 62.1496L379.5 63.0471C378.104 68.3656 375.145 72.5208 370.624 75.5125C366.104 78.5042 360.619 80 354.17 80ZM342.702 46.8919H364.94C364.741 42.9695 363.644 40.0443 361.649 38.1163C359.721 36.1883 357.195 35.2244 354.07 35.2244C350.946 35.2244 348.353 36.2548 346.292 38.3158C344.298 40.3102 343.101 43.169 342.702 46.8919Z"+ fill="currentColor"+ />+ <path+ d="M270.654 79.8001V25.1781H284.144L284.744 41.1774L282.845 40.6679C283.378 36.5916 284.444 33.3306 286.043 30.8849C287.708 28.4391 289.774 26.6727 292.239 25.5857C294.704 24.4987 297.402 23.9552 300.333 23.9552C304.197 23.9552 307.462 24.8044 310.126 26.5029C312.858 28.2013 314.923 30.6131 316.322 33.7383C317.788 36.7955 318.521 40.4301 318.521 44.6423V79.8001H303.531V49.7376C303.531 46.8163 303.298 44.3366 302.831 42.2984C302.365 40.2603 301.532 38.7317 300.333 37.7126C299.134 36.6256 297.468 36.0821 295.337 36.0821C292.205 36.0821 289.807 37.271 288.142 39.6488C286.476 41.9587 285.643 45.3217 285.643 49.7376V79.8001H270.654Z"+ fill="currentColor"+ />+ <path+ d="M227.085 80C221.567 80 217.046 78.7368 213.523 76.2105C210.066 73.6177 208.337 70.0277 208.337 65.4404C208.337 60.7202 209.8 57.0969 212.725 54.5706C215.717 51.9778 220.104 50.0831 225.888 48.8864L243.141 45.4958C243.141 42.0388 242.343 39.446 240.747 37.7174C239.218 35.9224 236.991 35.0249 234.066 35.0249C231.207 35.0249 228.98 35.6897 227.384 37.0194C225.789 38.2825 224.758 40.1773 224.293 42.7036L209.235 42.0055C210.232 36.1551 212.858 31.734 217.113 28.7423C221.434 25.6842 227.085 24.1551 234.066 24.1551C242.044 24.1551 248.027 26.0498 252.016 29.8393C256.071 33.6288 258.099 39.18 258.099 46.4931V64.7424C258.099 66.2715 258.332 67.3019 258.797 67.8338C259.329 68.2992 260.093 68.5318 261.091 68.5318H262.587V78.8033C262.121 78.9363 261.357 79.0693 260.293 79.2022C259.296 79.3352 258.298 79.4017 257.301 79.4017C255.174 79.4017 253.179 79.036 251.318 78.3047C249.523 77.5734 248.06 76.3435 246.93 74.615C245.8 72.8199 245.235 70.2936 245.235 67.036L246.531 68.0332C245.866 70.4266 244.67 72.5208 242.941 74.3158C241.279 76.1108 239.085 77.5069 236.359 78.5042C233.7 79.5014 230.609 80 227.085 80ZM230.675 69.7285C233.135 69.7285 235.296 69.2632 237.157 68.3324C239.019 67.3352 240.481 65.9058 241.545 64.0443C242.609 62.1828 243.141 59.9889 243.141 57.4626V54.8698L230.974 57.4626C228.581 57.928 226.753 58.7257 225.49 59.8559C224.293 60.9197 223.695 62.3158 223.695 64.0443C223.695 65.8393 224.293 67.2355 225.49 68.2327C226.686 69.2299 228.415 69.7285 230.675 69.7285Z"+ fill="currentColor"+ />+ <path+ d="M146 79.8006V8H161.082V39.3496L186.683 8H204.246L178.348 39.6529L205.834 79.8006H188.668L168.425 49.968L161.082 58.6649V79.8006H146Z"+ fill="currentColor"+ />+ </svg></Link>);}diff --git a/apps/web/src/components/common/markdown-renderer.tsx b/apps/web/src/components/common/markdown-renderer.tsxdeleted file mode 100644index 50183c0d9..000000000--- a/apps/web/src/components/common/markdown-renderer.tsx+++ /dev/null@@ -1,123 +0,0 @@-import Highlight from "@tiptap/extension-highlight";-import Link from "@tiptap/extension-link";-import TaskItem from "@tiptap/extension-task-item";-import TaskList from "@tiptap/extension-task-list";-import { EditorContent, useEditor } from "@tiptap/react";-import StarterKit from "@tiptap/starter-kit";-import { Markdown } from "tiptap-markdown";--interface MarkdownRendererProps {- content: string;- className?: string;-}--export function MarkdownRenderer({- content,- className = "",-}: MarkdownRendererProps) {- const editor = useEditor({- editable: false,- content,- extensions: [- StarterKit.configure({- heading: {- levels: [1, 2, 3, 4, 5, 6],- HTMLAttributes: {- class:- "text-zinc-900 dark:text-zinc-100 font-semibold leading-tight",- },- },- paragraph: {- HTMLAttributes: {- class: "text-zinc-700 dark:text-zinc-300 leading-relaxed",- },- },- codeBlock: {- HTMLAttributes: {- class:- "block rounded-md bg-zinc-100 dark:bg-zinc-800 p-4 font-mono text-sm text-zinc-900 dark:text-zinc-200 my-4",- },- },- code: {- HTMLAttributes: {- class:- "bg-zinc-100 dark:bg-zinc-800 text-zinc-900 dark:text-zinc-200 rounded px-1.5 py-0.5 font-mono text-sm",- },- },- blockquote: {- HTMLAttributes: {- class:- "border-l-4 border-zinc-300 dark:border-zinc-600 pl-4 italic text-zinc-600 dark:text-zinc-400",- },- },- orderedList: {- HTMLAttributes: {- class: "list-decimal pl-6 space-y-1",- },- },- bulletList: {- HTMLAttributes: {- class: "list-disc pl-6 space-y-1",- },- },- listItem: {- HTMLAttributes: {- class: "text-zinc-700 dark:text-zinc-300",- },- },- horizontalRule: {- HTMLAttributes: {- class: "border-zinc-300 dark:border-zinc-600 my-6",- },- },- }),- Link.configure({- openOnClick: true,- autolink: true,- defaultProtocol: "https",- HTMLAttributes: {- class:- "text-indigo-600 dark:text-indigo-400 underline cursor-pointer hover:text-indigo-800 dark:hover:text-indigo-300",- },- }),- Highlight.configure({- HTMLAttributes: {- class:- "bg-indigo-100 text-indigo-900 dark:bg-indigo-500/20 dark:text-indigo-300 rounded-sm px-1",- },- }),- TaskList.configure({- HTMLAttributes: {- class: "not-prose pl-2 space-y-1",- },- }),- TaskItem.configure({- nested: true,- HTMLAttributes: {- class: "flex gap-2 items-start",- },- }),- Markdown.configure({- html: true,- tightLists: true,- linkify: true,- breaks: true,- }),- ],- });-- if (!editor) {- return null;- }-- return (- <div- className={`prose prose-sm max-w-none dark:prose-invert prose-zinc [&_h1]:text-2xl [&_h1]:font-bold [&_h1]:mt-8 [&_h1]:mb-4 [&_h2]:text-xl [&_h2]:font-semibold [&_h2]:mt-6 [&_h2]:mb-3 [&_h3]:text-lg [&_h3]:font-semibold [&_h3]:mt-4 [&_h3]:mb-2 [&_h4]:text-base [&_h4]:font-semibold [&_h4]:mt-3 [&_h4]:mb-2 [&_h5]:text-sm [&_h5]:font-semibold [&_h5]:mt-2 [&_h5]:mb-1 [&_h6]:text-xs [&_h6]:font-semibold [&_h6]:mt-2 [&_h6]:mb-1 ${className}`}- >- <EditorContent- editor={editor}- className="[&_.ProseMirror]:outline-none [&_.ProseMirror]:border-none [&_.ProseMirror]:p-0"- />- </div>- );-}diff --git a/apps/web/src/components/common/project-layout.tsx b/apps/web/src/components/common/project-layout.tsxindex 6514a9786..08d9d1d0c 100644--- a/apps/web/src/components/common/project-layout.tsx+++ b/apps/web/src/components/common/project-layout.tsx@@ -1,3 +1,6 @@+import { useLocation, useNavigate } from "@tanstack/react-router";+import { SquareKanban, SquircleDashed } from "lucide-react";+import type { ReactNode } from "react";import Layout from "@/components/common/layout";import NotificationDropdown from "@/components/notification/notification-dropdown";import {@@ -7,6 +10,7 @@ import {BreadcrumbList,BreadcrumbSeparator,} from "@/components/ui/breadcrumb";+import { Button } from "@/components/ui/button";import { KbdSequence } from "@/components/ui/kbd";import { Separator } from "@/components/ui/separator";import { SidebarTrigger } from "@/components/ui/sidebar";@@ -18,13 +22,12 @@ import {} from "@/components/ui/tooltip";import { shortcuts } from "@/constants/shortcuts";import useGetProject from "@/hooks/queries/project/use-get-project";-import useWorkspaceStore from "@/store/workspace";-import type { ReactNode } from "react";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { cn } from "@/lib/cn";interface ProjectLayoutProps {projectId: string;workspaceId: string;- title: string;headerActions?: ReactNode;children: ReactNode;}@@ -32,65 +35,114 @@ interface ProjectLayoutProps {export default function ProjectLayout({projectId,workspaceId,- title,headerActions,children,}: ProjectLayoutProps) {- const { workspace } = useWorkspaceStore();+ const navigate = useNavigate();+ const location = useLocation();+ const { data: workspace } = useActiveWorkspace();const { data: project } = useGetProject({ id: projectId, workspaceId });+ const isBacklogRoute = location.pathname.includes("/backlog");+ const isBoardRoute = location.pathname.includes("/board");++ const handleNavigateToBacklog = () => {+ navigate({+ to: "/dashboard/workspace/$workspaceId/project/$projectId/backlog",+ params: { workspaceId, projectId },+ });+ };++ const handleNavigateToBoard = () => {+ navigate({+ to: "/dashboard/workspace/$workspaceId/project/$projectId/board",+ params: { workspaceId, projectId },+ });+ };+return (<Layout><Layout.Header><div className="flex items-center justify-between w-full">- <div className="flex items-center gap-1 w-full">- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>- <SidebarTrigger className="-ml-1 h-6 w-6" />- </TooltipTrigger>- <TooltipContent>- <p className="flex items-center gap-2 text-xs">- Toggle sidebar- <KbdSequence- keys={[- shortcuts.sidebar.prefix,- shortcuts.sidebar.toggle,- ]}- />- </p>- </TooltipContent>- </Tooltip>- </TooltipProvider>- <Separator- orientation="vertical"- className="mx-1.5 data-[orientation=vertical]:h-2.5"- />- <Breadcrumb className="flex items-center gap-1 text-xs w-full">- <BreadcrumbList>- <BreadcrumbItem>- <BreadcrumbLink href={`/dashboard/workspace/${workspaceId}`}>- <h1 className="text-xs text-card-foreground">- {workspace?.name}- </h1>- </BreadcrumbLink>- </BreadcrumbItem>- <BreadcrumbSeparator />- <BreadcrumbItem>- <BreadcrumbLink- href={`/dashboard/workspace/${workspaceId}/project/${projectId}/board`}- >- <h1 className="text-xs text-card-foreground">- {project?.name}- </h1>- </BreadcrumbLink>- </BreadcrumbItem>- <BreadcrumbSeparator />- <BreadcrumbItem>- <h1 className="text-xs text-card-foreground">{title}</h1>- </BreadcrumbItem>- </BreadcrumbList>- </Breadcrumb>+ <div className="flex items-center gap-5 w-full">+ <div className="flex items-center gap-1">+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <SidebarTrigger className="-ml-1 h-6 w-6 cursor-pointer text-muted-foreground" />+ </TooltipTrigger>+ <TooltipContent>+ <p className="flex items-center gap-2 text-[10px]">+ Toggle sidebar+ <KbdSequence+ keys={[+ shortcuts.sidebar.prefix,+ shortcuts.sidebar.toggle,+ ]}+ />+ </p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ <Separator+ orientation="vertical"+ className="mx-1.5 data-[orientation=vertical]:h-2.5"+ />+ <Breadcrumb className="flex items-center text-xs">+ <BreadcrumbList className="!gap-1">+ <BreadcrumbItem>+ <BreadcrumbLink+ href={`/dashboard/workspace/${workspaceId}`}+ >+ <h1 className="text-xs text-muted-foreground">+ {workspace?.name}+ </h1>+ </BreadcrumbLink>+ </BreadcrumbItem>+ <BreadcrumbSeparator />+ <BreadcrumbItem>+ <BreadcrumbLink+ href={`/dashboard/workspace/${workspaceId}/project/${projectId}/board`}+ >+ <h1 className="text-xs text-muted-foreground">+ {project?.name}+ </h1>+ </BreadcrumbLink>+ </BreadcrumbItem>+ </BreadcrumbList>+ </Breadcrumb>+ </div>++ <div className="flex items-center gap-2">+ <Button+ variant="outline"+ size="xs"+ onClick={handleNavigateToBacklog}+ className={cn(+ "gap-1.5 h-6 px-2 text-xs text-muted-foreground",+ isBacklogRoute && "text-black dark:text-white",+ )}+ >+ <SquircleDashed className="w-3 h-3" />+ Backlog+ </Button>+ <Button+ variant="outline"+ size="xs"+ onClick={handleNavigateToBoard}+ className="gap-1.5 h-6 px-2 text-xs text-muted-foreground"+ >+ <SquareKanban className="w-3 h-3" />+ <span+ className={cn(+ "text-xs text-muted-foreground",+ isBoardRoute && "text-black dark:text-white",+ )}+ >+ Tasks+ </span>+ </Button>+ </div></div><div className="flex items-center gap-1.5"><NotificationDropdown />diff --git a/apps/web/src/components/common/task-layout.tsx b/apps/web/src/components/common/task-layout.tsxnew file mode 100644index 000000000..4c6133670--- /dev/null+++ b/apps/web/src/components/common/task-layout.tsx@@ -0,0 +1,115 @@+import type { ReactNode } from "react";+import Layout from "@/components/common/layout";+import {+ Breadcrumb,+ BreadcrumbItem,+ BreadcrumbLink,+ BreadcrumbList,+ BreadcrumbSeparator,+} from "@/components/ui/breadcrumb";+import { KbdSequence } from "@/components/ui/kbd";+import { Separator } from "@/components/ui/separator";+import { SidebarTrigger } from "@/components/ui/sidebar";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import { shortcuts } from "@/constants/shortcuts";+import useGetProject from "@/hooks/queries/project/use-get-project";+import useGetTask from "@/hooks/queries/task/use-get-task";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";++interface TaskLayoutProps {+ taskId: string;+ projectId: string;+ workspaceId: string;+ headerActions?: ReactNode;+ children: ReactNode;+ rightSidebar?: ReactNode;+}++export default function TaskLayout({+ taskId,+ projectId,+ workspaceId,+ headerActions,+ children,+ rightSidebar,+}: TaskLayoutProps) {+ const { data: workspace } = useActiveWorkspace();+ const { data: project } = useGetProject({ id: projectId, workspaceId });+ const { data: task } = useGetTask(taskId);++ return (+ <Layout className="flex flex-row">+ <div className="flex-1">+ <Layout.Header className="sticky top-0 z-10">+ <div className="flex items-center justify-between w-full">+ <div className="flex items-center gap-1 w-full">+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <SidebarTrigger className="-ml-1 h-6 w-6 cursor-pointer text-muted-foreground" />+ </TooltipTrigger>+ <TooltipContent>+ <p className="flex items-center gap-2 text-[10px]">+ Toggle sidebar+ <KbdSequence+ keys={[+ shortcuts.sidebar.prefix,+ shortcuts.sidebar.toggle,+ ]}+ />+ </p>+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>+ <Separator+ orientation="vertical"+ className="mx-1.5 data-[orientation=vertical]:h-2.5"+ />+ <Breadcrumb className="flex items-center text-xs w-full">+ <BreadcrumbList className="!gap-1">+ <BreadcrumbItem>+ <BreadcrumbLink+ href={`/dashboard/workspace/${workspaceId}`}+ >+ <h1 className="text-xs text-muted-foreground">+ {workspace?.name}+ </h1>+ </BreadcrumbLink>+ </BreadcrumbItem>+ <BreadcrumbSeparator />+ <BreadcrumbItem>+ <BreadcrumbLink+ href={`/dashboard/workspace/${workspaceId}/project/${projectId}/board`}+ >+ <h1 className="text-xs text-muted-foreground">+ {project?.name}+ </h1>+ </BreadcrumbLink>+ </BreadcrumbItem>+ <BreadcrumbSeparator />+ <BreadcrumbItem>+ <h1 className="text-xs text-muted-foreground">+ {project?.slug}-{task?.number}+ </h1>+ </BreadcrumbItem>+ </BreadcrumbList>+ </Breadcrumb>+ </div>+ <div className="flex items-center gap-1.5">{headerActions}</div>+ </div>+ </Layout.Header>+ <Layout.Content>+ <div className="flex h-full">+ <div className="flex-1 min-w-0">{children}</div>+ </div>+ </Layout.Content>+ </div>+ {rightSidebar}+ </Layout>+ );+}diff --git a/apps/web/src/components/common/workspace-layout.tsx b/apps/web/src/components/common/workspace-layout.tsxindex 2ecc0c973..f63e613bf 100644--- a/apps/web/src/components/common/workspace-layout.tsx+++ b/apps/web/src/components/common/workspace-layout.tsx@@ -1,3 +1,4 @@+import type { ReactNode } from "react";import Layout from "@/components/common/layout";import NotificationDropdown from "@/components/notification/notification-dropdown";import {@@ -17,9 +18,8 @@ import {TooltipTrigger,} from "@/components/ui/tooltip";import { shortcuts } from "@/constants/shortcuts";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { cn } from "@/lib/cn";-import useWorkspaceStore from "@/store/workspace";-import type { ReactNode } from "react";interface WorkspaceLayoutProps {title: string;@@ -35,7 +35,7 @@ export default function WorkspaceLayout({children,className,}: WorkspaceLayoutProps) {- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();return (<Layout>@@ -48,7 +48,7 @@ export default function WorkspaceLayout({<SidebarTrigger className="-ml-1 h-6 w-6" /></TooltipTrigger><TooltipContent>- <p className="flex items-center gap-2 text-xs">+ <p className="flex items-center gap-2 text-[10px]">Toggle sidebar<KbdSequencekeys={[diff --git a/apps/web/src/components/kanban-board/column/column-dropzone.tsx b/apps/web/src/components/kanban-board/column/column-dropzone.tsxindex 253d802e7..9d72c598a 100644--- a/apps/web/src/components/kanban-board/column/column-dropzone.tsx+++ b/apps/web/src/components/kanban-board/column/column-dropzone.tsx@@ -1,10 +1,10 @@-import type { ProjectWithTasks } from "@/types/project";import { useDroppable } from "@dnd-kit/core";import {SortableContext,verticalListSortingStrategy,} from "@dnd-kit/sortable";import { useEffect } from "react";+import type { ProjectWithTasks } from "@/types/project";import TaskCard from "../task-card";interface ColumnDropzoneProps {diff --git a/apps/web/src/components/kanban-board/column/column-footer.tsx b/apps/web/src/components/kanban-board/column/column-footer.tsxindex 18a59ee2f..dc8b05087 100644--- a/apps/web/src/components/kanban-board/column/column-footer.tsx+++ b/apps/web/src/components/kanban-board/column/column-footer.tsx@@ -1,8 +1,8 @@+import { Plus } from "lucide-react";+import { useState } from "react";import CreateTaskModal from "@/components/shared/modals/create-task-modal";import toKebabCase from "@/lib/to-kebab-case";import type { ProjectWithTasks } from "@/types/project";-import { Plus } from "lucide-react";-import { useState } from "react";interface ColumnFooterProps {column: ProjectWithTasks["columns"][number];diff --git a/apps/web/src/components/kanban-board/column/column-header.tsx b/apps/web/src/components/kanban-board/column/column-header.tsxindex c62ba16a6..9a0e65783 100644--- a/apps/web/src/components/kanban-board/column/column-header.tsx+++ b/apps/web/src/components/kanban-board/column/column-header.tsx@@ -1,10 +1,10 @@-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import { getColumnIcon, getColumnIconColor } from "@/lib/column";-import useProjectStore from "@/store/project";-import type { ProjectWithTasks } from "@/types/project";import { produce } from "immer";import { Archive } from "lucide-react";import { toast } from "sonner";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import { getColumnIcon } from "@/lib/column";+import useProjectStore from "@/store/project";+import type { ProjectWithTasks } from "@/types/project";interface ColumnHeaderProps {column: ProjectWithTasks["columns"][number];@@ -47,14 +47,7 @@ export function ColumnHeader({ column }: ColumnHeaderProps) {return (<div className="flex items-center justify-between"><div className="flex items-center gap-2">- {(() => {- const IconComponent = getColumnIcon(column.id);- return (- <IconComponent- className={`w-4 h-4 ${getColumnIconColor(column.id)}`}- />- );- })()}+ {getColumnIcon(column.id)}<h3 className="font-medium text-zinc-900 dark:text-zinc-100">{column.name}</h3>diff --git a/apps/web/src/components/kanban-board/column/index.tsx b/apps/web/src/components/kanban-board/column/index.tsxindex 6158d7652..171c1d1cb 100644--- a/apps/web/src/components/kanban-board/column/index.tsx+++ b/apps/web/src/components/kanban-board/column/index.tsx@@ -1,8 +1,8 @@+import { Plus } from "lucide-react";+import { useState } from "react";import CreateTaskModal from "@/components/shared/modals/create-task-modal";import toKebabCase from "@/lib/to-kebab-case";import type { ProjectWithTasks } from "@/types/project";-import { Plus } from "lucide-react";-import { useState } from "react";import { ColumnDropzone } from "./column-dropzone";import { ColumnHeader } from "./column-header";@@ -19,7 +19,7 @@ function Column({ column }: ColumnProps) {className={`flex flex-col h-full w-full min-h-0 backdrop-blur-xs rounded-lg relative group transition-all duration-300 ease-out ${isDropzoneOver? "bg-indigo-50/60 dark:bg-indigo-950/40 ring-1 ring-indigo-200 dark:ring-indigo-800/50 shadow-md shadow-indigo-500/10"- : "bg-zinc-50/30 dark:bg-zinc-900/30 hover:bg-zinc-50/40 dark:hover:bg-zinc-900/40 hover:shadow-sm"+ : "bg-sidebar border border-border/50 dark:bg-zinc-900/30 hover:bg-zinc-50/40 dark:hover:bg-zinc-900/40 hover:shadow-sm"}`}><CreateTaskModaldiff --git a/apps/web/src/components/kanban-board/index.tsx b/apps/web/src/components/kanban-board/index.tsxindex 5bcbaa922..00bd1ddf5 100644--- a/apps/web/src/components/kanban-board/index.tsx+++ b/apps/web/src/components/kanban-board/index.tsx@@ -1,24 +1,24 @@-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import useProjectStore from "@/store/project";-import type { ProjectWithTasks } from "@/types/project";import {+ closestCorners,DndContext,type DragEndEvent,DragOverlay,type DragStartEvent,type DropAnimation,+ defaultDropAnimationSideEffects,KeyboardSensor,MouseSensor,TouchSensor,type UniqueIdentifier,- closestCorners,- defaultDropAnimationSideEffects,useSensor,useSensors,} from "@dnd-kit/core";import { useQueryClient } from "@tanstack/react-query";import { produce } from "immer";import { useState } from "react";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import useProjectStore from "@/store/project";+import type { ProjectWithTasks } from "@/types/project";import Column from "./column";import TaskCard from "./task-card";@@ -190,7 +190,7 @@ function KanbanBoard({ project }: KanbanBoardProps) {{project.columns?.map((column) => (<divkey={column.id}- className="h-full flex-1 min-w-80 flex-shrink-0"+ className="h-full flex-1 min-w-80 max-w-96 flex-shrink-0"><Column column={column} /></div>diff --git a/apps/web/src/components/kanban-board/task-card-context-menu/task-card-context-menu-content.tsx b/apps/web/src/components/kanban-board/task-card-context-menu/task-card-context-menu-content.tsxindex 53406768f..f6923fe41 100644--- a/apps/web/src/components/kanban-board/task-card-context-menu/task-card-context-menu-content.tsx+++ b/apps/web/src/components/kanban-board/task-card-context-menu/task-card-context-menu-content.tsx@@ -1,22 +1,5 @@-import {- Archive,- Calendar as CalendarIcon,- Clock,- Copy,- Flag,- FlipHorizontal2,- ListTodo,- Tags,- Trash,- User,-} from "lucide-react";--import useCreateTask from "@/hooks/mutations/task/use-create-task";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import useGetProjects from "@/hooks/queries/project/use-get-projects";-import useGetActiveWorkspaceUsers from "@/hooks/queries/workspace-users/use-active-workspace-users";--import type { taskInfoSchema } from "@/components/task/task-info";+import { useMemo, useState } from "react";+import { toast } from "sonner";import {AlertDialog,AlertDialogAction,@@ -27,27 +10,31 @@ import {AlertDialogHeader,AlertDialogTitle,} from "@/components/ui/alert-dialog";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";import { Calendar } from "@/components/ui/calendar";import {ContextMenuCheckboxItem,ContextMenuContent,ContextMenuItem,+ ContextMenuSeparator,ContextMenuSub,ContextMenuSubContent,ContextMenuSubTrigger,} from "@/components/ui/context-menu";-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import { cn } from "@/lib/cn";-import { getColumnIcon, getColumnIconColor } from "@/lib/column";--import { DEFAULT_COLUMNS } from "@/constants/columns";-import useDeleteTask from "@/hooks/mutations/task/use-delete-task";+import { useDeleteTask } from "@/hooks/mutations/task/use-delete-task";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import { useUpdateTaskAssignee } from "@/hooks/mutations/task/use-update-task-assignee";+import { useUpdateTaskDescription } from "@/hooks/mutations/task/use-update-task-description";+import { useUpdateTaskDueDate } from "@/hooks/mutations/task/use-update-task-due-date";+import { useUpdateTaskStatus } from "@/hooks/mutations/task/use-update-task-status";+import { useUpdateTaskPriority } from "@/hooks/mutations/task/use-update-task-status-priority";+import { useUpdateTaskTitle } from "@/hooks/mutations/task/use-update-task-title";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { getColumnIcon } from "@/lib/column";import { generateLink } from "@/lib/generate-link";+import { getPriorityIcon } from "@/lib/priority";import queryClient from "@/query-client";import type Task from "@/types/task";-import { useMemo, useState } from "react";-import { toast } from "sonner";-import type { z } from "zod/v4";interface TaskCardContext {worskpaceId: string;@@ -63,53 +50,28 @@ export default function TaskCardContextMenuContent({task,taskCardContext,}: TaskCardContextMenuContentProps) {- const { data: projects } = useGetProjects({- workspaceId: taskCardContext.worskpaceId,- });- const { data: workspaceUsers } = useGetActiveWorkspaceUsers({- workspaceId: taskCardContext.worskpaceId,- });+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(+ taskCardContext.worskpaceId,+ );const { mutateAsync: updateTask } = useUpdateTask();- const { mutateAsync: createTask } = useCreateTask();+ const { mutateAsync: updateTaskPriority } = useUpdateTaskPriority();+ const { mutateAsync: updateTaskStatus } = useUpdateTaskStatus();+ const { mutateAsync: updateTaskAssignee } = useUpdateTaskAssignee();+ const { mutateAsync: updateTaskTitle } = useUpdateTaskTitle();+ const { mutateAsync: updateTaskDescription } = useUpdateTaskDescription();const { mutateAsync: deleteTask } = useDeleteTask();+ const { mutateAsync: updateTaskDueDate } = useUpdateTaskDueDate();const [isDeleteTaskModalOpen, setIsDeleteTaskModalOpen] = useState(false);- const projectsOptions = useMemo(() => {- return projects?.map((project) => {- return { label: project.name, value: project.id };- });- }, [projects]);-const usersOptions = useMemo(() => {- return workspaceUsers?.map((user) => ({- label: user.userName ?? user.userId,- value: user.userId,+ return workspaceUsers?.members?.map((member) => ({+ label: member?.user?.name ?? member.userId,+ value: member.userId,+ image: member?.user?.image ?? "",+ name: member?.user?.name ?? "",}));}, [workspaceUsers]);- const statusOptions = [- {- label: "To Do",- value: "to-do",- icon: DEFAULT_COLUMNS[0],- },- {- label: "In Progress",- value: "in-progress",- icon: DEFAULT_COLUMNS[1],- },- {- label: "In Review",- value: "in-review",- icon: DEFAULT_COLUMNS[2],- },- {- label: "Done",- value: "done",- icon: DEFAULT_COLUMNS[3],- },- ];-const handleCopyTaskLink = () => {const path = `/dashboard/workspace/${taskCardContext.worskpaceId}/project/${taskCardContext.projectId}/task/${task.id}`;const taskLink = generateLink(path);@@ -118,42 +80,33 @@ export default function TaskCardContextMenuContent({toast.success("Task link copied!");};- const handleDuplicateTask = async (projectId: string) => {- const selectedProject = projectsOptions?.find(- (project) => project.value === projectId,- );-- const newTask = {- description: task.description ?? "",- dueDate: task.dueDate ?? "",- position: 0,- priority: task.priority as "low" | "medium" | "high" | "urgent",- status: task.status,- title: task.title,- userId: task.userId ?? "",- projectId,- };-- try {- await createTask(newTask);- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to update task",- );- } finally {- toast.success(`Mirrored task successfully to: ${selectedProject?.label}`);- }- };-- const handleChange = async (- field: keyof z.infer<typeof taskInfoSchema>,- value: string | Date,- ) => {+ const handleChange = async (field: keyof Task, value: string | Date) => {try {- await updateTask({- ...task,- [field]: value,- });+ switch (field) {+ case "priority":+ await updateTaskPriority({ ...task, priority: value as string });+ break;+ case "status":+ await updateTaskStatus({ ...task, status: value as string });+ break;+ case "userId":+ await updateTaskAssignee({ ...task, userId: value as string });+ break;+ case "title":+ await updateTaskTitle({ ...task, title: value as string });+ break;+ case "description":+ await updateTaskDescription({+ ...task,+ description: value as string,+ });+ break;+ default:+ await updateTask({+ ...task,+ [field]: value,+ });+ }} catch (error) {toast.error(error instanceof Error ? error.message : "Failed to update task",@@ -180,119 +133,108 @@ export default function TaskCardContextMenuContent({return (<>- <ContextMenuContent>- <ContextMenuItem- onClick={handleCopyTaskLink}- className="flex items-center gap-2 cursor-pointer"- >- <Copy className="w-3.5 h-3.5 text-indigo-500 dark:text-indigo-400 " />- Copy Link+ <ContextMenuContent className="w-46">+ <ContextMenuItem onClick={handleCopyTaskLink}>+ <span>Copy link</span></ContextMenuItem>+ <ContextMenuSeparator />+<ContextMenuSub>- <ContextMenuSubTrigger className="flex items-center gap-2">- <Tags className="h-3.5 w-3.5 text-indigo-500 dark:text-indigo-400" />{" "}- Priority+ <ContextMenuSubTrigger className="gap-2">+ <span>Priority</span></ContextMenuSubTrigger>- <ContextMenuSubContent>- <ContextMenuCheckboxItem- onClick={() => handleChange("priority", "low")}- className="flex items-center gap-2 cursor-pointer"- checked={task.priority === "low"}- >- <Flag- className={cn(- "w-3.5 h-3.5",- priorityColorsTaskCard[- "low" as keyof typeof priorityColorsTaskCard- ],- )}- />- Low- </ContextMenuCheckboxItem>+ <ContextMenuSubContent className="w-48"><ContextMenuCheckboxItem- onClick={() => handleChange("priority", "medium")}- className="flex items-center gap-2 cursor-pointer"- checked={task.priority === "medium"}+ key="no-priority"+ checked={task.priority === "no-priority"}+ onCheckedChange={() => handleChange("priority", "no-priority")}+ className="[&_svg]:text-muted-foreground">- <Flag- className={cn(- "w-3.5 h-3.5",- priorityColorsTaskCard[- "medium" as keyof typeof priorityColorsTaskCard- ],- )}- />- Medium- </ContextMenuCheckboxItem>- <ContextMenuCheckboxItem- onClick={() => handleChange("priority", "high")}- className="flex items-center gap-2 cursor-pointer"- checked={task.priority === "high"}- >- <Flag- className={cn(- "w-3.5 h-3.5",- priorityColorsTaskCard[- "high" as keyof typeof priorityColorsTaskCard- ],- )}- />- High- </ContextMenuCheckboxItem>- <ContextMenuCheckboxItem- onClick={() => handleChange("priority", "urgent")}- className="flex items-center gap-2 cursor-pointer"- checked={task.priority === "urgent"}- >- <Flag- className={cn(- "w-3.5 h-3.5",- priorityColorsTaskCard[- "urgent" as keyof typeof priorityColorsTaskCard- ],- )}- />- Urgent+ {getPriorityIcon("no-priority")}+ <span>No Priority</span></ContextMenuCheckboxItem>+ {["low", "medium", "high", "urgent"].map((priority) => (+ <ContextMenuCheckboxItem+ key={priority}+ checked={task.priority === priority}+ onCheckedChange={() => handleChange("priority", priority)}+ className="[&_svg]:text-muted-foreground"+ >+ {getPriorityIcon(priority)}+ <span className="capitalize">{priority}</span>+ </ContextMenuCheckboxItem>+ ))}</ContextMenuSubContent></ContextMenuSub><ContextMenuSub>- <ContextMenuSubTrigger className="flex items-center gap-2">- <ListTodo className="h-3.5 w-3.5 text-indigo-500 dark:text-indigo-400" />{" "}- Status+ <ContextMenuSubTrigger>+ <span>Status</span></ContextMenuSubTrigger>- <ContextMenuSubContent>- {statusOptions.map((status) => (+ <ContextMenuSubContent className="w-48">+ {["to-do", "in-progress", "in-review", "done"].map((status) => (<ContextMenuCheckboxItem- key={status.value}- checked={task.status === status.value}- onCheckedChange={() => handleChange("status", status.value)}- className="flex items-center gap-2 cursor-pointer"+ key={status}+ checked={task.status === status}+ onCheckedChange={() => handleChange("status", status)}+ className="[&_svg]:text-muted-foreground">- {(() => {- const IconComponent = getColumnIcon(status.value);- return (- <IconComponent- className={`w-3.5 h-3.5 flex-shrink-0 ${getColumnIconColor(status.value)}`}- />- );- })()}- {status.label}+ {getColumnIcon(status)}+ <span className="capitalize">{status}</span></ContextMenuCheckboxItem>))}</ContextMenuSubContent></ContextMenuSub><ContextMenuSub>- <ContextMenuSubTrigger className="flex items-center gap-2">- <User className="h-3.5 w-3.5 text-indigo-500 dark:text-indigo-400" />{" "}- Assignee+ <ContextMenuSubTrigger>+ <span>Due date</span></ContextMenuSubTrigger>+ <ContextMenuSubContent className="w-64 p-2">+ <Calendar+ mode="single"+ selected={task.dueDate ? new Date(task.dueDate) : undefined}+ onSelect={async (date) => {+ try {+ await updateTaskDueDate({+ ...task,+ dueDate: date?.toISOString() || null,+ });+ toast.success("Task due date updated successfully");+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : "Failed to update task due date",+ );+ }+ }}+ className="w-full !bg-popover"+ />+ </ContextMenuSubContent>+ </ContextMenuSub>- {usersOptions && (- <ContextMenuSubContent>+ {usersOptions && (+ <ContextMenuSub>+ <ContextMenuSubTrigger>+ <span>Assignee</span>+ </ContextMenuSubTrigger>+ <ContextMenuSubContent className="w-48">+ <ContextMenuCheckboxItem+ checked={!task.userId}+ onCheckedChange={() => handleChange("userId", "")}+ >+ <div+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium text-muted-foreground">+ ?+ </span>{" "}+ </div>+ Unassigned+ </ContextMenuCheckboxItem>{usersOptions.map((user) => (<ContextMenuCheckboxItemkey={user.value}@@ -300,81 +242,38 @@ export default function TaskCardContextMenuContent({onCheckedChange={() =>handleChange("userId", user.value ?? "")}- className="flex items-center justify-between cursor-pointer">+ <Avatar className="h-6 w-6">+ <AvatarImage src={user.image ?? ""} alt={user.name || ""} />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {user.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+{user.label}</ContextMenuCheckboxItem>))}- <ContextMenuCheckboxItem- checked={!task.userId}- onCheckedChange={() => handleChange("userId", "")}- className="flex items-center justify-between cursor-pointer"- >- Unassigned- </ContextMenuCheckboxItem></ContextMenuSubContent>- )}- </ContextMenuSub>+ </ContextMenuSub>+ )}- <ContextMenuSub>- <ContextMenuSubTrigger className="flex items-center gap-2">- <FlipHorizontal2 className="h-3.5 w-3.5 text-indigo-500 dark:text-indigo-400" />{" "}- Mirror- </ContextMenuSubTrigger>+ <ContextMenuSeparator />- {projectsOptions && (- <ContextMenuSubContent>- {projectsOptions.map((project) => (- <ContextMenuItem- key={project.value}- onClick={() => handleDuplicateTask(project.value)}- className="flex items-center justify-between cursor-pointer"- >- {project.label}- </ContextMenuItem>- ))}- </ContextMenuSubContent>- )}- </ContextMenuSub>-- <ContextMenuSub>- <ContextMenuSubTrigger className="flex items-center gap-2">- <CalendarIcon className="h-3.5 w-3.5 text-indigo-500 dark:text-indigo-400" />{" "}- Due date- </ContextMenuSubTrigger>- {projectsOptions && (- <ContextMenuSubContent>- <Calendar- mode="single"- selected={task.dueDate ? new Date(task.dueDate) : undefined}- onSelect={(value) => handleChange("dueDate", String(value))}- className="w-auto border-none"- initialFocus- />- </ContextMenuSubContent>- )}- </ContextMenuSub>- <ContextMenuItem- onClick={() => handleChange("status", "archived")}- className="flex items-center transition-all duration-200 gap-2 cursor-pointer"- >- <Archive className="w-3.5 h-3.5 text-indigo-500 dark:text-indigo-400" />- Archive Task+ <ContextMenuItem onClick={() => handleChange("status", "archived")}>+ <span>Archive</span></ContextMenuItem>- <ContextMenuItem- onClick={() => handleChange("status", "planned")}- className="flex items-center transition-all duration-200 gap-2 cursor-pointer"- >- <Clock className="w-3.5 h-3.5 text-indigo-500 dark:text-indigo-400" />- Set as planned++ <ContextMenuItem onClick={() => handleChange("status", "planned")}>+ <span>Mark as planned</span></ContextMenuItem>+ <ContextMenuSeparator />+<ContextMenuItem+ className="text-destructive"onClick={() => setIsDeleteTaskModalOpen(true)}- className="flex items-center transition-all duration-200 gap-2 cursor-pointer">- <Trash className="w-3.5 h-3.5 text-red-400" />- Delete Task+ <span>Delete...</span></ContextMenuItem></ContextMenuContent>diff --git a/apps/web/src/components/kanban-board/task-card.tsx b/apps/web/src/components/kanban-board/task-card.tsxindex 3c04bd8d3..fee824c00 100644--- a/apps/web/src/components/kanban-board/task-card.tsx+++ b/apps/web/src/components/kanban-board/task-card.tsx@@ -1,21 +1,17 @@-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";-import useProjectStore from "@/store/project";-import { useUserPreferencesStore } from "@/store/user-preferences";-import useWorkspaceStore from "@/store/workspace";-import type Task from "@/types/task";import { useSortable } from "@dnd-kit/sortable";import { CSS } from "@dnd-kit/utilities";import { useNavigate } from "@tanstack/react-router";import { format } from "date-fns";-import {- Calendar,- CalendarClock,- CalendarX,- Flag,- UserIcon,-} from "lucide-react";-import type { CSSProperties } from "react";+import { Calendar, CalendarClock, CalendarX } from "lucide-react";+import { type CSSProperties, useMemo } from "react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";+import { getPriorityIcon } from "@/lib/priority";+import useProjectStore from "@/store/project";+import { useUserPreferencesStore } from "@/store/user-preferences";+import type Task from "@/types/task";import { ContextMenu, ContextMenuTrigger } from "../ui/context-menu";import TaskCardContextMenuContent from "./task-card-context-menu/task-card-context-menu-content";import TaskCardLabels from "./task-labels";@@ -34,7 +30,7 @@ function TaskCard({ task }: TaskCardProps) {isDragging,} = useSortable({ id: task.id });const { project } = useProjectStore();- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const navigate = useNavigate();const {showAssignees,@@ -53,6 +49,16 @@ function TaskCard({ task }: TaskCardProps) {zIndex: isDragging ? 999 : "auto",};+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(+ workspace?.id ?? "",+ );++ const assignee = useMemo(() => {+ return workspaceUsers?.members?.find(+ (member) => member.userId === task.userId,+ );+ }, [workspaceUsers, task.userId]);+function handleTaskCardClick() {if (!project || !task || !workspace) return;@@ -70,56 +76,80 @@ function TaskCard({ task }: TaskCardProps) {<div ref={setNodeRef} style={style} {...attributes} {...listeners}><ContextMenu><ContextMenuTrigger asChild>+ {/** biome-ignore lint/a11y/noStaticElementInteractions: false positive for onClick and onKeyDown */}<divonClick={handleTaskCardClick}- className={`group bg-white dark:bg-zinc-800/50 backdrop-blur-sm rounded-lg border p-2.5 cursor-move shadow-sm transition-all duration-200 ease-out ${+ className={`group bg-card border border-border rounded-lg p-3 cursor-move transition-all duration-200 ease-out relative ${isDragging- ? "border-indigo-300 dark:border-indigo-600/70 shadow-lg shadow-indigo-500/10 dark:shadow-indigo-400/5 bg-white dark:bg-zinc-800/80"- : "border-zinc-200 dark:border-zinc-700/50 hover:border-zinc-300 dark:hover:border-zinc-600 hover:shadow-md"+ ? "border-primary/30 shadow-lg shadow-primary/10 bg-card/90"+ : "hover:border-border/70 hover:shadow-sm"}`}onKeyDown={(e) => {if (e.key === "Enter") handleTaskCardClick();}}>{showTaskNumbers && (- <div className="flex items-center gap-2 text-xs font-mono text-zinc-500 dark:text-zinc-400 mb-1.5">+ <div className="text-[10px] font-mono text-muted-foreground mb-2">{project?.slug}-{task.number}</div>)}- <div className="flex flex-col gap-1.5 mb-1.5">- <h3 className="font-medium text-zinc-900 dark:text-zinc-100 max-w-4/5 truncate">- {task.title}- </h3>- {showLabels && <TaskCardLabels taskId={task.id} />}- </div>-- <div className="flex flex-wrap items-center gap-1.5 mt-auto">- {showAssignees &&- (task.userId ? (- <div- className="flex items-center gap-1.5 px-2 py-1 rounded-md bg-zinc-100/50 dark:bg-zinc-800/50 group-hover:bg-zinc-100 dark:group-hover:bg-zinc-800/80 transition-colors"- title={task.assigneeName ?? ""}- >- <span className="text-xs text-zinc-600 dark:text-zinc-400 truncate max-w-[100px]">- {task.assigneeName}- </span>- </div>+ {showAssignees && (+ <div className="absolute top-3 right-3">+ {task.userId ? (+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={assignee?.user?.image ?? ""}+ alt={assignee?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {assignee?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>) : (<div- className="flex items-center gap-1.5 px-2 py-1 rounded-md bg-zinc-100/50 dark:bg-zinc-800/50 group-hover:bg-zinc-100 dark:group-hover:bg-zinc-800/80 transition-colors"+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"title="Unassigned">- <UserIcon className="h-3 w-3 text-zinc-400 dark:text-zinc-500" />- <span className="text-xs text-zinc-500 dark:text-zinc-400">- Unassigned+ <span className="text-[10px] font-medium text-muted-foreground">+ ?</span></div>- ))}+ )}+ </div>+ )}++ <div className="mb-3 pr-7">+ <h3+ className="font-medium text-foreground text-sm leading-relaxed overflow-hidden break-words"+ style={{+ display: "-webkit-box",+ WebkitLineClamp: 3,+ WebkitBoxOrient: "vertical",+ wordBreak: "break-word",+ hyphens: "auto",+ }}+ >+ {task.title}+ </h3>+ </div>++ {showLabels && (+ <div className="mb-3">+ <TaskCardLabels taskId={task.id} />+ </div>+ )}- {showDueDates && (+ <div className="flex items-center gap-2">+ {showPriority && (+ <span className="inline-flex items-center gap-1.5 px-2 py-1 rounded border border-border bg-sidebar text-[10px] font-medium text-muted-foreground">+ {getPriorityIcon(task.priority ?? "")}+ </span>+ )}++ {showDueDates && task.dueDate && (<div- className={`flex items-center gap-1.5 px-2 py-1 rounded-md transition-colors ${dueDateStatusColors[getDueDateStatus(task.dueDate)]} group-hover:opacity-80`}+ className={`flex items-center gap-1 text-[10px] px-2 py-1 rounded ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}>{getDueDateStatus(task.dueDate) === "overdue" && (<CalendarX className="w-3 h-3" />@@ -131,22 +161,7 @@ function TaskCard({ task }: TaskCardProps) {getDueDateStatus(task.dueDate) === "no-due-date") && (<Calendar className="w-3 h-3" />)}- <span className="text-xs">- {task.dueDate- ? format(new Date(task.dueDate), "MMM d")- : "No due date"}- </span>- </div>- )}-- {showPriority && (- <div className="flex-shrink-0">- <span- className={`text-xs px-2 py-1 rounded-full ${priorityColorsTaskCard[task.priority as keyof typeof priorityColorsTaskCard]}`}- >- <Flag className="w-3 h-3 inline-block mr-1" />- {task.priority}- </span>+ <span>{format(new Date(task.dueDate), "MMM d")}</span></div>)}</div>diff --git a/apps/web/src/components/kanban-board/task-labels.tsx b/apps/web/src/components/kanban-board/task-labels.tsxindex 6c1607608..b6e1881a4 100644--- a/apps/web/src/components/kanban-board/task-labels.tsx+++ b/apps/web/src/components/kanban-board/task-labels.tsx@@ -2,36 +2,17 @@ import { Badge } from "@/components/ui/badge";import useGetLabelsByTask from "@/hooks/queries/label/use-get-labels-by-task";const labelColors = [- { value: "gray", label: "Grey", color: "#94a3b8" },- { value: "dark-gray", label: "Dark Grey", color: "#64748b" },- { value: "purple", label: "Purple", color: "#a855f7" },- { value: "teal", label: "Teal", color: "#14b8a6" },- { value: "green", label: "Green", color: "#22c55e" },- { value: "yellow", label: "Yellow", color: "#eab308" },- { value: "orange", label: "Orange", color: "#f97316" },- { value: "pink", label: "Pink", color: "#ec4899" },- { value: "red", label: "Red", color: "#ef4444" },+ { value: "gray", label: "Stone", color: "#78716c" },+ { value: "dark-gray", label: "Slate", color: "#64748b" },+ { value: "purple", label: "Lavender", color: "#8b5cf6" },+ { value: "teal", label: "Sage", color: "#059669" },+ { value: "green", label: "Forest", color: "#16a34a" },+ { value: "yellow", label: "Amber", color: "#d97706" },+ { value: "orange", label: "Terracotta", color: "#ea580c" },+ { value: "pink", label: "Rose", color: "#e11d48" },+ { value: "red", label: "Crimson", color: "#dc2626" },];-type LabelColor =- | "gray"- | "dark-gray"- | "purple"- | "teal"- | "green"- | "yellow"- | "orange"- | "pink"- | "red";--type Label = {- id: string;- name: string;- color: string;- taskId: string;- createdAt: string;-};-function TaskCardLabels({ taskId }: { taskId: string }) {const { data: labels = [] } = useGetLabelsByTask(taskId);@@ -39,10 +20,10 @@ function TaskCardLabels({ taskId }: { taskId: string }) {return (<div className="flex flex-wrap gap-1">- {labels.map((label: Label) => (+ {labels.map((label: { id: string; name: string; color: string }) => (<Badgekey={label.id}- badgeColor={label.color as LabelColor}+ color={label.color}variant="outline"className="px-2 py-0.5 text-[10px] flex items-center">diff --git a/apps/web/src/components/list-view/index.tsx b/apps/web/src/components/list-view/index.tsxindex 5c593446d..b60a8bb07 100644--- a/apps/web/src/components/list-view/index.tsx+++ b/apps/web/src/components/list-view/index.tsx@@ -1,11 +1,5 @@-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import { cn } from "@/lib/cn";-import { getColumnIcon, getColumnIconColor } from "@/lib/column";-import toKebabCase from "@/lib/to-kebab-case";-import useProjectStore from "@/store/project";-import type { ProjectWithTasks } from "@/types/project";import {+ closestCorners,DndContext,type DragEndEvent,type DragOverEvent,@@ -15,7 +9,6 @@ import {MouseSensor,TouchSensor,type UniqueIdentifier,- closestCorners,useDroppable,useSensor,useSensors,@@ -29,6 +22,13 @@ import { produce } from "immer";import { Archive, ChevronRight, Flag, Plus } from "lucide-react";import { useState } from "react";import { toast } from "sonner";+import { priorityColorsTaskCard } from "@/constants/priority-colors";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import { cn } from "@/lib/cn";+import { getColumnIcon } from "@/lib/column";+import toKebabCase from "@/lib/to-kebab-case";+import useProjectStore from "@/store/project";+import type { ProjectWithTasks } from "@/types/project";import CreateTaskModal from "../shared/modals/create-task-modal";import TaskRow from "./task-row";@@ -190,7 +190,9 @@ function ListView({ project }: ListViewProps) {function ColumnSection({column,- }: { column: ProjectWithTasks["columns"][number] }) {+ }: {+ column: ProjectWithTasks["columns"][number];+ }) {const { setNodeRef } = useDroppable({id: column.id,data: {@@ -222,14 +224,7 @@ function ListView({ project }: ListViewProps) {)}/><div className="flex items-center gap-2 h-4">- {(() => {- const IconComponent = getColumnIcon(column.id);- return (- <IconComponent- className={`w-4 h-4 flex-shrink-0 ${getColumnIconColor(column.id)}`}- />- );- })()}+ {getColumnIcon(column.id)}<div className="flex items-center gap-1"><span className="mt-1 mr-1">{column.name}</span><span className="text-xs text-zinc-400 dark:text-zinc-500 mt-0.5">diff --git a/apps/web/src/components/list-view/task-row.tsx b/apps/web/src/components/list-view/task-row.tsxindex 68261cf75..8049af7b2 100644--- a/apps/web/src/components/list-view/task-row.tsx+++ b/apps/web/src/components/list-view/task-row.tsx@@ -1,14 +1,18 @@-import { priorityColorsTaskCard } from "@/constants/priority-colors";+import { useSortable } from "@dnd-kit/sortable";+import { CSS } from "@dnd-kit/utilities";+import { useNavigate } from "@tanstack/react-router";+import { format } from "date-fns";+import { Calendar, CalendarClock, CalendarX } from "lucide-react";+import { type CSSProperties, useMemo } from "react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";import { cn } from "@/lib/cn";import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";+import { getPriorityIcon } from "@/lib/priority";import useProjectStore from "@/store/project";import { useUserPreferencesStore } from "@/store/user-preferences";import type Task from "@/types/task";-import { useSortable } from "@dnd-kit/sortable";-import { CSS } from "@dnd-kit/utilities";-import { useNavigate } from "@tanstack/react-router";-import { format } from "date-fns";-import { Calendar, CalendarClock, CalendarX, Flag, User } from "lucide-react";import TaskCardContextMenuContent from "../kanban-board/task-card-context-menu/task-card-context-menu-content";import TaskCardLabels from "../kanban-board/task-labels";import { ContextMenu, ContextMenuTrigger } from "../ui/context-menu";@@ -30,6 +34,7 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {} = useSortable({ id: task.id });const { project } = useProjectStore();+ const { data: workspace } = useActiveWorkspace();const {showAssignees,showPriority,@@ -38,7 +43,17 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {showTaskNumbers,} = useUserPreferencesStore();- const style = {+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(+ workspace?.id ?? "",+ );++ const assignee = useMemo(() => {+ return workspaceUsers?.members?.find(+ (member) => member.userId === task.userId,+ );+ }, [workspaceUsers, task.userId]);++ const style: CSSProperties = {transform: CSS.Transform.toString(transform),transition:transition || "transform 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94)",@@ -76,6 +91,7 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {><ContextMenu><ContextMenuTrigger asChild>+ {/* biome-ignore lint/a11y/noStaticElementInteractions: false positive for onClick and onKeyDown */}<divonClick={handleClick}onKeyDown={handleKeyDown}@@ -83,22 +99,14 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {{...attributes}{...listeners}>- {showTaskNumbers && (- <div className="text-xs font-mono text-zinc-400 dark:text-zinc-500 w-16 flex-shrink-0">- {projectSlug}-{task.number}+ {showPriority && (+ <div className="flex-shrink-0 first:[&_svg]:h-4 first:[&_svg]:w-4">+ {getPriorityIcon(task.priority ?? "")}</div>)}-- {showPriority && (- <div className="flex-shrink-0">- <Flag- className={cn(- "w-3 h-3",- priorityColorsTaskCard[- task.priority as keyof typeof priorityColorsTaskCard- ],- )}- />+ {showTaskNumbers && (+ <div className="text-xs font-mono text-zinc-400 dark:text-zinc-500 flex-shrink-0">+ {projectSlug}-{task.number}</div>)}@@ -117,10 +125,7 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {{showDueDates && task.dueDate && (<div- className={cn(- "flex items-center gap-1 text-xs px-1.5 py-0.5 rounded flex-shrink-0",- dueDateStatusColors[getDueDateStatus(task.dueDate)],- )}+ className={`flex items-center gap-1 text-[10px] px-2 py-1 rounded flex-shrink-0 ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}>{getDueDateStatus(task.dueDate) === "overdue" && (<CalendarX className="w-3 h-3" />@@ -137,24 +142,38 @@ function TaskRow({ task, projectSlug }: TaskRowProps) {)}{showAssignees && (- <div className="flex items-center gap-1.5 text-xs text-zinc-500 dark:text-zinc-400 flex-shrink-0">- <User className="w-3 h-3" />- <span className="truncate max-w-[100px]">- {task.assigneeName ||- task.userId?.split("@")[0] ||- "Unassigned"}- </span>+ <div className="flex-shrink-0">+ {task.userId ? (+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={assignee?.user?.image ?? ""}+ alt={assignee?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {assignee?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ ) : (+ <div+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium text-muted-foreground">+ ?+ </span>+ </div>+ )}</div>)}</div></ContextMenuTrigger>- {project && (+ {project && workspace && (<TaskCardContextMenuContenttask={task}taskCardContext={{projectId: project.id,- worskpaceId: project.workspaceId,+ worskpaceId: workspace.id,}}/>)}diff --git a/apps/web/src/components/nav-main.tsx b/apps/web/src/components/nav-main.tsxindex 594d47003..fcff53194 100644--- a/apps/web/src/components/nav-main.tsx+++ b/apps/web/src/components/nav-main.tsx@@ -1,15 +1,11 @@-import { useNavigate, useParams } from "@tanstack/react-router";-import {- BarChart3,- Calendar,- ChevronDown,- Clock,- LayoutDashboard,- LayoutGrid,- Search,- Users,-} from "lucide-react";+import { useNavigate } from "@tanstack/react-router";+import { ChevronRight, FolderKanban, Users } from "lucide-react";+import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@/components/ui/collapsible";import {SidebarGroup,SidebarGroupLabel,@@ -17,71 +13,25 @@ import {SidebarMenuButton,SidebarMenuItem,} from "@/components/ui/sidebar";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { cn } from "@/lib/cn";-import useWorkspaceStore from "@/store/workspace";-import { useState } from "react";-import SearchCommandMenu from "./search-command-menu";-import { SettingsMenu } from "./settings-menu";import { Button } from "./ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,-} from "./ui/dropdown-menu";export function NavMain() {- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const navigate = useNavigate();- const [open, setOpen] = useState(false);- const { workspaceId: currentWorkspaceId, projectId: currentProjectId } =- useParams({- strict: false,- });if (!workspace) return null;- const isInProject = currentProjectId && currentWorkspaceId === workspace.id;- const currentPath = window.location.pathname;- const isBoard = currentPath.includes("/board");- const isBacklog = currentPath.includes("/backlog");-const navItems = [{title: "Projects",url: `/dashboard/workspace/${workspace.id}`,- icon: LayoutDashboard,+ icon: FolderKanban,isActive:window.location.pathname === `/dashboard/workspace/${workspace.id}`,isDisabled: false,},- {- title: "Search",- onClick: () => {- setOpen(true);- },- icon: Search,- isActive: false,- isDisabled: false,- },- {- title: "Time Tracking",- url: `/dashboard/workspace/${workspace.id}/time`,- icon: Clock,- isActive:- window.location.pathname ===- `/dashboard/workspace/${workspace.id}/time`,- isDisabled: true,- },- {- title: "Analytics",- url: `/dashboard/workspace/${workspace.id}/analytics`,- icon: BarChart3,- isActive:- window.location.pathname ===- `/dashboard/workspace/${workspace.id}/analytics`,- isDisabled: true,- },{title: "Members",url: `/dashboard/workspace/${workspace.id}/members`,@@ -97,101 +47,56 @@ export function NavMain() {navigate({ to: url });};- const handleViewChange = (view: "board" | "backlog") => {- if (!currentProjectId) return;- navigate({- to: `/dashboard/workspace/$workspaceId/project/$projectId/${view}`,- params: {- workspaceId: workspace.id,- projectId: currentProjectId,- },- });- };-return (- <>- <SidebarGroup>- <SidebarGroupLabel>Main</SidebarGroupLabel>- <SidebarMenu>- {navItems.map((item) => (- <SidebarMenuItem key={item.title}>- <SidebarMenuButton- asChild- tooltip={item.title}- disabled={item.isDisabled}- className="w-full flex gap-2 justify-start items-start"+ <Collapsible defaultOpen={true} className="group/collapsible">+ <SidebarGroup className="pt-2 pb-0">+ <CollapsibleTrigger asChild>+ <SidebarGroupLabel className="px-2 text-xs text-muted-foreground/70 font-medium cursor-pointer hover:text-muted-foreground transition-colors duration-200 flex items-center justify-between">+ Workspace+ <ChevronRight className="ml-auto h-3 w-3 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />+ </SidebarGroupLabel>+ </CollapsibleTrigger>+ <CollapsibleContent className="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom-2 data-[state=open]:slide-in-from-bottom-2 duration-200">+ <SidebarMenu className="space-y-0.5">+ {navItems.map((item, index) => (+ <SidebarMenuItem+ key={item.title}+ className="data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-bottom-2 duration-200"+ style={{ animationDelay: `${index * 50}ms` }}>- <Button- onClick={() => {- if (item.url) {- handleNavClick(item.url);- } else {- item.onClick?.();- }- }}- variant="ghost"- className={cn("w-full", item.isActive && "bg-accent")}+ <SidebarMenuButton+ asChild+ tooltip={item.title}+ disabled={item.isDisabled}+ isActive={item.isActive}+ size="sm"+ className="h-7 px-2 text-xs rounded-sm group text-foreground/60">- {item.icon && <item.icon className="w-4 h-4" />}- <span>{item.title}</span>- </Button>- </SidebarMenuButton>- </SidebarMenuItem>- ))}-- {isInProject && (- <SidebarMenuItem>- <DropdownMenu>- <DropdownMenuTrigger asChild><Button+ onClick={() => {+ if (item.url) {+ handleNavClick(item.url);+ }+ }}variant="ghost"className={cn(- "w-full flex items-center gap-2 justify-between",+ "w-full h-7 justify-start items-center gap-2 px-2 text-sm transition-all duration-200 relative",+ item.isActive && "!bg-neutral-200 dark:!bg-neutral-800",)}>- <div className="flex items-center gap-2">- {isBoard ? (- <LayoutGrid className="w-4 h-4" />- ) : (- <Calendar className="w-4 h-4" />- )}- <span>View</span>- </div>- <ChevronDown className="w-3 h-3 opacity-50" />- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start" className="w-48">- <DropdownMenuItem- onClick={() => handleViewChange("board")}- className={cn("cursor-pointer", isBoard && "bg-accent")}- >- <LayoutGrid className="w-4 h-4 mr-2" />- Active Board- {isBoard && (- <div className="ml-auto w-2 h-2 bg-primary rounded-full" />- )}- </DropdownMenuItem>- <DropdownMenuItem- onClick={() => handleViewChange("backlog")}- className={cn("cursor-pointer", isBacklog && "bg-accent")}- >- <Calendar className="w-4 h-4 mr-2" />- Backlog- {isBacklog && (- <div className="ml-auto w-2 h-2 bg-primary rounded-full" />+ {item.icon && (+ <item.icon className="w-3.5 h-3.5 transition-colors duration-200 relative z-10" />)}- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </SidebarMenuItem>- )}-- <SidebarMenuItem>- <SettingsMenu />- </SidebarMenuItem>- </SidebarMenu>+ <span className="transition-colors duration-200 relative z-10">+ {item.title}+ </span>+ </Button>+ </SidebarMenuButton>+ </SidebarMenuItem>+ ))}+ </SidebarMenu>+ </CollapsibleContent></SidebarGroup>- <SearchCommandMenu open={open} setOpen={setOpen} />- </>+ </Collapsible>);}diff --git a/apps/web/src/components/nav-projects.tsx b/apps/web/src/components/nav-projects.tsxindex 2615bbc4c..d20820d6b 100644--- a/apps/web/src/components/nav-projects.tsx+++ b/apps/web/src/components/nav-projects.tsx@@ -1,4 +1,21 @@+import { useQueryClient } from "@tanstack/react-query";+import { useNavigate, useParams } from "@tanstack/react-router";+import {+ ChevronRight,+ Folder,+ Forward,+ MoreHorizontal,+ Plus,+ Trash2,+} from "lucide-react";+import { useState } from "react";+import { toast } from "sonner";import { Button } from "@/components/ui/button";+import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@/components/ui/collapsible";import {DropdownMenu,DropdownMenuContent,@@ -19,14 +36,9 @@ import icons from "@/constants/project-icons";import { shortcuts } from "@/constants/shortcuts";import useDeleteProject from "@/hooks/mutations/project/use-delete-project";import useGetProjects from "@/hooks/queries/project/use-get-projects";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { cn } from "@/lib/cn";-import useWorkspaceStore from "@/store/workspace";import type { ProjectWithTasks } from "@/types/project";-import { useQueryClient } from "@tanstack/react-query";-import { useNavigate, useParams } from "@tanstack/react-router";-import { Folder, Forward, MoreHorizontal, Trash2 } from "lucide-react";-import { useState } from "react";-import { toast } from "sonner";import CreateProjectModal from "./shared/modals/create-project-modal";import {AlertDialog,@@ -48,7 +60,7 @@ import {export function NavProjects() {const { isMobile } = useSidebar();- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const { data: projects } = useGetProjects({workspaceId: workspace?.id || "",});@@ -87,98 +99,133 @@ export function NavProjects() {if (!workspace) return null;return (- <SidebarGroup className="group-data-[collapsible=icon]:hidden">- <SidebarGroupLabel>Projects</SidebarGroupLabel>- <SidebarMenu>- {projects?.map((project) => {- const IconComponent =- icons[project.icon as keyof typeof icons] || icons.Layout;-- return (- <SidebarMenuItem key={project.id}>- <SidebarMenuButton asChild>- <Button- onClick={() => handleProjectClick(project)}- variant="ghost"- className={cn(- "w-full flex gap-2 justify-start items-start",- isCurrentProject(project.id) && "bg-accent",- )}- >- <IconComponent className="w-4 h-4" />- <span>{project.name}</span>- </Button>- </SidebarMenuButton>+ <Collapsible defaultOpen={true} className="group/collapsible">+ <SidebarGroup className="group-data-[collapsible=icon]:hidden pt-0">+ <CollapsibleTrigger asChild>+ <SidebarGroupLabel className="px-2 text-xs text-muted-foreground/70 font-medium cursor-pointer hover:text-muted-foreground transition-colors duration-200 flex items-center justify-between">+ Projects+ <ChevronRight className="ml-auto h-3 w-3 transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" />+ </SidebarGroupLabel>+ </CollapsibleTrigger>+ <CollapsibleContent className="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom-2 data-[state=open]:slide-in-from-bottom-2 duration-200">+ <SidebarMenu className="space-y-0.5">+ {projects?.map((project, index) => {+ const IconComponent =+ icons[project.icon as keyof typeof icons] || icons.Layout;- <DropdownMenu>- <DropdownMenuTrigger asChild>- <SidebarMenuAction showOnHover>- <MoreHorizontal />- <span className="sr-only">More</span>- </SidebarMenuAction>- </DropdownMenuTrigger>- <DropdownMenuContent- className="w-48 rounded-lg"- side={isMobile ? "bottom" : "right"}- align={isMobile ? "end" : "start"}+ return (+ <SidebarMenuItem+ key={project.id}+ className="data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-bottom-2 duration-200"+ style={{ animationDelay: `${index * 50}ms` }}>- <DropdownMenuItem- className="items-start cursor-pointer"- onClick={() => handleProjectClick(project)}- >- <Folder className="text-muted-foreground" />- <span>View Project</span>- </DropdownMenuItem>- <DropdownMenuItem- className="items-start cursor-pointer"- onClick={() => {- navigator.clipboard.writeText(- `${window.location.origin}/dashboard/workspace/${workspace?.id}/project/${project.id}`,- );- toast.success("Project link copied to clipboard");- }}+ <SidebarMenuButton+ asChild+ isActive={isCurrentProject(project.id)}+ size="sm"+ className="h-7 px-2 text-xs rounded-sm group text-foreground/60">- <Forward className="text-muted-foreground" />- <span>Share Project</span>- </DropdownMenuItem>- <DropdownMenuSeparator />- <DropdownMenuItem- className="items-start text-destructive cursor-pointer"- onClick={() => {- setProjectToDeleteID(project.id);- setIsDeleteProjectModalOpen(true);- }}- >- <Trash2 className="text-destructive" />- <span>Delete Project</span>- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>+ <Button+ onClick={() => handleProjectClick(project)}+ variant="ghost"+ className={cn(+ "w-full h-7 justify-start items-center gap-2 px-2 text-sm transition-all duration-200 relative",+ isCurrentProject(project.id) &&+ "!bg-neutral-200 dark:!bg-neutral-800",+ )}+ >+ <IconComponent className="w-3.5 h-3.5 transition-colors duration-200 relative z-10" />+ <span+ className={cn(+ `transition-colors duration-200 relative z-10 font-normal ${isCurrentProject(project.id) ? "font-medium" : ""}`,+ )}+ >+ {project.name}+ </span>+ </Button>+ </SidebarMenuButton>++ <DropdownMenu>+ <DropdownMenuTrigger asChild>+ <SidebarMenuAction showOnHover>+ <MoreHorizontal />+ <span className="sr-only">More</span>+ </SidebarMenuAction>+ </DropdownMenuTrigger>+ <DropdownMenuContent+ className="w-48 rounded-lg"+ side={isMobile ? "bottom" : "right"}+ align={isMobile ? "end" : "start"}+ >+ <DropdownMenuItem+ className="items-start cursor-pointer"+ onClick={() => handleProjectClick(project)}+ >+ <Folder className="text-muted-foreground" />+ <span>View Project</span>+ </DropdownMenuItem>+ <DropdownMenuItem+ className="items-start cursor-pointer"+ onClick={() => {+ navigator.clipboard.writeText(+ `${window.location.origin}/dashboard/workspace/${workspace?.id}/project/${project.id}`,+ );+ toast.success("Project link copied to clipboard");+ }}+ >+ <Forward className="text-muted-foreground" />+ <span>Share Project</span>+ </DropdownMenuItem>+ <DropdownMenuSeparator />+ <DropdownMenuItem+ className="items-start text-destructive cursor-pointer"+ onClick={() => {+ setProjectToDeleteID(project.id);+ setIsDeleteProjectModalOpen(true);+ }}+ >+ <Trash2 className="text-destructive" />+ <span>Delete Project</span>+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu>+ </SidebarMenuItem>+ );+ })}+ <SidebarMenuItem+ className="data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:slide-in-from-bottom-2 duration-200"+ style={{ animationDelay: `${(projects?.length || 0) * 50}ms` }}+ >+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <SidebarMenuButton+ size="sm"+ className="h-7 px-2 text-xs text-sidebar-foreground/70"+ onClick={() => setIsCreateProjectModalOpen(true)}+ >+ <Plus className="w-3.5 h-3.5 text-sidebar-foreground/70" />+ <span className="text-sm text-sidebar-foreground/70">+ Add project+ </span>+ </SidebarMenuButton>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[+ shortcuts.project.prefix,+ shortcuts.project.create,+ ]}+ className="ml-auto"+ description="Add project"+ />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider></SidebarMenuItem>- );- })}- <SidebarMenuItem>- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>- <SidebarMenuButton- className="text-sidebar-foreground/70"- onClick={() => setIsCreateProjectModalOpen(true)}- >- <MoreHorizontal className="text-sidebar-foreground/70" />- <span>Add project</span>- </SidebarMenuButton>- </TooltipTrigger>- <TooltipContent>- <KbdSequence- keys={[shortcuts.project.prefix, shortcuts.project.create]}- className="ml-auto"- />- </TooltipContent>- </Tooltip>- </TooltipProvider>- </SidebarMenuItem>- </SidebarMenu>+ </SidebarMenu>+ </CollapsibleContent>+ </SidebarGroup><CreateProjectModalopen={isCreateProjectModalOpen}onClose={() => setIsCreateProjectModalOpen(false)}@@ -221,6 +268,6 @@ export function NavProjects() {</AlertDialogFooter></AlertDialogContent></AlertDialog>- </SidebarGroup>+ </Collapsible>);}diff --git a/apps/web/src/components/nav-user.tsx b/apps/web/src/components/nav-user.tsxdeleted file mode 100644index 9aa7d340b..000000000--- a/apps/web/src/components/nav-user.tsx+++ /dev/null@@ -1,129 +0,0 @@-import { ChevronsUpDown, LogOut } from "lucide-react";--import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";-import { SettingsMenu } from "@/components/settings-menu";-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuGroup,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuSeparator,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import {- SidebarMenu,- SidebarMenuButton,- SidebarMenuItem,- useSidebar,-} from "@/components/ui/sidebar";-import useSignOut from "@/hooks/mutations/use-sign-out";-import useProjectStore from "@/store/project";-import useWorkspaceStore from "@/store/workspace";-import { useQueryClient } from "@tanstack/react-query";-import { toast } from "sonner";--export function NavUser() {- const { isMobile } = useSidebar();- const { user } = useAuth();- const { mutateAsync: signOut, isPending } = useSignOut();- const queryClient = useQueryClient();- const { setProject } = useProjectStore();- const { setWorkspace } = useWorkspaceStore();-- if (!user) {- return null;- }-- const handleSignOut = async () => {- try {- await signOut();- queryClient.clear();- setProject(undefined);- setWorkspace(undefined);- toast.success("Signed out successfully");- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to sign out",- );- }- };-- const initials = user.name- ? user.name- .split(" ")- .map((n) => n[0])- .join("")- .toUpperCase()- : user.email?.substring(0, 2).toUpperCase() || "U";-- return (- <SidebarMenu>- <SidebarMenuItem>- <DropdownMenu>- <DropdownMenuTrigger asChild>- <SidebarMenuButton- size="lg"- className="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground"- >- <Avatar className="h-8 w-8 rounded-lg">- <AvatarImage src={user.image ?? ""} alt={user.name || ""} />- <AvatarFallback className="rounded-lg">- {initials}- </AvatarFallback>- </Avatar>- <div className="grid flex-1 text-left text-sm leading-tight">- <span className="truncate font-medium">- {user.name || "User"}- </span>- {user.email && (- <span className="truncate text-xs">{user.email}</span>- )}- </div>- <ChevronsUpDown className="ml-auto size-4" />- </SidebarMenuButton>- </DropdownMenuTrigger>- <DropdownMenuContent- className="w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg"- side={isMobile ? "bottom" : "right"}- align="end"- sideOffset={4}- >- <DropdownMenuLabel className="p-0 font-normal">- <div className="flex items-center gap-2 px-1 py-1.5 text-left text-sm">- <Avatar className="h-8 w-8 rounded-lg">- <AvatarImage src={user.image ?? ""} alt={user.name || ""} />- <AvatarFallback className="rounded-lg">- {initials}- </AvatarFallback>- </Avatar>- <div className="grid flex-1 text-left text-sm leading-tight">- <span className="truncate font-medium">- {user.name || "User"}- </span>- {user.email && (- <span className="truncate text-xs">{user.email}</span>- )}- </div>- </div>- </DropdownMenuLabel>- <DropdownMenuSeparator />- <DropdownMenuGroup>- <SettingsMenu variant="user-dropdown" />- </DropdownMenuGroup>- <DropdownMenuSeparator />- <DropdownMenuItem- onClick={handleSignOut}- disabled={isPending}- className="cursor-pointer"- >- <LogOut />- {isPending ? "Signing out..." : "Log out"}- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </SidebarMenuItem>- </SidebarMenu>- );-}diff --git a/apps/web/src/components/notification/notification-dropdown.tsx b/apps/web/src/components/notification/notification-dropdown.tsxindex 584b889ca..853d559b8 100644--- a/apps/web/src/components/notification/notification-dropdown.tsx+++ b/apps/web/src/components/notification/notification-dropdown.tsx@@ -1,3 +1,6 @@+import { formatDistanceToNow } from "date-fns";+import { Bell } from "lucide-react";+import { forwardRef, useImperativeHandle, useState } from "react";import {AlertDialog,AlertDialogAction,@@ -28,9 +31,6 @@ import useMarkAllNotificationsAsRead from "@/hooks/mutations/notification/use-maimport useGetNotifications from "@/hooks/queries/notification/use-get-notifications";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";import { cn } from "@/lib/cn";-import { formatDistanceToNow } from "date-fns";-import { Bell } from "lucide-react";-import { forwardRef, useImperativeHandle, useState } from "react";export interface NotificationDropdownRef {toggle: () => void;@@ -87,12 +87,12 @@ const NotificationDropdown = forwardRef<NotificationDropdownRef>(</TooltipTrigger><TooltipContent><p className="flex items-center gap-2">- Notifications<KbdSequencekeys={[shortcuts.notification.prefix,shortcuts.notification.open,]}+ description="Open notifications"/></p></TooltipContent>@@ -129,40 +129,38 @@ const NotificationDropdown = forwardRef<NotificationDropdownRef>(</p></div>) : (- <>- {notifications.map((notification) => (- <div- key={notification.id}- className={cn(- "px-3 py-3 border-b border-border/50 hover:bg-accent/50 transition-colors",- !notification.isRead && "bg-accent/20",- )}- >- <div className="flex items-start gap-3">- <div className="flex-1 min-w-0">- <div className="flex items-center gap-2 mb-1">- <h4 className="text-sm font-medium text-foreground">- {notification.title}- </h4>- {!notification.isRead && (- <div className="w-2 h-2 bg-primary rounded-full flex-shrink-0" />- )}- </div>- {notification.content && (- <p className="text-xs text-muted-foreground line-clamp-2">- {notification.content}- </p>+ notifications.map((notification) => (+ <div+ key={notification.id}+ className={cn(+ "px-3 py-3 border-b border-border/50 hover:bg-accent/50 transition-colors",+ !notification.isRead && "bg-accent/20",+ )}+ >+ <div className="flex items-start gap-3">+ <div className="flex-1 min-w-0">+ <div className="flex items-center gap-2 mb-1">+ <h4 className="text-sm font-medium text-foreground">+ {notification.title}+ </h4>+ {!notification.isRead && (+ <div className="w-2 h-2 bg-primary rounded-full flex-shrink-0" />)}- <p className="text-xs text-muted-foreground mt-2">- {formatDistanceToNow(notification.createdAt, {- addSuffix: true,- })}- </p></div>+ {notification.content && (+ <p className="text-xs text-muted-foreground line-clamp-2">+ {notification.content}+ </p>+ )}+ <p className="text-xs text-muted-foreground mt-2">+ {formatDistanceToNow(notification.createdAt, {+ addSuffix: true,+ })}+ </p></div></div>- ))}- </>+ </div>+ )))}</div>{hasNotifications && (diff --git a/apps/web/src/components/onboarding/onboarding-flow.tsx b/apps/web/src/components/onboarding/onboarding-flow.tsxindex f3cbf5b97..66a80e150 100644--- a/apps/web/src/components/onboarding/onboarding-flow.tsx+++ b/apps/web/src/components/onboarding/onboarding-flow.tsx@@ -10,6 +10,7 @@ import { z } from "zod/v4";import { Logo } from "@/components/common/logo";import PageTitle from "@/components/page-title";+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";import { Button } from "@/components/ui/button";import {Form,@@ -21,6 +22,7 @@ import {} from "@/components/ui/form";import { Input } from "@/components/ui/input";import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";+import { authClient } from "@/lib/auth-client";import { useUserPreferencesStore } from "@/store/user-preferences";type OnboardingStep = "workspace" | "success";@@ -48,6 +50,7 @@ export function OnboardingFlow() {const queryClient = useQueryClient();const { setActiveWorkspaceId } = useUserPreferencesStore();const { mutateAsync: createWorkspace, isPending } = useCreateWorkspace();+ const { user } = useAuth();const form = useForm<WorkspaceFormValues>({resolver: standardSchemaResolver(workspaceSchema),@@ -62,16 +65,19 @@ export function OnboardingFlow() {const workspace = await createWorkspace({name: data.name.trim(),description: data.description?.trim() || "",+ userId: user?.id,});await queryClient.invalidateQueries({ queryKey: ["workspaces"] });- setActiveWorkspaceId(workspace.id);+ await authClient.organization.setActive({+ organizationId: workspace.id,+ });setCreatedWorkspaceName(data.name);+ setActiveWorkspaceId(workspace.id);toast.success("Workspace created successfully");setStep("success");- // Navigate to workspace after showing successsetTimeout(() => {navigate({to: "/dashboard/workspace/$workspaceId",diff --git a/apps/web/src/components/page-title.tsx b/apps/web/src/components/page-title.tsxindex 7ed7eba5a..5ce52e68f 100644--- a/apps/web/src/components/page-title.tsx+++ b/apps/web/src/components/page-title.tsx@@ -15,7 +15,7 @@ export default function PageTitle({const formattedTitle = hideAppName? title: suffix- ? `${title} · ${suffix}`+ ? `${title} ⎯ ${suffix}`: title;document.title = formattedTitle;}, [title, suffix, hideAppName]);diff --git a/apps/web/src/components/profile-setup/profile-setup-flow.tsx b/apps/web/src/components/profile-setup/profile-setup-flow.tsxnew file mode 100644index 000000000..8cb81eb90--- /dev/null+++ b/apps/web/src/components/profile-setup/profile-setup-flow.tsx@@ -0,0 +1,183 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useQueryClient } from "@tanstack/react-query";+import { useNavigate } from "@tanstack/react-router";+import { AnimatePresence, motion } from "framer-motion";+import { CheckCircle2, User } from "lucide-react";+import { useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod/v4";++import { Logo } from "@/components/common/logo";+import PageTitle from "@/components/page-title";+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";+import { Button } from "@/components/ui/button";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import useUpdateUserProfile from "@/hooks/mutations/use-update-user-profile";++type ProfileSetupStep = "profile" | "success";++export type ProfileFormValues = {+ name: string;+};++const profileSchema = z.object({+ name: z+ .string()+ .min(1, "Name is required")+ .min(2, "Name must be at least 2 characters"),+});++const fadeTransition = {+ initial: { opacity: 0, y: 20 },+ animate: { opacity: 1, y: 0 },+ exit: { opacity: 0, y: -20 },+};++export function ProfileSetupFlow() {+ const [step, setStep] = useState<ProfileSetupStep>("profile");+ const [userName, setUserName] = useState("");+ const navigate = useNavigate();+ const queryClient = useQueryClient();+ const { mutateAsync: updateProfile, isPending } = useUpdateUserProfile();+ const { user } = useAuth();++ const form = useForm<ProfileFormValues>({+ resolver: standardSchemaResolver(profileSchema),+ defaultValues: {+ name: user?.name || "",+ },+ });++ const onSubmit = async (data: ProfileFormValues) => {+ try {+ await updateProfile({+ name: data.name.trim(),+ });++ await queryClient.invalidateQueries({ queryKey: ["session"] });+ setUserName(data.name);+ toast.success("Profile updated successfully");++ setStep("success");++ setTimeout(() => {+ navigate({+ to: "/dashboard",+ replace: true,+ });+ }, 1500);+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update profile",+ );+ }+ };++ const renderProfileStep = () => (+ <motion.div+ key="profile"+ variants={fadeTransition}+ initial="initial"+ animate="animate"+ exit="exit"+ transition={{ duration: 0.3 }}+ className="w-full max-w-sm mx-auto"+ >+ <Logo className="mx-auto mb-6 w-full flex items-end justify-center" />++ <div className="bg-card/50 backdrop-blur-xl rounded-xl border border-border/50 p-6 shadow-xl shadow-background/20">+ <div className="text-center mb-6">+ <div className="w-12 h-12 bg-primary/10 rounded-full flex items-center justify-center mx-auto mb-4">+ <User className="h-6 w-6 text-primary" />+ </div>+ <h1 className="text-xl font-bold text-foreground mb-2">+ Complete your profile+ </h1>+ <p className="text-muted-foreground text-sm">+ Please enter your name to get started+ </p>+ </div>++ <Form {...form}>+ <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">+ <FormField+ control={form.control}+ name="name"+ render={({ field }) => (+ <FormItem>+ <FormLabel className="text-sm font-medium">+ Your name+ </FormLabel>+ <FormControl>+ <Input placeholder="e.g. John Doe" autoFocus {...field} />+ </FormControl>+ <FormMessage />+ </FormItem>+ )}+ />++ <Button type="submit" disabled={isPending} className="w-full mt-6">+ {isPending ? "Saving..." : "Continue"}+ </Button>+ </form>+ </Form>+ </div>+ </motion.div>+ );++ const renderSuccessStep = () => (+ <motion.div+ key="success"+ variants={fadeTransition}+ initial="initial"+ animate="animate"+ exit="exit"+ transition={{ duration: 0.3 }}+ className="w-full max-w-sm mx-auto"+ >+ <Logo className="mx-auto mb-6 w-full flex items-end justify-center" />++ <div className="bg-card/50 backdrop-blur-xl rounded-xl border border-border/50 p-6 shadow-xl shadow-background/20">+ <div className="text-center space-y-4">+ <div className="w-12 h-12 bg-green-100 dark:bg-green-900/20 rounded-full flex items-center justify-center mx-auto">+ <CheckCircle2 className="h-6 w-6 text-green-600 dark:text-green-400" />+ </div>++ <div className="space-y-2">+ <h1 className="text-xl font-bold text-foreground">+ Welcome, {userName}!+ </h1>+ <p className="text-muted-foreground text-sm">+ Taking you to your dashboard...+ </p>+ </div>++ <div className="w-6 h-6 mx-auto">+ <div className="animate-spin rounded-full h-6 w-6 border-2 border-border border-t-foreground" />+ </div>+ </div>+ </div>+ </motion.div>+ );++ return (+ <>+ <PageTitle title="Complete Profile" />+ <div className="min-h-screen w-full bg-background flex flex-col items-center justify-center p-4">+ <AnimatePresence mode="wait">+ {step === "profile" && renderProfileStep()}+ {step === "success" && renderSuccessStep()}+ </AnimatePresence>+ </div>+ </>+ );+}diff --git a/apps/web/src/components/project/github-integration-settings.tsx b/apps/web/src/components/project/github-integration-settings.tsxindex 012b76e2d..45a21976c 100644--- a/apps/web/src/components/project/github-integration-settings.tsx+++ b/apps/web/src/components/project/github-integration-settings.tsx@@ -1,23 +1,33 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import {+ AlertTriangle,+ CheckCircle,+ ExternalLink,+ GitBranch,+ Github,+ Import,+ Link,+ RefreshCw,+ Unlink,+ XCircle,+} from "lucide-react";+import React from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod/v4";import { RepositoryBrowserModal } from "@/components/project/repository-browser-modal";import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";-import {- Card,- CardContent,- CardDescription,- CardHeader,- CardTitle,-} from "@/components/ui/card";import {Form,FormControl,- FormDescription,FormField,FormItem,FormLabel,FormMessage,} from "@/components/ui/form";import { Input } from "@/components/ui/input";+import { Separator } from "@/components/ui/separator";import type { VerifyGithubInstallationResponse } from "@/fetchers/github-integration/verify-github-installation";import {useCreateGithubIntegration,@@ -27,25 +37,6 @@ import {import useImportGithubIssues from "@/hooks/mutations/github-integration/use-import-github-issues";import useGetGithubIntegration from "@/hooks/queries/github-integration/use-get-github-integration";import { cn } from "@/lib/cn";-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import {- AlertTriangle,- CheckCircle,- Download,- ExternalLink,- GitBranch,- Github,- Import,- Link,- RefreshCw,- Settings,- Unlink,- XCircle,-} from "lucide-react";-import React from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";const githubIntegrationSchema = z.object({repositoryOwner: z@@ -62,7 +53,9 @@ type GithubIntegrationFormValues = z.infer<typeof githubIntegrationSchema>;export function GitHubIntegrationSettings({projectId,-}: { projectId: string }) {+}: {+ projectId: string;+}) {const { data: integration, isLoading } = useGetGithubIntegration(projectId);const { mutateAsync: createIntegration, isPending: isCreating } =useCreateGithubIntegration();@@ -221,27 +214,21 @@ export function GitHubIntegrationSettings({if (isLoading) {return (- <div className="space-y-6">- <Card>- <CardHeader>- <div className="flex items-center gap-3">- <div className="p-2 bg-gray-100 dark:bg-gray-800 rounded-lg">- <Github className="w-6 h-6" />- </div>- <div>- <div className="h-5 bg-gray-200 rounded animate-pulse w-40" />- <div className="h-4 bg-gray-200 rounded animate-pulse w-64 mt-2" />- </div>- </div>- </CardHeader>- <CardContent>- <div className="space-y-4">- <div className="h-4 bg-gray-200 rounded animate-pulse" />- <div className="h-10 bg-gray-200 rounded animate-pulse" />- <div className="h-10 bg-gray-200 rounded animate-pulse" />- </div>- </CardContent>- </Card>+ <div className="space-y-4">+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="space-y-4">+ <div className="h-4 bg-muted rounded animate-pulse w-40" />+ <div className="h-4 bg-muted rounded animate-pulse w-full" />+ <div className="h-10 bg-muted rounded animate-pulse w-full" />+ </div>+ </div>+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="space-y-4">+ <div className="h-4 bg-muted rounded animate-pulse w-40" />+ <div className="h-10 bg-muted rounded animate-pulse w-full" />+ <div className="h-10 bg-muted rounded animate-pulse w-full" />+ </div>+ </div></div>);}@@ -253,22 +240,48 @@ export function GitHubIntegrationSettings({verificationResult?.hasRequiredPermissions;return (- <div className="space-y-6">- <Card>- <CardHeader className="pb-3">- <div className="flex items-center justify-between">- <CardTitle className="text-base">Connection Status</CardTitle>- {isConnected && (- <Badge variant="secondary" className="gap-1">- <CheckCircle className="w-3 h-3" />- Connected+ <div className="space-y-4">+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Connection Status</p>+ {isConnected ? (+ <p className="text-xs text-muted-foreground">+ Repository connected and active+ </p>+ ) : (+ <p className="text-xs text-muted-foreground">+ No repository connected+ </p>+ )}+ </div>+ <div className="flex items-center gap-3">+ {isConnected ? (+ <div className="flex items-center gap-2">+ <Badge variant="secondary" className="gap-1">+ <CheckCircle className="w-3 h-3" />+ Connected+ </Badge>+ </div>+ ) : (+ <Badge variant="outline" className="gap-1">+ <XCircle className="w-3 h-3" />+ Not Connected</Badge>)}</div>- </CardHeader>- <CardContent>- {isConnected ? (- <div className="space-y-3">+ </div>++ {isConnected && (+ <>+ <Separator />+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Repository</p>+ <p className="text-xs text-muted-foreground">+ Connected GitHub repository+ </p>+ </div><div className="flex items-center gap-2 text-sm"><Github className="w-4 h-4" /><span className="font-medium">@@ -278,102 +291,124 @@ export function GitHubIntegrationSettings({href={`https://github.com/${integration.repositoryOwner}/${integration.repositoryName}`}target="_blank"rel="noopener noreferrer"- className="text-blue-600 hover:text-blue-800"+ className="text-primary hover:text-primary/80 transition-colors"><ExternalLink className="w-3 h-3" /></a></div>-- {verificationResult && (- <div className="flex items-center gap-2 text-sm">- {verificationResult.isInstalled &&- verificationResult.hasRequiredPermissions ? (- <>- <CheckCircle className="w-4 h-4 text-green-600" />- <span className="text-green-700">- App properly configured- </span>- </>- ) : verificationResult.isInstalled ? (- <>- <AlertTriangle className="w-4 h-4 text-amber-600" />- <span className="text-amber-700">- Missing permissions- </span>- </>- ) : (- <>- <XCircle className="w-4 h-4 text-red-600" />- <span className="text-red-700">App not installed</span>- </>- )}- </div>- )}</div>- ) : (- <p className="text-sm text-gray-600 dark:text-gray-400">- No repository connected. Configure a repository below to get- started.- </p>- )}- </CardContent>- </Card>-- <Card>- <CardHeader>- <CardTitle className="text-base flex items-center gap-2">- <Settings className="w-4 h-4" />- Repository Configuration- </CardTitle>- <CardDescription>- Connect to a GitHub repository to enable issue synchronization- </CardDescription>- </CardHeader>- <CardContent>- <Form {...form}>- <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">- <div className="grid grid-cols-2 gap-4">- <FormField- control={form.control}- name="repositoryOwner"- render={({ field }) => (- <FormItem>- <FormLabel>Repository Owner</FormLabel>- <FormControl>- <Input- placeholder="e.g., octocat"- {...field}- disabled={isCreating || isDeleting}- />- </FormControl>- <FormDescription>- GitHub username or organization- </FormDescription>- <FormMessage />- </FormItem>- )}- />-- <FormField- control={form.control}- name="repositoryName"- render={({ field }) => (- <FormItem>- <FormLabel>Repository Name</FormLabel>- <FormControl>- <Input- placeholder="e.g., my-project"- {...field}- disabled={isCreating || isDeleting}- />- </FormControl>- <FormDescription>The repository name</FormDescription>- <FormMessage />- </FormItem>- )}- />+ </>+ )}++ {isConnected && verificationResult && (+ <>+ <Separator />+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">GitHub App Status</p>+ <p className="text-xs text-muted-foreground">+ Installation and permissions status+ </p></div>+ <div className="flex items-center gap-2 text-sm">+ {verificationResult.isInstalled &&+ verificationResult.hasRequiredPermissions ? (+ <>+ <CheckCircle className="w-4 h-4 text-green-600" />+ <span className="text-green-600 font-medium">+ Properly configured+ </span>+ </>+ ) : verificationResult.isInstalled ? (+ <>+ <AlertTriangle className="w-4 h-4 text-amber-600" />+ <span className="text-amber-600 font-medium">+ Missing permissions+ </span>+ </>+ ) : (+ <>+ <XCircle className="w-4 h-4 text-red-600" />+ <span className="text-red-600 font-medium">+ Not installed+ </span>+ </>+ )}+ </div>+ </div>+ </>+ )}+ </div>+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <Form {...form}>+ <form onSubmit={form.handleSubmit(onSubmit)} className="space-y-4">+ <FormField+ control={form.control}+ name="repositoryOwner"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Repository Owner+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ GitHub username or organization+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="e.g., octocat"+ {...field}+ disabled={isCreating || isDeleting}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={form.control}+ name="repositoryName"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Repository Name+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ The repository name+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="e.g., my-project"+ {...field}+ disabled={isCreating || isDeleting}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Actions</p>+ <p className="text-xs text-muted-foreground">+ Manage your repository connection+ </p>+ </div><div className="flex flex-wrap gap-2"><Buttontype="button"@@ -382,7 +417,7 @@ export function GitHubIntegrationSettings({onClick={() => setShowRepositoryBrowser(true)}className="gap-2">- <GitBranch className="w-4 h-4" />+ <GitBranch className="size-3" />Browse</Button>@@ -395,7 +430,7 @@ export function GitHubIntegrationSettings({className="gap-2"><RefreshCw- className={cn("w-4 h-4", isVerifying && "animate-spin")}+ className={cn("size-3", isVerifying && "animate-spin")}/>Verify</Button>@@ -414,7 +449,7 @@ export function GitHubIntegrationSettings({}className="gap-2">- <Link className="w-4 h-4" />+ <Link className="size-3" />{isConnected ? "Update" : "Connect"}</Button>@@ -427,19 +462,22 @@ export function GitHubIntegrationSettings({disabled={isCreating || isDeleting}className="gap-2">- <Unlink className="w-4 h-4" />+ <Unlink className="size-3" />Disconnect</Button>)}</div>- </form>- </Form>+ </div>+ </form>+ </Form>- {verificationResult && (- <div className="mt-4">+ {verificationResult && (+ <>+ <Separator />+ <div className="space-y-2"><divclassName={cn(- "flex items-start gap-3 p-3 border rounded-lg text-sm",+ "flex items-start gap-3 p-3 border rounded-md text-sm",verificationResult.isInstalled &&verificationResult.hasRequiredPermissions? "bg-green-50 dark:bg-green-900/20 border-green-200 dark:border-green-800"@@ -517,59 +555,45 @@ export function GitHubIntegrationSettings({</div></div></div>- )}- </CardContent>- </Card>+ </>+ )}+ </div>{isConnected && (- <Card>- <CardHeader>- <CardTitle className="text-base flex items-center gap-2">- <Download className="w-4 h-4" />- Actions- </CardTitle>- <CardDescription>- Import existing issues from GitHub or manage your integration- </CardDescription>- </CardHeader>- <CardContent>- <div className="space-y-4">- <div className="flex items-start gap-4 p-4 border border-zinc-200 dark:border-zinc-800 rounded-lg bg-zinc-50/50 dark:bg-zinc-800/20 hover:bg-zinc-50 dark:hover:bg-zinc-800/30 transition-colors">- <div className="p-2 bg-zinc-100 dark:bg-zinc-800/50 rounded-lg">- <Import className="w-5 h-5 text-zinc-600 dark:text-zinc-400" />- </div>- <div className="flex-1">- <h4 className="font-medium mb-1 text-zinc-900 dark:text-zinc-100">- Import GitHub Issues- </h4>- <p className="text-sm text-zinc-600 dark:text-zinc-400 mb-3">- Import existing issues from your GitHub repository as tasks- in this project.- </p>- <Button- onClick={handleImportIssues}- disabled={isImporting || !canImport}- className="gap-2"- size="sm"- >- {isImporting ? (- <RefreshCw className="w-4 h-4 animate-spin" />- ) : (- <Import className="w-4 h-4" />- )}- {isImporting ? "Importing..." : "Import Issues"}- </Button>- {!canImport && (- <p className="text-xs text-zinc-500 dark:text-zinc-500 mt-2">- Complete the repository configuration above to enable- importing- </p>- )}- </div>- </div>+ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Import GitHub Issues</p>+ <p className="text-xs text-muted-foreground">+ Import existing issues from your GitHub repository as tasks+ </p>+ </div>+ <div className="flex items-center gap-2">+ <Button+ onClick={handleImportIssues}+ disabled={isImporting || !canImport}+ className="gap-2"+ size="sm"+ variant="outline"+ >+ {isImporting ? (+ <RefreshCw className="size-3 animate-spin" />+ ) : (+ <Import className="size-3" />+ )}+ {isImporting ? "Importing..." : "Import Issues"}+ </Button></div>- </CardContent>- </Card>+ </div>+ {!canImport && (+ <>+ <Separator />+ <p className="text-xs text-muted-foreground">+ Complete the repository configuration above to enable importing+ </p>+ </>+ )}+ </div>)}<RepositoryBrowserModaldiff --git a/apps/web/src/components/project/repository-browser-modal.tsx b/apps/web/src/components/project/repository-browser-modal.tsxindex 16014a91f..f766cd5d9 100644--- a/apps/web/src/components/project/repository-browser-modal.tsx+++ b/apps/web/src/components/project/repository-browser-modal.tsx@@ -1,13 +1,3 @@-import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";-import { Input } from "@/components/ui/input";-import getGitHubAppInfo from "@/fetchers/github-integration/get-app-info";-import listRepositories, {- type ListRepositoriesResponse,-} from "@/fetchers/github-integration/list-repositories";-import { cn } from "@/lib/cn";-import * as Dialog from "@radix-ui/react-dialog";import { useQuery } from "@tanstack/react-query";import {Check,@@ -18,9 +8,25 @@ import {Lock,Search,Settings,- X,} from "lucide-react";import React from "react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import {+ Dialog,+ DialogContent,+ DialogDescription,+ DialogHeader,+ DialogTitle,+} from "@/components/ui/dialog";+import { Input } from "@/components/ui/input";+import { Separator } from "@/components/ui/separator";+import getGitHubAppInfo from "@/fetchers/github-integration/get-app-info";+import listRepositories, {+ type ListRepositoriesResponse,+} from "@/fetchers/github-integration/list-repositories";+import { cn } from "@/lib/cn";type RepositoryBrowserModalProps = {open: boolean;@@ -95,230 +101,216 @@ export function RepositoryBrowserModal({};return (- <Dialog.Root open={open} onOpenChange={resetAndCloseModal}>- <Dialog.Portal>- <Dialog.Overlay className="fixed inset-0 bg-black/40 backdrop-blur-sm z-40" />- <Dialog.Content className="fixed z-50 left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-full max-w-3xl max-h-[85vh]">- <div className="bg-white dark:bg-zinc-900 rounded-lg shadow-xl border border-zinc-200 dark:border-zinc-800 flex flex-col h-full max-h-[85vh]">- <div className="flex-shrink-0 flex items-center justify-between p-4 border-b border-zinc-200 dark:border-zinc-800">- <div>- <Dialog.Title className="text-lg font-semibold text-zinc-900 dark:text-zinc-100 flex items-center gap-2">- <GitBranch className="w-5 h-5" />- Select Repository- </Dialog.Title>- <p className="text-sm text-zinc-500 dark:text-zinc-400 mt-1">- Choose a repository where your GitHub App is installed to- enable issue creation.- </p>- </div>- <Dialog.Close className="text-zinc-500 hover:text-zinc-700 dark:text-zinc-400 dark:hover:text-zinc-300">- <X size={20} />- </Dialog.Close>+ <Dialog open={open} onOpenChange={resetAndCloseModal}>+ <DialogContent className="!max-w-2xl max-h-[85vh] p-0 gap-0 flex flex-col">+ <DialogHeader className="px-6 pt-6 pb-4">+ <DialogTitle className="flex items-center gap-2">+ <GitBranch className="w-5 h-5" />+ Select Repository+ </DialogTitle>+ <DialogDescription className="mt-1.5">+ Choose a repository where your GitHub App is installed to enable+ issue synchronization.+ </DialogDescription>+ </DialogHeader>++ <Separator />++ <div className="px-6 py-4">+ <div className="relative">+ <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" />+ <Input+ placeholder="Search repositories..."+ value={searchTerm}+ onChange={(e) => setSearchTerm(e.target.value)}+ className="pl-10"+ />+ </div>+ </div>++ <Separator />++ <div className="flex-1 overflow-y-auto min-h-[300px]">+ {isLoading && (+ <div className="px-6 py-4 space-y-3">+ {Array.from({ length: 5 }, (_, i) => (+ <div+ key={`loading-skeleton-repo-${i}-${Date.now()}`}+ className="p-4 border border-border rounded-md bg-sidebar animate-pulse"+ >+ <div className="flex items-center gap-3">+ <div className="w-8 h-8 bg-muted rounded-full" />+ <div className="flex-1">+ <div className="w-48 h-4 bg-muted rounded mb-2" />+ <div className="w-32 h-3 bg-muted rounded" />+ </div>+ </div>+ </div>+ ))}</div>+ )}- <div className="flex-shrink-0 p-4 border-b border-zinc-200 dark:border-zinc-800">- <div className="relative">- <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-zinc-400 w-4 h-4" />- <Input- placeholder="Search repositories..."- value={searchTerm}- onChange={(e) => setSearchTerm(e.target.value)}- className="pl-10 bg-white dark:bg-zinc-800/50"- />+ {error && (+ <div className="text-center py-12 px-6">+ <div className="text-destructive mb-3 font-medium">+ Failed to load repositories</div>+ <Button variant="outline" onClick={() => refetch()}>+ Try Again+ </Button></div>+ )}- <div className="flex-1 overflow-y-auto">- {isLoading && (- <div className="p-4 space-y-3">- {Array.from({ length: 5 }, (_, i) => (- <div- key={`loading-skeleton-repo-${i}-${Date.now()}`}- className="p-3 border border-zinc-200 dark:border-zinc-700 rounded-lg animate-pulse"+ {data && !isLoading && (+ <>+ {data.repositories.length === 0 && (+ <div className="text-center py-12 px-6">+ <GitBranch className="w-12 h-12 text-muted-foreground mx-auto mb-4" />+ <h3 className="text-lg font-medium mb-2">+ No repositories found+ </h3>+ <p className="text-muted-foreground text-sm mb-6 max-w-md mx-auto">+ Install the GitHub App on your repositories to see them+ here.+ </p>+ {appInfo?.appName && (+ <Button+ onClick={() =>+ window.open(+ `https://github.com/apps/${appInfo.appName}`,+ "_blank",+ )+ }>- <div className="flex items-center gap-3">- <div className="w-8 h-8 bg-zinc-200 dark:bg-zinc-700 rounded-full" />- <div className="flex-1">- <div className="w-48 h-4 bg-zinc-200 dark:bg-zinc-700 rounded mb-2" />- <div className="w-32 h-3 bg-zinc-200 dark:bg-zinc-700 rounded" />- </div>- </div>- </div>- ))}- </div>- )}-- {error && (- <div className="text-center py-12">- <div className="text-red-600 dark:text-red-400 mb-3 font-medium">- Failed to load repositories- </div>- <Button variant="outline" onClick={() => refetch()}>- Try Again- </Button>+ <ExternalLink className="w-4 h-4 mr-2" />+ Install GitHub App+ </Button>+ )}</div>)}- {data && !isLoading && (- <>- {data.repositories.length === 0 && (- <div className="text-center py-12">- <GitBranch className="w-12 h-12 text-zinc-400 mx-auto mb-4" />- <h3 className="text-lg font-medium text-zinc-900 dark:text-zinc-100 mb-2">- No repositories found- </h3>- <p className="text-zinc-500 dark:text-zinc-400 mb-6 max-w-md mx-auto">- Install the GitHub App on your repositories to see them- here.- </p>- {appInfo?.appName && (- <Button- onClick={() =>- window.open(- `https://github.com/apps/${appInfo.appName}`,- "_blank",- )- }- className="bg-indigo-600 text-white hover:bg-indigo-500 dark:bg-indigo-500 dark:hover:bg-indigo-400"- >- <ExternalLink className="w-4 h-4 mr-2" />- Install GitHub App- </Button>+ {filteredRepositories.length > 0 && (+ <div className="px-6 py-4 space-y-2">+ {filteredRepositories.map((repository) => (+ <button+ key={repository.id}+ type="button"+ onClick={() => handleSelectRepository(repository)}+ className={cn(+ "w-full p-4 border rounded-md text-left transition-colors group bg-sidebar",+ "hover:bg-accent focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",+ selectedRepository === repository.full_name+ ? "border-primary bg-accent"+ : "border-border",)}- </div>- )}-- {filteredRepositories.length > 0 && (- <div className="p-4 space-y-2">- {filteredRepositories.map((repository) => (- <button- key={repository.id}- type="button"- onClick={() => handleSelectRepository(repository)}- className={cn(- "w-full p-3 border rounded-lg text-left transition-all duration-200 group",- "hover:bg-zinc-50 dark:hover:bg-zinc-800/50",- "focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:focus:ring-offset-zinc-900",- selectedRepository === repository.full_name- ? "border-indigo-500 bg-indigo-50 dark:bg-indigo-500/10 dark:border-indigo-400"- : "border-zinc-200 dark:border-zinc-700",- )}- >- <div className="flex items-center justify-between">- <div className="flex items-center gap-3 flex-1 min-w-0">- <Avatar className="w-8 h-8 flex-shrink-0">- <AvatarImage- src={repository.owner.avatar_url}- />- <AvatarFallback className="bg-zinc-100 dark:bg-zinc-800 text-zinc-600 dark:text-zinc-400">- {repository.owner.login- .charAt(0)- .toUpperCase()}- </AvatarFallback>- </Avatar>-- <div className="flex-1 min-w-0">- <div className="flex items-center gap-2 mb-1">- <span className="font-medium text-zinc-900 dark:text-zinc-100 truncate">- {repository.full_name}- </span>- <div className="flex items-center gap-1 flex-shrink-0">- {repository.private ? (- <Lock className="w-3 h-3 text-zinc-400" />- ) : (- <Globe className="w-3 h-3 text-zinc-400" />- )}- <Badge- variant="secondary"- className="text-xs bg-zinc-100 dark:bg-zinc-800"- >- {repository.owner.type}- </Badge>- </div>- </div>+ >+ <div className="flex items-center justify-between">+ <div className="flex items-center gap-3 flex-1 min-w-0">+ <Avatar className="w-8 h-8 flex-shrink-0">+ <AvatarImage src={repository.owner.avatar_url} />+ <AvatarFallback>+ {repository.owner.login.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>- {repository.description && (- <p className="text-sm text-zinc-600 dark:text-zinc-400 truncate mb-1">- {repository.description}- </p>+ <div className="flex-1 min-w-0">+ <div className="flex items-center gap-2 mb-1">+ <span className="font-medium truncate">+ {repository.full_name}+ </span>+ <div className="flex items-center gap-1 flex-shrink-0">+ {repository.private ? (+ <Lock className="w-3 h-3 text-muted-foreground" />+ ) : (+ <Globe className="w-3 h-3 text-muted-foreground" />)}-- <div className="flex items-center gap-4 text-xs text-zinc-500 dark:text-zinc-500">- <div className="flex items-center gap-1">- <Clock className="w-3 h-3" />- Updated{" "}- {formatTimeAgo(repository.updated_at)}- </div>- </div>+ <Badge variant="secondary" className="text-xs">+ {repository.owner.type}+ </Badge></div></div>- <div className="flex items-center gap-2 flex-shrink-0 ml-3">- {selectedRepository === repository.full_name && (- <Check className="w-4 h-4 text-indigo-600 dark:text-indigo-400" />- )}- <Button- variant="ghost"- size="sm"- onClick={(e) => {- e.stopPropagation();- window.open(repository.html_url, "_blank");- }}- className="opacity-0 group-hover:opacity-100 transition-opacity"- >- <ExternalLink className="w-4 h-4" />- </Button>+ {repository.description && (+ <p className="text-sm text-muted-foreground truncate mb-1">+ {repository.description}+ </p>+ )}++ <div className="flex items-center gap-4 text-xs text-muted-foreground">+ <div className="flex items-center gap-1">+ <Clock className="w-3 h-3" />+ Updated {formatTimeAgo(repository.updated_at)}+ </div></div></div>- </button>- ))}- </div>- )}+ </div>- {filteredRepositories.length === 0 &&- data.repositories.length > 0 && (- <div className="text-center py-12">- <Search className="w-12 h-12 text-zinc-400 mx-auto mb-4" />- <h3 className="text-lg font-medium text-zinc-900 dark:text-zinc-100 mb-2">- No repositories match your search- </h3>- <p className="text-zinc-500 dark:text-zinc-400">- Try adjusting your search terms or clear the search to- see all repositories.- </p>+ <div className="flex items-center gap-2 flex-shrink-0 ml-3">+ {selectedRepository === repository.full_name && (+ <Check className="w-4 h-4 text-primary" />+ )}+ <Button+ variant="ghost"+ size="sm"+ onClick={(e) => {+ e.stopPropagation();+ window.open(repository.html_url, "_blank");+ }}+ className="opacity-0 group-hover:opacity-100 transition-opacity"+ >+ <ExternalLink className="w-4 h-4" />+ </Button>+ </div></div>- )}- </>+ </button>+ ))}+ </div>)}- </div>- {data && data.installations.length > 0 && (- <div className="flex-shrink-0 border-t border-zinc-200 dark:border-zinc-800 p-4">- <div className="flex items-center justify-between text-sm text-zinc-600 dark:text-zinc-400">- <span>- {data.repositories.length} repositories across{" "}- {data.installations.length} installations- </span>- <Button- variant="ghost"- size="sm"- onClick={() =>- window.open(- "https://github.com/settings/installations",- "_blank",- )- }- className="text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100"- >- <Settings className="w-4 h-4 mr-2" />- Manage Installations- </Button>- </div>+ {filteredRepositories.length === 0 &&+ data.repositories.length > 0 && (+ <div className="text-center py-12 px-6">+ <Search className="w-12 h-12 text-muted-foreground mx-auto mb-4" />+ <h3 className="text-lg font-medium mb-2">+ No repositories match your search+ </h3>+ <p className="text-muted-foreground text-sm">+ Try adjusting your search terms or clear the search to see+ all repositories.+ </p>+ </div>+ )}+ </>+ )}+ </div>++ {data && data.installations.length > 0 && (+ <>+ <Separator />+ <div className="px-6 py-4">+ <div className="flex items-center justify-between text-sm text-muted-foreground">+ <span>+ {data.repositories.length} repositories across{" "}+ {data.installations.length} installations+ </span>+ <Button+ variant="ghost"+ size="sm"+ onClick={() =>+ window.open(+ "https://github.com/settings/installations",+ "_blank",+ )+ }+ >+ <Settings className="w-4 h-4 mr-2" />+ Manage Installations+ </Button></div>- )}- </div>- </Dialog.Content>- </Dialog.Portal>- </Dialog.Root>+ </div>+ </>+ )}+ </DialogContent>+ </Dialog>);}diff --git a/apps/web/src/components/project/tasks-import-export.tsx b/apps/web/src/components/project/tasks-import-export.tsxindex d8bed92f9..cf0479196 100644--- a/apps/web/src/components/project/tasks-import-export.tsx+++ b/apps/web/src/components/project/tasks-import-export.tsx@@ -1,14 +1,14 @@-import { Button } from "@/components/ui/button";-import useExportTasks from "@/hooks/mutations/task/use-export-tasks";-import useImportTasks from "@/hooks/mutations/task/use-import-tasks";-import { cn } from "@/lib/cn";-import type { ProjectWithTasks } from "@/types/project";import * as Dialog from "@radix-ui/react-dialog";import { useQueryClient } from "@tanstack/react-query";import { saveAs } from "file-saver";import { Download, Loader2, Upload, X } from "lucide-react";import { useRef, useState } from "react";import { toast } from "sonner";+import { Button } from "@/components/ui/button";+import useExportTasks from "@/hooks/mutations/task/use-export-tasks";+import useImportTasks from "@/hooks/mutations/task/use-import-tasks";+import { cn } from "@/lib/cn";+import type { ProjectWithTasks } from "@/types/project";interface TasksImportExportProps {project: ProjectWithTasks;@@ -196,6 +196,7 @@ export function TasksImportExport({ project }: TasksImportExportProps) {</pre></div>+ {/** biome-ignore lint/a11y/noStaticElementInteractions: false positive for onDrop and onDragOver */}<divclassName={cn("border-2 border-dashed rounded-lg p-8 text-center mb-4",diff --git a/apps/web/src/components/providers/auth-provider/index.tsx b/apps/web/src/components/providers/auth-provider/index.tsxindex 28511844f..d8f4c1594 100644--- a/apps/web/src/components/providers/auth-provider/index.tsx+++ b/apps/web/src/components/providers/auth-provider/index.tsx@@ -1,7 +1,6 @@+import { createContext, type PropsWithChildren } from "react";import { authClient } from "@/lib/auth-client";import type { User } from "@/types/user";-import { type PropsWithChildren, createContext } from "react";-import { ErrorDisplay } from "../../ui/error-display";import { LoadingSkeleton } from "../../ui/loading-skeleton";const { useSession } = authClient;@@ -15,17 +14,7 @@ export const AuthContext = createContext<{});function AuthProvider({ children }: PropsWithChildren) {- const { data, error, isPending } = useSession();-- if (error) {- return (- <ErrorDisplay- error={error}- title="Connection Error"- className="min-h-screen"- />- );- }+ const { data, isPending } = useSession();if (isPending) {return <LoadingSkeleton />;diff --git a/apps/web/src/components/providers/theme-provider/index.tsx b/apps/web/src/components/providers/theme-provider/index.tsxindex 65032a33c..43699a782 100644--- a/apps/web/src/components/providers/theme-provider/index.tsx+++ b/apps/web/src/components/providers/theme-provider/index.tsx@@ -1,5 +1,5 @@-import { useUserPreferencesStore } from "@/store/user-preferences";import { useEffect } from "react";+import { useUserPreferencesStore } from "@/store/user-preferences";export function ThemeProvider({ children }: { children: React.ReactNode }) {const { theme } = useUserPreferencesStore();diff --git a/apps/web/src/components/public-project/copy-url-button.tsx b/apps/web/src/components/public-project/copy-url-button.tsxindex e0b05949d..5722938c2 100644--- a/apps/web/src/components/public-project/copy-url-button.tsx+++ b/apps/web/src/components/public-project/copy-url-button.tsx@@ -1,6 +1,6 @@-import { Button } from "@/components/ui/button";import { Check, Copy } from "lucide-react";import { useState } from "react";+import { Button } from "@/components/ui/button";export function CopyUrlButton() {const [copied, setCopied] = useState(false);diff --git a/apps/web/src/components/public-project/kanban-view.tsx b/apps/web/src/components/public-project/kanban-view.tsxindex 07a606720..96eeab6de 100644--- a/apps/web/src/components/public-project/kanban-view.tsx+++ b/apps/web/src/components/public-project/kanban-view.tsx@@ -1,7 +1,7 @@+import type { LucideIcon } from "lucide-react";import { DEFAULT_COLUMNS } from "@/constants/columns";import type { ProjectWithTasks } from "@/types/project";import type Task from "@/types/task";-import type { LucideIcon } from "lucide-react";import { PublicTaskCard } from "./task-card";interface Column {diff --git a/apps/web/src/components/public-project/list-view.tsx b/apps/web/src/components/public-project/list-view.tsxindex 9542963b3..cb767b673 100644--- a/apps/web/src/components/public-project/list-view.tsx+++ b/apps/web/src/components/public-project/list-view.tsx@@ -1,7 +1,7 @@+import type { LucideIcon } from "lucide-react";import { DEFAULT_COLUMNS } from "@/constants/columns";import type { ProjectWithTasks } from "@/types/project";import type Task from "@/types/task";-import type { LucideIcon } from "lucide-react";import { PublicTaskRow } from "./task-row";interface Column {diff --git a/apps/web/src/components/public-project/task-card.tsx b/apps/web/src/components/public-project/task-card.tsxindex 0ee2b1a50..239fd562b 100644--- a/apps/web/src/components/public-project/task-card.tsx+++ b/apps/web/src/components/public-project/task-card.tsx@@ -1,9 +1,9 @@+import { format } from "date-fns";+import { Flag } from "lucide-react";import { Avatar, AvatarFallback } from "@/components/ui/avatar";import { priorityColorsTaskCard } from "@/constants/priority-colors";import { cn } from "@/lib/cn";import type Task from "@/types/task";-import { format } from "date-fns";-import { Flag } from "lucide-react";interface PublicTaskCardProps {task: Task;diff --git a/apps/web/src/components/public-project/task-detail-modal.tsx b/apps/web/src/components/public-project/task-detail-modal.tsxindex 83479409f..481df6c23 100644--- a/apps/web/src/components/public-project/task-detail-modal.tsx+++ b/apps/web/src/components/public-project/task-detail-modal.tsx@@ -1,11 +1,10 @@-import { MarkdownRenderer } from "@/components/common/markdown-renderer";+import * as Dialog from "@radix-ui/react-dialog";+import { format } from "date-fns";+import { Calendar, Flag, User, X } from "lucide-react";import { Avatar, AvatarFallback } from "@/components/ui/avatar";import { priorityColorsTaskCard } from "@/constants/priority-colors";import { cn } from "@/lib/cn";import type Task from "@/types/task";-import * as Dialog from "@radix-ui/react-dialog";-import { format } from "date-fns";-import { Calendar, Flag, User, X } from "lucide-react";interface PublicTaskDetailModalProps {task: Task | null;@@ -97,7 +96,7 @@ export function PublicTaskDetailModal({<h3 className="text-sm font-semibold text-zinc-900 dark:text-zinc-100 uppercase tracking-wide">Description</h3>- <MarkdownRenderer content={task.description} />+ {/* <MarkdownRenderer content={task.description} /> */}</div>)}diff --git a/apps/web/src/components/public-project/task-row.tsx b/apps/web/src/components/public-project/task-row.tsxindex 3abd21bb6..7142f9df4 100644--- a/apps/web/src/components/public-project/task-row.tsx+++ b/apps/web/src/components/public-project/task-row.tsx@@ -1,9 +1,9 @@+import { format } from "date-fns";+import { Calendar, CalendarClock, CalendarX } from "lucide-react";import { Avatar, AvatarFallback } from "@/components/ui/avatar";-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import { cn } from "@/lib/cn";+import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";+import { getPriorityIcon } from "@/lib/priority";import type Task from "@/types/task";-import { format } from "date-fns";-import { Flag } from "lucide-react";interface PublicTaskRowProps {task: Task;@@ -42,22 +42,26 @@ export function PublicTaskRow({)}{task.dueDate && (- <div className="text-xs text-zinc-500 dark:text-zinc-400 font-medium">- {format(new Date(task.dueDate), "MMM d")}+ <div+ className={`flex items-center gap-1 text-[10px] px-2 py-1 rounded ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}+ >+ {getDueDateStatus(task.dueDate) === "overdue" && (+ <CalendarX className="w-3 h-3" />+ )}+ {getDueDateStatus(task.dueDate) === "due-soon" && (+ <CalendarClock className="w-3 h-3" />+ )}+ {(getDueDateStatus(task.dueDate) === "far-future" ||+ getDueDateStatus(task.dueDate) === "no-due-date") && (+ <Calendar className="w-3 h-3" />+ )}+ <span>{format(new Date(task.dueDate), "MMM d")}</span></div>)}{task.priority && (- <div- className={cn(- "flex items-center gap-1 text-xs px-2 py-1 rounded-full font-medium",- priorityColorsTaskCard[- task.priority as keyof typeof priorityColorsTaskCard- ],- )}- >- <Flag className="w-3 h-3" />- <span className="capitalize">{task.priority}</span>+ <div className="inline-flex items-center gap-1.5 px-2 py-1 rounded border border-border bg-sidebar text-[10px] font-medium text-muted-foreground">+ {getPriorityIcon(task.priority)}</div>)}</div>diff --git a/apps/web/src/components/public-project/theme-toggle.tsx b/apps/web/src/components/public-project/theme-toggle.tsxindex 5a0b195ec..e983a9a7f 100644--- a/apps/web/src/components/public-project/theme-toggle.tsx+++ b/apps/web/src/components/public-project/theme-toggle.tsx@@ -1,8 +1,8 @@+import { Moon, Sun } from "lucide-react";+import type { MouseEvent } from "react";import { Button } from "@/components/ui/button";import { getClickCoordinates } from "@/lib/get-click-coordinates";import { useUserPreferencesStore } from "@/store/user-preferences";-import { Moon, Sun } from "lucide-react";-import type { MouseEvent } from "react";export function ThemeToggle() {const { theme, setTheme } = useUserPreferencesStore();diff --git a/apps/web/src/components/search-command-menu/index.tsx b/apps/web/src/components/search-command-menu/index.tsxindex 31f6e569a..44f2d0a51 100644--- a/apps/web/src/components/search-command-menu/index.tsx+++ b/apps/web/src/components/search-command-menu/index.tsx@@ -1,16 +1,3 @@-import {- CommandDialog,- CommandEmpty,- CommandGroup,- CommandInput,- CommandItem,- CommandList,-} from "@/components/ui/command";-import { KbdSequence } from "@/components/ui/kbd";-import { shortcuts } from "@/constants/shortcuts";-import useGlobalSearch from "@/hooks/queries/search/use-global-search";-import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";-import useWorkspaceStore from "@/store/workspace";import { useNavigate } from "@tanstack/react-router";import {FileText,@@ -22,6 +9,18 @@ import {Zap,} from "lucide-react";import { useEffect, useState } from "react";+import {+ CommandDialog,+ CommandEmpty,+ CommandGroup,+ CommandInput,+ CommandItem,+ CommandList,+} from "@/components/ui/command";+import { shortcuts } from "@/constants/shortcuts";+import useGlobalSearch from "@/hooks/queries/search/use-global-search";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";type SearchResultItem = {id: string;@@ -44,7 +43,7 @@ type SearchCommandMenuProps = {function SearchCommandMenu({ open, setOpen }: SearchCommandMenuProps) {const [query, setQuery] = useState("");- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const navigate = useNavigate();const { data: searchResults } = useGlobalSearch({@@ -187,10 +186,6 @@ function SearchCommandMenu({ open, setOpen }: SearchCommandMenuProps) {<p className="text-sm text-muted-foreground">Type at least 3 characters to search</p>- <div className="mt-2 text-xs text-muted-foreground">- Press <KbdSequence keys={["/"]} className="inline-flex" /> to- focus- </div></div></CommandEmpty>)}diff --git a/apps/web/src/components/search.tsx b/apps/web/src/components/search.tsxnew file mode 100644index 000000000..6429db135--- /dev/null+++ b/apps/web/src/components/search.tsx@@ -0,0 +1,43 @@+import { SearchIcon } from "lucide-react";+import { useState } from "react";+import { shortcuts } from "@/constants/shortcuts";+import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";+import SearchCommandMenu from "./search-command-menu";+import { Input } from "./ui/input";+import { Kbd } from "./ui/kbd";+import { SidebarGroup } from "./ui/sidebar";++function Search() {+ const [open, setOpen] = useState(false);++ useRegisterShortcuts({+ shortcuts: {+ [shortcuts.search.prefix]: () => {+ setOpen(true);+ },+ },+ });++ return (+ <SidebarGroup className="pb-0">+ <div className="relative">+ <Input+ name="search"+ type="text"+ placeholder="Search"+ className="peer shadow-none block w-full rounded-sm py-1 pl-8 pr-10 text-sm h-8 cursor-pointer focus:outline-none focus:ring-0 focus-visible:ring-0 focus-visible:border-ring-0 focus-visible:outline-none"+ onClick={() => setOpen(true)}+ readOnly+ tabIndex={-1}+ />+ <SearchIcon className="pointer-events-none absolute left-2.5 top-1/2 h-3.5 w-3.5 -translate-y-1/2 text-muted-foreground" />+ <Kbd className="absolute right-2 top-1/2 -translate-y-1/2 h-4 text-[9px] bg-muted">+ {shortcuts.search.prefix}+ </Kbd>+ </div>+ <SearchCommandMenu open={open} setOpen={setOpen} />+ </SidebarGroup>+ );+}++export default Search;diff --git a/apps/web/src/components/settings-layout.tsx b/apps/web/src/components/settings-layout.tsxindex b5020b1cc..5f87666f9 100644--- a/apps/web/src/components/settings-layout.tsx+++ b/apps/web/src/components/settings-layout.tsx@@ -1,3 +1,6 @@+import { useNavigate } from "@tanstack/react-router";+import { AlertTriangle, ArrowLeft } from "lucide-react";+import type { ReactNode } from "react";import Layout from "@/components/common/layout";import {Breadcrumb,@@ -18,9 +21,6 @@ import {} from "@/components/ui/tooltip";import { shortcuts } from "@/constants/shortcuts";import { cn } from "@/lib/cn";-import { useNavigate } from "@tanstack/react-router";-import { AlertTriangle, ArrowLeft } from "lucide-react";-import type { ReactNode } from "react";interface SettingsLayoutProps {title: string;@@ -61,7 +61,7 @@ export function SettingsLayout({<SidebarTrigger className="-ml-1 h-6 w-6" /></TooltipTrigger><TooltipContent>- <p className="flex items-center gap-2 text-xs">+ <p className="flex items-center gap-2 text-[10px]">Toggle sidebar<KbdSequencekeys={[diff --git a/apps/web/src/components/settings-menu.tsx b/apps/web/src/components/settings-menu.tsxdeleted file mode 100644index 09d9af30a..000000000--- a/apps/web/src/components/settings-menu.tsx+++ /dev/null@@ -1,148 +0,0 @@-import { Button } from "@/components/ui/button";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuSeparator,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";-import { cn } from "@/lib/cn";-import useProjectStore from "@/store/project";-import useWorkspaceStore from "@/store/workspace";-import { useNavigate } from "@tanstack/react-router";-import {- Building2,- ChevronDown,- FolderOpen,- Settings,- User,-} from "lucide-react";--interface SettingsMenuProps {- variant?: "nav" | "user-dropdown";- className?: string;-}--export function SettingsMenu({- variant = "nav",- className,-}: SettingsMenuProps) {- const { workspace } = useWorkspaceStore();- const { project } = useProjectStore();- const navigate = useNavigate();-- const handleUserSettings = () => {- navigate({ to: "/dashboard/settings/appearance" });- };-- const handleWorkspaceSettings = () => {- if (!workspace) return;- navigate({- to: "/dashboard/workspace/$workspaceId/settings",- params: { workspaceId: workspace.id },- });- };-- const handleProjectSettings = () => {- if (!workspace || !project) return;- navigate({- to: "/dashboard/workspace/$workspaceId/project/$projectId/settings",- params: {- workspaceId: workspace.id,- projectId: project.id,- },- });- };-- if (variant === "user-dropdown") {- return (- <DropdownMenuItem onClick={handleUserSettings} className="cursor-pointer">- <Settings className="w-4 h-4 mr-2" />- Settings- </DropdownMenuItem>- );- }-- return (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <Button- variant="ghost"- className={cn(- "w-full flex items-center gap-2 justify-between",- className,- )}- >- <div className="flex items-center gap-2">- <Settings className="w-4 h-4" />- <span>Settings</span>- </div>- <ChevronDown className="w-3 h-3 opacity-50" />- </Button>- </DropdownMenuTrigger>- <DropdownMenuContent align="start" className="w-56">- <DropdownMenuLabel className="flex items-center gap-2 text-xs text-muted-foreground">- <Settings className="w-3 h-3" />- Settings- </DropdownMenuLabel>- <DropdownMenuSeparator />-- <DropdownMenuItem- onClick={handleUserSettings}- className="cursor-pointer"- >- <User className="w-4 h-4 mr-2" />- <div className="flex flex-col">- <span className="font-medium">User Settings</span>- <span className="text-xs text-muted-foreground">- Appearance, preferences- </span>- </div>- </DropdownMenuItem>-- {workspace && (- <DropdownMenuItem- onClick={handleWorkspaceSettings}- className="cursor-pointer"- >- <Building2 className="w-4 h-4 mr-2" />- <div className="flex flex-col">- <span className="font-medium">Workspace Settings</span>- <span className="text-xs text-muted-foreground">- {workspace.name}- </span>- </div>- </DropdownMenuItem>- )}-- {workspace && project && (- <DropdownMenuItem- onClick={handleProjectSettings}- className="cursor-pointer"- >- <FolderOpen className="w-4 h-4 mr-2" />- <div className="flex flex-col">- <span className="font-medium">Project Settings</span>- <span className="text-xs text-muted-foreground">- {project.name}- </span>- </div>- </DropdownMenuItem>- )}-- {(!workspace || !project) && (- <>- <DropdownMenuSeparator />- <div className="px-2 py-1.5 text-xs text-muted-foreground">- {!workspace && "Select a workspace to access workspace settings"}- {workspace &&- !project &&- "Select a project to access project settings"}- </div>- </>- )}- </DropdownMenuContent>- </DropdownMenu>- );-}diff --git a/apps/web/src/components/shared/modals/create-project-modal.tsx b/apps/web/src/components/shared/modals/create-project-modal.tsxindex f23335dd4..9e5d8b8e0 100644--- a/apps/web/src/components/shared/modals/create-project-modal.tsx+++ b/apps/web/src/components/shared/modals/create-project-modal.tsx@@ -1,3 +1,7 @@+import { useQueryClient } from "@tanstack/react-query";+import { useNavigate } from "@tanstack/react-router";+import { useState } from "react";+import { toast } from "sonner";import {Breadcrumb,BreadcrumbItem,@@ -21,13 +25,9 @@ import {} from "@/components/ui/popover";import icons from "@/constants/project-icons";import useCreateProject from "@/hooks/mutations/project/use-create-project";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { cn } from "@/lib/cn";import generateProjectSlug from "@/lib/generate-project-id";-import useWorkspaceStore from "@/store/workspace";-import { useQueryClient } from "@tanstack/react-query";-import { useNavigate } from "@tanstack/react-router";-import { useState } from "react";-import { toast } from "sonner";type CreateProjectModalProps = {open: boolean;@@ -40,7 +40,7 @@ function CreateProjectModal({ open, onClose }: CreateProjectModalProps) {const [selectedIcon, setSelectedIcon] = useState("Layout");const [iconPopoverOpen, setIconPopoverOpen] = useState(false);const queryClient = useQueryClient();- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();const { mutateAsync } = useCreateProject({name,slug,@@ -199,7 +199,7 @@ function CreateProjectModal({ open, onClose }: CreateProjectModalProps) {type="submit"disabled={!name.trim() || !slug.trim()}size="sm"- className="bg-indigo-600 hover:bg-indigo-500 text-white disabled:opacity-50"+ className="bg-primary hover:bg-primary/90 text-white disabled:opacity-50">Create Project</Button>diff --git a/apps/web/src/components/shared/modals/create-task-modal.tsx b/apps/web/src/components/shared/modals/create-task-modal.tsxindex 032735ca6..3ec57c0cd 100644--- a/apps/web/src/components/shared/modals/create-task-modal.tsx+++ b/apps/web/src/components/shared/modals/create-task-modal.tsx@@ -1,4 +1,18 @@-import { Editor } from "@/components/common/editor";+import { format } from "date-fns";+import { produce } from "immer";+import {+ CalendarIcon,+ Check,+ Plus,+ Search,+ Tag,+ UserIcon,+ X,+} from "lucide-react";+import { useEffect, useRef, useState } from "react";+import { toast } from "sonner";+import TaskDescriptionEditor from "@/components/task/task-description-editor";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";import { Badge } from "@/components/ui/badge";import {Breadcrumb,@@ -24,25 +38,11 @@ import {} from "@/components/ui/popover";import useCreateLabel from "@/hooks/mutations/label/use-create-label";import useCreateTask from "@/hooks/mutations/task/use-create-task";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import useGetActiveWorkspaceUsers from "@/hooks/queries/workspace-users/use-active-workspace-users";+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import { cn } from "@/lib/cn";+import { getPriorityIcon } from "@/lib/priority";import useProjectStore from "@/store/project";-import useWorkspaceStore from "@/store/workspace";-import { format } from "date-fns";-import { produce } from "immer";-import {- CalendarIcon,- Check,- Flag,- PlusIcon,- Search,- Tag,- Target,- UserIcon,-} from "lucide-react";-import { useEffect, useRef, useState } from "react";-import { toast } from "sonner";interface CreateTaskModalProps {open: boolean;@@ -50,7 +50,7 @@ interface CreateTaskModalProps {status?: string;}-type Priority = "low" | "medium" | "high" | "urgent";+type Priority = "no-priority" | "low" | "medium" | "high" | "urgent";type LabelColor =| "gray"@@ -64,59 +64,88 @@ type LabelColor =| "red";type Label = {+ id: string;name: string;- color: LabelColor;+ color: string;+ taskId: string | null;+ workspaceId: string;+ createdAt: string;};+type PopoverStep = "select" | "color";+const labelColors = [- { value: "gray" as LabelColor, label: "Grey", color: "#94a3b8" },- { value: "dark-gray" as LabelColor, label: "Dark Grey", color: "#64748b" },- { value: "purple" as LabelColor, label: "Purple", color: "#a855f7" },- { value: "teal" as LabelColor, label: "Teal", color: "#14b8a6" },- { value: "green" as LabelColor, label: "Green", color: "#22c55e" },- { value: "yellow" as LabelColor, label: "Yellow", color: "#eab308" },- { value: "orange" as LabelColor, label: "Orange", color: "#f97316" },- { value: "pink" as LabelColor, label: "Pink", color: "#ec4899" },- { value: "red" as LabelColor, label: "Red", color: "#ef4444" },+ { value: "gray" as LabelColor, label: "Stone", color: "#78716c" },+ { value: "dark-gray" as LabelColor, label: "Slate", color: "#64748b" },+ { value: "purple" as LabelColor, label: "Lavender", color: "#8b5cf6" },+ { value: "teal" as LabelColor, label: "Sage", color: "#059669" },+ { value: "green" as LabelColor, label: "Forest", color: "#16a34a" },+ { value: "yellow" as LabelColor, label: "Amber", color: "#d97706" },+ { value: "orange" as LabelColor, label: "Terracotta", color: "#ea580c" },+ { value: "pink" as LabelColor, label: "Rose", color: "#e11d48" },+ { value: "red" as LabelColor, label: "Crimson", color: "#dc2626" },];function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {const { project, setProject } = useProjectStore();- const { workspace } = useWorkspaceStore();- const { mutate: updateTask } = useUpdateTask();+ const { data: workspace } = useActiveWorkspace();const { mutateAsync: createLabel } = useCreateLabel();- const { data: users } = useGetActiveWorkspaceUsers({- workspaceId: workspace?.id ?? "",- });+ const { data: workspaceLabels = [] } = useGetLabelsByWorkspace(+ workspace?.id || "",+ );const [title, setTitle] = useState("");const [description, setDescription] = useState("");- const [priority, setPriority] = useState<Priority>("low");+ const [priority, setPriority] = useState<Priority>("no-priority");const [assigneeId, setAssigneeId] = useState("");const [dueDate, setDueDate] = useState<Date | undefined>(undefined);const [createMore, setCreateMore] = useState(false);const [labels, setLabels] = useState<Label[]>([]);const [labelsOpen, setLabelsOpen] = useState(false);+ const [labelsStep, setLabelsStep] = useState<PopoverStep>("select");const [searchValue, setSearchValue] = useState("");const [selectedColor, setSelectedColor] = useState<LabelColor>("gray");- const [colorPickerOpen, setColorPickerOpen] = useState(false);+ const [newLabelName, setNewLabelName] = useState("");const searchInputRef = useRef<HTMLInputElement>(null);const { mutateAsync } = useCreateTask();+ const filteredLabels = (() => {+ const searchFiltered = workspaceLabels.filter((label) =>+ label.name.toLowerCase().includes(searchValue.toLowerCase()),+ );++ const labelMap = new Map<string, (typeof workspaceLabels)[0]>();+ for (const label of searchFiltered) {+ const existing = labelMap.get(label.name);+ if (!existing || (label.taskId === null && existing.taskId !== null)) {+ labelMap.set(label.name, label);+ }+ }++ return Array.from(labelMap.values());+ })();++ const isCreatingNewLabel =+ searchValue &&+ !workspaceLabels.some(+ (label) => label.name.toLowerCase() === searchValue.toLowerCase(),+ );+const handleClose = () => {setTitle("");setDescription("");- setPriority("low");+ setPriority("no-priority");setAssigneeId("");setDueDate(undefined);setCreateMore(false);setLabels([]);+ setLabelsStep("select");setSearchValue("");setSelectedColor("gray");- setColorPickerOpen(false);+ setNewLabelName("");onClose();};@@ -133,7 +162,7 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {userId: assigneeId,priority,projectId: project?.id,- dueDate: dueDate ? dueDate.toISOString() : new Date().toISOString(),+ dueDate: dueDate ? dueDate.toISOString() : undefined,status: taskStatus,});@@ -143,6 +172,7 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {name: label.name,color: label.color,taskId: newTask.id,+ workspaceId: workspace?.id,});} catch (error) {console.error("Failed to create label:", error);@@ -166,19 +196,19 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {});setProject(updatedProject);- updateTask({ ...newTask, position: 0, assigneeId: assigneeId });toast.success("Task created successfully");if (createMore) {setTitle("");setDescription("");- setPriority("low");+ setPriority("no-priority");setAssigneeId("");setDueDate(undefined);setLabels([]);+ setLabelsStep("select");setSearchValue("");setSelectedColor("gray");- setColorPickerOpen(false);+ setNewLabelName("");} else {handleClose();}@@ -190,66 +220,32 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {};const priorityOptions = [- {- value: "low",- label: "Low",- color: "text-emerald-400",- bg: "bg-emerald-500/10",- border: "border-emerald-500/20",- },- {- value: "medium",- label: "Medium",- color: "text-amber-400",- bg: "bg-amber-500/10",- border: "border-amber-500/20",- },- {- value: "high",- label: "High",- color: "text-orange-400",- bg: "bg-orange-500/10",- border: "border-orange-500/20",- },- {- value: "urgent",- label: "Urgent",- color: "text-red-400",- bg: "bg-red-500/10",- border: "border-red-500/20",- },+ { value: "no-priority", label: "No Priority" },+ { value: "low", label: "Low" },+ { value: "medium", label: "Medium" },+ { value: "high", label: "High" },+ { value: "urgent", label: "Urgent" },];const selectedPriority = priorityOptions.find((p) => p.value === priority);- const selectedUser = users?.find((u) => u.userId === assigneeId);-- const filteredLabels = labels.filter((label: Label) =>- label.name.toLowerCase().includes(searchValue.toLowerCase()),- );-- const isCreatingNewLabel =- searchValue &&- !labels.some(- (label: Label) => label.name.toLowerCase() === searchValue.toLowerCase(),- );+ const selectedUser = workspace?.members?.find((u) => u.userId === assigneeId);useEffect(() => {- if (labelsOpen && searchInputRef.current) {+ if (labelsOpen && labelsStep === "select" && searchInputRef.current) {setTimeout(() => searchInputRef.current?.focus(), 100);}- }, [labelsOpen]);-- const handleSearchKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {- if (e.key === "Enter" && isCreatingNewLabel) {- e.preventDefault();- handleCreateLabel();- } else if (e.key === "Escape") {- if (searchValue) {- setSearchValue("");- } else {- setLabelsOpen(false);- }- }+ }, [labelsOpen, labelsStep]);++ const resetLabelsPopover = () => {+ setLabelsStep("select");+ setSearchValue("");+ setNewLabelName("");+ setSelectedColor("gray");+ };++ const handleLabelsClose = () => {+ setLabelsOpen(false);+ setTimeout(resetLabelsPopover, 200);};const toggleLabel = (labelName: string) => {@@ -257,29 +253,57 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {if (existingLabel) {setLabels(labels.filter((l) => l.name !== labelName));} else {- const labelToAdd = labels.find((l) => l.name === labelName);- if (labelToAdd) {- setLabels([...labels.filter((l) => l.name !== labelName), labelToAdd]);+ const workspaceLabel = workspaceLabels.find((l) => l.name === labelName);+ if (workspaceLabel) {+ setLabels([+ ...labels,+ {+ id: workspaceLabel.id,+ name: workspaceLabel.name,+ color: workspaceLabel.color,+ taskId: null,+ workspaceId: workspaceLabel.workspaceId || "",+ createdAt: workspaceLabel.createdAt,+ },+ ]);}}};- const handleCreateLabel = () => {- if (!searchValue.trim()) return;+ const handleCreateNewClick = () => {+ setNewLabelName(searchValue);+ setLabelsStep("color");+ };- const labelExists = labels.some(- (label) => label.name.toLowerCase() === searchValue.trim().toLowerCase(),- );+ const handleColorSelect = async (color: LabelColor) => {+ setSelectedColor(color);- if (labelExists) {- toast.error("Label already exists");- return;- }+ if (!newLabelName.trim() || !workspace?.id) return;- setLabels([...labels, { name: searchValue.trim(), color: selectedColor }]);- setSearchValue("");- setSelectedColor("gray");- searchInputRef.current?.focus();+ try {+ const createdLabel = await createLabel({+ name: newLabelName.trim(),+ color: color,+ workspaceId: workspace.id,+ });++ const newLabel: Label = {+ id: createdLabel.id,+ name: createdLabel.name,+ color: createdLabel.color,+ taskId: createdLabel.taskId ?? null,+ workspaceId: createdLabel.workspaceId ?? workspace.id,+ createdAt: createdLabel.createdAt,+ };++ setLabels([...labels, newLabel]);+ toast.success("Label created");+ handleLabelsClose();+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to create label",+ );+ }};const removeLabel = (labelName: string) => {@@ -326,16 +350,20 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {required/>- <div className="h-[300px] border bg-white dark:bg-zinc-900 border-zinc-200/50 dark:border-zinc-800/50 rounded-lg overflow-hidden">- <Editor value={description} onChange={setDescription} />+ <div className="h-[200px] rounded-lg overflow-hidden">+ <TaskDescriptionEditor+ value={description}+ onChange={setDescription}+ placeholder="Add a description for your task..."+ /></div>{labels.length > 0 && (- <div className="flex flex-wrap gap-2">+ <div className="flex flex-wrap mb-2">{labels.map((label) => (<Badgekey={label.name}- badgeColor={label.color}+ color={label.color}variant="outline"className="flex items-center gap-1 pl-3 cursor-pointer hover:bg-zinc-100 dark:hover:bg-zinc-800/50 transition-colors"onClick={() => removeLabel(label.name)}@@ -355,8 +383,8 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {)}<div className="flex flex-wrap items-center gap-2 py-2">- <div className="flex items-center gap-1.5 px-2.5 py-1.5 bg-gradient-to-r from-amber-100 to-yellow-100 dark:from-amber-500/20 dark:to-yellow-500/20 text-amber-800 dark:text-amber-300 rounded-md text-xs font-medium border border-amber-300 dark:border-amber-500/30">- <div className="w-1.5 h-1.5 bg-gradient-to-r from-amber-500 to-yellow-500 dark:from-amber-400 dark:to-yellow-400 rounded-full shadow-sm" />+ <div className="flex items-center gap-1.5 px-2.5 py-1.5 bg-accent/50 text-foreground rounded-md text-xs font-medium border border-border">+ <div className="w-1.5 h-1.5 bg-foreground rounded-full" />{status? status.charAt(0).toUpperCase() +status.slice(1).replace("-", " ")@@ -368,34 +396,32 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {<buttontype="button"className={cn(- "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-all duration-200 hover:scale-105 border",- selectedPriority && priority !== "low"- ? `${selectedPriority.color} ${selectedPriority.bg} ${selectedPriority.border}`- : "text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800/50 border-zinc-300 dark:border-zinc-700/50",+ "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-colors border border-border hover:bg-accent/50",+ priority !== "no-priority"+ ? "bg-accent/30 text-foreground"+ : "text-muted-foreground",)}>- <Target className="w-3.5 h-3.5" />+ {getPriorityIcon(priority)}<span>{selectedPriority ? selectedPriority.label : "Priority"}</span></button></PopoverTrigger>- <PopoverContent className="w-48 p-2" align="start">+ <PopoverContent className="w-48 p-1" align="start"><div className="space-y-1">{priorityOptions.map((option) => (<buttonkey={option.value}type="button"- className={cn(- "w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg transition-all duration-200 hover:scale-[1.02]",- option.color,- option.bg,- `hover:${option.bg}`,- )}+ className="w-full flex items-center gap-2 px-2 py-1.5 text-sm hover:bg-accent/50 text-left transition-colors h-8"onClick={() => setPriority(option.value as Priority)}>- <Flag className={cn("w-3.5 h-3.5", option.color)} />- {option.label}+ {getPriorityIcon(option.value)}+ <span className="text-sm">{option.label}</span>+ {priority === option.value && (+ <Check className="ml-auto h-4 w-4" />+ )}</button>))}</div>@@ -407,19 +433,26 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {<buttontype="button"className={cn(- "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-all duration-200 hover:scale-105 border",+ "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-colors border border-border hover:bg-accent/50",selectedUser- ? "text-indigo-300 bg-indigo-500/10 border-indigo-500/30"- : "text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800/50 border-zinc-300 dark:border-zinc-700/50",+ ? "bg-accent/30 text-foreground"+ : "text-muted-foreground",)}>{selectedUser ? (<>- <div className="w-4 h-4 bg-zinc-400 dark:bg-zinc-600 rounded-full flex items-center justify-center text-[10px] text-white font-bold">- {selectedUser.userName?.charAt(0).toUpperCase() ||- "?"}- </div>- <span>{selectedUser.userName}</span>+ <Avatar className="h-4 w-4">+ <AvatarImage+ src={selectedUser?.user?.image ?? ""}+ alt={selectedUser?.user?.name || ""}+ />+ <AvatarFallback className="text-[10px] font-medium border border-border/30">+ {selectedUser?.user?.name+ ?.charAt(0)+ .toUpperCase() || "?"}+ </AvatarFallback>+ </Avatar>+ <span>{selectedUser.user?.name}</span></>) : (<>@@ -429,27 +462,44 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {)}</button></PopoverTrigger>- <PopoverContent className="w-64 p-2" align="start">+ <PopoverContent className="w-48 p-1" align="start"><div className="space-y-1"><buttontype="button"- className="w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800/50 text-zinc-900 dark:text-zinc-300 transition-all duration-200 hover:scale-[1.02]"+ className="w-full flex items-center gap-2 px-2 py-1.5 text-sm hover:bg-accent/50 text-left transition-colors h-8"onClick={() => setAssigneeId("")}>- <UserIcon className="w-4 h-4 text-zinc-600 dark:text-zinc-500" />- Unassigned+ <div+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium text-muted-foreground">+ ?+ </span>+ </div>+ <span className="text-sm">Unassigned</span>+ {!assigneeId && <Check className="ml-auto h-4 w-4" />}</button>- {users?.map((user) => (+ {workspace?.members?.map((member) => (<button- key={user.userId}+ key={member.userId}type="button"- className="w-full flex items-center gap-3 px-3 py-2 text-sm rounded-lg hover:bg-zinc-100 dark:hover:bg-zinc-800/50 text-zinc-900 dark:text-zinc-300 transition-all duration-200 hover:scale-[1.02]"- onClick={() => setAssigneeId(user.userId || "")}+ className="w-full flex items-center gap-2 px-2 py-1.5 text-sm hover:bg-accent/50 text-left transition-colors h-8"+ onClick={() => setAssigneeId(member.userId || "")}>- <div className="w-4 h-4 bg-zinc-400 dark:bg-zinc-600 rounded-full flex items-center justify-center text-[10px] text-white font-bold">- {user.userName?.charAt(0).toUpperCase() || "?"}- </div>- {user.userName}+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={member?.user?.image ?? ""}+ alt={member?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {member?.user?.name?.charAt(0).toUpperCase() || "?"}+ </AvatarFallback>+ </Avatar>+ <span className="text-sm">{member?.user?.name}</span>+ {assigneeId === member.userId && (+ <Check className="ml-auto h-4 w-4" />+ )}</button>))}</div>@@ -461,10 +511,10 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {<buttontype="button"className={cn(- "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-all duration-200 hover:scale-105 border",+ "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-colors border border-border hover:bg-accent/50",dueDate- ? "text-emerald-300 bg-emerald-500/10 border-emerald-500/30"- : "text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800/50 border-zinc-300 dark:border-zinc-700/50",+ ? "bg-accent/30 text-foreground"+ : "text-muted-foreground",)}><CalendarIcon className="w-3.5 h-3.5" />@@ -473,25 +523,24 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {</span></button></PopoverTrigger>- <PopoverContent className="w-auto p-3" align="start">+ <PopoverContent className="p-0" align="start"><Calendarmode="single"selected={dueDate}onSelect={setDueDate}- className="rounded-md border-0"+ className="w-full bg-popover"/>{dueDate && (- <div className="flex justify-between items-center pt-3 border-t border-zinc-200 dark:border-zinc-800/50 mt-3">- <span className="text-sm text-zinc-600 dark:text-zinc-400">- {format(dueDate, "EEEE, MMMM d, yyyy")}- </span>- <button+ <div className="p-2 border-t border-border">+ <Buttontype="button"+ variant="outline"+ size="sm"+ className="w-full text-xs"onClick={() => setDueDate(undefined)}- className="text-xs text-zinc-600 dark:text-zinc-500 hover:text-zinc-900 dark:hover:text-zinc-300 transition-colors">- Clear- </button>+ Clear due date+ </Button></div>)}</PopoverContent>@@ -502,49 +551,51 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {<buttontype="button"className={cn(- "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-all duration-200 hover:scale-105 border",+ "flex items-center gap-1.5 px-2.5 py-1.5 text-xs font-medium rounded-md transition-colors border border-border hover:bg-accent/50",labels.length > 0- ? "text-violet-300 bg-violet-500/10 border-violet-500/30"- : "text-zinc-600 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800/50 border-zinc-300 dark:border-zinc-700/50",+ ? "bg-accent/30 text-foreground"+ : "text-muted-foreground",)}><Tag className="w-3.5 h-3.5" /><span>Labels</span></button></PopoverTrigger>- <PopoverContent- className="w-80 p-0 overflow-hidden"- align="start"- sideOffset={5}- >- <div className="flex items-center p-2 border-b border-zinc-200 dark:border-zinc-800">- <Search className="w-4 h-4 text-zinc-500 dark:text-zinc-400 mr-2" />- <input- ref={searchInputRef}- type="text"- value={searchValue}- onChange={(e) => setSearchValue(e.target.value)}- onKeyDown={handleSearchKeyDown}- placeholder="Change or add labels..."- className="w-full bg-transparent border-none text-zinc-900 dark:text-zinc-200 text-sm focus:outline-none placeholder:text-zinc-500"- />- </div>+ <PopoverContent className="p-0" align="start">+ {labelsStep === "select" && (+ <div className="w-auto">+ <div className="flex items-center gap-2 p-2 border-b border-border">+ <Search className="w-3 h-3 text-muted-foreground" />+ <input+ ref={searchInputRef}+ value={searchValue}+ onChange={(e) => setSearchValue(e.target.value)}+ placeholder="Search labels..."+ className="w-full bg-transparent border-none text-foreground text-xs focus:outline-none placeholder:text-muted-foreground"+ />+ </div>- <div className="max-h-80 overflow-y-auto">- {filteredLabels.length > 0 ? (<div className="py-1">- {filteredLabels.map((label: Label) => (+ {filteredLabels.length === 0 &&+ searchValue.length === 0 && (+ <span className="text-xs text-muted-foreground px-2">+ No labels found+ </span>+ )}+ {filteredLabels.map((label) => (<button- key={label.name}+ key={label.id}type="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800"+ className="w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left"onClick={() => toggleLabel(label.name)}>- <div className="flex-shrink-0 w-4 mr-2 text-center">- <Check className="w-4 h-4 text-zinc-400" />+ <div className="flex-shrink-0 w-3 flex justify-center">+ {labels.some((l) => l.name === label.name) && (+ <Check className="w-3 h-3" />+ )}</div><span- className="w-3 h-3 rounded-full mr-2"+ className="w-2 h-2 rounded-full flex-shrink-0"style={{backgroundColor:labelColors.find(@@ -552,85 +603,80 @@ function CreateTaskModal({ open, onClose, status }: CreateTaskModalProps) {)?.color || "#94a3b8",}}/>- <span>{label.name}</span>+ <span className="truncate">{label.name}</span></button>))}- </div>- ) : null}- {isCreatingNewLabel && (- <div className="py-1 border-t border-zinc-200 dark:border-zinc-800">+ {isCreatingNewLabel && filteredLabels.length > 0 && (+ <div className="border-t border-border my-1" />+ )}+ {isCreatingNewLabel && (+ <button+ type="button"+ className="w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left"+ onClick={handleCreateNewClick}+ >+ <div className="flex-shrink-0 w-3 flex justify-center">+ <Plus className="w-3 h-3" />+ </div>+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find(+ (c) => c.value === selectedColor,+ )?.color || "#94a3b8",+ }}+ />+ <span className="truncate">+ Create "{searchValue}"+ </span>+ </button>+ )}+ </div>+ </div>+ )}+ {labelsStep === "color" && (+ <div className="w-auto">+ <div className="flex items-center justify-between p-2 border-b border-border">+ <span className="text-xs font-medium">+ Choose color+ </span><buttontype="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800"- onClick={handleCreateLabel}+ onClick={() => setLabelsStep("select")}+ className="w-4 h-4 flex items-center justify-center hover:bg-accent/50 rounded">- <div className="flex-shrink-0 w-4 mr-2 text-center">- <PlusIcon className="w-4 h-4 text-zinc-400" />- </div>- <span- className="w-3 h-3 rounded-full mr-2"- style={{- backgroundColor:- labelColors.find(- (c) => c.value === selectedColor,- )?.color || "#94a3b8",- }}- />- <span>Create new label: "{searchValue}"</span>+ <X className="h-3 w-3" /></button>+ </div>- <Popover- open={colorPickerOpen}- onOpenChange={setColorPickerOpen}- >- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-500 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <div className="flex-shrink-0 w-4 mr-2" />- <span>Pick a color for label</span>- </button>- </PopoverTrigger>- <PopoverContent- className="w-64 p-2"- align="start"- sideOffset={5}+ <div className="py-1">+ {labelColors.map((color) => (+ <button+ key={color.value}+ type="button"+ className={cn(+ "w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left",+ selectedColor === color.value && "bg-accent/30",+ )}+ onClick={() =>+ handleColorSelect(color.value as LabelColor)+ }>- <div className="grid grid-cols-1 gap-1">- {labelColors.map((color) => (- <button- key={color.value}- type="button"- className={cn(- "flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 rounded hover:bg-zinc-100 dark:hover:bg-zinc-800",- selectedColor === color.value &&- "bg-zinc-100 dark:bg-zinc-800",- )}- onClick={() => {- setSelectedColor(color.value);- setColorPickerOpen(false);- }}- >- <span- className="w-3 h-3 rounded-full mr-3"- style={{- backgroundColor: color.color,- }}- />- <span>{color.label}</span>- {selectedColor === color.value && (- <Check className="w-4 h-4 ml-auto text-zinc-400" />- )}- </button>- ))}- </div>- </PopoverContent>- </Popover>+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{ backgroundColor: color.color }}+ />+ <span className="truncate">{color.label}</span>+ {selectedColor === color.value && (+ <Check className="w-3 h-3 ml-auto" />+ )}+ </button>+ ))}</div>- )}- </div>+ </div>+ )}</PopoverContent></Popover></div>diff --git a/apps/web/src/components/shared/modals/create-workspace-modal.tsx b/apps/web/src/components/shared/modals/create-workspace-modal.tsxindex 33c02c34f..c573ce469 100644--- a/apps/web/src/components/shared/modals/create-workspace-modal.tsx+++ b/apps/web/src/components/shared/modals/create-workspace-modal.tsx@@ -1,3 +1,7 @@+import { useQueryClient } from "@tanstack/react-query";+import { useNavigate } from "@tanstack/react-router";+import { useEffect, useRef, useState } from "react";+import { toast } from "sonner";import {Breadcrumb,BreadcrumbItem,@@ -16,10 +20,6 @@ import {import { Input } from "@/components/ui/input";import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";import { useUserPreferencesStore } from "@/store/user-preferences";-import { useQueryClient } from "@tanstack/react-query";-import { useNavigate } from "@tanstack/react-router";-import { useEffect, useRef, useState } from "react";-import { toast } from "sonner";interface CreateWorkspaceModalProps {open: boolean;diff --git a/apps/web/src/components/task/task-activities.tsx b/apps/web/src/components/task/task-activities.tsxdeleted file mode 100644index a320236e6..000000000--- a/apps/web/src/components/task/task-activities.tsx+++ /dev/null@@ -1,131 +0,0 @@-import { MarkdownRenderer } from "@/components/common/markdown-renderer";-import { Avatar, AvatarFallback } from "@/components/ui/avatar";-import useDeleteComment from "@/hooks/mutations/comment/use-delete-comment";-import useGetActivitiesByTaskId from "@/hooks/queries/activity/use-get-activities-by-task-id";-import { cn } from "@/lib/cn";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";-import { formatDistanceToNow } from "date-fns";-import { History, MessageSquare, Pencil, PlusCircle } from "lucide-react";-import { useState } from "react";-import { useAuth } from "../providers/auth-provider/hooks/use-auth";-import TaskComment from "./task-comment";--function TaskActivities() {- const { taskId } = Route.useParams();- const { user } = useAuth();- const { data: activities } = useGetActivitiesByTaskId(taskId);- const { mutateAsync: deleteComment } = useDeleteComment(taskId);- const [editingCommentId, setEditingCommentId] = useState<string | null>(null);-- const handleDeleteComment = (activityId: string) => {- if (user?.id) {- deleteComment({- id: activityId,- userId: user.id,- });- }- };-- return (- <div className="flex flex-col gap-4">- {activities?.map((activity) => (- <div key={activity.id} className="flex items-start gap-4">- <div className="relative">- <Avatar className="w-8 h-8">- <AvatarFallback>- {activity.userId?.charAt(0) || "U"}- </AvatarFallback>- </Avatar>- <div- className={cn(- "absolute -bottom-1 -right-1 w-4 h-4 rounded-full flex items-center justify-center",- activity.type === "create" &&- "bg-green-100 text-green-600 dark:bg-green-500/20 dark:text-green-400",- activity.type === "update" &&- "bg-blue-100 text-blue-600 dark:bg-blue-500/20 dark:text-blue-400",- activity.type === "status" &&- "bg-purple-100 text-purple-600 dark:bg-purple-500/20 dark:text-purple-400",- activity.type === "comment" &&- "bg-yellow-100 text-yellow-600 dark:bg-yellow-500/20 dark:text-yellow-400",- )}- >- {activity.type === "create" && <PlusCircle className="w-3 h-3" />}- {activity.type === "update" && <Pencil className="w-3 h-3" />}- {activity.type === "status" && <History className="w-3 h-3" />}- {activity.type === "comment" && (- <MessageSquare className="w-3 h-3" />- )}- </div>- </div>- <div className="flex-1 flex flex-col gap-2">- <div className="flex items-center gap-2">- <span className="text-sm font-medium text-zinc-900 dark:text-zinc-400">- {activity.userId}- </span>- <span className="text-xs text-zinc-500 dark:text-zinc-400">- {formatDistanceToNow(activity.createdAt)} ago- </span>- </div>- <div className="flex flex-col gap-1">- <div className="text-sm text-zinc-600 dark:text-zinc-100">- {activity.type === "create" && activity.content}- {activity.type === "update" && activity.content}- {activity.type === "status" && activity.content}- {activity.type === "comment" &&- (editingCommentId === activity.id ? (- <TaskComment- initialComment={activity.content || ""}- commentId={activity.id || null}- onSubmit={() => setEditingCommentId(null)}- />- ) : (- <div className="text-zinc-600 dark:text-zinc-100">- <MarkdownRenderer content={activity.content || ""} />- </div>- ))}- </div>- {activity.type === "comment" && editingCommentId === null && (- <div className="flex flex-row gap-3">- <button- type="button"- className="text-xs underline text-zinc-500 dark:text-zinc-400"- onClick={() => setEditingCommentId(activity.id ?? null)}- >- Edit- </button>- <button- className="text-xs underline text-zinc-500 dark:text-zinc-400"- tabIndex={0}- type="button"- onClick={() => handleDeleteComment(activity.id)}- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- handleDeleteComment(activity.id);- }- }}- >- Delete- </button>- </div>- )}- {activity.type === "comment" &&- editingCommentId === activity.id && (- <div className="flex flex-row gap-3">- <button- type="button"- className="text-xs underline text-zinc-500 dark:text-zinc-400"- onClick={() => setEditingCommentId(null)}- >- Cancel- </button>- </div>- )}- </div>- </div>- </div>- ))}- </div>- );-}--export default TaskActivities;diff --git a/apps/web/src/components/task/task-assignee-popover.tsx b/apps/web/src/components/task/task-assignee-popover.tsxnew file mode 100644index 000000000..803452753--- /dev/null+++ b/apps/web/src/components/task/task-assignee-popover.tsx@@ -0,0 +1,101 @@+import { Check } from "lucide-react";+import { useMemo, useState } from "react";+import { toast } from "sonner";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Button } from "@/components/ui/button";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { useUpdateTaskAssignee } from "@/hooks/mutations/task/use-update-task-assignee";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import type Task from "@/types/task";++interface TaskAssigneePopoverProps {+ task: Task;+ workspaceId: string;+ children: React.ReactNode;+}++export default function TaskAssigneePopover({+ task,+ workspaceId,+ children,+}: TaskAssigneePopoverProps) {+ const [open, setOpen] = useState(false);+ const { mutateAsync: updateTaskAssignee } = useUpdateTaskAssignee();+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(workspaceId);++ const usersOptions = useMemo(() => {+ return workspaceUsers?.members?.map((member) => ({+ label: member?.user?.name ?? member.userId,+ value: member.userId,+ image: member?.user?.image ?? "",+ name: member?.user?.name ?? "",+ }));+ }, [workspaceUsers]);++ const handleAssigneeChange = async (newUserId: string) => {+ try {+ await updateTaskAssignee({+ ...task,+ userId: newUserId,+ });+ setOpen(false);+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : "Failed to update task assignee",+ );+ }+ };++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>{children}</PopoverTrigger>+ <PopoverContent className="w-48 p-1" align="start">+ <div className="space-y-1">+ <Button+ variant="ghost"+ size="sm"+ className="w-full justify-start gap-2 h-8 px-2"+ onClick={() => handleAssigneeChange("")}+ >+ <div+ className="w-6 h-6 rounded-full bg-muted border border-border flex items-center justify-center"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium text-muted-foreground">+ ?+ </span>+ </div>+ <span className="text-sm">Unassigned</span>+ {!task.userId && <Check className="ml-auto h-4 w-4" />}+ </Button>+ {usersOptions?.map((user) => (+ <Button+ key={user.value}+ variant="ghost"+ size="sm"+ className="w-full justify-start gap-2 h-8 px-2"+ onClick={() => handleAssigneeChange(user.value)}+ >+ <Avatar className="h-6 w-6">+ <AvatarImage src={user.image ?? ""} alt={user.name || ""} />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {user.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <span className="text-sm">{user.label}</span>+ {task.userId === user.value && (+ <Check className="ml-auto h-4 w-4" />+ )}+ </Button>+ ))}+ </div>+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/task/task-calendar.tsx b/apps/web/src/components/task/task-calendar.tsxdeleted file mode 100644index 1e713fde7..000000000--- a/apps/web/src/components/task/task-calendar.tsx+++ /dev/null@@ -1,68 +0,0 @@-import { Calendar } from "@/components/ui/calendar";-import { cn } from "@/lib/cn";-import { format } from "date-fns";-import { Calendar as CalendarIcon } from "lucide-react";-import type { ControllerRenderProps } from "react-hook-form";-import type { z } from "zod/v4";-import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";-import type { taskInfoSchema } from "./task-info";--type SelectSingleEventHandler = (date: Date | undefined) => void;--function TaskCalendar({- field,- onChange,-}: {- field: ControllerRenderProps<z.infer<typeof taskInfoSchema>, "dueDate">;- onChange: SelectSingleEventHandler;-}) {- const { value } = field;-- return (- <div className="w-full">- <h3 className="text-sm font-medium text-zinc-900 dark:text-zinc-300 mb-2">- Due Date- </h3>- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className={cn(- "w-full flex items-center justify-between rounded-md border px-3 py-2 text-sm",- "bg-white dark:bg-zinc-800/50",- "border-zinc-200 dark:border-zinc-700/50",- "text-zinc-900 dark:text-zinc-100",- "focus:outline-none focus:ring-2 focus:ring-indigo-500 dark:focus:ring-indigo-400",- "hover:border-zinc-300 dark:hover:border-zinc-600",- )}- >- <span>- {value ? (- format(new Date(value), "PPP")- ) : (- <span className="text-zinc-500 dark:text-zinc-400">- Pick a date- </span>- )}- </span>- <CalendarIcon className="w-4 h-4 text-zinc-500 dark:text-zinc-400" />- </button>- </PopoverTrigger>- <PopoverContent- className="w-auto p-0 bg-zinc-100 dark:bg-zinc-800 border-none"- align="start"- >- <Calendar- mode="single"- selected={value ? new Date(value) : undefined}- onSelect={onChange}- className="w-auto border-none"- initialFocus- />- </PopoverContent>- </Popover>- </div>- );-}--export default TaskCalendar;diff --git a/apps/web/src/components/task/task-comment.tsx b/apps/web/src/components/task/task-comment.tsxdeleted file mode 100644index 5d813adb2..000000000--- a/apps/web/src/components/task/task-comment.tsx+++ /dev/null@@ -1,132 +0,0 @@-import { Editor } from "@/components/common/editor";-import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";-import { Button } from "@/components/ui/button";-import { Form, FormControl, FormField, FormItem } from "@/components/ui/form";-import useCreateComment from "@/hooks/mutations/comment/use-create-comment";-import useUpdateComment from "@/hooks/mutations/comment/use-update-comment";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import { useQueryClient } from "@tanstack/react-query";-import { MessageSquare } from "lucide-react";-import { useEffect } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";--const commentSchema = z.object({- comment: z.string().min(1),-});--function TaskComment({- initialComment = "",- commentId = null,- onSubmit,-}: {- initialComment?: string;- commentId?: string | null;- onSubmit?: () => void;-}) {- const { taskId } = Route.useParams();- const { user } = useAuth();- const { mutateAsync: createComment } = useCreateComment();- const { mutateAsync: updateComment } = useUpdateComment();- const queryClient = useQueryClient();-- const form = useForm<z.infer<typeof commentSchema>>({- resolver: standardSchemaResolver(commentSchema),- defaultValues: {- comment: "",- },- shouldUnregister: true,- });-- async function handleSubmit(data: z.infer<typeof commentSchema>) {- if (!user?.id) {- return;- }-- try {- if (commentId) {- await updateComment({- id: commentId,- userId: user.id,- content: data.comment,- });- onSubmit?.();- } else {- await createComment({- taskId: taskId,- content: data.comment,- userId: user?.id,- });- onSubmit?.();- }-- await queryClient.invalidateQueries({- queryKey: ["activities", taskId],- });-- toast.success(- commentId- ? "Comment updated successfully"- : "Comment added successfully",- );- form.reset();- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to add comment",- );- }- }-- useEffect(() => {- return () => {- form.reset();- };- }, [form]);-- useEffect(() => {- form.setValue("comment", initialComment);- }, [initialComment, form]);-- return (- <div className="flex items-start gap-3">- <div className="flex-1">- <Form {...form}>- <form onSubmit={form.handleSubmit(handleSubmit)}>- <FormField- control={form.control}- name="comment"- render={({ field }) => (- <FormItem>- <div className="flex flex-col gap-4">- <FormControl>- <div className="bg-white dark:bg-zinc-900 rounded-xl border border-zinc-200/50 dark:border-zinc-800/50 shadow-sm overflow-hidden min-h-[100px]">- <Editor- value={field.value || ""}- onChange={field.onChange}- placeholder="Add a comment..."- />- </div>- </FormControl>- </div>- </FormItem>- )}- />- <div className="flex justify-end mt-2">- <Button- type="submit"- className="bg-indigo-600/10 text-indigo-600 hover:bg-indigo-600/20 dark:bg-indigo-400/10 dark:text-indigo-400 dark:hover:bg-indigo-400/20"- >- <MessageSquare className="w-4 h-4 mr-2" />- {commentId ? "Update" : "Comment"}- </Button>- </div>- </form>- </Form>- </div>- </div>- );-}--export default TaskComment;diff --git a/apps/web/src/components/task/task-description-editor.tsx b/apps/web/src/components/task/task-description-editor.tsxnew file mode 100644index 000000000..f499bffc4--- /dev/null+++ b/apps/web/src/components/task/task-description-editor.tsx@@ -0,0 +1,284 @@+import { filterSuggestionItems } from "@blocknote/core";+import { useCreateBlockNote } from "@blocknote/react";+import { BlockNoteView } from "@blocknote/shadcn";+import { useCallback } from "react";+import "@blocknote/shadcn/style.css";+import {+ BlockTypeSelect,+ type BlockTypeSelectItem,+ CreateLinkButton,+ FormattingToolbarController,+ getDefaultReactSlashMenuItems,+ SuggestionMenuController,+} from "@blocknote/react";+import {+ Bold,+ Code,+ Heading1,+ Heading2,+ Heading3,+ Italic,+ List,+ ListOrdered,+ Strikethrough,+ Type,+ Underline,+} from "lucide-react";++import { Button } from "@/components/ui/button";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import { getModifierKeyText } from "@/hooks/use-keyboard-shortcuts";+import { cn } from "@/lib/cn";+import { useUserPreferencesStore } from "@/store/user-preferences";++interface TaskDescriptionEditorProps {+ value: string;+ onChange: (value: string) => void;+ placeholder?: string;+}++export default function TaskDescriptionEditor({+ value: _value,+ onChange,+ placeholder = "Add a description...",+}: TaskDescriptionEditorProps) {+ const { theme } = useUserPreferencesStore();++ const editor = useCreateBlockNote({+ initialContent: [+ {+ type: "paragraph",+ content: "",+ },+ ],+ });++ const handleEditorChange = useCallback(async () => {+ try {+ const markdown = await editor.blocksToMarkdownLossy(editor.document);+ onChange(markdown);+ } catch (error) {+ console.error("Failed to convert blocks to markdown:", error);+ }+ }, [editor, onChange]);++ return (+ <div className="blocknote-transparent h-full overflow-auto">+ <BlockNoteView+ editor={editor}+ className="h-full [&>div:first-of-type]:!pl-0 [&>div:first-of-type]:!bg-transparent [&>div:first-of-type]:!h-full"+ data-placeholder={placeholder}+ formattingToolbar={false}+ linkToolbar={false}+ filePanel={false}+ sideMenu={false}+ slashMenu={false}+ tableHandles={false}+ theme={theme as "dark" | "light"}+ onChange={handleEditorChange}+ >+ <FormattingToolbarController+ formattingToolbar={() => (+ <TooltipProvider>+ <div className="bg-sidebar flex items-center gap-0.5 px-1.5 py-1 rounded-md border border-border shadow-sm">+ <div className="[&_button]:h-6 [&_button]:px-2 [&_button]:text-xs [&_svg]:size-3">+ <BlockTypeSelect+ items={[+ {+ name: "Paragraph",+ type: "paragraph",+ icon: Type,+ props: {},+ isSelected: (block) => block.type === "paragraph",+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 1",+ type: "heading",+ icon: Heading1,+ props: {+ level: 1,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 1,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 2",+ type: "heading",+ icon: Heading2,+ props: {+ level: 2,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 2,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 3",+ type: "heading",+ icon: Heading3,+ props: {+ level: 3,+ },+ isSelected: (block) =>+ block.type === "heading" && block.props.level === 3,+ } satisfies BlockTypeSelectItem,+ {+ name: "Bullet List",+ type: "bulletListItem",+ icon: List,+ props: {},+ isSelected: (block) => block.type === "bulletListItem",+ } satisfies BlockTypeSelectItem,+ {+ name: "Numbered List",+ type: "numberedListItem",+ icon: ListOrdered,+ props: {},+ isSelected: (block) =>+ block.type === "numberedListItem",+ } satisfies BlockTypeSelectItem,+ ]}+ key={"blockTypeSelect"}+ />+ </div>++ <div className="w-px h-4 bg-border mx-0.5" />++ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ bold: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().bold &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Bold className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "B"]}+ description="Bold"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ italic: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().italic &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Italic className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "I"]}+ description="Italic"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ underline: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().underline &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Underline className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "U"]}+ description="Underline"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ code: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().code &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Code className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "E"]}+ description="Code"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() => editor.toggleStyles({ strike: true })}+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().strike &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Strikethrough className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Shift", "X"]}+ description="Strikethrough"+ />+ </TooltipContent>+ </Tooltip>++ <div className="w-px h-4 bg-border mx-0.5" />++ <CreateLinkButton key={"createLinkButton"} />+ </div>+ </TooltipProvider>+ )}+ />+ <SuggestionMenuController+ triggerCharacter={"/"}+ getItems={async (query) =>+ filterSuggestionItems(+ getDefaultReactSlashMenuItems(editor).filter(+ (item) => item.group !== "Media",+ ),+ query,+ )+ }+ />+ </BlockNoteView>+ </div>+ );+}diff --git a/apps/web/src/components/task/task-description.tsx b/apps/web/src/components/task/task-description.tsxindex 94063fd30..008fd01ce 100644--- a/apps/web/src/components/task/task-description.tsx+++ b/apps/web/src/components/task/task-description.tsx@@ -1,76 +1,390 @@-import useUpdateTask from "@/hooks/mutations/task/use-update-task";+import { filterSuggestionItems } from "@blocknote/core";+import { useCreateBlockNote } from "@blocknote/react";+import { BlockNoteView } from "@blocknote/shadcn";+import { useCallback, useEffect, useRef } from "react";+import { useForm } from "react-hook-form";+import "@blocknote/shadcn/style.css";+import {+ BlockTypeSelect,+ type BlockTypeSelectItem,+ CreateLinkButton,+ FormattingToolbarController,+ getDefaultReactSlashMenuItems,+ SuggestionMenuController,+} from "@blocknote/react";+import {+ Bold,+ Code,+ Heading1,+ Heading2,+ Heading3,+ Italic,+ List,+ ListOrdered,+ Strikethrough,+ Type,+ Underline,+} from "lucide-react";++import { Button } from "@/components/ui/button";+import { Form, FormControl, FormField } from "@/components/ui/form";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import { useUpdateTaskDescription } from "@/hooks/mutations/task/use-update-task-description";import useGetTask from "@/hooks/queries/task/use-get-task";+import { getModifierKeyText } from "@/hooks/use-keyboard-shortcuts";+import { cn } from "@/lib/cn";import debounce from "@/lib/debounce";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";-import { useEffect } from "react";-import { useForm } from "react-hook-form";-import { Editor } from "../common/editor";-import { Form, FormField } from "../ui/form";+import { useUserPreferencesStore } from "@/store/user-preferences";interface TaskDescriptionProps {- setIsSaving: (isSaving: boolean) => void;+ taskId: string;}-function TaskDescription({ setIsSaving }: TaskDescriptionProps) {- const { taskId } = Route.useParams();+export default function TaskDescription({ taskId }: TaskDescriptionProps) {const { data: task } = useGetTask(taskId);- const { mutateAsync: updateTask } = useUpdateTask();+ const { mutateAsync: updateTaskDescription } = useUpdateTaskDescription();+ const { theme } = useUserPreferencesStore();+ const isInitializedRef = useRef(false);+ const isLoadingInitialContent = useRef(false);+ const taskRef = useRef(task);+ const updateTaskRef = useRef(updateTaskDescription);++ useEffect(() => {+ taskRef.current = task;+ updateTaskRef.current = updateTaskDescription;+ }, [task, updateTaskDescription]);const form = useForm<{description: string;}>({- shouldUnregister: true,values: {description: task?.description || "",},});- const debouncedUpdate = debounce(async (value: string) => {- if (!task) return;-- setIsSaving(true);- await updateTask({- ...task,- description: value,- userId: task.userId || "",- title: task.title || "",- status: task.status || "",- dueDate: task.dueDate ? new Date(task.dueDate).toISOString() : null,- priority: task.priority || "",- position: task.position || 0,- });- setIsSaving(false);- }, 1000);-- async function handleDescriptionChange(value: string) {- debouncedUpdate(value);- }+ const editor = useCreateBlockNote({+ initialContent: [+ {+ type: "paragraph",+ content: "",+ },+ ],+ });useEffect(() => {- return () => {- form.reset();- };- }, [form]);+ if (task?.description?.trim() && !isInitializedRef.current) {+ const loadMarkdown = async () => {+ isLoadingInitialContent.current = true;+ try {+ const blocks = await editor.tryParseMarkdownToBlocks(+ task.description || "",+ );+ editor.replaceBlocks(editor.document, blocks);+ setTimeout(() => {+ isInitializedRef.current = true;+ isLoadingInitialContent.current = false;+ }, 100);+ } catch {+ const blocks = await editor.tryParseMarkdownToBlocks("");+ editor.replaceBlocks(editor.document, blocks);+ setTimeout(() => {+ isInitializedRef.current = true;+ isLoadingInitialContent.current = false;+ }, 100);+ }+ };+ loadMarkdown();+ } else if (!task?.description?.trim() && !isInitializedRef.current) {+ const clearEditor = async () => {+ isLoadingInitialContent.current = true;+ const blocks = await editor.tryParseMarkdownToBlocks("");+ editor.replaceBlocks(editor.document, blocks);+ setTimeout(() => {+ isInitializedRef.current = true;+ isLoadingInitialContent.current = false;+ }, 100);+ };+ clearEditor();+ }+ }, [task?.description, editor]);++ const debouncedUpdate = useCallback(+ debounce(async (markdown: string) => {+ if (!isInitializedRef.current) return;++ const currentTask = taskRef.current;+ const updateTaskFn = updateTaskRef.current;++ if (!currentTask || !updateTaskFn) return;++ try {+ await updateTaskFn({+ ...currentTask,+ description: markdown,+ });+ } catch (error) {+ console.error("Failed to update description:", error);+ }+ }, 800),+ [],+ );++ const handleEditorChange = useCallback(async () => {+ if (!isInitializedRef.current || isLoadingInitialContent.current) {+ return;+ }++ try {+ const markdown = await editor.blocksToMarkdownLossy(editor.document);+ form.setValue("description", markdown);+ debouncedUpdate(markdown);+ } catch (error) {+ console.error("Failed to convert blocks to markdown:", error);+ }+ }, [editor, form, debouncedUpdate]);return (- <div className="space-y-2">- <div className="bg-white dark:bg-zinc-900 rounded-lg border border-zinc-200 dark:border-zinc-800 overflow-hidden shadow-sm h-[300px]">- <Form {...form}>- <FormField- control={form.control}- name="description"- render={({ field }) => (- <Editor- value={field.value || ""}- onChange={(value) => handleDescriptionChange(value)}- placeholder="Add a description to help your team understand this task..."- />- )}- />- </Form>- </div>- </div>+ <Form {...form}>+ <FormField+ control={form.control}+ name="description"+ render={() => (+ <FormControl>+ <div className="blocknote-transparent">+ <BlockNoteView+ editor={editor}+ className="min-h-[200px] [&>div:first-of-type]:!pl-0 [&>div:first-of-type]:!bg-transparent"+ data-placeholder="Add a description..."+ formattingToolbar={false}+ linkToolbar={false}+ filePanel={false}+ sideMenu={false}+ slashMenu={false}+ tableHandles={false}+ theme={theme as "dark" | "light"}+ onChange={handleEditorChange}+ >+ <FormattingToolbarController+ formattingToolbar={() => (+ <TooltipProvider>+ <div className="bg-sidebar flex items-center gap-0.5 px-1.5 py-1 rounded-md border border-border shadow-sm">+ <div className="[&_button]:h-6 [&_button]:px-2 [&_button]:text-xs [&_svg]:size-3">+ <BlockTypeSelect+ items={[+ {+ name: "Paragraph",+ type: "paragraph",+ icon: Type,+ props: {},+ isSelected: (block) =>+ block.type === "paragraph",+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 1",+ type: "heading",+ icon: Heading1,+ props: {+ level: 1,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 1,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 2",+ type: "heading",+ icon: Heading2,+ props: {+ level: 2,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 2,+ } satisfies BlockTypeSelectItem,+ {+ name: "Heading 3",+ type: "heading",+ icon: Heading3,+ props: {+ level: 3,+ },+ isSelected: (block) =>+ block.type === "heading" &&+ block.props.level === 3,+ } satisfies BlockTypeSelectItem,+ {+ name: "Bullet List",+ type: "bulletListItem",+ icon: List,+ props: {},+ isSelected: (block) =>+ block.type === "bulletListItem",+ } satisfies BlockTypeSelectItem,+ {+ name: "Numbered List",+ type: "numberedListItem",+ icon: ListOrdered,+ props: {},+ isSelected: (block) =>+ block.type === "numberedListItem",+ } satisfies BlockTypeSelectItem,+ ]}+ key={"blockTypeSelect"}+ />+ </div>++ <div className="w-px h-4 bg-border mx-0.5" />++ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ bold: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().bold &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Bold className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "B"]}+ description="Bold"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ italic: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().italic &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Italic className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "I"]}+ description="Italic"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ underline: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().underline &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Underline className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "U"]}+ description="Underline"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ code: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().code &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Code className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "E"]}+ description="Code"+ />+ </TooltipContent>+ </Tooltip>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ onClick={() =>+ editor.toggleStyles({ strike: true })+ }+ className={cn(+ "h-6 w-6 p-0",+ editor.getActiveStyles().strike &&+ "bg-accent text-accent-foreground",+ )}+ >+ <Strikethrough className="size-3" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={[getModifierKeyText(), "Shift", "X"]}+ description="Strikethrough"+ />+ </TooltipContent>+ </Tooltip>++ <div className="w-px h-4 bg-border mx-0.5" />++ <CreateLinkButton key={"createLinkButton"} />+ </div>+ </TooltipProvider>+ )}+ />+ <SuggestionMenuController+ triggerCharacter={"/"}+ getItems={async (query) =>+ filterSuggestionItems(+ getDefaultReactSlashMenuItems(editor).filter(+ (item) => item.group !== "Media",+ ),+ query,+ )+ }+ />+ </BlockNoteView>+ </div>+ </FormControl>+ )}+ />+ </Form>);}--export default TaskDescription;diff --git a/apps/web/src/components/task/task-due-date-popover.tsx b/apps/web/src/components/task/task-due-date-popover.tsxnew file mode 100644index 000000000..c2d018e46--- /dev/null+++ b/apps/web/src/components/task/task-due-date-popover.tsx@@ -0,0 +1,54 @@+import { useState } from "react";+import { toast } from "sonner";+import { Calendar } from "@/components/ui/calendar";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { useUpdateTaskDueDate } from "@/hooks/mutations/task/use-update-task-due-date";+import type Task from "@/types/task";++interface TaskDueDatePopoverProps {+ task: Task;+ children: React.ReactNode;+}++export default function TaskDueDatePopover({+ task,+ children,+}: TaskDueDatePopoverProps) {+ const [open, setOpen] = useState(false);+ const { mutateAsync: updateTaskDueDate } = useUpdateTaskDueDate();++ const handleDateChange = async (date: Date | undefined) => {+ try {+ await updateTaskDueDate({+ ...task,+ dueDate: date?.toISOString() || null,+ });+ toast.success("Task due date updated successfully");+ setOpen(false);+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : "Failed to update task due date",+ );+ }+ };++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>{children}</PopoverTrigger>+ <PopoverContent className="p-0" align="start">+ <Calendar+ mode="single"+ selected={task.dueDate ? new Date(task.dueDate) : undefined}+ onSelect={handleDateChange}+ className="w-full bg-popover"+ />+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/task/task-info.tsx b/apps/web/src/components/task/task-info.tsxdeleted file mode 100644index 40208a376..000000000--- a/apps/web/src/components/task/task-info.tsx+++ /dev/null@@ -1,260 +0,0 @@-import {- AlertDialog,- AlertDialogAction,- AlertDialogCancel,- AlertDialogContent,- AlertDialogDescription,- AlertDialogFooter,- AlertDialogHeader,- AlertDialogTitle,-} from "@/components/ui/alert-dialog";-import { Button } from "@/components/ui/button";-import { Form, FormField, FormItem, FormLabel } from "@/components/ui/form";-import {- Select,- SelectContent,- SelectItem,- SelectTrigger,- SelectValue,-} from "@/components/ui/select";-import useDeleteTask from "@/hooks/mutations/task/use-delete-task";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import useGetActiveWorkspaceUsers from "@/hooks/queries/workspace-users/use-active-workspace-users";-import useProjectStore from "@/store/project";-import type Task from "@/types/task";-import { useQueryClient } from "@tanstack/react-query";-import { useNavigate } from "@tanstack/react-router";-import { useEffect, useState } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";-import TaskCalendar from "./task-calendar";-import TaskLabels from "./task-labels";--export const taskInfoSchema = z.object({- status: z.string(),- userId: z.string(),- priority: z.string(),- dueDate: z.date(),-});--function TaskInfo({- task,- setIsSaving,-}: {- task: Task;- setIsSaving: (isSaving: boolean) => void;-}) {- const navigate = useNavigate();- const queryClient = useQueryClient();- const { project } = useProjectStore();- const { data: workspaceUsers } = useGetActiveWorkspaceUsers({- workspaceId: project?.workspaceId ?? "",- });- const { mutateAsync: updateTask } = useUpdateTask();- const { mutateAsync: deleteTask, isPending: isDeleting } = useDeleteTask();- const [isDeleteTaskModalOpen, setIsDeleteTaskModalOpen] = useState(false);-- const form = useForm<z.infer<typeof taskInfoSchema>>({- defaultValues: {- status: task?.status || "",- userId: task?.userId || "",- priority: task?.priority || "",- dueDate: task?.dueDate ? new Date(task.dueDate) : new Date(),- },- });-- const handleChange = async (data: z.infer<typeof taskInfoSchema>) => {- if (!task) return;-- setIsSaving(true);- try {- await updateTask({- ...task,- userId: data.userId,- status: data.status || "",- priority: data.priority || "",- dueDate: data.dueDate.toISOString(),- projectId: project?.id || "",- });- toast.success("Task updated successfully");- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to update task",- );- } finally {- setIsSaving(false);- }- };-- const handleDeleteTask = async () => {- if (!task) return;-- try {- await deleteTask(task.id);- queryClient.invalidateQueries({- queryKey: ["tasks", project?.id ?? ""],- });- toast.success("Task deleted successfully");- navigate({- to: "/dashboard/workspace/$workspaceId/project/$projectId/board",- params: {- workspaceId: project?.workspaceId ?? "",- projectId: project?.id ?? "",- },- });- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to delete task",- );- }- };-- useEffect(() => {- return () => {- form.reset();- };- }, [form]);-- return (- <>- <div className="w-full md:w-96 flex-shrink-0 overflow-y-auto border-b border-zinc-200 dark:border-zinc-800 p-4 gap-4 border-l flex flex-col">- <Form {...form}>- <FormField- control={form.control}- name="status"- render={({ field }) => (- <FormItem>- <FormLabel>Status</FormLabel>- <Select- value={field.value}- onValueChange={(value) => {- field.onChange(value);- handleChange({ ...form.getValues(), status: value });- }}- >- <SelectTrigger>- <SelectValue placeholder="Select status" />- </SelectTrigger>- <SelectContent>- {project?.columns?.map((column) => (- <SelectItem key={column.id} value={column.id}>- {column.name}- </SelectItem>- ))}- </SelectContent>- </Select>- </FormItem>- )}- />-- <FormField- control={form.control}- name="userId"- render={({ field }) => (- <FormItem>- <FormLabel>Assign to</FormLabel>- <Select- value={field.value}- onValueChange={(value) => {- field.onChange(value);- handleChange({ ...form.getValues(), userId: value });- }}- >- <SelectTrigger>- <SelectValue placeholder="Select assignee" />- </SelectTrigger>- <SelectContent>- <SelectItem value="unassigned">Unassigned</SelectItem>- {workspaceUsers?.map((user) => {- return (- <SelectItem key={user.userId} value={user.userId}>- {user.userName}- </SelectItem>- );- })}- </SelectContent>- </Select>- </FormItem>- )}- />- <FormField- control={form.control}- name="priority"- render={({ field }) => (- <FormItem>- <FormLabel>Priority</FormLabel>- <Select- value={field.value || ""}- onValueChange={(value) => {- field.onChange(value);- handleChange({ ...form.getValues(), priority: value });- }}- >- <SelectTrigger>- <SelectValue placeholder="Select priority" />- </SelectTrigger>- <SelectContent>- <SelectItem value="low">Low</SelectItem>- <SelectItem value="medium">Medium</SelectItem>- <SelectItem value="high">High</SelectItem>- <SelectItem value="urgent">Urgent</SelectItem>- </SelectContent>- </Select>- </FormItem>- )}- />- <FormField- control={form.control}- name="dueDate"- render={({ field }) => (- <TaskCalendar- field={field}- onChange={(value) => {- field.onChange(value);- handleChange({- ...form.getValues(),- dueDate: value ?? new Date(),- });- }}- />- )}- />- <TaskLabels taskId={task.id} setIsSaving={setIsSaving} />- </Form>- <Button- onClick={() => setIsDeleteTaskModalOpen(true)}- className="w-full mt-4 px-3 py-2 text-sm text-red-600 dark:text-red-400 bg-red-50 dark:bg-red-500/10 hover:bg-red-100 dark:hover:bg-red-500/20 border border-red-200 dark:border-red-500/20 rounded-md disabled:opacity-50 disabled:cursor-not-allowed transition-colors"- >- {isDeleting ? "Deleting..." : "Delete Task"}- </Button>- </div>-- <AlertDialog- open={isDeleteTaskModalOpen}- onOpenChange={setIsDeleteTaskModalOpen}- >- <AlertDialogContent>- <AlertDialogHeader>- <AlertDialogTitle>Delete Task?</AlertDialogTitle>- <AlertDialogDescription>- This will permanently remove the task and all its data. You can't- undo this action.- </AlertDialogDescription>- </AlertDialogHeader>- <AlertDialogFooter>- <AlertDialogCancel>Cancel</AlertDialogCancel>- <AlertDialogAction- onClick={handleDeleteTask}- className="bg-destructive text-destructive-foreground hover:bg-destructive/90"- >- Delete Task- </AlertDialogAction>- </AlertDialogFooter>- </AlertDialogContent>- </AlertDialog>- </>- );-}--export default TaskInfo;diff --git a/apps/web/src/components/task/task-labels-popover.tsx b/apps/web/src/components/task/task-labels-popover.tsxnew file mode 100644index 000000000..d546a4ed3--- /dev/null+++ b/apps/web/src/components/task/task-labels-popover.tsx@@ -0,0 +1,319 @@+import { useQueryClient } from "@tanstack/react-query";+import { Check, Plus, Search, X } from "lucide-react";+import { useEffect, useMemo, useRef, useState } from "react";+import { toast } from "sonner";+import { Input } from "@/components/ui/input";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import useCreateLabel from "@/hooks/mutations/label/use-create-label";+import useDeleteLabel from "@/hooks/mutations/label/use-delete-label";+import useGetLabelsByTask from "@/hooks/queries/label/use-get-labels-by-task";+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";+import { cn } from "@/lib/cn";+import type Task from "@/types/task";++const labelColors = [+ { value: "gray", label: "Stone", color: "#78716c" },+ { value: "dark-gray", label: "Slate", color: "#64748b" },+ { value: "purple", label: "Lavender", color: "#8b5cf6" },+ { value: "teal", label: "Sage", color: "#059669" },+ { value: "green", label: "Forest", color: "#16a34a" },+ { value: "yellow", label: "Amber", color: "#d97706" },+ { value: "orange", label: "Terracotta", color: "#ea580c" },+ { value: "pink", label: "Rose", color: "#e11d48" },+ { value: "red", label: "Crimson", color: "#dc2626" },+];++type LabelColor =+ | "gray"+ | "dark-gray"+ | "purple"+ | "teal"+ | "green"+ | "yellow"+ | "orange"+ | "pink"+ | "red";++interface TaskLabelsPopoverProps {+ task: Task;+ workspaceId: string;+ children: React.ReactNode;+}++type PopoverStep = "select" | "color";++export default function TaskLabelsPopover({+ task,+ workspaceId,+ children,+}: TaskLabelsPopoverProps) {+ const [open, setOpen] = useState(false);+ const [step, setStep] = useState<PopoverStep>("select");+ const [searchValue, setSearchValue] = useState("");+ const [selectedColor, setSelectedColor] = useState<LabelColor>("gray");+ const [newLabelName, setNewLabelName] = useState("");++ const searchInputRef = useRef<HTMLInputElement>(null);+ const queryClient = useQueryClient();++ const { mutateAsync: createLabel } = useCreateLabel();+ const { mutateAsync: deleteLabel } = useDeleteLabel();++ const { data: taskLabels = [] } = useGetLabelsByTask(task.id);+ const { data: workspaceLabels = [] } = useGetLabelsByWorkspace(workspaceId);++ const taskLabelNames = useMemo(+ () => taskLabels.map((label) => label.name),+ [taskLabels],+ );++ const filteredLabels = useMemo(() => {+ const searchFiltered = workspaceLabels.filter((label) =>+ label.name.toLowerCase().includes(searchValue.toLowerCase()),+ );++ const labelMap = new Map<string, (typeof workspaceLabels)[0]>();+ for (const label of searchFiltered) {+ const existing = labelMap.get(label.name);+ if (!existing || (label.taskId === null && existing.taskId !== null)) {+ labelMap.set(label.name, label);+ }+ }++ return Array.from(labelMap.values());+ }, [workspaceLabels, searchValue]);++ const isCreatingNewLabel = useMemo(+ () =>+ searchValue &&+ !workspaceLabels.some(+ (label) => label.name.toLowerCase() === searchValue.toLowerCase(),+ ),+ [workspaceLabels, searchValue],+ );++ useEffect(() => {+ if (open && step === "select" && searchInputRef.current) {+ setTimeout(() => searchInputRef.current?.focus(), 100);+ }+ }, [open, step]);++ const resetPopover = () => {+ setStep("select");+ setSearchValue("");+ setNewLabelName("");+ setSelectedColor("gray");+ };++ const handleClose = () => {+ setOpen(false);+ setTimeout(resetPopover, 200);+ };++ const handleToggleLabel = async (labelId: string) => {+ try {+ const workspaceLabel = workspaceLabels.find((l) => l.id === labelId);+ if (!workspaceLabel) return;++ const isCurrentlyAssigned = taskLabelNames.includes(workspaceLabel.name);++ if (isCurrentlyAssigned) {+ // Remove label from task - find by name since IDs are different+ const taskLabel = taskLabels.find(+ (l) => l.name === workspaceLabel.name,+ );+ if (taskLabel?.id) {+ await deleteLabel({ id: taskLabel.id });+ toast.success("Label removed");+ }+ } else {+ // Add label to task+ await createLabel({+ name: workspaceLabel.name,+ color: workspaceLabel.color as LabelColor,+ taskId: task.id,+ workspaceId,+ });+ toast.success("Label added");+ }++ // Invalidate all relevant queries+ await queryClient.invalidateQueries({+ queryKey: ["labels", task.id],+ });+ await queryClient.invalidateQueries({+ queryKey: ["labels", workspaceId],+ });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update label",+ );+ }+ };++ const handleCreateNewClick = () => {+ setNewLabelName(searchValue);+ setStep("color");+ };++ const handleColorSelect = async (color: LabelColor) => {+ setSelectedColor(color);++ // Create the label immediately+ if (!newLabelName.trim()) return;++ try {+ // First create the label in the workspace+ await createLabel({+ name: newLabelName.trim(),+ color: color,+ workspaceId,+ });++ // Then assign it to the task+ await createLabel({+ name: newLabelName.trim(),+ color: color,+ taskId: task.id,+ workspaceId,+ });++ // Invalidate all relevant queries+ await queryClient.invalidateQueries({+ queryKey: ["labels", task.id],+ });+ await queryClient.invalidateQueries({+ queryKey: ["labels", workspaceId],+ });++ toast.success("Label created and added");+ handleClose();+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to create label",+ );+ }+ };++ const renderSelectStep = () => (+ <div className="w-auto">+ <div className="flex items-center gap-2 p-2 border-b border-border">+ <Search className="w-3 h-3 text-muted-foreground" />+ <Input+ ref={searchInputRef}+ value={searchValue}+ onChange={(e) => setSearchValue(e.target.value)}+ placeholder="Search labels..."+ className="border-none p-0 h-auto focus-visible:ring-0 shadow-none !bg-transparent"+ />+ </div>++ <div className="py-1">+ {filteredLabels.length === 0 && searchValue.length === 0 && (+ <span className="text-xs text-muted-foreground px-2">+ No labels found+ </span>+ )}+ {filteredLabels.map((label) => (+ <button+ key={label.id}+ type="button"+ className="w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left"+ onClick={() => handleToggleLabel(label.id)}+ >+ <div className="flex-shrink-0 w-3 flex justify-center">+ {taskLabelNames.includes(label.name) && (+ <Check className="w-3 h-3" />+ )}+ </div>+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find((c) => c.value === label.color)?.color ||+ "#94a3b8",+ }}+ />+ <span className="truncate">{label.name}</span>+ </button>+ ))}++ {isCreatingNewLabel && filteredLabels.length > 0 && (+ <div className="border-t border-border my-1" />+ )}+ {isCreatingNewLabel && (+ <button+ type="button"+ className="w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left"+ onClick={handleCreateNewClick}+ >+ <div className="flex-shrink-0 w-3 flex justify-center">+ <Plus className="w-3 h-3" />+ </div>+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find((c) => c.value === selectedColor)?.color ||+ "#94a3b8",+ }}+ />+ <span className="truncate">Create "{searchValue}"</span>+ </button>+ )}+ </div>+ </div>+ );++ const renderColorStep = () => (+ <div className="w-auto">+ <div className="flex items-center justify-between p-2 border-b border-border">+ <span className="text-xs font-medium">Choose color</span>+ <button+ type="button"+ onClick={() => setStep("select")}+ className="w-4 h-4 flex items-center justify-center hover:bg-accent/50 rounded"+ >+ <X className="h-3 w-3" />+ </button>+ </div>++ <div className="py-1">+ {labelColors.map((color) => (+ <button+ key={color.value}+ type="button"+ className={cn(+ "w-full flex items-center gap-2 px-2 py-1.5 text-xs hover:bg-accent/50 text-left",+ selectedColor === color.value && "bg-accent/30",+ )}+ onClick={() => handleColorSelect(color.value as LabelColor)}+ >+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{ backgroundColor: color.color }}+ />+ <span className="truncate">{color.label}</span>+ {selectedColor === color.value && (+ <Check className="w-3 h-3 ml-auto" />+ )}+ </button>+ ))}+ </div>+ </div>+ );++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>{children}</PopoverTrigger>+ <PopoverContent className="p-0" align="start">+ {step === "select" && renderSelectStep()}+ {step === "color" && renderColorStep()}+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/task/task-labels.tsx b/apps/web/src/components/task/task-labels.tsxdeleted file mode 100644index fb0b9413f..000000000--- a/apps/web/src/components/task/task-labels.tsx+++ /dev/null@@ -1,376 +0,0 @@-import { Badge } from "@/components/ui/badge";-import { Button } from "@/components/ui/button";-import { FormItem, FormLabel } from "@/components/ui/form";-import useCreateLabel from "@/hooks/mutations/label/use-create-label";-import useDeleteLabel from "@/hooks/mutations/label/use-delete-label";-import useGetLabelsByTask from "@/hooks/queries/label/use-get-labels-by-task";-import { cn } from "@/lib/cn";-import * as Popover from "@radix-ui/react-popover";-import { useQueryClient } from "@tanstack/react-query";-import { Check, PlusIcon, Search, Tag } from "lucide-react";-import { useEffect, useRef, useState } from "react";-import { toast } from "sonner";--const labelColors = [- { value: "gray", label: "Grey", color: "#94a3b8" },- { value: "dark-gray", label: "Dark Grey", color: "#64748b" },- { value: "purple", label: "Purple", color: "#a855f7" },- { value: "teal", label: "Teal", color: "#14b8a6" },- { value: "green", label: "Green", color: "#22c55e" },- { value: "yellow", label: "Yellow", color: "#eab308" },- { value: "orange", label: "Orange", color: "#f97316" },- { value: "pink", label: "Pink", color: "#ec4899" },- { value: "red", label: "Red", color: "#ef4444" },-];--type LabelColor =- | "gray"- | "dark-gray"- | "purple"- | "teal"- | "green"- | "yellow"- | "orange"- | "pink"- | "red";--type Label = {- id: string;- name: string;- color: string;- taskId: string;- createdAt: string;-};--function TaskLabels({- taskId,- setIsSaving,-}: {- taskId: string;- setIsSaving: (isSaving: boolean) => void;-}) {- const [isOpen, setIsOpen] = useState(false);- const [searchValue, setSearchValue] = useState("");- const [selectedColor, setSelectedColor] = useState<LabelColor>("gray");- const [colorPickerOpen, setColorPickerOpen] = useState(false);-- const searchInputRef = useRef<HTMLInputElement>(null);-- const queryClient = useQueryClient();- const { mutateAsync: createLabel } = useCreateLabel();- const { mutateAsync: deleteLabel } = useDeleteLabel();-- const { data: labels = [] } = useGetLabelsByTask(taskId);-- const [taskLabels, setTaskLabels] = useState<string[]>([]);-- useEffect(() => {- if (labels?.length) {- setTaskLabels(labels.map((label: Label) => label.id));- } else {- setTaskLabels([]);- }- }, [labels]);-- const filteredLabels = labels.filter((label: Label) =>- label.name.toLowerCase().includes(searchValue.toLowerCase()),- );-- const isCreatingNewLabel =- searchValue &&- !labels.some(- (label: Label) => label.name.toLowerCase() === searchValue.toLowerCase(),- );-- useEffect(() => {- if (isOpen && searchInputRef.current) {- setTimeout(() => searchInputRef.current?.focus(), 100);- }- }, [isOpen]);-- const handleSearchKeyDown = (e: React.KeyboardEvent<HTMLInputElement>) => {- if (e.key === "Enter" && isCreatingNewLabel) {- e.preventDefault();- handleCreateLabel();- } else if (e.key === "Escape") {- if (searchValue) {- setSearchValue("");- } else {- setIsOpen(false);- }- }- };-- const toggleLabel = async (labelId: string) => {- setIsSaving(true);- try {- const label = labels.find((l: Label) => l.id === labelId);- if (!label) {- throw new Error("Label not found");- }-- if (taskLabels.includes(labelId)) {- setTaskLabels(taskLabels.filter((id) => id !== labelId));-- await deleteLabel({ id: labelId });- toast.success("Label removed");- } else {- setTaskLabels([...taskLabels, labelId]);-- await createLabel({- name: label.name,- color: label.color as LabelColor,- taskId,- });- toast.success("Label added");- }-- await queryClient.invalidateQueries({ queryKey: ["labels", taskId] });- } catch (error) {- toast.error("Failed to update labels");- console.error(error);-- if (labels?.length) {- setTaskLabels(labels.map((label: Label) => label.id));- }- } finally {- setIsSaving(false);- }- };-- const handleCreateLabel = async () => {- if (!searchValue.trim()) return;-- setIsSaving(true);- try {- const newLabel = await createLabel({- name: searchValue.trim(),- color: selectedColor,- taskId,- });-- setSearchValue("");- setSelectedColor("gray");-- await queryClient.invalidateQueries({ queryKey: ["labels", taskId] });-- if (newLabel?.id) {- setTaskLabels((prev) => [...prev, newLabel.id]);- }-- toast.success("Label created successfully");-- searchInputRef.current?.focus();- } catch (error) {- console.error("Failed to create label:", error);- toast.error("Failed to create label");- } finally {- setIsSaving(false);- }- };-- return (- <FormItem className="mt-2">- <FormLabel>Labels</FormLabel>- <div className="flex flex-wrap gap-2 mt-1">- {labels- .filter((label: Label) => taskLabels.includes(label.id))- .map((label: Label) => (- <Badge- key={label.id}- badgeColor={label.color as LabelColor}- variant="outline"- className="flex items-center gap-1 pl-3 cursor-pointer hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors"- onClick={() => toggleLabel(label.id)}- tabIndex={0}- onKeyDown={(e) => {- if (e.key === "Enter" || e.key === " ") {- e.preventDefault();- toggleLabel(label.id);- }- }}- aria-label={`Remove label ${label.name}`}- >- <span- className="inline-block w-2 h-2 mr-1.5 rounded-full"- style={{- backgroundColor:- labelColors.find((c) => c.value === label.color)?.color ||- "#94a3b8",- }}- aria-hidden="true"- />- {label.name}- </Badge>- ))}-- <Popover.Root open={isOpen} onOpenChange={setIsOpen}>- <Popover.Trigger asChild>- <Button- type="button"- variant="outline"- size="sm"- className="h-6 px-2 rounded-full"- aria-label="Manage labels"- >- <Tag className="w-3 h-3 mr-1" aria-hidden="true" />- <span className="text-xs">Labels</span>- </Button>- </Popover.Trigger>- <Popover.Portal>- <Popover.Content- align="start"- className="w-80 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-md shadow-lg overflow-hidden z-50"- sideOffset={5}- >- <div className="flex items-center p-2 border-b border-zinc-200 dark:border-zinc-800">- <Search- className="w-4 h-4 text-zinc-500 dark:text-zinc-400 mr-2"- aria-hidden="true"- />- <input- ref={searchInputRef}- type="text"- value={searchValue}- onChange={(e) => setSearchValue(e.target.value)}- onKeyDown={handleSearchKeyDown}- placeholder="Change or add labels..."- className="w-full bg-transparent border-none text-zinc-900 dark:text-zinc-200 text-sm focus:outline-none placeholder:text-zinc-500"- aria-label="Search labels or create new label"- />- </div>-- <div- className="max-h-80 overflow-y-auto custom-scrollbar"- aria-label="Available labels"- >- {filteredLabels.length > 0 ? (- <div className="py-1">- {filteredLabels.map((label: Label) => (- <button- key={label.id}- type="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800"- onClick={() => toggleLabel(label.id)}- aria-selected={taskLabels.includes(label.id)}- >- <div className="flex-shrink-0 w-4 mr-2 text-center">- {taskLabels.includes(label.id) && (- <Check- className="w-4 h-4 text-zinc-500 dark:text-zinc-400"- aria-hidden="true"- />- )}- </div>- <span- className="w-3 h-3 rounded-full mr-2"- style={{- backgroundColor:- labelColors.find((c) => c.value === label.color)- ?.color || "#94a3b8",- }}- aria-hidden="true"- />- <span>{label.name}</span>- </button>- ))}- </div>- ) : null}-- {isCreatingNewLabel && (- <div className="py-1 border-t border-zinc-200 dark:border-zinc-800">- <button- type="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 hover:bg-zinc-100 dark:hover:bg-zinc-800"- onClick={handleCreateLabel}- aria-label={`Create new label "${searchValue}"`}- >- <div className="flex-shrink-0 w-4 mr-2 text-center">- <PlusIcon- className="w-4 h-4 text-zinc-500 dark:text-zinc-400"- aria-hidden="true"- />- </div>- <span- className="w-3 h-3 rounded-full mr-2"- style={{- backgroundColor:- labelColors.find((c) => c.value === selectedColor)- ?.color || "#94a3b8",- }}- aria-hidden="true"- />- <span>Create new label: "{searchValue}"</span>- </button>-- <Popover.Root- open={colorPickerOpen}- onOpenChange={setColorPickerOpen}- >- <Popover.Trigger asChild>- <button- type="button"- className="w-full flex items-center px-3 py-2 text-sm text-left text-zinc-500 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- aria-label="Choose a color for label"- >- <div className="flex-shrink-0 w-4 mr-2" />- <span>Pick a color for label</span>- </button>- </Popover.Trigger>- <Popover.Portal>- <Popover.Content- align="start"- className="w-64 bg-white dark:bg-zinc-900 border border-zinc-200 dark:border-zinc-800 rounded-md shadow-lg p-2 z-50"- sideOffset={5}- aria-label="Label color options"- >- <div- className="grid grid-cols-1 gap-1"- role="radiogroup"- >- {labelColors.map((color) => (- <button- key={color.value}- type="button"- className={cn(- "flex items-center px-3 py-2 text-sm text-left text-zinc-900 dark:text-zinc-200 rounded hover:bg-zinc-100 dark:hover:bg-zinc-800",- selectedColor === color.value &&- "bg-zinc-100 dark:bg-zinc-800",- )}- onClick={() => {- setSelectedColor(color.value as LabelColor);- setColorPickerOpen(false);- }}- aria-checked={selectedColor === color.value}- aria-label={`Choose color ${color.label}`}- >- <span- className="w-3 h-3 rounded-full mr-3"- style={{ backgroundColor: color.color }}- aria-hidden="true"- />- <span>{color.label}</span>- {selectedColor === color.value && (- <Check- className="w-4 h-4 ml-auto text-zinc-500 dark:text-zinc-400"- aria-hidden="true"- />- )}- </button>- ))}- </div>- </Popover.Content>- </Popover.Portal>- </Popover.Root>- </div>- )}- </div>- </Popover.Content>- </Popover.Portal>- </Popover.Root>- </div>- </FormItem>- );-}--export default TaskLabels;diff --git a/apps/web/src/components/task/task-priority-popover.tsx b/apps/web/src/components/task/task-priority-popover.tsxnew file mode 100644index 000000000..4c84795bc--- /dev/null+++ b/apps/web/src/components/task/task-priority-popover.tsx@@ -0,0 +1,74 @@+import { Check } from "lucide-react";+import { useState } from "react";+import { toast } from "sonner";+import { Button } from "@/components/ui/button";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { useUpdateTaskPriority } from "@/hooks/mutations/task/use-update-task-status-priority";+import { getPriorityIcon } from "@/lib/priority";+import type Task from "@/types/task";++interface TaskPriorityPopoverProps {+ task: Task;+ children: React.ReactNode;+}++const priorityOptions = [+ { value: "no-priority", label: "No Priority" },+ { value: "low", label: "Low" },+ { value: "medium", label: "Medium" },+ { value: "high", label: "High" },+ { value: "urgent", label: "Urgent" },+];++export default function TaskPriorityPopover({+ task,+ children,+}: TaskPriorityPopoverProps) {+ const [open, setOpen] = useState(false);+ const { mutateAsync: updateTaskPriority } = useUpdateTaskPriority();++ const handlePriorityChange = async (newPriority: string) => {+ try {+ await updateTaskPriority({+ ...task,+ priority: newPriority,+ });+ setOpen(false);+ } catch (error) {+ toast.error(+ error instanceof Error+ ? error.message+ : "Failed to update task priority",+ );+ }+ };++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>{children}</PopoverTrigger>+ <PopoverContent className="w-48 p-1" align="start">+ <div className="space-y-1">+ {priorityOptions.map((priority) => (+ <Button+ key={priority.value}+ variant="ghost"+ size="sm"+ className="w-full justify-start gap-2 h-8 px-2"+ onClick={() => handlePriorityChange(priority.value)}+ >+ {getPriorityIcon(priority.value)}+ <span className="text-sm">{priority.label}</span>+ {task.priority === priority.value && (+ <Check className="ml-auto h-4 w-4" />+ )}+ </Button>+ ))}+ </div>+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/task/task-status-popover.tsx b/apps/web/src/components/task/task-status-popover.tsxnew file mode 100644index 000000000..1cd6694fb--- /dev/null+++ b/apps/web/src/components/task/task-status-popover.tsx@@ -0,0 +1,71 @@+import { Check } from "lucide-react";+import { useState } from "react";+import { toast } from "sonner";+import { Button } from "@/components/ui/button";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { useUpdateTaskStatus } from "@/hooks/mutations/task/use-update-task-status";+import { getColumnIcon } from "@/lib/column";+import type Task from "@/types/task";++interface TaskStatusPopoverProps {+ task: Task;+ children: React.ReactNode;+}++const statusOptions = [+ { value: "to-do", label: "To Do" },+ { value: "in-progress", label: "In Progress" },+ { value: "in-review", label: "In Review" },+ { value: "done", label: "Done" },+];++export default function TaskStatusPopover({+ task,+ children,+}: TaskStatusPopoverProps) {+ const [open, setOpen] = useState(false);+ const { mutateAsync: updateTaskStatus } = useUpdateTaskStatus();++ const handleStatusChange = async (newStatus: string) => {+ try {+ await updateTaskStatus({+ ...task,+ status: newStatus,+ });+ setOpen(false);+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update task status",+ );+ }+ };++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>{children}</PopoverTrigger>+ <PopoverContent className="w-48 p-1" align="start">+ <div className="space-y-1">+ {statusOptions.map((status) => (+ <Button+ key={status.value}+ variant="ghost"+ size="sm"+ className="w-full justify-start gap-2 h-8 px-2"+ onClick={() => handleStatusChange(status.value)}+ >+ {getColumnIcon(status.value)}+ <span className="text-sm">{status.label}</span>+ {task.status === status.value && (+ <Check className="ml-auto h-4 w-4" />+ )}+ </Button>+ ))}+ </div>+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/task/task-time-tracking.tsx b/apps/web/src/components/task/task-time-tracking.tsxdeleted file mode 100644index 92e177284..000000000--- a/apps/web/src/components/task/task-time-tracking.tsx+++ /dev/null@@ -1,174 +0,0 @@-import { Button } from "@/components/ui/button";-import useCreateTimeEntry from "@/hooks/mutations/time-entry/use-create-time-entry";-import useUpdateTimeEntry from "@/hooks/mutations/time-entry/use-update-time-entry";-import useGetTimeEntriesByTaskId from "@/hooks/queries/time-entry/use-get-time-entries";-import { formatDuration } from "@/lib/format-duration";-import type { TimeEntry } from "@/types/time-entry";-import { format } from "date-fns";-import { Clock, Pause, Play } from "lucide-react";-import { useEffect, useState } from "react";-import { toast } from "sonner";--interface TaskTimeTrackingProps {- taskId: string;-}--function TaskTimeTracking({ taskId }: TaskTimeTrackingProps) {- const { data: timeEntries } = useGetTimeEntriesByTaskId(taskId);- const { mutateAsync: createTimeEntry } = useCreateTimeEntry();- const { mutateAsync: updateTimeEntry } = useUpdateTimeEntry(taskId);-- const [activeTimeEntry, setActiveTimeEntry] = useState<TimeEntry | null>(- null,- );- const [elapsedTime, setElapsedTime] = useState(0);-- useEffect(() => {- if (timeEntries) {- const active = timeEntries.find((entry) => !entry.endTime);- setActiveTimeEntry(active || null);-- if (active) {- const startTime = new Date(active.startTime).getTime();- const elapsed = Math.floor((Date.now() - startTime) / 1000);- setElapsedTime(elapsed);- }- }- }, [timeEntries]);-- useEffect(() => {- if (!activeTimeEntry) return;-- const interval = setInterval(() => {- const startTime = new Date(activeTimeEntry.startTime).getTime();- const elapsed = Math.floor((Date.now() - startTime) / 1000);- setElapsedTime(elapsed);- }, 1000);-- return () => clearInterval(interval);- }, [activeTimeEntry]);-- const startTracking = async () => {- try {- const newTimeEntry = await createTimeEntry({- taskId,- startTime: new Date().toISOString(),- });-- setActiveTimeEntry(newTimeEntry);- setElapsedTime(0);- toast.success("Time tracking started");- } catch (error) {- toast.error("Failed to start time tracking");- }- };-- const stopTracking = async () => {- if (!activeTimeEntry) return;-- try {- await updateTimeEntry({- id: activeTimeEntry.id,- endTime: new Date().toISOString(),- duration: elapsedTime,- });-- setActiveTimeEntry(null);- toast.success("Time tracking stopped");- } catch (error) {- toast.error("Failed to stop time tracking");- }- };-- // Calculate total time spent on task- const totalTimeSpent =- timeEntries?.reduce((total, entry) => {- return total + (entry.duration || 0);- }, 0) || 0;-- // Add active time to total- const grandTotal = totalTimeSpent + (activeTimeEntry ? elapsedTime : 0);-- return (- <div className="space-y-4">- <div className="flex items-center justify-between">- <h2 className="text-base font-medium text-zinc-900 dark:text-zinc-100">- Time Tracking- </h2>- <div className="flex items-center gap-2">- {activeTimeEntry ? (- <Button- size="sm"- variant="outline"- onClick={stopTracking}- className="flex items-center gap-1"- >- <Pause className="w-3.5 h-3.5" />- Stop- </Button>- ) : (- <Button- size="sm"- variant="outline"- onClick={startTracking}- className="flex items-center gap-1"- >- <Play className="w-3.5 h-3.5" />- Start- </Button>- )}- </div>- </div>-- <div className="flex items-center gap-3 p-3 bg-zinc-50 dark:bg-zinc-800 rounded-md">- <Clock className="w-5 h-5 text-zinc-500 dark:text-zinc-400" />- <div className="flex-1">- <div className="text-sm font-medium text-zinc-900 dark:text-zinc-100">- {formatDuration(grandTotal)}- </div>- <div className="text-xs text-zinc-500 dark:text-zinc-400">- {activeTimeEntry ? "Currently tracking" : "Total time spent"}- </div>- </div>- {activeTimeEntry && (- <div className="text-sm font-medium text-zinc-900 dark:text-zinc-100">- {formatDuration(elapsedTime)}- </div>- )}- </div>-- {timeEntries && timeEntries.length > 0 && (- <div className="space-y-2 mt-4">- <h3 className="text-sm font-medium text-zinc-900 dark:text-zinc-100">- Time Log- </h3>- <div className="space-y-2">- {timeEntries.map((entry) => (- <div- key={entry.id}- className="flex items-center justify-between p-2 text-sm border border-zinc-200 dark:border-zinc-800 rounded-md"- >- <div>- <div className="font-medium">- {entry.description || "Time entry"}- </div>- <div className="text-xs text-zinc-500 dark:text-zinc-400">- {format(new Date(entry.startTime), "MMM d, yyyy h:mm a")}- {entry.endTime && (- <> - {format(new Date(entry.endTime), "h:mm a")}</>- )}- </div>- </div>- <div className="font-medium">- {entry.duration ? formatDuration(entry.duration) : "00:00"}- </div>- </div>- ))}- </div>- </div>- )}- </div>- );-}--export default TaskTimeTracking;diff --git a/apps/web/src/components/task/task-title.tsx b/apps/web/src/components/task/task-title.tsxindex 9ab596b3c..7d18998dc 100644--- a/apps/web/src/components/task/task-title.tsx+++ b/apps/web/src/components/task/task-title.tsx@@ -1,77 +1,98 @@-import useUpdateTask from "@/hooks/mutations/task/use-update-task";+import { useCallback, useEffect, useRef } from "react";+import { useForm } from "react-hook-form";++import { Form, FormControl, FormField } from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import { useUpdateTaskTitle } from "@/hooks/mutations/task/use-update-task-title";import useGetTask from "@/hooks/queries/task/use-get-task";import debounce from "@/lib/debounce";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";-import { Form, FormField } from "../ui/form";-const taskTitleSchema = z.object({- title: z.string().min(1),-});+interface TaskTitleProps {+ taskId: string;+}-function TaskTitle({- setIsSaving,-}: { setIsSaving: (isSaving: boolean) => void }) {- const { taskId } = Route.useParams();+export default function TaskTitle({ taskId }: TaskTitleProps) {const { data: task } = useGetTask(taskId);- const { mutateAsync: updateTask } = useUpdateTask();- const form = useForm<z.infer<typeof taskTitleSchema>>({+ const { mutateAsync: updateTaskTitle } = useUpdateTaskTitle();+ const isInitializedRef = useRef(false);+ const taskRef = useRef(task);+ const updateTaskRef = useRef(updateTaskTitle);++ useEffect(() => {+ taskRef.current = task;+ updateTaskRef.current = updateTaskTitle;+ }, [task, updateTaskTitle]);++ const form = useForm<{+ title: string;+ }>({values: {title: task?.title || "",},});- const debouncedUpdate = debounce(async (value: string) => {- if (!task) return;-- setIsSaving(true);- try {- await updateTask({- ...task,- title: value,- userId: task.userId || "",- status: task.status || "",- dueDate: task.dueDate ? new Date(task.dueDate).toISOString() : null,- priority: task.priority || "",- position: task.position || 0,- });- toast.success("Task title updated", { duration: 2000 });- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to update task title",- );- } finally {- setIsSaving(false);+ useEffect(() => {+ if (task?.title !== undefined && !isInitializedRef.current) {+ setTimeout(() => {+ isInitializedRef.current = true;+ }, 100);}- }, 1000);+ }, [task?.title]);++ const debouncedUpdate = useCallback(+ debounce(async (title: string) => {+ if (!isInitializedRef.current) return;- async function handleTitleChange(value: string) {- debouncedUpdate(value);- }+ const currentTask = taskRef.current;+ const updateTaskFn = updateTaskRef.current;++ if (!currentTask || !updateTaskFn) return;++ try {+ await updateTaskFn({+ ...currentTask,+ title: title,+ });+ console.log("Title updated successfully");+ } catch (error) {+ console.error("Failed to update title:", error);+ }+ }, 800),+ [],+ );++ const handleTitleChange = useCallback(+ (value: string) => {+ if (!isInitializedRef.current) {+ console.log("Title change ignored - not initialized yet");+ return;+ }++ console.log("Title changed:", value);+ debouncedUpdate(value);+ },+ [debouncedUpdate],+ );return (- <div className="flex items-center gap-2">- <Form {...form}>- <FormField- control={form.control}- name="title"- render={({ field }) => (- <input- type="text"- className="w-full text-sm font-medium bg-transparent border-none focus:outline-none focus:ring-0 text-zinc-900 dark:text-zinc-100 p-0"+ <Form {...form}>+ <FormField+ control={form.control}+ name="title"+ render={({ field }) => (+ <FormControl>+ <Input{...field}+ placeholder="Click to add a title"+ className="!text-2xl font-semibold !border-0 px-0 py-3 !shadow-none focus-visible:!ring-0 !bg-transparent text-zinc-900 dark:text-white placeholder:text-zinc-500 dark:placeholder:text-zinc-400 tracking-tight focus:!outline-none focus-visible:!outline-none"onChange={(e) => {field.onChange(e);handleTitleChange(e.target.value);}}/>- )}- />- </Form>- </div>+ </FormControl>+ )}+ />+ </Form>);}--export default TaskTitle;diff --git a/apps/web/src/components/team/delete-team-member-modal.tsx b/apps/web/src/components/team/delete-team-member-modal.tsxindex 036b943d2..434fb51d2 100644--- a/apps/web/src/components/team/delete-team-member-modal.tsx+++ b/apps/web/src/components/team/delete-team-member-modal.tsx@@ -1,8 +1,8 @@-import useDeleteWorkspaceUser from "@/hooks/mutations/workspace-user/use-delete-workspace-user";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";import * as Dialog from "@radix-ui/react-dialog";import { useQueryClient } from "@tanstack/react-query";import { Trash2, X } from "lucide-react";+import useDeleteWorkspaceUser from "@/hooks/mutations/workspace-user/use-delete-workspace-user";+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";import { Button } from "../ui/button";function DeleteTeamMemberModal({diff --git a/apps/web/src/components/team/invite-team-member-modal.tsx b/apps/web/src/components/team/invite-team-member-modal.tsxindex bddcc169c..0c257c5a0 100644--- a/apps/web/src/components/team/invite-team-member-modal.tsx+++ b/apps/web/src/components/team/invite-team-member-modal.tsx@@ -1,5 +1,3 @@-import useInviteWorkspaceUser from "@/hooks/mutations/workspace-user/use-invite-workspace-user";-import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";import * as Dialog from "@radix-ui/react-dialog";import { useQueryClient } from "@tanstack/react-query";@@ -7,6 +5,8 @@ import { X } from "lucide-react";import { useForm } from "react-hook-form";import { toast } from "sonner";import { z } from "zod/v4";+import useInviteWorkspaceUser from "@/hooks/mutations/workspace-user/use-invite-workspace-user";+import { Route } from "@/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members";import { Button } from "../ui/button";import {Form,@@ -24,7 +24,7 @@ type Props = {};const teamMemberSchema = z.object({- userId: z.string(),+ email: z.string(),});type TeamMemberFormValues = z.infer<typeof teamMemberSchema>;@@ -37,13 +37,13 @@ function InviteTeamMemberModal({ open, onClose }: Props) {const form = useForm<TeamMemberFormValues>({resolver: standardSchemaResolver(teamMemberSchema),defaultValues: {- userId: "",+ email: "",},});- const onSubmit = async ({ userId }: TeamMemberFormValues) => {+ const onSubmit = async ({ email }: TeamMemberFormValues) => {try {- await mutateAsync({ userId, workspaceId });+ await mutateAsync({ email, workspaceId, role: "member" }); // TODO: role and emailawait queryClient.refetchQueries({queryKey: ["workspace-users", workspaceId],});@@ -95,7 +95,7 @@ function InviteTeamMemberModal({ open, onClose }: Props) {<div><FormFieldcontrol={form.control}- name="userId"+ name="email"render={({ field }) => (<FormItem><FormLabel className="block text-sm font-medium text-zinc-900 dark:text-zinc-300 mb-1">diff --git a/apps/web/src/components/team/members-table.tsx b/apps/web/src/components/team/members-table.tsxindex c77e88f48..6ed0d84f9 100644--- a/apps/web/src/components/team/members-table.tsx+++ b/apps/web/src/components/team/members-table.tsx@@ -1,15 +1,8 @@-import { useWorkspacePermission } from "@/hooks/useWorkspacePermission";-import { getStatusIcon, getStatusText } from "@/lib/status";-import type WorkspaceUser from "@/types/workspace-user";-import { MoreHorizontal, Trash2 } from "lucide-react";-import { useState } from "react";-import { Avatar, AvatarFallback } from "../ui/avatar";-import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuTrigger,-} from "../ui/dropdown-menu";+import type {+ WorkspaceUser,+ WorkspaceUserInvitation,+} from "@/types/workspace-user";+import { Avatar, AvatarFallback, AvatarImage } from "../ui/avatar";import {Table,TableBody,@@ -18,15 +11,14 @@ import {TableHeader,TableRow,} from "../ui/table";-import DeleteTeamMemberModal from "./delete-team-member-modal";--function MembersTable({ users }: { users: WorkspaceUser[] }) {- const { isOwner } = useWorkspacePermission();- const [isRemoveMemberModalOpen, setIsRemoveMemberModalOpen] = useState(false);- const [selectedMember, setSelectedMember] = useState<WorkspaceUser | null>(- null,- );+function MembersTable({+ invitations,+ users,+}: {+ invitations: WorkspaceUserInvitation[];+ users: WorkspaceUser[];+}) {if (users?.length === 0) {return (<div className="flex items-center justify-center min-h-[60vh]">@@ -46,112 +38,90 @@ function MembersTable({ users }: { users: WorkspaceUser[] }) {}return (- <>- <Table>- <TableHeader>- <TableRow>- <TableHead className="text-foreground font-medium">- Member- </TableHead>- <TableHead className="text-foreground font-medium">Role</TableHead>- <TableHead className="text-foreground font-medium">- Status- </TableHead>- <TableHead className="text-foreground font-medium">- Joined- </TableHead>- {isOwner && (- <TableHead className="text-foreground font-medium">- Actions- </TableHead>- )}- </TableRow>- </TableHeader>- <TableBody>- {users?.map((member) => (- <TableRow key={member.userId} className="cursor-pointer">- <TableCell className="py-3">+ <Table>+ <TableHeader>+ <TableRow>+ <TableHead className="text-muted-foreground text-xs w-2/3 pl-6">+ Name+ </TableHead>+ <TableHead className="text-muted-foreground text-xs">Role</TableHead>+ <TableHead className="text-muted-foreground text-xs pr-10">+ Joined+ </TableHead>+ </TableRow>+ </TableHeader>+ <TableBody>+ {invitations+ .filter((invitation) => invitation.status !== "accepted")+ ?.map((invitation) => (+ <TableRow key={invitation.email} className="cursor-pointer">+ <TableCell className="py-3 pl-6"><div className="flex items-center gap-3"><Avatar className="h-5 w-5">- <AvatarFallback className="bg-muted text-muted-foreground font-medium text-xs">- {member.userId?.charAt(0).toUpperCase()}+ <AvatarFallback className="bg-muted text-muted-foreground text-xs">+ {invitation?.email?.charAt(0).toUpperCase()}</AvatarFallback></Avatar>- <span className="font-medium">{member.userId}</span>+ <span>{invitation.email}</span></div></TableCell><TableCell className="py-3">- <span className="inline-flex items-center px-1.5 py-0.5 rounded text-xs font-medium bg-muted text-muted-foreground">- {member.role.charAt(0).toUpperCase() +- member.role.slice(1).toLowerCase()}+ <span className="inline-flex items-center px-1.5 py-0.5 rounded text-xs bg-muted text-muted-foreground">+ {invitation.role.charAt(0).toUpperCase() ++ invitation.role.slice(1).toLowerCase()}{" "}+ (Pending)</span></TableCell>- <TableCell className="py-3">- <div className="flex items-center gap-2">- {getStatusIcon(member.status as "active" | "pending")}- <span className="text-sm text-muted-foreground">- {getStatusText(member.status as "active" | "pending")}- </span>- </div>- </TableCell><TableCell className="py-3"><span className="text-sm text-muted-foreground">- {member.joinedAt &&- new Date(member.joinedAt).toLocaleDateString("en-US", {+ {invitation.expiresAt &&+ new Date(invitation.expiresAt).toLocaleDateString("en-US", {month: "short",day: "numeric",year: "numeric",})}</span></TableCell>- {isOwner && (- <TableCell className="py-3">- {member.role === "owner" ? (- <span className="text-xs text-muted-foreground italic">- Workspace owner- </span>- ) : (- <DropdownMenu>- <DropdownMenuTrigger asChild>- <button- type="button"- className="p-1 hover:bg-accent rounded"- >- <MoreHorizontal className="w-4 h-4 text-muted-foreground" />- </button>- </DropdownMenuTrigger>- <DropdownMenuContent align="end">- <DropdownMenuItem- onClick={() => {- setIsRemoveMemberModalOpen(true);- setSelectedMember(member);- }}- variant="destructive"- >- <Trash2 className="w-4 h-4" />- Remove member- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- )}- </TableCell>- )}</TableRow>))}- </TableBody>- </Table>- {selectedMember && (- <DeleteTeamMemberModal- userId={selectedMember.userId ?? ""}- open={isRemoveMemberModalOpen}- onClose={() => {- setIsRemoveMemberModalOpen(false);- setSelectedMember(null);- }}- />- )}- </>+ {users?.map((member) => (+ <TableRow key={member.user.email} className="cursor-pointer">+ <TableCell className="py-3 pl-6">+ <div className="flex items-center gap-3">+ <Avatar className="h-5 w-5">+ <AvatarImage+ src={member.user.image ?? ""}+ alt={member.user.name || ""}+ />+ <AvatarFallback className="bg-muted text-muted-foreground text-xs">+ {member?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <span>{member.user.name}</span>+ </div>+ </TableCell>+ <TableCell className="py-3">+ <span className="inline-flex items-center px-1.5 py-0.5 rounded text-xs bg-muted text-muted-foreground">+ {member.role.charAt(0).toUpperCase() ++ member.role.slice(1).toLowerCase()}+ </span>+ </TableCell>++ <TableCell className="py-3 pr-6">+ <span className="text-sm text-muted-foreground">+ {member.createdAt &&+ new Date(member.createdAt).toLocaleDateString("en-US", {+ month: "short",+ day: "numeric",+ year: "numeric",+ })}+ </span>+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>);}diff --git a/apps/web/src/components/ui/alert-dialog.tsx b/apps/web/src/components/ui/alert-dialog.tsxindex 8646b95c7..08b22d95a 100644--- a/apps/web/src/components/ui/alert-dialog.tsx+++ b/apps/web/src/components/ui/alert-dialog.tsx@@ -52,7 +52,7 @@ function AlertDialogContent({<AlertDialogPrimitive.Contentdata-slot="alert-dialog-content"className={cn(- "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",+ "bg-card data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",className,)}{...props}diff --git a/apps/web/src/components/ui/alert.tsx b/apps/web/src/components/ui/alert.tsxindex 6c8e68575..608ce495a 100644--- a/apps/web/src/components/ui/alert.tsx+++ b/apps/web/src/components/ui/alert.tsx@@ -1,4 +1,4 @@-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import * as React from "react";import { cn } from "@/lib/cn";@@ -8,7 +8,7 @@ const alertVariants = cva({variants: {variant: {- default: "bg-background text-foreground",+ default: "bg-card text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive",},diff --git a/apps/web/src/components/ui/avatar.tsx b/apps/web/src/components/ui/avatar.tsxindex 1d9677c07..f34dbc39d 100644--- a/apps/web/src/components/ui/avatar.tsx+++ b/apps/web/src/components/ui/avatar.tsx@@ -37,7 +37,7 @@ const AvatarFallback = React.forwardRef<<AvatarPrimitive.Fallbackref={ref}className={cn(- "flex h-full w-full items-center justify-center rounded-full bg-muted",+ "flex h-full w-full items-center justify-center rounded-full bg-muted border",className,)}{...props}diff --git a/apps/web/src/components/ui/badge.tsx b/apps/web/src/components/ui/badge.tsxindex e1ed471da..08877e885 100644--- a/apps/web/src/components/ui/badge.tsx+++ b/apps/web/src/components/ui/badge.tsx@@ -1,70 +1,35 @@-import { cn } from "@/lib/cn";-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import type * as React from "react";+import { cn } from "@/lib/cn";+const badgeVariants = cva(- "inline-flex items-center rounded-full px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",+ "inline-flex items-center rounded-md border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants: {variant: {- default: "bg-primary text-primary-foreground hover:bg-primary/80",+ default:+ "border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:- "bg-secondary text-secondary-foreground hover:bg-secondary/80",- outline:- "border border-input bg-background hover:bg-accent hover:text-accent-foreground",- },- badgeColor: {- default: "",- red: "bg-red-100 text-red-800 dark:bg-red-900/20 dark:text-red-400 border-red-200 dark:border-red-800/30",- blue: "bg-blue-100 text-blue-800 dark:bg-blue-900/20 dark:text-blue-400 border-blue-200 dark:border-blue-800/30",- green:- "bg-green-100 text-green-800 dark:bg-green-900/20 dark:text-green-400 border-green-200 dark:border-green-800/30",- yellow:- "bg-yellow-100 text-yellow-800 dark:bg-yellow-900/20 dark:text-yellow-400 border-yellow-200 dark:border-yellow-800/30",- purple:- "bg-purple-100 text-purple-800 dark:bg-purple-900/20 dark:text-purple-400 border-purple-200 dark:border-purple-800/30",- pink: "bg-pink-100 text-pink-800 dark:bg-pink-900/20 dark:text-pink-400 border-pink-200 dark:border-pink-800/30",- indigo:- "bg-indigo-100 text-indigo-800 dark:bg-indigo-900/20 dark:text-indigo-400 border-indigo-200 dark:border-indigo-800/30",- orange:- "bg-orange-100 text-orange-800 dark:bg-orange-900/20 dark:text-orange-400 border-orange-200 dark:border-orange-800/30",- gray: "bg-gray-100 text-gray-800 dark:bg-gray-800/30 dark:text-gray-400 border-gray-200 dark:border-gray-700/30",- "dark-gray":- "bg-gray-200 text-gray-800 dark:bg-gray-700/30 dark:text-gray-300 border-gray-300 dark:border-gray-600/30",- teal: "bg-teal-100 text-teal-800 dark:bg-teal-900/20 dark:text-teal-400 border-teal-200 dark:border-teal-800/30",+ "border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",+ destructive:+ "border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",+ outline: "text-foreground",},},defaultVariants: {variant: "default",- badgeColor: "default",},},);export interface BadgePropsextends React.HTMLAttributes<HTMLDivElement>,- VariantProps<typeof badgeVariants> {- badgeColor?:- | "default"- | "red"- | "blue"- | "green"- | "yellow"- | "purple"- | "pink"- | "indigo"- | "orange"- | "gray"- | "dark-gray"- | "teal";-}+ VariantProps<typeof badgeVariants> {}-function Badge({ className, variant, badgeColor, ...props }: BadgeProps) {+function Badge({ className, variant, ...props }: BadgeProps) {return (- <div- className={cn(badgeVariants({ variant, badgeColor }), className)}- {...props}- />+ <div className={cn(badgeVariants({ variant }), className)} {...props} />);}diff --git a/apps/web/src/components/ui/button.tsx b/apps/web/src/components/ui/button.tsxindex 6f61b581e..f175d4968 100644--- a/apps/web/src/components/ui/button.tsx+++ b/apps/web/src/components/ui/button.tsx@@ -1,5 +1,5 @@import { Slot } from "@radix-ui/react-slot";-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import type * as React from "react";import { cn } from "@/lib/cn";diff --git a/apps/web/src/components/ui/calendar.tsx b/apps/web/src/components/ui/calendar.tsxindex 6314f6e64..fd5b3acab 100644--- a/apps/web/src/components/ui/calendar.tsx+++ b/apps/web/src/components/ui/calendar.tsx@@ -31,7 +31,7 @@ function Calendar({<DayPickershowOutsideDays={showOutsideDays}className={cn(- "bg-popover group/calendar p-3 [--cell-size:--spacing(8)] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",+ "bg-sidebar group/calendar p-3 [--cell-size:2rem] [[data-slot=card-content]_&]:bg-transparent [[data-slot=popover-content]_&]:bg-transparent",String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,className,@@ -45,72 +45,72 @@ function Calendar({classNames={{root: cn("w-fit", defaultClassNames.root),months: cn(- "flex gap-4 flex-col md:flex-row relative",+ "relative flex flex-col gap-4 md:flex-row",defaultClassNames.months,),- month: cn("flex flex-col w-full gap-4", defaultClassNames.month),+ month: cn("flex w-full flex-col gap-4", defaultClassNames.month),nav: cn(- "flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between",+ "absolute inset-x-0 top-0 flex w-full items-center justify-between gap-1",defaultClassNames.nav,),button_previous: cn(buttonVariants({ variant: buttonVariant }),- "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",+ "h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",defaultClassNames.button_previous,),button_next: cn(buttonVariants({ variant: buttonVariant }),- "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",+ "h-[--cell-size] w-[--cell-size] select-none p-0 aria-disabled:opacity-50",defaultClassNames.button_next,),month_caption: cn(- "flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)",+ "flex h-[--cell-size] w-full items-center justify-center px-[--cell-size]",defaultClassNames.month_caption,),dropdowns: cn(- "w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5",+ "flex h-[--cell-size] w-full items-center justify-center gap-1.5 text-sm font-medium",defaultClassNames.dropdowns,),dropdown_root: cn(- "relative has-focus:border-ring border border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] rounded-md",+ "has-focus:border-ring border-input shadow-xs has-focus:ring-ring/50 has-focus:ring-[3px] relative rounded-md border",defaultClassNames.dropdown_root,),dropdown: cn(- "absolute bg-popover inset-0 opacity-0",+ "bg-popover absolute inset-0 opacity-0",defaultClassNames.dropdown,),caption_label: cn("select-none font-medium",captionLayout === "label"? "text-sm"- : "rounded-md pl-2 pr-1 flex items-center gap-1 text-sm h-8 [&>svg]:text-muted-foreground [&>svg]:size-3.5",+ : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",defaultClassNames.caption_label,),table: "w-full border-collapse",weekdays: cn("flex", defaultClassNames.weekdays),weekday: cn(- "text-muted-foreground rounded-md flex-1 font-normal text-[0.8rem] select-none",+ "text-muted-foreground flex-1 select-none rounded-md text-[0.8rem] font-normal",defaultClassNames.weekday,),- week: cn("flex w-full mt-2", defaultClassNames.week),+ week: cn("mt-2 flex w-full", defaultClassNames.week),week_number_header: cn(- "select-none w-(--cell-size)",+ "w-[--cell-size] select-none",defaultClassNames.week_number_header,),week_number: cn(- "text-[0.8rem] select-none text-muted-foreground",+ "text-muted-foreground select-none text-[0.8rem]",defaultClassNames.week_number,),day: cn(- "relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none",+ "group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",defaultClassNames.day,),range_start: cn(- "rounded-l-md bg-accent",+ "bg-accent rounded-l-md",defaultClassNames.range_start,),range_middle: cn("rounded-none", defaultClassNames.range_middle),- range_end: cn("rounded-r-md bg-accent", defaultClassNames.range_end),+ range_end: cn("bg-accent rounded-r-md", defaultClassNames.range_end),today: cn("bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",defaultClassNames.today,@@ -131,7 +131,7 @@ function Calendar({return (<divdata-slot="calendar"- ref={rootRef}+ ref={rootRef as React.Ref<HTMLDivElement>}className={cn(className)}{...props}/>@@ -161,7 +161,7 @@ function Calendar({WeekNumber: ({ children, ...props }) => {return (<td {...props}>- <div className="flex size-(--cell-size) items-center justify-center text-center">+ <div className="flex size-[--cell-size] items-center justify-center text-center">{children}</div></td>@@ -203,7 +203,7 @@ function CalendarDayButton({data-range-end={modifiers.range_end}data-range-middle={modifiers.range_middle}className={cn(- "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 dark:hover:text-accent-foreground flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 leading-none font-normal group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] data-[range-end=true]:rounded-md data-[range-end=true]:rounded-r-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md data-[range-start=true]:rounded-l-md [&>span]:text-xs [&>span]:opacity-70",+ "data-[selected-single=true]:bg-primary data-[selected-single=true]:text-primary-foreground data-[range-middle=true]:bg-accent data-[range-middle=true]:text-accent-foreground data-[range-start=true]:bg-primary data-[range-start=true]:text-primary-foreground data-[range-end=true]:bg-primary data-[range-end=true]:text-primary-foreground group-data-[focused=true]/day:border-ring group-data-[focused=true]/day:ring-ring/50 flex aspect-square h-auto w-full min-w-[--cell-size] flex-col gap-1 font-normal leading-none data-[range-end=true]:rounded-md data-[range-middle=true]:rounded-none data-[range-start=true]:rounded-md group-data-[focused=true]/day:relative group-data-[focused=true]/day:z-10 group-data-[focused=true]/day:ring-[3px] [&>span]:text-xs [&>span]:opacity-70",defaultClassNames.day,className,)}diff --git a/apps/web/src/components/ui/card.tsx b/apps/web/src/components/ui/card.tsxindex e48139021..2cf1b323e 100644--- a/apps/web/src/components/ui/card.tsx+++ b/apps/web/src/components/ui/card.tsx@@ -1,5 +1,5 @@-import { cn } from "@/lib/cn";import * as React from "react";+import { cn } from "@/lib/cn";const Card = React.forwardRef<HTMLDivElement,diff --git a/apps/web/src/components/ui/combobox.tsx b/apps/web/src/components/ui/combobox.tsxnew file mode 100644index 000000000..7075af18d--- /dev/null+++ b/apps/web/src/components/ui/combobox.tsx@@ -0,0 +1,121 @@+import { CheckIcon } from "lucide-react";+import * as React from "react";++import { Button } from "@/components/ui/button";+import {+ Command,+ CommandEmpty,+ CommandGroup,+ CommandInput,+ CommandItem,+ CommandList,+} from "@/components/ui/command";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { cn } from "@/lib/cn";++export interface ComboboxOption {+ value: string;+ label: string;+ icon?: React.ReactNode;+}++export interface ComboboxProps {+ options: ComboboxOption[];+ value?: string;+ onValueChange?: (value: string) => void;+ placeholder?: string;+ searchPlaceholder?: string;+ emptyMessage?: string;+ className?: string;+ disabled?: boolean;+ variant?:+ | "default"+ | "destructive"+ | "outline"+ | "secondary"+ | "ghost"+ | "link";+ size?: "default" | "sm" | "xs";+}++export function Combobox({+ options,+ value,+ onValueChange,+ placeholder = "Select option...",+ searchPlaceholder = "Search...",+ emptyMessage = "No option found.",+ className,+ disabled = false,+ variant = "outline",+ size = "default",+}: ComboboxProps) {+ const [open, setOpen] = React.useState(false);++ const selectedOption = options.find((option) => option.value === value);++ // Adjust width and text size based on size prop+ const sizeConfig = {+ default: { width: "!w-[200px]", textSize: "text-sm" },+ sm: { width: "w-[160px]", textSize: "text-xs" },+ xs: { width: "w-[120px]", textSize: "text-xs" },+ };++ const config = sizeConfig[size];++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>+ <Button+ variant={variant}+ size={size}+ aria-expanded={open}+ className={cn(config.width, "justify-between", className)}+ disabled={disabled}+ >+ <div className="flex items-center gap-2">+ {selectedOption?.icon && selectedOption.icon}+ <span className={config.textSize}>+ {selectedOption ? selectedOption.label : placeholder}+ </span>+ </div>+ </Button>+ </PopoverTrigger>+ <PopoverContent className={cn(config.width, "p-0")}>+ <Command>+ <CommandInput placeholder={searchPlaceholder} />+ <CommandList>+ <CommandEmpty>{emptyMessage}</CommandEmpty>+ <CommandGroup className="w-[200px]">+ {options.map((option) => (+ <CommandItem+ key={option.value}+ value={option.value}+ className="flex items-center w-full"+ onSelect={(currentValue) => {+ const newValue = currentValue === value ? "" : currentValue;+ onValueChange?.(newValue);+ setOpen(false);+ }}+ >+ {option.icon && option.icon}+ <span className={config.textSize}>{option.label}</span>+ <CheckIcon+ className={cn(+ "mr-2 h-4 w-4",+ value === option.value ? "opacity-100" : "opacity-0",+ )}+ />+ </CommandItem>+ ))}+ </CommandGroup>+ </CommandList>+ </Command>+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/ui/context-menu.tsx b/apps/web/src/components/ui/context-menu.tsxindex f5454ae06..529de2c1e 100644--- a/apps/web/src/components/ui/context-menu.tsx+++ b/apps/web/src/components/ui/context-menu.tsx@@ -142,18 +142,18 @@ function ContextMenuCheckboxItem({<ContextMenuPrimitive.CheckboxItemdata-slot="context-menu-checkbox-item"className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className,)}checked={checked}{...props}>- <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ {children}+ <span className="pointer-events-none absolute right-2 flex size-3.5 items-center justify-center"><ContextMenuPrimitive.ItemIndicator><CheckIcon className="size-4" /></ContextMenuPrimitive.ItemIndicator></span>- {children}</ContextMenuPrimitive.CheckboxItem>);}@@ -167,7 +167,7 @@ function ContextMenuRadioItem({<ContextMenuPrimitive.RadioItemdata-slot="context-menu-radio-item"className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className,)}{...props}diff --git a/apps/web/src/components/ui/dropdown-menu.tsx b/apps/web/src/components/ui/dropdown-menu.tsxindex ca87428e3..9ec616fa0 100644--- a/apps/web/src/components/ui/dropdown-menu.tsx+++ b/apps/web/src/components/ui/dropdown-menu.tsx@@ -90,18 +90,18 @@ function DropdownMenuCheckboxItem({<DropdownMenuPrimitive.CheckboxItemdata-slot="dropdown-menu-checkbox-item"className={cn(- "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className,)}checked={checked}{...props}>- <span className="pointer-events-none absolute left-2 flex size-3.5 items-center justify-center">+ {children}+ <span className="pointer-events-none absolute right-2 flex size-3.5 items-center justify-center"><DropdownMenuPrimitive.ItemIndicator><CheckIcon className="size-4" /></DropdownMenuPrimitive.ItemIndicator></span>- {children}</DropdownMenuPrimitive.CheckboxItem>);}diff --git a/apps/web/src/components/ui/hover-card.tsx b/apps/web/src/components/ui/hover-card.tsxnew file mode 100644index 000000000..9600dbd09--- /dev/null+++ b/apps/web/src/components/ui/hover-card.tsx@@ -0,0 +1,27 @@+import * as HoverCardPrimitive from "@radix-ui/react-hover-card";+import * as React from "react";++import { cn } from "@/lib/cn";++const HoverCard = HoverCardPrimitive.Root;++const HoverCardTrigger = HoverCardPrimitive.Trigger;++const HoverCardContent = React.forwardRef<+ React.ElementRef<typeof HoverCardPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof HoverCardPrimitive.Content>+>(({ className, align = "center", sideOffset = 4, ...props }, ref) => (+ <HoverCardPrimitive.Content+ ref={ref}+ align={align}+ sideOffset={sideOffset}+ className={cn(+ "z-50 w-64 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-hover-card-content-transform-origin]",+ className,+ )}+ {...props}+ />+));+HoverCardContent.displayName = HoverCardPrimitive.Content.displayName;++export { HoverCard, HoverCardTrigger, HoverCardContent };diff --git a/apps/web/src/components/ui/kbd.tsx b/apps/web/src/components/ui/kbd.tsxindex b604f8e21..95bc4a7ba 100644--- a/apps/web/src/components/ui/kbd.tsx+++ b/apps/web/src/components/ui/kbd.tsx@@ -3,18 +3,30 @@ import { cn } from "@/lib/cn";interface KbdProps {children: React.ReactNode;className?: string;+ description?: string;+ hideDescription?: boolean;}-export function Kbd({ children, className }: KbdProps) {+export function Kbd({+ children,+ className,+ description,+ hideDescription = false,+}: KbdProps) {return (- <kbd- className={cn(- "pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground opacity-100",- className,+ <span className="flex items-center gap-1">+ {description && !hideDescription && (+ <span className="text-[10px] text-white">{description}</span>)}- >- {children}- </kbd>+ <kbd+ className={cn(+ "pointer-events-none inline-flex h-4 select-none items-center gap-0.5 rounded border bg-muted px-1 font-mono text-[9px] font-medium text-muted-foreground opacity-100",+ className,+ )}+ >+ {children}+ </kbd>+ </span>);}@@ -22,12 +34,14 @@ interface KbdSequenceProps {keys: string[];separator?: string;className?: string;+ description?: string;}export function KbdSequence({keys,separator = "then",className,+ description,}: KbdSequenceProps) {const keyElements = keys.map((key, index) => ({key: key,@@ -37,12 +51,23 @@ export function KbdSequence({return (<span className={cn("flex items-center gap-1", className)}>- {keyElements.map((item) => (- <span key={item.id} className="flex items-center gap-1">- {item.position > 0 && <span className="text-xs">{separator}</span>}- <Kbd>{item.key}</Kbd>+ {description && (+ <span className="text-[10px] text-popover-foreground">+ {description}</span>- ))}+ )}+ <span className="flex items-center gap-0.5">+ {keyElements.map((item) => (+ <span key={item.id} className="flex items-center gap-0.5">+ {item.position > 0 && (+ <span className="text-[9px] text-muted-foreground/60">+ {separator}+ </span>+ )}+ <Kbd hideDescription>{item.key}</Kbd>+ </span>+ ))}+ </span></span>);}diff --git a/apps/web/src/components/ui/label.tsx b/apps/web/src/components/ui/label.tsxindex 804d9be6d..edf2e2765 100644--- a/apps/web/src/components/ui/label.tsx+++ b/apps/web/src/components/ui/label.tsx@@ -1,5 +1,5 @@import * as LabelPrimitive from "@radix-ui/react-label";-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import * as React from "react";import { cn } from "@/lib/cn";diff --git a/apps/web/src/components/ui/menubar.tsx b/apps/web/src/components/ui/menubar.tsxnew file mode 100644index 000000000..153f9ff70--- /dev/null+++ b/apps/web/src/components/ui/menubar.tsx@@ -0,0 +1,254 @@+import * as MenubarPrimitive from "@radix-ui/react-menubar";+import { Check, ChevronRight, Circle } from "lucide-react";+import * as React from "react";++import { cn } from "@/lib/cn";++function MenubarMenu({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Menu>) {+ return <MenubarPrimitive.Menu {...props} />;+}++function MenubarGroup({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Group>) {+ return <MenubarPrimitive.Group {...props} />;+}++function MenubarPortal({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Portal>) {+ return <MenubarPrimitive.Portal {...props} />;+}++function MenubarRadioGroup({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>) {+ return <MenubarPrimitive.RadioGroup {...props} />;+}++function MenubarSub({+ ...props+}: React.ComponentProps<typeof MenubarPrimitive.Sub>) {+ return <MenubarPrimitive.Sub data-slot="menubar-sub" {...props} />;+}++const Menubar = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Root>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Root>+>(({ className, ...props }, ref) => (+ <MenubarPrimitive.Root+ ref={ref}+ className={cn(+ "flex h-9 items-center space-x-1 rounded-md border bg-background p-1 shadow-sm",+ className,+ )}+ {...props}+ />+));+Menubar.displayName = MenubarPrimitive.Root.displayName;++const MenubarTrigger = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Trigger>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Trigger>+>(({ className, ...props }, ref) => (+ <MenubarPrimitive.Trigger+ ref={ref}+ className={cn(+ "flex cursor-default select-none items-center rounded-sm px-3 py-1 text-sm font-medium outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",+ className,+ )}+ {...props}+ />+));+MenubarTrigger.displayName = MenubarPrimitive.Trigger.displayName;++const MenubarSubTrigger = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.SubTrigger>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubTrigger> & {+ inset?: boolean;+ }+>(({ className, inset, children, ...props }, ref) => (+ <MenubarPrimitive.SubTrigger+ ref={ref}+ className={cn(+ "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",+ inset && "pl-8",+ className,+ )}+ {...props}+ >+ {children}+ <ChevronRight className="ml-auto h-4 w-4" />+ </MenubarPrimitive.SubTrigger>+));+MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;++const MenubarSubContent = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.SubContent>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.SubContent>+>(({ className, ...props }, ref) => (+ <MenubarPrimitive.SubContent+ ref={ref}+ className={cn(+ "z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",+ className,+ )}+ {...props}+ />+));+MenubarSubContent.displayName = MenubarPrimitive.SubContent.displayName;++const MenubarContent = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Content>+>(+ (+ { className, align = "start", alignOffset = -4, sideOffset = 8, ...props },+ ref,+ ) => (+ <MenubarPrimitive.Portal>+ <MenubarPrimitive.Content+ ref={ref}+ align={align}+ alignOffset={alignOffset}+ sideOffset={sideOffset}+ className={cn(+ "z-50 min-w-[12rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-menubar-content-transform-origin]",+ className,+ )}+ {...props}+ />+ </MenubarPrimitive.Portal>+ ),+);+MenubarContent.displayName = MenubarPrimitive.Content.displayName;++const MenubarItem = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Item>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Item> & {+ inset?: boolean;+ }+>(({ className, inset, ...props }, ref) => (+ <MenubarPrimitive.Item+ ref={ref}+ className={cn(+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ inset && "pl-8",+ className,+ )}+ {...props}+ />+));+MenubarItem.displayName = MenubarPrimitive.Item.displayName;++const MenubarCheckboxItem = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.CheckboxItem>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.CheckboxItem>+>(({ className, children, checked, ...props }, ref) => (+ <MenubarPrimitive.CheckboxItem+ ref={ref}+ className={cn(+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ className,+ )}+ checked={checked}+ {...props}+ >+ <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">+ <MenubarPrimitive.ItemIndicator>+ <Check className="h-4 w-4" />+ </MenubarPrimitive.ItemIndicator>+ </span>+ {children}+ </MenubarPrimitive.CheckboxItem>+));+MenubarCheckboxItem.displayName = MenubarPrimitive.CheckboxItem.displayName;++const MenubarRadioItem = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.RadioItem>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.RadioItem>+>(({ className, children, ...props }, ref) => (+ <MenubarPrimitive.RadioItem+ ref={ref}+ className={cn(+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",+ className,+ )}+ {...props}+ >+ <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">+ <MenubarPrimitive.ItemIndicator>+ <Circle className="h-4 w-4 fill-current" />+ </MenubarPrimitive.ItemIndicator>+ </span>+ {children}+ </MenubarPrimitive.RadioItem>+));+MenubarRadioItem.displayName = MenubarPrimitive.RadioItem.displayName;++const MenubarLabel = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Label>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Label> & {+ inset?: boolean;+ }+>(({ className, inset, ...props }, ref) => (+ <MenubarPrimitive.Label+ ref={ref}+ className={cn(+ "px-2 py-1.5 text-sm font-semibold",+ inset && "pl-8",+ className,+ )}+ {...props}+ />+));+MenubarLabel.displayName = MenubarPrimitive.Label.displayName;++const MenubarSeparator = React.forwardRef<+ React.ElementRef<typeof MenubarPrimitive.Separator>,+ React.ComponentPropsWithoutRef<typeof MenubarPrimitive.Separator>+>(({ className, ...props }, ref) => (+ <MenubarPrimitive.Separator+ ref={ref}+ className={cn("-mx-1 my-1 h-px bg-muted", className)}+ {...props}+ />+));+MenubarSeparator.displayName = MenubarPrimitive.Separator.displayName;++const MenubarShortcut = ({+ className,+ ...props+}: React.HTMLAttributes<HTMLSpanElement>) => {+ return (+ <span+ className={cn(+ "ml-auto text-xs tracking-widest text-muted-foreground",+ className,+ )}+ {...props}+ />+ );+};+MenubarShortcut.displayname = "MenubarShortcut";++export {+ Menubar,+ MenubarMenu,+ MenubarTrigger,+ MenubarContent,+ MenubarItem,+ MenubarSeparator,+ MenubarLabel,+ MenubarCheckboxItem,+ MenubarRadioGroup,+ MenubarRadioItem,+ MenubarPortal,+ MenubarSubContent,+ MenubarSubTrigger,+ MenubarGroup,+ MenubarSub,+ MenubarShortcut,+};diff --git a/apps/web/src/components/ui/popover.tsx b/apps/web/src/components/ui/popover.tsxindex 91dd7ca2c..969b305cf 100644--- a/apps/web/src/components/ui/popover.tsx+++ b/apps/web/src/components/ui/popover.tsx@@ -1,46 +1,31 @@import * as PopoverPrimitive from "@radix-ui/react-popover";-import type * as React from "react";+import * as React from "react";import { cn } from "@/lib/cn";-function Popover({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Root>) {- return <PopoverPrimitive.Root data-slot="popover" {...props} />;-}+const Popover = PopoverPrimitive.Root;-function PopoverTrigger({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Trigger>) {- return <PopoverPrimitive.Trigger data-slot="popover-trigger" {...props} />;-}+const PopoverTrigger = PopoverPrimitive.Trigger;-function PopoverContent({- className,- align = "center",- sideOffset = 4,- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Content>) {- return (- <PopoverPrimitive.Portal>- <PopoverPrimitive.Content- data-slot="popover-content"- align={align}- sideOffset={sideOffset}- className={cn(- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",- className,- )}- {...props}- />- </PopoverPrimitive.Portal>- );-}+const PopoverAnchor = PopoverPrimitive.Anchor;-function PopoverAnchor({- ...props-}: React.ComponentProps<typeof PopoverPrimitive.Anchor>) {- return <PopoverPrimitive.Anchor data-slot="popover-anchor" {...props} />;-}+const PopoverContent = React.forwardRef<+ React.ElementRef<typeof PopoverPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Content>+>(({ className, align = "center", sideOffset = 4, ...props }, ref) => (+ <PopoverPrimitive.Portal>+ <PopoverPrimitive.Content+ ref={ref}+ align={align}+ sideOffset={sideOffset}+ className={cn(+ "z-50 w-56 rounded-md border bg-popover p-2 text-sm text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-[--radix-popover-content-transform-origin]",+ className,+ )}+ {...props}+ />+ </PopoverPrimitive.Portal>+));+PopoverContent.displayName = PopoverPrimitive.Content.displayName;export { Popover, PopoverTrigger, PopoverContent, PopoverAnchor };diff --git a/apps/web/src/components/ui/select.tsx b/apps/web/src/components/ui/select.tsxindex e61afdff9..6f4b520f6 100644--- a/apps/web/src/components/ui/select.tsx+++ b/apps/web/src/components/ui/select.tsx@@ -35,7 +35,7 @@ function SelectTrigger({data-slot="select-trigger"data-size={size}className={cn(- "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",+ "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-2 py-1.5 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-7 data-[size=sm]:h-6 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",className,)}{...props}@@ -90,7 +90,7 @@ function SelectLabel({return (<SelectPrimitive.Labeldata-slot="select-label"- className={cn("text-muted-foreground px-2 py-1.5 text-xs", className)}+ className={cn("text-muted-foreground px-1.5 py-1 text-xs", className)}{...props}/>);@@ -105,14 +105,14 @@ function SelectItem({<SelectPrimitive.Itemdata-slot="select-item"className={cn(- "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",+ "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1 pr-6 pl-1.5 text-xs outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-3.5 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",className,)}{...props}>- <span className="absolute right-2 flex size-3.5 items-center justify-center">+ <span className="absolute right-1.5 flex size-3 items-center justify-center"><SelectPrimitive.ItemIndicator>- <CheckIcon className="size-4" />+ <CheckIcon className="size-3" /></SelectPrimitive.ItemIndicator></span><SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>diff --git a/apps/web/src/components/ui/sidebar.tsx b/apps/web/src/components/ui/sidebar.tsxindex fb4819bae..897adb363 100644--- a/apps/web/src/components/ui/sidebar.tsx+++ b/apps/web/src/components/ui/sidebar.tsx@@ -1,5 +1,5 @@import { Slot } from "@radix-ui/react-slot";-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import { PanelLeftIcon } from "lucide-react";import * as React from "react";@@ -82,6 +82,7 @@ function SidebarProvider({}// This sets the cookie to keep the sidebar state.+ // biome-ignore lint/suspicious/noDocumentCookie: we need to set the cookie to the sidebar statedocument.cookie = `${SIDEBAR_COOKIE_NAME}=${openState}; path=/; max-age=${SIDEBAR_COOKIE_MAX_AGE}`;},[setOpenProp, open],@@ -294,10 +295,10 @@ function SidebarTrigger({side="bottom"className="bg-popover text-popover-foreground border">- <div className="flex items-center gap-2 text-xs">- <span>Toggle sidebar</span>+ <div className="flex items-center gap-2 text-[10px]"><KbdSequencekeys={[shortcuts.sidebar.prefix, shortcuts.sidebar.toggle]}+ description="Toggle sidebar"/></div></TooltipContent>@@ -401,7 +402,7 @@ function SidebarContent({ className, ...props }: React.ComponentProps<"div">) {data-slot="sidebar-content"data-sidebar="content"className={cn(- "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden",+ "flex min-h-0 flex-1 flex-col gap-1 overflow-auto group-data-[collapsible=icon]:overflow-hidden",className,)}{...props}diff --git a/apps/web/src/components/ui/spinner.tsx b/apps/web/src/components/ui/spinner.tsxindex 3026c18aa..cda6fab79 100644--- a/apps/web/src/components/ui/spinner.tsx+++ b/apps/web/src/components/ui/spinner.tsx@@ -1,6 +1,6 @@-import { cn } from "@/lib/cn";-import { type VariantProps, cva } from "class-variance-authority";+import { cva, type VariantProps } from "class-variance-authority";import { Loader2 } from "lucide-react";+import { cn } from "@/lib/cn";const spinnerVariants = cva("flex-col items-center justify-center", {variants: {diff --git a/apps/web/src/components/ui/table.tsx b/apps/web/src/components/ui/table.tsxindex 1c3304c20..a710704f6 100644--- a/apps/web/src/components/ui/table.tsx+++ b/apps/web/src/components/ui/table.tsx@@ -68,7 +68,7 @@ function TableHead({ className, ...props }: React.ComponentProps<"th">) {<thdata-slot="table-head"className={cn(- "text-foreground h-10 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",+ "text-foreground h-8 px-2 text-left align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",className,)}{...props}diff --git a/apps/web/src/components/ui/tabs.tsx b/apps/web/src/components/ui/tabs.tsxnew file mode 100644index 000000000..44d7a8412--- /dev/null+++ b/apps/web/src/components/ui/tabs.tsx@@ -0,0 +1,53 @@+import * as TabsPrimitive from "@radix-ui/react-tabs";+import * as React from "react";++import { cn } from "@/lib/cn";++const Tabs = TabsPrimitive.Root;++const TabsList = React.forwardRef<+ React.ElementRef<typeof TabsPrimitive.List>,+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>+>(({ className, ...props }, ref) => (+ <TabsPrimitive.List+ ref={ref}+ className={cn(+ "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",+ className,+ )}+ {...props}+ />+));+TabsList.displayName = TabsPrimitive.List.displayName;++const TabsTrigger = React.forwardRef<+ React.ElementRef<typeof TabsPrimitive.Trigger>,+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>+>(({ className, ...props }, ref) => (+ <TabsPrimitive.Trigger+ ref={ref}+ className={cn(+ "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",+ className,+ )}+ {...props}+ />+));+TabsTrigger.displayName = TabsPrimitive.Trigger.displayName;++const TabsContent = React.forwardRef<+ React.ElementRef<typeof TabsPrimitive.Content>,+ React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>+>(({ className, ...props }, ref) => (+ <TabsPrimitive.Content+ ref={ref}+ className={cn(+ "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",+ className,+ )}+ {...props}+ />+));+TabsContent.displayName = TabsPrimitive.Content.displayName;++export { Tabs, TabsList, TabsTrigger, TabsContent };diff --git a/apps/web/src/components/ui/textarea.tsx b/apps/web/src/components/ui/textarea.tsxindex 0f3162d1d..c7ee2acb2 100644--- a/apps/web/src/components/ui/textarea.tsx+++ b/apps/web/src/components/ui/textarea.tsx@@ -1,5 +1,5 @@-import { cn } from "@/lib/cn";import type * as React from "react";+import { cn } from "@/lib/cn";function Textarea({ className, ...props }: React.ComponentProps<"textarea">) {return (diff --git a/apps/web/src/components/ui/tooltip.tsx b/apps/web/src/components/ui/tooltip.tsxindex 02d61ab94..780d25b2a 100644--- a/apps/web/src/components/ui/tooltip.tsx+++ b/apps/web/src/components/ui/tooltip.tsx@@ -44,9 +44,9 @@ function TooltipContent({<TooltipPrimitive.Portal><TooltipPrimitive.Contentdata-slot="tooltip-content"- sideOffset={sideOffset || 10}+ sideOffset={sideOffset || 16}className={cn(- "bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",+ "bg-popover text-popover-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded px-2 py-1 text-[11px] text-balance border border-border/50",className,)}{...props}diff --git a/apps/web/src/components/user-avatar.tsx b/apps/web/src/components/user-avatar.tsxnew file mode 100644index 000000000..c1e12d00f--- /dev/null+++ b/apps/web/src/components/user-avatar.tsx@@ -0,0 +1,129 @@+import { useQueryClient } from "@tanstack/react-query";+import { useNavigate } from "@tanstack/react-router";+import { LogOut, Settings } from "lucide-react";+import * as React from "react";+import { toast } from "sonner";+import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Button } from "@/components/ui/button";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { Separator } from "@/components/ui/separator";+import useSignOut from "@/hooks/mutations/use-sign-out";+import useProjectStore from "@/store/project";++export function UserAvatar() {+ const { user } = useAuth();+ const { mutateAsync: signOut, isPending } = useSignOut();+ const queryClient = useQueryClient();+ const { setProject } = useProjectStore();+ const navigate = useNavigate();+ const [open, setOpen] = React.useState(false);++ if (!user) {+ return null;+ }++ const handleSignOut = async () => {+ try {+ await signOut();+ queryClient.clear();+ setProject(undefined);+ setOpen(false);+ toast.success("Signed out successfully");+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to sign out",+ );+ }+ };++ const handleSettings = () => {+ navigate({ to: "/dashboard/settings/account/information" });+ setOpen(false);+ };++ const initials = user.name+ ? user.name+ .split(" ")+ .map((n) => n[0])+ .join("")+ .toUpperCase()+ : user.email?.substring(0, 2).toUpperCase() || "U";++ return (+ <Popover open={open} onOpenChange={setOpen}>+ <PopoverTrigger asChild>+ <Button+ variant="ghost"+ size="sm"+ className="h-6 w-6 rounded-full p-0 hover:bg-secondary/50"+ >+ <Avatar className="h-6 w-6">+ <AvatarImage src={user.image ?? ""} alt={user.name || ""} />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {initials}+ </AvatarFallback>+ </Avatar>+ </Button>+ </PopoverTrigger>+ <PopoverContent+ className="w-56 p-0 rounded-lg"+ side="bottom"+ align="start"+ sideOffset={4}+ >+ <div className="p-3">+ <div className="flex items-center gap-2 text-left text-sm">+ <Avatar className="h-8 w-8 rounded-full">+ <AvatarImage src={user.image ?? ""} alt={user.name || ""} />+ <AvatarFallback className="rounded-full border border-border/30">+ {initials}+ </AvatarFallback>+ </Avatar>+ <div className="grid flex-1 text-left text-sm leading-tight">+ <span className="truncate font-medium">+ {user.name || "User"}+ </span>+ {user.email && (+ <span className="truncate text-xs text-muted-foreground">+ {user.email}+ </span>+ )}+ </div>+ </div>+ </div>++ <Separator />++ <div className="p-1">+ <Button+ variant="ghost"+ onClick={handleSettings}+ className="w-full justify-start gap-2 px-2 py-1.5 text-sm font-normal text-muted-foreground hover:bg-secondary/80"+ >+ <Settings className="size-3" />+ Settings+ </Button>+ </div>++ <Separator />++ <div className="p-1">+ <Button+ variant="ghost"+ onClick={handleSignOut}+ disabled={isPending}+ className="w-full justify-start gap-2 px-2 py-1.5 text-sm font-normal text-muted-foreground hover:bg-secondary/80"+ >+ <LogOut className="size-3" />+ {isPending ? "Signing out..." : "Log out"}+ </Button>+ </div>+ </PopoverContent>+ </Popover>+ );+}diff --git a/apps/web/src/components/workspace-switcher.tsx b/apps/web/src/components/workspace-switcher.tsxindex e14437e41..94ab45aa5 100644--- a/apps/web/src/components/workspace-switcher.tsx+++ b/apps/web/src/components/workspace-switcher.tsx@@ -1,36 +1,32 @@import { useNavigate } from "@tanstack/react-router";-import { ChevronsUpDown, Plus } from "lucide-react";+import { ChevronDown, Plus } from "lucide-react";import * as React from "react";import {- DropdownMenu,- DropdownMenuContent,- DropdownMenuItem,- DropdownMenuLabel,- DropdownMenuSeparator,- DropdownMenuTrigger,-} from "@/components/ui/dropdown-menu";+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { Separator } from "@/components/ui/separator";import {SidebarMenu,SidebarMenuButton,SidebarMenuItem,- useSidebar,} from "@/components/ui/sidebar";+import { UserAvatar } from "@/components/user-avatar";import { shortcuts } from "@/constants/shortcuts";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";import useGetWorkspaces from "@/hooks/queries/workspace/use-get-workspaces";import {getModifierKeyText,useRegisterShortcuts,} from "@/hooks/use-keyboard-shortcuts";-import { useUserPreferencesStore } from "@/store/user-preferences";-import useWorkspaceStore from "@/store/workspace";+import { authClient } from "@/lib/auth-client";import type { Workspace } from "@/types/workspace";import CreateWorkspaceModal from "./shared/modals/create-workspace-modal";export function WorkspaceSwitcher() {- const { isMobile } = useSidebar();- const { workspace, setWorkspace } = useWorkspaceStore();- const { setActiveWorkspaceId } = useUserPreferencesStore();+ const { data: workspace } = useActiveWorkspace();const { data: workspaces } = useGetWorkspaces();const navigate = useNavigate();const [isOpen, setIsOpen] = React.useState(false);@@ -38,15 +34,21 @@ export function WorkspaceSwitcher() {React.useState(false);const handleWorkspaceChange = React.useCallback(- (selectedWorkspace: Workspace) => {- setWorkspace(selectedWorkspace);- setActiveWorkspaceId(selectedWorkspace.id);- navigate({- to: "/dashboard/workspace/$workspaceId",- params: { workspaceId: selectedWorkspace.id },- });+ async (selectedWorkspace: Workspace) => {+ try {+ await authClient.organization.setActive({+ organizationId: selectedWorkspace.id,+ });++ navigate({+ to: "/dashboard/workspace/$workspaceId",+ params: { workspaceId: selectedWorkspace.id },+ });+ } catch (error) {+ console.error("Failed to switch workspace:", error);+ }},- [setWorkspace, setActiveWorkspaceId, navigate],+ [navigate],);React.useEffect(() => {@@ -91,89 +93,103 @@ export function WorkspaceSwitcher() {}return (- <SidebarMenu>- <SidebarMenuItem>- <DropdownMenu open={isOpen} onOpenChange={setIsOpen}>- <DropdownMenuTrigger asChild>- <SidebarMenuButton- size="lg"- className="data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground"- >- <div- className="bg-indigo-600 text-white flex aspect-square size-8 items-center justify-center rounded-lg"- style={{ backgroundColor: "#5463ff" }}- >- <span className="text-sm font-semibold">- {workspace.name.charAt(0).toUpperCase()}- </span>- </div>- <div className="grid flex-1 text-left text-sm leading-tight">- <span className="truncate font-medium">{workspace.name}</span>- <span className="truncate text-xs text-sidebar-foreground/70">- {workspaces?.length || 0} workspace- {workspaces?.length !== 1 ? "s" : ""}- </span>- </div>- <ChevronsUpDown className="ml-auto" />- </SidebarMenuButton>- </DropdownMenuTrigger>- <DropdownMenuContent- className="w-(--radix-dropdown-menu-trigger-width) min-w-56 rounded-lg"- align="start"- side={isMobile ? "bottom" : "right"}- sideOffset={4}- >- <DropdownMenuLabel className="text-muted-foreground text-xs">- Workspaces- </DropdownMenuLabel>- {workspaces?.map((ws: Workspace, index: number) => (- <DropdownMenuItem- key={ws.id}- onClick={() => {- handleWorkspaceChange(ws);- setIsOpen(false);- }}- className="gap-2 p-2"- >- <div- className="flex size-6 items-center justify-center rounded-md bg-indigo-600 dark:bg-indigo-400"- style={{ backgroundColor: "#5463ff" }}+ <>+ <div className="flex items-center justify-between w-full gap-2">+ <SidebarMenu>+ <SidebarMenuItem>+ <Popover open={isOpen} onOpenChange={setIsOpen}>+ <PopoverTrigger asChild>+ <SidebarMenuButton+ size="sm"+ className="h-8 py-0 w-auto w-full group">- <span className="text-xs font-medium text-white">- {ws.name.charAt(0).toUpperCase()}- </span>- </div>- {ws.name}- <span className="ml-auto text-xs text-muted-foreground">- {getModifierKeyText()} {index > 8 ? "0" : index + 1}- </span>- </DropdownMenuItem>- ))}- <DropdownMenuSeparator />- <DropdownMenuItem- className="gap-2 p-2"- onClick={() => {- setIsCreateWorkspaceModalOpen(true);- }}- >- <div- className="flex size-6 items-center justify-center rounded-md bg-indigo-600 dark:bg-indigo-400"- style={{ backgroundColor: "#5463ff" }}+ <div className="flex items-end gap-2 min-w-0 w-full">+ <div className="bg-primary flex aspect-square size-5 items-end justify-center rounded-sm">+ <span className="text-xs font-medium text-white">+ {workspace.name.charAt(0).toUpperCase()}+ </span>+ </div>+ <span className="truncate text-sm text-foreground/90 font-medium">+ {workspace.name}+ </span>+ </div>+ <ChevronDown+ className="ml-1 size-3 text-muted-foreground/50 opacity-0 group-hover:opacity-100 data-[state=open]:opacity-100 data-[state=open]:rotate-180 transition-all duration-500 ease-out"+ data-state={isOpen ? "open" : "closed"}+ />+ </SidebarMenuButton>+ </PopoverTrigger>+ <PopoverContent+ className="w-fit min-w-48 p-0 rounded-lg"+ align="start"+ side="bottom"+ sideOffset={4}>- <Plus className="size-4 text-white" />- </div>- <div className="text-muted-foreground font-medium">- Add workspace- </div>- </DropdownMenuItem>- </DropdownMenuContent>- </DropdownMenu>- </SidebarMenuItem>+ <div className="p-3">+ <div className="text-muted-foreground/60 text-xs">+ Workspaces+ </div>+ </div>++ <Separator />++ <div className="p-1">+ {workspaces?.map((ws: Workspace, index: number) => (+ <button+ type="button"+ key={ws.id}+ onClick={() => {+ handleWorkspaceChange(ws);+ setIsOpen(false);+ }}+ className="w-full flex items-center gap-2 px-2 py-1.5 hover:bg-secondary/80 focus:bg-secondary/80 rounded-sm transition-colors text-sm font-normal"+ >+ <div className="bg-muted/20 border border-border/30 flex size-5 items-center justify-center rounded-sm">+ <span className="text-xs font-medium text-muted-foreground">+ {ws.name.charAt(0).toUpperCase()}+ </span>+ </div>+ <span className="text-foreground/90 flex-1 text-left">+ {ws.name}+ </span>+ <span className="text-xs text-muted-foreground/50">+ {getModifierKeyText()} {index > 8 ? "0" : index + 1}+ </span>+ </button>+ ))}+ </div>++ <Separator />++ <div className="p-1">+ <button+ type="button"+ className="w-full flex items-center gap-2 px-2 py-1.5 hover:bg-secondary/80 focus:bg-secondary/80 rounded-sm transition-colors text-sm font-normal"+ onClick={() => {+ setIsCreateWorkspaceModalOpen(true);+ setIsOpen(false);+ }}+ >+ <div className="bg-muted/20 border border-border/30 flex size-5 items-center justify-center rounded-sm">+ <Plus className="size-3 text-muted-foreground" />+ </div>+ <span className="text-muted-foreground flex-1 text-left">+ Add workspace+ </span>+ </button>+ </div>+ </PopoverContent>+ </Popover>+ </SidebarMenuItem>+ </SidebarMenu>++ <UserAvatar />+ </div><CreateWorkspaceModalopen={isCreateWorkspaceModalOpen}onClose={() => setIsCreateWorkspaceModalOpen(false)}/>- </SidebarMenu>+ </>);}diff --git a/apps/web/src/constants/columns.ts b/apps/web/src/constants/columns.tsindex 26bdcb07a..f88a5377e 100644--- a/apps/web/src/constants/columns.ts+++ b/apps/web/src/constants/columns.ts@@ -1,8 +1,8 @@-import { AlertCircle, CheckCircle2, Circle, Clock } from "lucide-react";+import { Check, Circle, CircleDot, Search } from "lucide-react";export const DEFAULT_COLUMNS = [{ id: "to-do", name: "To Do", icon: Circle },- { id: "in-progress", name: "In Progress", icon: Clock },- { id: "in-review", name: "In Review", icon: AlertCircle },- { id: "done", name: "Done", icon: CheckCircle2 },+ { id: "in-progress", name: "In Progress", icon: CircleDot },+ { id: "in-review", name: "In Review", icon: Search },+ { id: "done", name: "Done", icon: Check },] as const;diff --git a/apps/web/src/constants/label-colors.ts b/apps/web/src/constants/label-colors.tsnew file mode 100644index 000000000..741c55f7b--- /dev/null+++ b/apps/web/src/constants/label-colors.ts@@ -0,0 +1,13 @@+const labelColors = [+ { value: "gray", label: "Stone", color: "#78716c" },+ { value: "dark-gray", label: "Slate", color: "#64748b" },+ { value: "purple", label: "Lavender", color: "#8b5cf6" },+ { value: "teal", label: "Sage", color: "#059669" },+ { value: "green", label: "Forest", color: "#16a34a" },+ { value: "yellow", label: "Amber", color: "#d97706" },+ { value: "orange", label: "Terracotta", color: "#ea580c" },+ { value: "pink", label: "Rose", color: "#e11d48" },+ { value: "red", label: "Crimson", color: "#dc2626" },+];++export default labelColors;diff --git a/apps/web/src/constants/project-icons.ts b/apps/web/src/constants/project-icons.tsindex 0253818b3..b0c6c12ec 100644--- a/apps/web/src/constants/project-icons.ts+++ b/apps/web/src/constants/project-icons.ts@@ -1,6 +1,6 @@import {- BookOpen,Bookmark,+ BookOpen,Box,Boxes,Briefcase,diff --git a/apps/web/src/fetchers/label/create-label.ts b/apps/web/src/fetchers/label/create-label.tsindex 41b1423bd..dea6c981e 100644--- a/apps/web/src/fetchers/label/create-label.ts+++ b/apps/web/src/fetchers/label/create-label.ts@@ -5,12 +5,18 @@ export type CreateLabelRequest = InferRequestType<(typeof client)["label"]["$post"]>["json"];-async function createLabel({ name, color, taskId }: CreateLabelRequest) {+async function createLabel({+ name,+ color,+ taskId,+ workspaceId,+}: CreateLabelRequest) {const response = await client.label.$post({json: {name,color,taskId,+ workspaceId,},});diff --git a/apps/web/src/fetchers/label/get-label-by-workspace.ts b/apps/web/src/fetchers/label/get-label-by-workspace.tsnew file mode 100644index 000000000..0c27b17f0--- /dev/null+++ b/apps/web/src/fetchers/label/get-label-by-workspace.ts@@ -0,0 +1,24 @@+import { client } from "@kaneo/libs";+import type { InferRequestType } from "hono/client";++export type GetLabelsByTaskRequest = InferRequestType<+ (typeof client)["label"]["workspace"][":workspaceId"]["$get"]+>["param"];++async function getLabelsByTask({ workspaceId }: GetLabelsByTaskRequest) {+ const response = await client.label.workspace[":workspaceId"].$get({+ param: {+ workspaceId,+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();+ return data;+}++export default getLabelsByTask;diff --git a/apps/web/src/fetchers/label/get-labels-by-task.ts b/apps/web/src/fetchers/label/get-labels-by-task.tsindex f96b76f21..986f6db1a 100644--- a/apps/web/src/fetchers/label/get-labels-by-task.ts+++ b/apps/web/src/fetchers/label/get-labels-by-task.ts@@ -2,11 +2,11 @@ import { client } from "@kaneo/libs";import type { InferRequestType } from "hono/client";export type GetLabelsByTaskRequest = InferRequestType<- (typeof client)["label"][":taskId"]["$get"]+ (typeof client)["label"]["task"][":taskId"]["$get"]>["param"];async function getLabelsByTask({ taskId }: GetLabelsByTaskRequest) {- const response = await client.label[":taskId"].$get({+ const response = await client.label.task[":taskId"].$get({param: {taskId,},diff --git a/apps/web/src/fetchers/task/create-task.ts b/apps/web/src/fetchers/task/create-task.tsindex 44622b14d..ab7511225 100644--- a/apps/web/src/fetchers/task/create-task.ts+++ b/apps/web/src/fetchers/task/create-task.ts@@ -12,7 +12,7 @@ async function createTask(projectId: string,userId: string,status: string,- dueDate: Date,+ dueDate: Date | undefined,priority: string,) {const response = await client.task[":projectId"].$post({@@ -21,7 +21,7 @@ async function createTask(description,userId,status,- dueDate: dueDate.toISOString(),+ dueDate: dueDate?.toISOString() || undefined,priority,},param: { projectId },diff --git a/apps/web/src/fetchers/task/update-task-assignee.ts b/apps/web/src/fetchers/task/update-task-assignee.tsnew file mode 100644index 000000000..2e39bb747--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-assignee.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskAssignee(taskId: string, task: Task) {+ const response = await client.task.assignee[":id"].$put({+ param: { id: taskId },+ json: {+ userId: task.userId || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskAssignee;diff --git a/apps/web/src/fetchers/task/update-task-description.ts b/apps/web/src/fetchers/task/update-task-description.tsnew file mode 100644index 000000000..af23e2397--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-description.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskDescription(taskId: string, task: Task) {+ const response = await client.task.description[":id"].$put({+ param: { id: taskId },+ json: {+ description: task.description || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskDescription;diff --git a/apps/web/src/fetchers/task/update-task-due-date.ts b/apps/web/src/fetchers/task/update-task-due-date.tsnew file mode 100644index 000000000..335c4185f--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-due-date.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskDueDate(taskId: string, task: Task) {+ const response = await client.task["due-date"][":id"].$put({+ param: { id: taskId },+ json: {+ dueDate: task.dueDate || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskDueDate;diff --git a/apps/web/src/fetchers/task/update-task-priority.ts b/apps/web/src/fetchers/task/update-task-priority.tsnew file mode 100644index 000000000..7610be060--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-priority.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskPriority(taskId: string, task: Task) {+ const response = await client.task.priority[":id"].$put({+ param: { id: taskId },+ json: {+ priority: task.priority || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskPriority;diff --git a/apps/web/src/fetchers/task/update-task-status.ts b/apps/web/src/fetchers/task/update-task-status.tsnew file mode 100644index 000000000..bbbd13f3a--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-status.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskStatus(taskId: string, task: Task) {+ const response = await client.task.status[":id"].$put({+ param: { id: taskId },+ json: {+ status: task.status || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskStatus;diff --git a/apps/web/src/fetchers/task/update-task-title.ts b/apps/web/src/fetchers/task/update-task-title.tsnew file mode 100644index 000000000..81ce7c226--- /dev/null+++ b/apps/web/src/fetchers/task/update-task-title.ts@@ -0,0 +1,22 @@+import { client } from "@kaneo/libs";+import type Task from "@/types/task";++async function updateTaskTitle(taskId: string, task: Task) {+ const response = await client.task.title[":id"].$put({+ param: { id: taskId },+ json: {+ title: task.title || "",+ },+ });++ if (!response.ok) {+ const error = await response.text();+ throw new Error(error);+ }++ const data = await response.json();++ return data;+}++export default updateTaskTitle;diff --git a/apps/web/src/fetchers/task/update-task.ts b/apps/web/src/fetchers/task/update-task.tsindex 4dedb6b16..32c8e0ec1 100644--- a/apps/web/src/fetchers/task/update-task.ts+++ b/apps/web/src/fetchers/task/update-task.ts@@ -1,5 +1,5 @@-import type Task from "@/types/task";import { client } from "@kaneo/libs";+import type Task from "@/types/task";async function updateTask(taskId: string, task: Task) {const response = await client.task[":id"].$put({@@ -10,8 +10,8 @@ async function updateTask(taskId: string, task: Task) {description: task.description || "",status: task.status,priority: task.priority || "",- dueDate: task.dueDate?.toString() || new Date().toString(),- position: task.position || 0,+ dueDate: task.dueDate?.toString(),+ position: task.position ?? 0,projectId: task.projectId,},});diff --git a/apps/web/src/fetchers/workspace-user/delete-workspace-user.ts b/apps/web/src/fetchers/workspace-user/delete-workspace-user.tsindex 7bb126a4b..6f4d86c0f 100644--- a/apps/web/src/fetchers/workspace-user/delete-workspace-user.ts+++ b/apps/web/src/fetchers/workspace-user/delete-workspace-user.ts@@ -1,29 +1,23 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-export type DeleteWorkspaceUserRequest = InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["$delete"]->["param"] &- InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["$delete"]- >["query"];+export type DeleteWorkspaceUserRequest = {+ workspaceId: string;+ userId: string;+};async function deleteWorkspaceUser({workspaceId,userId,}: DeleteWorkspaceUserRequest) {- const response = await client["workspace-user"][":workspaceId"].$delete({- param: { workspaceId },- query: { userId },+ const { data, error } = await authClient.organization.removeMember({+ organizationId: workspaceId,+ memberIdOrEmail: userId,});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to remove workspace member");}- const data = await response.json();-return data;}diff --git a/apps/web/src/fetchers/workspace-user/get-active-workspace-users.ts b/apps/web/src/fetchers/workspace-user/get-active-workspace-users.tsindex a7c35d4c9..1b4a0b08f 100644--- a/apps/web/src/fetchers/workspace-user/get-active-workspace-users.ts+++ b/apps/web/src/fetchers/workspace-user/get-active-workspace-users.ts@@ -1,25 +1,23 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-export type GetActiveWorkspaceUsersRequest = InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["active"]["$get"]->["param"];+export type GetActiveWorkspaceUsersRequest = {+ workspaceId: string;+};async function getActiveWorkspaceUsers({workspaceId,}: GetActiveWorkspaceUsersRequest) {- const response = await client["workspace-user"][":workspaceId"].active.$get({- param: { workspaceId },+ const { data, error } = await authClient.organization.listMembers({+ query: {+ organizationId: workspaceId,+ },});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to fetch workspace users");}- const data = await response.json();-- return data;+ return data || [];}export default getActiveWorkspaceUsers;diff --git a/apps/web/src/fetchers/workspace-user/get-workspace-users.ts b/apps/web/src/fetchers/workspace-user/get-workspace-users.tsindex 0be277057..5094ec77f 100644--- a/apps/web/src/fetchers/workspace-user/get-workspace-users.ts+++ b/apps/web/src/fetchers/workspace-user/get-workspace-users.ts@@ -1,23 +1,35 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-export type GetWorkspaceUsersRequest = InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["$get"]->;+export type GetWorkspaceUsersRequest = {+ workspaceId: string;+ limit?: number;+ offset?: number;+ sortBy?: string;+ sortDirection?: "asc" | "desc";+};-async function getWorkspaceUsers({ param }: GetWorkspaceUsersRequest) {- const response = await client["workspace-user"][":workspaceId"].$get({- param,+async function getWorkspaceUsers({+ workspaceId,+ limit,+ offset,+ sortBy,+ sortDirection,+}: GetWorkspaceUsersRequest) {+ const { data, error } = await authClient.organization.listMembers({+ query: {+ organizationId: workspaceId,+ limit,+ offset,+ sortBy,+ sortDirection,+ },});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to fetch workspace users");}- const data = await response.json();-- return data;+ return data || [];}export default getWorkspaceUsers;diff --git a/apps/web/src/fetchers/workspace-user/invite-workspace-member.ts b/apps/web/src/fetchers/workspace-user/invite-workspace-member.tsindex d3bad78c3..cfb5a209b 100644--- a/apps/web/src/fetchers/workspace-user/invite-workspace-member.ts+++ b/apps/web/src/fetchers/workspace-user/invite-workspace-member.ts@@ -1,29 +1,26 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-export type InviteWorkspaceMemberRequest = InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["invite"]["$post"]->["json"] &- InferRequestType<- (typeof client)["workspace-user"][":workspaceId"]["invite"]["$post"]- >["param"];+export type InviteWorkspaceMemberRequest = {+ workspaceId: string;+ email: string;+ role?: "owner" | "admin" | "member";+};const inviteWorkspaceMember = async ({workspaceId,- userId,+ email,+ role = "member",}: InviteWorkspaceMemberRequest) => {- const response = await client["workspace-user"][":workspaceId"].invite.$post({- json: { userId },- param: { workspaceId },+ const { data, error } = await authClient.organization.inviteMember({+ organizationId: workspaceId,+ email,+ role,});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to invite workspace member");}- const data = await response.json();-return data;};diff --git a/apps/web/src/fetchers/workspace/create-workspace.ts b/apps/web/src/fetchers/workspace/create-workspace.tsindex 7498a20a4..b309521f7 100644--- a/apps/web/src/fetchers/workspace/create-workspace.ts+++ b/apps/web/src/fetchers/workspace/create-workspace.ts@@ -1,26 +1,32 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-export type CreateWorkspaceRequest = InferRequestType<- typeof client.workspace.$post->["json"];+export type CreateWorkspaceRequest = {+ name: string;+ description?: string;+ slug?: string;+ logo?: string;+};const createWorkspace = async ({name,description,+ slug,+ logo,}: CreateWorkspaceRequest) => {- const response = await client.workspace.$post({- json: { name, description },+ const metadata = description ? { description } : undefined;++ const { data, error } = await authClient.organization.create({+ name,+ slug: slug || name.toLowerCase().replace(/\s+/g, "-"), // TODO+ logo,+ metadata,});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to create workspace");}- const workspace = await response.json();-- return workspace;+ return data;};export default createWorkspace;diff --git a/apps/web/src/fetchers/workspace/delete-workspace.ts b/apps/web/src/fetchers/workspace/delete-workspace.tsindex 9ee84412e..961928f3d 100644--- a/apps/web/src/fetchers/workspace/delete-workspace.ts+++ b/apps/web/src/fetchers/workspace/delete-workspace.ts@@ -1,23 +1,19 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-type DeleteWorkspaceRequest = InferRequestType<- (typeof client.workspace)[":id"]["$delete"]->["param"];+type DeleteWorkspaceRequest = {+ id: string;+};const deleteWorkspace = async ({ id }: DeleteWorkspaceRequest) => {- const response = await client.workspace[":id"].$delete({- param: { id },+ const { data, error } = await authClient.organization.delete({+ organizationId: id,});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to delete workspace");}- const workspace = await response.json();-- return workspace;+ return data;};export default deleteWorkspace;diff --git a/apps/web/src/fetchers/workspace/get-workspace.ts b/apps/web/src/fetchers/workspace/get-workspace.tsdeleted file mode 100644index 7fd306080..000000000--- a/apps/web/src/fetchers/workspace/get-workspace.ts+++ /dev/null@@ -1,23 +0,0 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";--type GetWorkspaceRequest = InferRequestType<- (typeof client.workspace)[":id"]["$get"]->["param"];--async function getWorkspace({ id }: GetWorkspaceRequest) {- const response = await client.workspace[":id"].$get({- param: { id },- });-- if (!response.ok) {- const error = await response.text();- throw new Error(error);- }-- const workspace = await response.json();-- return workspace;-}--export default getWorkspace;diff --git a/apps/web/src/fetchers/workspace/get-workspaces.ts b/apps/web/src/fetchers/workspace/get-workspaces.tsindex d60d3c4b7..889ddaa84 100644--- a/apps/web/src/fetchers/workspace/get-workspaces.ts+++ b/apps/web/src/fetchers/workspace/get-workspaces.ts@@ -1,16 +1,13 @@-import { client } from "@kaneo/libs";+import { authClient } from "@/lib/auth-client";const getWorkspaces = async () => {- const response = await client.workspace.$get();+ const { data, error } = await authClient.organization.list();- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to fetch workspaces");}- const workspaces = await response.json();-- return workspaces;+ return data || [];};export default getWorkspaces;diff --git a/apps/web/src/fetchers/workspace/update-workspace.ts b/apps/web/src/fetchers/workspace/update-workspace.tsindex e387b8962..5357e5338 100644--- a/apps/web/src/fetchers/workspace/update-workspace.ts+++ b/apps/web/src/fetchers/workspace/update-workspace.ts@@ -1,29 +1,37 @@-import { client } from "@kaneo/libs";-import type { InferRequestType } from "hono/client";+import { authClient } from "@/lib/auth-client";-type UpdateWorkspaceRequest = InferRequestType<- (typeof client.workspace)[":id"]["$put"]->["param"] &- InferRequestType<(typeof client.workspace)[":id"]["$put"]>["json"];+type UpdateWorkspaceRequest = {+ id: string;+ name: string;+ description?: string;+ logo?: string;+ slug?: string;+};const updateWorkspace = async ({id,name,description,+ logo,+ slug,}: UpdateWorkspaceRequest) => {- const response = await client.workspace[":id"].$put({- param: { id },- json: { name, description },+ const metadata = description ? { description } : undefined;++ const { data, error } = await authClient.organization.update({+ organizationId: id,+ data: {+ name,+ slug,+ logo,+ metadata,+ },});- if (!response.ok) {- const error = await response.text();- throw new Error(error);+ if (error) {+ throw new Error(error.message || "Failed to update workspace");}- const workspace = await response.json();-- return workspace;+ return data;};export default updateWorkspace;diff --git a/apps/web/src/hooks/mutations/comment/use-create-comment.ts b/apps/web/src/hooks/mutations/comment/use-create-comment.tsindex 7c0781b3b..545e258bb 100644--- a/apps/web/src/hooks/mutations/comment/use-create-comment.ts+++ b/apps/web/src/hooks/mutations/comment/use-create-comment.ts@@ -1,5 +1,5 @@-import createComment from "@/fetchers/comment/create-comment";import { useMutation } from "@tanstack/react-query";+import createComment from "@/fetchers/comment/create-comment";function useCreateComment() {return useMutation({diff --git a/apps/web/src/hooks/mutations/comment/use-delete-comment.ts b/apps/web/src/hooks/mutations/comment/use-delete-comment.tsindex 3b2249d75..3e9ce9786 100644--- a/apps/web/src/hooks/mutations/comment/use-delete-comment.ts+++ b/apps/web/src/hooks/mutations/comment/use-delete-comment.ts@@ -1,5 +1,5 @@-import deleteComment from "@/fetchers/comment/delete-comment";import { useMutation, useQueryClient } from "@tanstack/react-query";+import deleteComment from "@/fetchers/comment/delete-comment";function useDeleteComment(taskId: string) {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/comment/use-update-comment.ts b/apps/web/src/hooks/mutations/comment/use-update-comment.tsindex b1ae3dc0b..5abe19432 100644--- a/apps/web/src/hooks/mutations/comment/use-update-comment.ts+++ b/apps/web/src/hooks/mutations/comment/use-update-comment.ts@@ -1,5 +1,5 @@-import updateComment from "@/fetchers/comment/update-comment";import { useMutation } from "@tanstack/react-query";+import updateComment from "@/fetchers/comment/update-comment";function useUpdateComment() {return useMutation({diff --git a/apps/web/src/hooks/mutations/github-integration/use-create-github-integration.ts b/apps/web/src/hooks/mutations/github-integration/use-create-github-integration.tsindex 0d897df25..cf441291a 100644--- a/apps/web/src/hooks/mutations/github-integration/use-create-github-integration.ts+++ b/apps/web/src/hooks/mutations/github-integration/use-create-github-integration.ts@@ -1,3 +1,4 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";import createGithubIntegration, {type CreateGithubIntegrationRequest,} from "@/fetchers/github-integration/create-github-integration";@@ -5,7 +6,6 @@ import deleteGithubIntegration from "@/fetchers/github-integration/delete-githubimport verifyGithubInstallation, {type VerifyGithubInstallationRequest,} from "@/fetchers/github-integration/verify-github-installation";-import { useMutation, useQueryClient } from "@tanstack/react-query";export function useCreateGithubIntegration() {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/github-integration/use-import-github-issues.ts b/apps/web/src/hooks/mutations/github-integration/use-import-github-issues.tsindex 7944ec95e..612a7cbd6 100644--- a/apps/web/src/hooks/mutations/github-integration/use-import-github-issues.ts+++ b/apps/web/src/hooks/mutations/github-integration/use-import-github-issues.ts@@ -1,6 +1,6 @@+import { useMutation } from "@tanstack/react-query";import importGithubIssues from "@/fetchers/github-integration/import-github-issues";import queryClient from "@/query-client";-import { useMutation } from "@tanstack/react-query";function useImportGithubIssues() {return useMutation({diff --git a/apps/web/src/hooks/mutations/label/use-create-label.ts b/apps/web/src/hooks/mutations/label/use-create-label.tsindex 7de4edf32..2a31c27f8 100644--- a/apps/web/src/hooks/mutations/label/use-create-label.ts+++ b/apps/web/src/hooks/mutations/label/use-create-label.ts@@ -1,5 +1,5 @@-import createLabel from "@/fetchers/label/create-label";import { useMutation } from "@tanstack/react-query";+import createLabel from "@/fetchers/label/create-label";function useCreateLabel() {return useMutation({diff --git a/apps/web/src/hooks/mutations/label/use-delete-label.ts b/apps/web/src/hooks/mutations/label/use-delete-label.tsindex dd2f12c86..78424fed9 100644--- a/apps/web/src/hooks/mutations/label/use-delete-label.ts+++ b/apps/web/src/hooks/mutations/label/use-delete-label.ts@@ -1,5 +1,5 @@-import deleteLabel from "@/fetchers/label/delete-label";import { useMutation } from "@tanstack/react-query";+import deleteLabel from "@/fetchers/label/delete-label";function useDeleteLabel() {return useMutation({diff --git a/apps/web/src/hooks/mutations/label/use-update-label.ts b/apps/web/src/hooks/mutations/label/use-update-label.tsindex 58d17fab5..facce90b4 100644--- a/apps/web/src/hooks/mutations/label/use-update-label.ts+++ b/apps/web/src/hooks/mutations/label/use-update-label.ts@@ -1,5 +1,5 @@-import updateLabel from "@/fetchers/label/update-label";import { useMutation } from "@tanstack/react-query";+import updateLabel from "@/fetchers/label/update-label";function useUpdateLabel() {return useMutation({diff --git a/apps/web/src/hooks/mutations/notification/use-clear-notifications.ts b/apps/web/src/hooks/mutations/notification/use-clear-notifications.tsindex a1c55c375..5a3213666 100644--- a/apps/web/src/hooks/mutations/notification/use-clear-notifications.ts+++ b/apps/web/src/hooks/mutations/notification/use-clear-notifications.ts@@ -1,5 +1,5 @@-import clearNotifications from "@/fetchers/notification/clear-notifications";import { useMutation, useQueryClient } from "@tanstack/react-query";+import clearNotifications from "@/fetchers/notification/clear-notifications";function useClearNotifications() {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/notification/use-mark-all-notifications-as-read.ts b/apps/web/src/hooks/mutations/notification/use-mark-all-notifications-as-read.tsindex d93095dca..887a9c68c 100644--- a/apps/web/src/hooks/mutations/notification/use-mark-all-notifications-as-read.ts+++ b/apps/web/src/hooks/mutations/notification/use-mark-all-notifications-as-read.ts@@ -1,5 +1,5 @@-import markAllNotificationsAsRead from "@/fetchers/notification/mark-all-notifications-as-read";import { useMutation, useQueryClient } from "@tanstack/react-query";+import markAllNotificationsAsRead from "@/fetchers/notification/mark-all-notifications-as-read";function useMarkAllNotificationsAsRead() {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/notification/use-mark-notification-as-read.ts b/apps/web/src/hooks/mutations/notification/use-mark-notification-as-read.tsindex c063cb55c..59ef1f686 100644--- a/apps/web/src/hooks/mutations/notification/use-mark-notification-as-read.ts+++ b/apps/web/src/hooks/mutations/notification/use-mark-notification-as-read.ts@@ -1,5 +1,5 @@-import markNotificationAsRead from "@/fetchers/notification/mark-notification-as-read";import { useMutation, useQueryClient } from "@tanstack/react-query";+import markNotificationAsRead from "@/fetchers/notification/mark-notification-as-read";function useMarkNotificationAsRead() {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/project/use-create-project.ts b/apps/web/src/hooks/mutations/project/use-create-project.tsindex e27033284..9d7bc698d 100644--- a/apps/web/src/hooks/mutations/project/use-create-project.ts+++ b/apps/web/src/hooks/mutations/project/use-create-project.ts@@ -1,12 +1,17 @@-import createProject from "@/fetchers/project/create-project";import { useMutation } from "@tanstack/react-query";+import createProject from "@/fetchers/project/create-project";function useCreateProject({name,slug,workspaceId,icon,-}: { name: string; slug: string; workspaceId: string; icon: string }) {+}: {+ name: string;+ slug: string;+ workspaceId: string;+ icon: string;+}) {return useMutation({mutationFn: () => createProject({ name, slug, workspaceId, icon }),});diff --git a/apps/web/src/hooks/mutations/project/use-delete-project.ts b/apps/web/src/hooks/mutations/project/use-delete-project.tsindex 64d22c61d..709f71caa 100644--- a/apps/web/src/hooks/mutations/project/use-delete-project.ts+++ b/apps/web/src/hooks/mutations/project/use-delete-project.ts@@ -1,5 +1,5 @@-import deleteProject from "@/fetchers/project/delete-project";import { useMutation } from "@tanstack/react-query";+import deleteProject from "@/fetchers/project/delete-project";function useDeleteProject() {return useMutation({diff --git a/apps/web/src/hooks/mutations/project/use-update-project.ts b/apps/web/src/hooks/mutations/project/use-update-project.tsindex 5355b014a..c1b019582 100644--- a/apps/web/src/hooks/mutations/project/use-update-project.ts+++ b/apps/web/src/hooks/mutations/project/use-update-project.ts@@ -1,5 +1,5 @@-import updateProject from "@/fetchers/project/update-project";import { useMutation } from "@tanstack/react-query";+import updateProject from "@/fetchers/project/update-project";function useUpdateProject() {return useMutation({diff --git a/apps/web/src/hooks/mutations/task/use-create-task.ts b/apps/web/src/hooks/mutations/task/use-create-task.tsindex ffa0b0a33..04da6fbe5 100644--- a/apps/web/src/hooks/mutations/task/use-create-task.ts+++ b/apps/web/src/hooks/mutations/task/use-create-task.ts@@ -1,7 +1,7 @@+import { useMutation } from "@tanstack/react-query";import createTask, {type CreateTaskRequest,} from "@/fetchers/task/create-task";-import { useMutation } from "@tanstack/react-query";function useCreateTask() {return useMutation({@@ -20,7 +20,7 @@ function useCreateTask() {projectId,userId ?? "",status,- new Date(dueDate),+ dueDate ? new Date(dueDate) : undefined,priority,),});diff --git a/apps/web/src/hooks/mutations/task/use-delete-task.ts b/apps/web/src/hooks/mutations/task/use-delete-task.tsindex 2b1634d5e..5f284d002 100644--- a/apps/web/src/hooks/mutations/task/use-delete-task.ts+++ b/apps/web/src/hooks/mutations/task/use-delete-task.ts@@ -1,10 +1,8 @@-import deleteTask from "@/fetchers/task/delete-task";import { useMutation } from "@tanstack/react-query";+import deleteTask from "@/fetchers/task/delete-task";-function useDeleteTask() {+export function useDeleteTask() {return useMutation({mutationFn: deleteTask,});}--export default useDeleteTask;diff --git a/apps/web/src/hooks/mutations/task/use-export-tasks.ts b/apps/web/src/hooks/mutations/task/use-export-tasks.tsindex 0c89aaffc..3aa51b1d9 100644--- a/apps/web/src/hooks/mutations/task/use-export-tasks.ts+++ b/apps/web/src/hooks/mutations/task/use-export-tasks.ts@@ -1,5 +1,5 @@-import exportTasks from "@/fetchers/task/export-tasks";import { useMutation } from "@tanstack/react-query";+import exportTasks from "@/fetchers/task/export-tasks";const useExportTasks = () => {return useMutation({diff --git a/apps/web/src/hooks/mutations/task/use-import-tasks.ts b/apps/web/src/hooks/mutations/task/use-import-tasks.tsindex 6fbf05ff9..09c3fc099 100644--- a/apps/web/src/hooks/mutations/task/use-import-tasks.ts+++ b/apps/web/src/hooks/mutations/task/use-import-tasks.ts@@ -1,5 +1,5 @@-import importTasks, { type TaskToImport } from "@/fetchers/task/import-tasks";import { useMutation } from "@tanstack/react-query";+import importTasks, { type TaskToImport } from "@/fetchers/task/import-tasks";const useImportTasks = () => {return useMutation({diff --git a/apps/web/src/hooks/mutations/task/use-update-task-assignee.ts b/apps/web/src/hooks/mutations/task/use-update-task-assignee.tsnew file mode 100644index 000000000..d01d3a1e8--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-assignee.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskAssignee from "@/fetchers/task/update-task-assignee";+import type Task from "@/types/task";++export function useUpdateTaskAssignee() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskAssignee(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task-description.ts b/apps/web/src/hooks/mutations/task/use-update-task-description.tsnew file mode 100644index 000000000..baae2acd0--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-description.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskDescription from "@/fetchers/task/update-task-description";+import type Task from "@/types/task";++export function useUpdateTaskDescription() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskDescription(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task-due-date.ts b/apps/web/src/hooks/mutations/task/use-update-task-due-date.tsnew file mode 100644index 000000000..1a0e6d924--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-due-date.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskDueDate from "@/fetchers/task/update-task-due-date";+import type Task from "@/types/task";++export function useUpdateTaskDueDate() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskDueDate(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task-status-priority.ts b/apps/web/src/hooks/mutations/task/use-update-task-status-priority.tsnew file mode 100644index 000000000..fb1523351--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-status-priority.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskPriority from "@/fetchers/task/update-task-priority";+import type Task from "@/types/task";++export function useUpdateTaskPriority() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskPriority(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task-status.ts b/apps/web/src/hooks/mutations/task/use-update-task-status.tsnew file mode 100644index 000000000..42ba5992a--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-status.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskStatus from "@/fetchers/task/update-task-status";+import type Task from "@/types/task";++export function useUpdateTaskStatus() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskStatus(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task-title.ts b/apps/web/src/hooks/mutations/task/use-update-task-title.tsnew file mode 100644index 000000000..20f90d0eb--- /dev/null+++ b/apps/web/src/hooks/mutations/task/use-update-task-title.ts@@ -0,0 +1,28 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";+import updateTaskTitle from "@/fetchers/task/update-task-title";+import type Task from "@/types/task";++export function useUpdateTaskTitle() {+ const queryClient = useQueryClient();++ return useMutation({+ mutationFn: (task: Task) => updateTaskTitle(task.id, task),+ onSuccess: (_, variables) => {+ queryClient.invalidateQueries({+ queryKey: ["task", variables.id],+ });+ queryClient.invalidateQueries({+ queryKey: ["tasks", variables.projectId],+ });+ queryClient.invalidateQueries({+ queryKey: ["notifications"],+ });+ queryClient.invalidateQueries({+ queryKey: ["projects"],+ });+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });+ },+ });+}diff --git a/apps/web/src/hooks/mutations/task/use-update-task.ts b/apps/web/src/hooks/mutations/task/use-update-task.tsindex 32cfa4d6c..e6f4ad111 100644--- a/apps/web/src/hooks/mutations/task/use-update-task.ts+++ b/apps/web/src/hooks/mutations/task/use-update-task.ts@@ -1,8 +1,8 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";import updateTask from "@/fetchers/task/update-task";import type Task from "@/types/task";-import { useMutation, useQueryClient } from "@tanstack/react-query";-function useUpdateTask() {+export function useUpdateTask() {const queryClient = useQueryClient();return useMutation({@@ -20,8 +20,9 @@ function useUpdateTask() {queryClient.invalidateQueries({queryKey: ["projects"],});+ queryClient.invalidateQueries({+ queryKey: ["activities", variables.id],+ });},});}--export default useUpdateTask;diff --git a/apps/web/src/hooks/mutations/time-entry/use-create-time-entry.ts b/apps/web/src/hooks/mutations/time-entry/use-create-time-entry.tsindex dca8a26c0..4bfcf8485 100644--- a/apps/web/src/hooks/mutations/time-entry/use-create-time-entry.ts+++ b/apps/web/src/hooks/mutations/time-entry/use-create-time-entry.ts@@ -1,7 +1,7 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";import createTimeEntry, {type CreateTimeEntryRequest,} from "@/fetchers/time-entry/create-time-entry";-import { useMutation, useQueryClient } from "@tanstack/react-query";function useCreateTimeEntry() {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/time-entry/use-update-time-entry.ts b/apps/web/src/hooks/mutations/time-entry/use-update-time-entry.tsindex 15640ca7c..9d161966f 100644--- a/apps/web/src/hooks/mutations/time-entry/use-update-time-entry.ts+++ b/apps/web/src/hooks/mutations/time-entry/use-update-time-entry.ts@@ -1,7 +1,7 @@+import { useMutation, useQueryClient } from "@tanstack/react-query";import updateTimeEntry, {type UpdateTimeEntryRequest,} from "@/fetchers/time-entry/update-time-entry";-import { useMutation, useQueryClient } from "@tanstack/react-query";function useUpdateTimeEntry(taskId: string) {const queryClient = useQueryClient();diff --git a/apps/web/src/hooks/mutations/use-change-password.ts b/apps/web/src/hooks/mutations/use-change-password.tsnew file mode 100644index 000000000..c0c87ea21--- /dev/null+++ b/apps/web/src/hooks/mutations/use-change-password.ts@@ -0,0 +1,29 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type ChangePasswordRequest = {+ currentPassword: string;+ newPassword: string;+};++function useChangePassword() {+ return useMutation({+ mutationFn: async ({+ currentPassword,+ newPassword,+ }: ChangePasswordRequest) => {+ const { data, error } = await authClient.changePassword({+ currentPassword,+ newPassword,+ });++ if (error) {+ throw new Error(error.message || "Failed to change password");+ }++ return data;+ },+ });+}++export default useChangePassword;diff --git a/apps/web/src/hooks/mutations/use-send-password-reset.ts b/apps/web/src/hooks/mutations/use-send-password-reset.tsnew file mode 100644index 000000000..c0c87ea21--- /dev/null+++ b/apps/web/src/hooks/mutations/use-send-password-reset.ts@@ -0,0 +1,29 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type ChangePasswordRequest = {+ currentPassword: string;+ newPassword: string;+};++function useChangePassword() {+ return useMutation({+ mutationFn: async ({+ currentPassword,+ newPassword,+ }: ChangePasswordRequest) => {+ const { data, error } = await authClient.changePassword({+ currentPassword,+ newPassword,+ });++ if (error) {+ throw new Error(error.message || "Failed to change password");+ }++ return data;+ },+ });+}++export default useChangePassword;diff --git a/apps/web/src/hooks/mutations/use-sign-in.ts b/apps/web/src/hooks/mutations/use-sign-in.tsindex c455985b4..e11197a14 100644--- a/apps/web/src/hooks/mutations/use-sign-in.ts+++ b/apps/web/src/hooks/mutations/use-sign-in.ts@@ -1,12 +1,15 @@-import { authClient } from "@/lib/auth-client";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";function useSignIn() {return useMutation({mutationFn: async ({email,password,- }: { email: string; password: string }) => {+ }: {+ email: string;+ password: string;+ }) => {const result = await authClient.signIn.email({ email, password });if (result.error) {throw new Error(result.error.message);diff --git a/apps/web/src/hooks/mutations/use-sign-out.ts b/apps/web/src/hooks/mutations/use-sign-out.tsindex 8c3b19a0b..eec9d6d1e 100644--- a/apps/web/src/hooks/mutations/use-sign-out.ts+++ b/apps/web/src/hooks/mutations/use-sign-out.ts@@ -1,6 +1,6 @@-import { authClient } from "@/lib/auth-client";import { useMutation } from "@tanstack/react-query";import { useNavigate } from "@tanstack/react-router";+import { authClient } from "@/lib/auth-client";function useSignOut() {const navigate = useNavigate();diff --git a/apps/web/src/hooks/mutations/use-sign-up.ts b/apps/web/src/hooks/mutations/use-sign-up.tsindex fbb19fb55..3048e54f6 100644--- a/apps/web/src/hooks/mutations/use-sign-up.ts+++ b/apps/web/src/hooks/mutations/use-sign-up.ts@@ -1,5 +1,5 @@-import { authClient } from "@/lib/auth-client";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";function useSignUp() {return useMutation({@@ -7,7 +7,11 @@ function useSignUp() {email,password,name,- }: { email: string; password: string; name: string }) => {+ }: {+ email: string;+ password: string;+ name: string;+ }) => {const result = await authClient.signUp.email({ email, password, name });if (result.error) {throw new Error(result.error.message);diff --git a/apps/web/src/hooks/mutations/use-update-user-profile.ts b/apps/web/src/hooks/mutations/use-update-user-profile.tsnew file mode 100644index 000000000..1d991d43f--- /dev/null+++ b/apps/web/src/hooks/mutations/use-update-user-profile.ts@@ -0,0 +1,24 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type UpdateUserProfileRequest = {+ name: string;+};++function useUpdateUserProfile() {+ return useMutation({+ mutationFn: async ({ name }: UpdateUserProfileRequest) => {+ const { data, error } = await authClient.updateUser({+ name,+ });++ if (error) {+ throw new Error(error.message || "Failed to update user profile");+ }++ return data;+ },+ });+}++export default useUpdateUserProfile;diff --git a/apps/web/src/hooks/mutations/workspace-user/use-accept-invitation.ts b/apps/web/src/hooks/mutations/workspace-user/use-accept-invitation.tsnew file mode 100644index 000000000..5143a7e30--- /dev/null+++ b/apps/web/src/hooks/mutations/workspace-user/use-accept-invitation.ts@@ -0,0 +1,24 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type AcceptInvitationRequest = {+ invitationId: string;+};++function useAcceptInvitation() {+ return useMutation({+ mutationFn: async ({ invitationId }: AcceptInvitationRequest) => {+ const { data, error } = await authClient.organization.acceptInvitation({+ invitationId,+ });++ if (error) {+ throw new Error(error.message || "Failed to accept invitation");+ }++ return data;+ },+ });+}++export default useAcceptInvitation;diff --git a/apps/web/src/hooks/mutations/workspace-user/use-cancel-invitation.ts b/apps/web/src/hooks/mutations/workspace-user/use-cancel-invitation.tsnew file mode 100644index 000000000..e61b67c68--- /dev/null+++ b/apps/web/src/hooks/mutations/workspace-user/use-cancel-invitation.ts@@ -0,0 +1,24 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type CancelInvitationRequest = {+ invitationId: string;+};++function useCancelInvitation() {+ return useMutation({+ mutationFn: async ({ invitationId }: CancelInvitationRequest) => {+ const { data, error } = await authClient.organization.cancelInvitation({+ invitationId,+ });++ if (error) {+ throw new Error(error.message || "Failed to cancel invitation");+ }++ return data;+ },+ });+}++export default useCancelInvitation;diff --git a/apps/web/src/hooks/mutations/workspace-user/use-delete-workspace-user.ts b/apps/web/src/hooks/mutations/workspace-user/use-delete-workspace-user.tsindex 8c701d7aa..1731a7a3a 100644--- a/apps/web/src/hooks/mutations/workspace-user/use-delete-workspace-user.ts+++ b/apps/web/src/hooks/mutations/workspace-user/use-delete-workspace-user.ts@@ -1,13 +1,39 @@import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";+import queryClient from "@/query-client";-import deleteWorkspaceUser, {- type DeleteWorkspaceUserRequest,-} from "@/fetchers/workspace-user/delete-workspace-user";+type DeleteWorkspaceUserRequest = {+ workspaceId: string;+ userId: string;+};function useDeleteWorkspaceUser() {return useMutation({- mutationFn: ({ workspaceId, userId }: DeleteWorkspaceUserRequest) =>- deleteWorkspaceUser({ workspaceId, userId }),+ mutationFn: async ({ workspaceId, userId }: DeleteWorkspaceUserRequest) => {+ const { data, error } = await authClient.organization.removeMember({+ memberIdOrEmail: userId,+ organizationId: workspaceId,+ });++ if (error) {+ throw new Error(error.message || "Failed to remove workspace member");+ }++ return data;+ },+ onSuccess: (_, { workspaceId }) => {+ queryClient.invalidateQueries({+ queryKey: ["workspace-invites", workspaceId],+ });++ queryClient.invalidateQueries({+ queryKey: ["workspace", "full", workspaceId],+ });++ queryClient.invalidateQueries({+ queryKey: ["workspace-users", workspaceId],+ });+ },});}diff --git a/apps/web/src/hooks/mutations/workspace-user/use-invite-workspace-user.ts b/apps/web/src/hooks/mutations/workspace-user/use-invite-workspace-user.tsindex 44c340633..f850044cf 100644--- a/apps/web/src/hooks/mutations/workspace-user/use-invite-workspace-user.ts+++ b/apps/web/src/hooks/mutations/workspace-user/use-invite-workspace-user.ts@@ -1,13 +1,48 @@-import inviteWorkspaceMember from "@/fetchers/workspace-user/invite-workspace-member";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";+import queryClient from "@/query-client";++type InviteWorkspaceUserRequest = {+ workspaceId: string;+ email: string;+ role: "admin" | "member" | "owner";+ resend?: boolean;+};function useInviteWorkspaceUser() {return useMutation({- mutationFn: ({+ mutationFn: async ({workspaceId,- userId,- }: { workspaceId: string; userId: string }) =>- inviteWorkspaceMember({ workspaceId, userId }),+ email,+ role,+ resend,+ }: InviteWorkspaceUserRequest) => {+ const { data, error } = await authClient.organization.inviteMember({+ email,+ role,+ organizationId: workspaceId,+ resend,+ });++ if (error) {+ throw new Error(error.message || "Failed to invite workspace member");+ }++ return data;+ },+ onSuccess: (_, { workspaceId }) => {+ queryClient.invalidateQueries({+ queryKey: ["workspace-invites", workspaceId],+ });++ queryClient.invalidateQueries({+ queryKey: ["workspace", "full", workspaceId],+ });++ queryClient.invalidateQueries({+ queryKey: ["workspace-users", workspaceId],+ });+ },});}diff --git a/apps/web/src/hooks/mutations/workspace-user/use-reject-invitation.ts b/apps/web/src/hooks/mutations/workspace-user/use-reject-invitation.tsnew file mode 100644index 000000000..69382bf34--- /dev/null+++ b/apps/web/src/hooks/mutations/workspace-user/use-reject-invitation.ts@@ -0,0 +1,24 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type RejectInvitationRequest = {+ invitationId: string;+};++function useRejectInvitation() {+ return useMutation({+ mutationFn: async ({ invitationId }: RejectInvitationRequest) => {+ const { data, error } = await authClient.organization.rejectInvitation({+ invitationId,+ });++ if (error) {+ throw new Error(error.message || "Failed to reject invitation");+ }++ return data;+ },+ });+}++export default useRejectInvitation;diff --git a/apps/web/src/hooks/mutations/workspace-user/use-update-workspace-user-role.ts b/apps/web/src/hooks/mutations/workspace-user/use-update-workspace-user-role.tsnew file mode 100644index 000000000..ad6a9ab15--- /dev/null+++ b/apps/web/src/hooks/mutations/workspace-user/use-update-workspace-user-role.ts@@ -0,0 +1,34 @@+import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type UpdateWorkspaceUserRoleRequest = {+ workspaceId: string;+ memberId: string;+ role: "admin" | "member" | "owner";+};++function useUpdateWorkspaceUserRole() {+ return useMutation({+ mutationFn: async ({+ workspaceId,+ memberId,+ role,+ }: UpdateWorkspaceUserRoleRequest) => {+ const { data, error } = await authClient.organization.updateMemberRole({+ memberId,+ organizationId: workspaceId,+ role,+ });++ if (error) {+ throw new Error(+ error.message || "Failed to update workspace member role",+ );+ }++ return data;+ },+ });+}++export default useUpdateWorkspaceUserRole;diff --git a/apps/web/src/hooks/mutations/workspace/use-delete-workspace.ts b/apps/web/src/hooks/mutations/workspace/use-delete-workspace.tsindex 7b5ca87ad..863bcc311 100644--- a/apps/web/src/hooks/mutations/workspace/use-delete-workspace.ts+++ b/apps/web/src/hooks/mutations/workspace/use-delete-workspace.ts@@ -1,9 +1,23 @@-import deleteWorkspace from "@/fetchers/workspace/delete-workspace";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type DeleteWorkspaceRequest = {+ workspaceId: string;+};function useDeleteWorkspace() {return useMutation({- mutationFn: deleteWorkspace,+ mutationFn: async ({ workspaceId }: DeleteWorkspaceRequest) => {+ const { data, error } = await authClient.organization.delete({+ organizationId: workspaceId,+ });++ if (error) {+ throw new Error(error.message || "Failed to delete workspace");+ }++ return data;+ },});}diff --git a/apps/web/src/hooks/mutations/workspace/use-update-workspace.ts b/apps/web/src/hooks/mutations/workspace/use-update-workspace.tsindex 59169a6c4..9248524ba 100644--- a/apps/web/src/hooks/mutations/workspace/use-update-workspace.ts+++ b/apps/web/src/hooks/mutations/workspace/use-update-workspace.ts@@ -1,9 +1,61 @@-import updateWorkspace from "@/fetchers/workspace/update-workspace";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";+import { createSlug } from "@/lib/utils/create-slug";++type UpdateWorkspaceRequest = {+ workspaceId: string;+ name?: string;+ slug?: string;+ logo?: string;+ metadata?: Record<string, unknown>;+};function useUpdateWorkspace() {return useMutation({- mutationFn: updateWorkspace,+ mutationFn: async ({+ workspaceId,+ name,+ slug,+ logo,+ metadata,+ }: UpdateWorkspaceRequest) => {+ const updateData: {+ name?: string;+ slug?: string;+ logo?: string;+ metadata?: Record<string, unknown>;+ } = {};++ if (name !== undefined) {+ updateData.name = name;+ if (slug === undefined) {+ updateData.slug = createSlug(name);+ }+ }++ if (slug !== undefined) {+ updateData.slug = slug;+ }++ if (logo !== undefined) {+ updateData.logo = logo;+ }++ if (metadata !== undefined) {+ updateData.metadata = metadata;+ }++ const { data, error } = await authClient.organization.update({+ data: updateData,+ organizationId: workspaceId,+ });++ if (error) {+ throw new Error(error.message || "Failed to update workspace");+ }++ return data;+ },});}diff --git a/apps/web/src/hooks/queries/activity/use-get-activities-by-task-id.ts b/apps/web/src/hooks/queries/activity/use-get-activities-by-task-id.tsindex ae8cf3232..b1335a4af 100644--- a/apps/web/src/hooks/queries/activity/use-get-activities-by-task-id.ts+++ b/apps/web/src/hooks/queries/activity/use-get-activities-by-task-id.ts@@ -1,5 +1,5 @@-import getActivitesByTaskId from "@/fetchers/activity/get-activites-by-task-id";import { useQuery } from "@tanstack/react-query";+import getActivitesByTaskId from "@/fetchers/activity/get-activites-by-task-id";function useGetActivitiesByTaskId(taskId: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/config/use-get-config.ts b/apps/web/src/hooks/queries/config/use-get-config.tsindex 0eb0e3c97..e694afcc2 100644--- a/apps/web/src/hooks/queries/config/use-get-config.ts+++ b/apps/web/src/hooks/queries/config/use-get-config.ts@@ -1,5 +1,5 @@-import { getConfig } from "@/fetchers/config/get-config";import { useQuery } from "@tanstack/react-query";+import { getConfig } from "@/fetchers/config/get-config";function useGetConfig() {return useQuery({diff --git a/apps/web/src/hooks/queries/github-integration/use-get-github-integration.ts b/apps/web/src/hooks/queries/github-integration/use-get-github-integration.tsindex e50210e76..19e49fced 100644--- a/apps/web/src/hooks/queries/github-integration/use-get-github-integration.ts+++ b/apps/web/src/hooks/queries/github-integration/use-get-github-integration.ts@@ -1,5 +1,5 @@-import getGithubIntegration from "@/fetchers/github-integration/get-github-integration";import { useQuery } from "@tanstack/react-query";+import getGithubIntegration from "@/fetchers/github-integration/get-github-integration";function useGetGithubIntegration(projectId: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/label/use-get-labels-by-task.ts b/apps/web/src/hooks/queries/label/use-get-labels-by-task.tsindex 90f9980b9..171c8bfe9 100644--- a/apps/web/src/hooks/queries/label/use-get-labels-by-task.ts+++ b/apps/web/src/hooks/queries/label/use-get-labels-by-task.ts@@ -1,5 +1,5 @@-import getLabelsByTask from "@/fetchers/label/get-labels-by-task";import { useQuery } from "@tanstack/react-query";+import getLabelsByTask from "@/fetchers/label/get-labels-by-task";function useGetLabelsByTask(taskId: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/label/use-get-labels-by-workspace.ts b/apps/web/src/hooks/queries/label/use-get-labels-by-workspace.tsnew file mode 100644index 000000000..221f844bc--- /dev/null+++ b/apps/web/src/hooks/queries/label/use-get-labels-by-workspace.ts@@ -0,0 +1,11 @@+import { useQuery } from "@tanstack/react-query";+import getLabelsByWorkspace from "@/fetchers/label/get-label-by-workspace";++function useGetLabelsByWorkspace(workspaceId: string) {+ return useQuery({+ queryKey: ["labels", workspaceId],+ queryFn: () => getLabelsByWorkspace({ workspaceId }),+ });+}++export default useGetLabelsByWorkspace;diff --git a/apps/web/src/hooks/queries/notification/use-get-notifications.ts b/apps/web/src/hooks/queries/notification/use-get-notifications.tsindex 5c8a22566..5f86f3153 100644--- a/apps/web/src/hooks/queries/notification/use-get-notifications.ts+++ b/apps/web/src/hooks/queries/notification/use-get-notifications.ts@@ -1,5 +1,5 @@-import getNotifications from "@/fetchers/notification/get-notifications";import { useQuery } from "@tanstack/react-query";+import getNotifications from "@/fetchers/notification/get-notifications";function useGetNotifications() {return useQuery({diff --git a/apps/web/src/hooks/queries/project/use-get-project.ts b/apps/web/src/hooks/queries/project/use-get-project.tsindex c133243f4..d6004f68c 100644--- a/apps/web/src/hooks/queries/project/use-get-project.ts+++ b/apps/web/src/hooks/queries/project/use-get-project.ts@@ -1,10 +1,13 @@-import getProject from "@/fetchers/project/get-project";import { useQuery } from "@tanstack/react-query";+import getProject from "@/fetchers/project/get-project";function useGetProject({id,workspaceId,-}: { id: string; workspaceId: string }) {+}: {+ id: string;+ workspaceId: string;+}) {return useQuery({queryFn: () => getProject({ id, workspaceId }),queryKey: ["projects", workspaceId, id],diff --git a/apps/web/src/hooks/queries/project/use-get-projects.ts b/apps/web/src/hooks/queries/project/use-get-projects.tsindex bbd0d02a6..486a3495e 100644--- a/apps/web/src/hooks/queries/project/use-get-projects.ts+++ b/apps/web/src/hooks/queries/project/use-get-projects.ts@@ -1,5 +1,5 @@-import getProjects from "@/fetchers/project/get-projects";import { useQuery } from "@tanstack/react-query";+import getProjects from "@/fetchers/project/get-projects";function useGetProjects({ workspaceId }: { workspaceId: string }) {return useQuery({diff --git a/apps/web/src/hooks/queries/project/use-get-public-project.ts b/apps/web/src/hooks/queries/project/use-get-public-project.tsindex 18418724f..a52ee4ce2 100644--- a/apps/web/src/hooks/queries/project/use-get-public-project.ts+++ b/apps/web/src/hooks/queries/project/use-get-public-project.ts@@ -1,5 +1,5 @@-import getPublicProject from "@/fetchers/project/get-public-project";import { useQuery } from "@tanstack/react-query";+import getPublicProject from "@/fetchers/project/get-public-project";function useGetPublicProject(id: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/search/use-global-search.ts b/apps/web/src/hooks/queries/search/use-global-search.tsindex 641c471b7..cd88b8b28 100644--- a/apps/web/src/hooks/queries/search/use-global-search.ts+++ b/apps/web/src/hooks/queries/search/use-global-search.ts@@ -1,5 +1,5 @@-import globalSearch from "@/fetchers/search/global-search";import { useQuery } from "@tanstack/react-query";+import globalSearch from "@/fetchers/search/global-search";type SearchParams = {q: string;diff --git a/apps/web/src/hooks/queries/task/use-get-task.ts b/apps/web/src/hooks/queries/task/use-get-task.tsindex e7b4b421c..b76035ffb 100644--- a/apps/web/src/hooks/queries/task/use-get-task.ts+++ b/apps/web/src/hooks/queries/task/use-get-task.ts@@ -1,5 +1,5 @@-import getTask from "@/fetchers/task/get-task";import { useQuery } from "@tanstack/react-query";+import getTask from "@/fetchers/task/get-task";function useGetTask(taskId: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/task/use-get-tasks.ts b/apps/web/src/hooks/queries/task/use-get-tasks.tsindex aa812aa91..dd5aaae9c 100644--- a/apps/web/src/hooks/queries/task/use-get-tasks.ts+++ b/apps/web/src/hooks/queries/task/use-get-tasks.ts@@ -1,7 +1,7 @@-import getTasks from "@/fetchers/task/get-tasks";import { useQuery } from "@tanstack/react-query";+import getTasks from "@/fetchers/task/get-tasks";-function useGetTasks(projectId: string) {+export function useGetTasks(projectId: string) {return useQuery({queryKey: ["tasks", projectId],queryFn: () => getTasks(projectId),@@ -9,5 +9,3 @@ function useGetTasks(projectId: string) {enabled: !!projectId,});}--export default useGetTasks;diff --git a/apps/web/src/hooks/queries/time-entry/use-get-time-entries.ts b/apps/web/src/hooks/queries/time-entry/use-get-time-entries.tsindex 16afba16a..d5fcd3fde 100644--- a/apps/web/src/hooks/queries/time-entry/use-get-time-entries.ts+++ b/apps/web/src/hooks/queries/time-entry/use-get-time-entries.ts@@ -1,5 +1,5 @@-import getTimeEntriesByTaskId from "@/fetchers/time-entry/get-time-entries";import { useQuery } from "@tanstack/react-query";+import getTimeEntriesByTaskId from "@/fetchers/time-entry/get-time-entries";function useGetTimeEntriesByTaskId(taskId: string) {return useQuery({diff --git a/apps/web/src/hooks/queries/workspace-users/use-active-workspace-user.ts b/apps/web/src/hooks/queries/workspace-users/use-active-workspace-user.tsnew file mode 100644index 000000000..2dd33809e--- /dev/null+++ b/apps/web/src/hooks/queries/workspace-users/use-active-workspace-user.ts@@ -0,0 +1,17 @@+import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++export const useGetActiveWorkspaceUser = () => {+ return useQuery({+ queryKey: ["workspace-user", "active"],+ queryFn: async () => {+ const { data, error } = await authClient.organization.getActiveMember();++ if (error) {+ throw new Error(error.message || "Failed to get active workspace user");+ }++ return data;+ },+ });+};diff --git a/apps/web/src/hooks/queries/workspace-users/use-active-workspace-users.ts b/apps/web/src/hooks/queries/workspace-users/use-active-workspace-users.tsdeleted file mode 100644index 03bb60585..000000000--- a/apps/web/src/hooks/queries/workspace-users/use-active-workspace-users.ts+++ /dev/null@@ -1,16 +0,0 @@-import getActiveWorkspaceUsers, {- type GetActiveWorkspaceUsersRequest,-} from "@/fetchers/workspace-user/get-active-workspace-users";-import { useQuery } from "@tanstack/react-query";--export const useGetActiveWorkspaceUsers = ({- workspaceId,-}: GetActiveWorkspaceUsersRequest) => {- return useQuery({- queryKey: ["workspace-users", "active", workspaceId],- queryFn: () => getActiveWorkspaceUsers({ workspaceId }),- enabled: !!workspaceId,- });-};--export default useGetActiveWorkspaceUsers;diff --git a/apps/web/src/hooks/queries/workspace-users/use-get-active-workspace-users.ts b/apps/web/src/hooks/queries/workspace-users/use-get-active-workspace-users.tsnew file mode 100644index 000000000..63d3c7d17--- /dev/null+++ b/apps/web/src/hooks/queries/workspace-users/use-get-active-workspace-users.ts@@ -0,0 +1,10 @@+import { useQuery } from "@tanstack/react-query";+import getActiveWorkspaceUsers from "@/fetchers/workspace-user/get-active-workspace-users";++export function useGetActiveWorkspaceUsers(workspaceId: string) {+ return useQuery({+ queryKey: ["active-workspace-users", workspaceId],+ queryFn: () => getActiveWorkspaceUsers({ workspaceId }),+ enabled: !!workspaceId,+ });+}diff --git a/apps/web/src/hooks/queries/workspace-users/use-get-invitation.ts b/apps/web/src/hooks/queries/workspace-users/use-get-invitation.tsnew file mode 100644index 000000000..d1ac371bf--- /dev/null+++ b/apps/web/src/hooks/queries/workspace-users/use-get-invitation.ts@@ -0,0 +1,28 @@+import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type GetInvitationRequest = {+ invitationId: string;+};++function useGetInvitation({ invitationId }: GetInvitationRequest) {+ return useQuery({+ queryKey: ["invitation", invitationId],+ enabled: !!invitationId,+ queryFn: async () => {+ const { data, error } = await authClient.organization.getInvitation({+ query: {+ id: invitationId,+ },+ });++ if (error) {+ throw new Error(error.message || "Failed to get invitation");+ }++ return data;+ },+ });+}++export default useGetInvitation;diff --git a/apps/web/src/hooks/queries/workspace-users/use-get-user-invitations.ts b/apps/web/src/hooks/queries/workspace-users/use-get-user-invitations.tsnew file mode 100644index 000000000..ea7d74998--- /dev/null+++ b/apps/web/src/hooks/queries/workspace-users/use-get-user-invitations.ts@@ -0,0 +1,20 @@+import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++function useGetUserInvitations() {+ return useQuery({+ queryKey: ["user-invitations"],+ queryFn: async () => {+ const { data, error } =+ await authClient.organization.listUserInvitations();++ if (error) {+ throw new Error(error.message || "Failed to get user invitations");+ }++ return data;+ },+ });+}++export default useGetUserInvitations;diff --git a/apps/web/src/hooks/queries/workspace-users/use-get-workspace-invites.ts b/apps/web/src/hooks/queries/workspace-users/use-get-workspace-invites.tsnew file mode 100644index 000000000..fc4731369--- /dev/null+++ b/apps/web/src/hooks/queries/workspace-users/use-get-workspace-invites.ts@@ -0,0 +1,27 @@+import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type GetWorkspaceInvitesRequest = {+ workspaceId?: string;+};++function useGetWorkspaceInvites({ workspaceId }: GetWorkspaceInvitesRequest) {+ return useQuery({+ queryKey: ["workspace-invites", workspaceId],+ queryFn: async () => {+ const { data, error } = await authClient.organization.listInvitations({+ query: {+ organizationId: workspaceId,+ },+ });++ if (error) {+ throw new Error(error.message || "Failed to get workspace invites");+ }++ return data;+ },+ });+}++export default useGetWorkspaceInvites;diff --git a/apps/web/src/hooks/queries/workspace-users/use-get-workspace-users.ts b/apps/web/src/hooks/queries/workspace-users/use-get-workspace-users.tsindex a4a6a84db..6243a0272 100644--- a/apps/web/src/hooks/queries/workspace-users/use-get-workspace-users.ts+++ b/apps/web/src/hooks/queries/workspace-users/use-get-workspace-users.ts@@ -1,10 +1,53 @@-import getActiveWorkspaceUsers from "@/fetchers/workspace-user/get-workspace-users";import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";-function useGetWorkspaceUsers({ workspaceId }: { workspaceId: string }) {+type GetWorkspaceUsersRequest = {+ workspaceId?: string;+ limit?: number;+ offset?: number;+ sortBy?: string;+ sortDirection?: "asc" | "desc";+ filterField?: string;+ filterOperator?: "eq" | "ne" | "gt" | "gte" | "lt" | "lte" | "contains";+ filterValue?: string;+};++function useGetWorkspaceUsers({+ workspaceId,+ limit,+ offset,+ sortBy,+ sortDirection,+ filterField,+ filterOperator,+ filterValue,+}: GetWorkspaceUsersRequest) {return useQuery({- queryKey: ["workspace-users", workspaceId],- queryFn: () => getActiveWorkspaceUsers({ param: { workspaceId } }),+ queryKey: [+ "workspace-users",+ workspaceId,+ limit,+ offset,+ sortBy,+ sortDirection,+ filterField,+ filterOperator,+ filterValue,+ ],+ enabled: !!workspaceId,+ queryFn: async () => {+ const { data, error } = await authClient.organization.listMembers({+ query: {+ organizationId: workspaceId,+ },+ });++ if (error) {+ throw new Error(error.message || "Failed to get workspace users");+ }++ return data.members;+ },});}diff --git a/apps/web/src/hooks/queries/workspace/use-active-workspace.ts b/apps/web/src/hooks/queries/workspace/use-active-workspace.tsnew file mode 100644index 000000000..5f045e505--- /dev/null+++ b/apps/web/src/hooks/queries/workspace/use-active-workspace.ts@@ -0,0 +1,15 @@+import { authClient } from "@/lib/auth-client";++function useActiveWorkspace() {+ const { data: activeOrganization, error } =+ authClient.useActiveOrganization();++ return {+ data: activeOrganization,+ error,+ isLoading: !activeOrganization && !error,+ isError: !!error,+ };+}++export default useActiveWorkspace;diff --git a/apps/web/src/hooks/queries/workspace/use-create-workspace.ts b/apps/web/src/hooks/queries/workspace/use-create-workspace.tsindex 95a29be85..d7a84fe66 100644--- a/apps/web/src/hooks/queries/workspace/use-create-workspace.ts+++ b/apps/web/src/hooks/queries/workspace/use-create-workspace.ts@@ -1,12 +1,44 @@-import createWorkspace, {- type CreateWorkspaceRequest,-} from "@/fetchers/workspace/create-workspace";import { useMutation } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";+import { createSlug } from "@/lib/utils/create-slug";++type CreateWorkspaceRequest = {+ name: string;+ description?: string;+ logo?: string;+ slug?: string;+ keepCurrentActiveOrganization?: boolean;+ userId?: string;+};function useCreateWorkspace() {return useMutation({- mutationFn: ({ name, description }: CreateWorkspaceRequest) =>- createWorkspace({ name, description }),+ mutationFn: async ({+ name,+ description,+ logo,+ slug,+ keepCurrentActiveOrganization = false,+ userId,+ }: CreateWorkspaceRequest) => {+ const metadata = description ? { description } : undefined;+ const workspaceSlug = slug || createSlug(name);++ const { data, error } = await authClient.organization.create({+ name,+ slug: workspaceSlug,+ logo: logo || undefined,+ metadata,+ keepCurrentActiveOrganization,+ userId: userId,+ });++ if (error) {+ throw new Error(error.message || "Failed to create workspace");+ }++ return data;+ },});}diff --git a/apps/web/src/hooks/queries/workspace/use-get-full-workspace.ts b/apps/web/src/hooks/queries/workspace/use-get-full-workspace.tsnew file mode 100644index 000000000..148f48f95--- /dev/null+++ b/apps/web/src/hooks/queries/workspace/use-get-full-workspace.ts@@ -0,0 +1,37 @@+import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";++type GetFullWorkspaceRequest = {+ workspaceId?: string;+ workspaceSlug?: string;+ membersLimit?: number;+};++function useGetFullWorkspace({+ workspaceId,+ workspaceSlug,+ membersLimit = 100,+}: GetFullWorkspaceRequest) {+ return useQuery({+ queryKey: ["workspace", "full", workspaceId || workspaceSlug],+ enabled: !!(workspaceId || workspaceSlug),+ queryFn: async () => {+ const { data, error } = await authClient.organization.getFullOrganization(+ {+ query: {+ organizationId: workspaceId,+ membersLimit,+ },+ },+ );++ if (error) {+ throw new Error(error.message || "Failed to get full workspace");+ }++ return data;+ },+ });+}++export default useGetFullWorkspace;diff --git a/apps/web/src/hooks/queries/workspace/use-get-workspace.ts b/apps/web/src/hooks/queries/workspace/use-get-workspace.tsdeleted file mode 100644index fc5de574b..000000000--- a/apps/web/src/hooks/queries/workspace/use-get-workspace.ts+++ /dev/null@@ -1,12 +0,0 @@-import getWorkspace from "@/fetchers/workspace/get-workspace";-import { useQuery } from "@tanstack/react-query";--function useGetWorkspace({ id }: { id: string }) {- return useQuery({- queryKey: [`workspace-${id}`],- enabled: !!id,- queryFn: () => getWorkspace({ id }),- });-}--export default useGetWorkspace;diff --git a/apps/web/src/hooks/queries/workspace/use-get-workspaces.ts b/apps/web/src/hooks/queries/workspace/use-get-workspaces.tsindex 1b0be99f8..eb11cf414 100644--- a/apps/web/src/hooks/queries/workspace/use-get-workspaces.ts+++ b/apps/web/src/hooks/queries/workspace/use-get-workspaces.ts@@ -1,15 +1,18 @@-import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";-import getWorkspaces from "@/fetchers/workspace/get-workspaces";-import { useQuery } from "@tanstack/react-query";+import { authClient } from "@/lib/auth-client";function useGetWorkspaces() {- const { user } = useAuth();+ const {+ data: organizations,+ error,+ isPending,+ } = authClient.useListOrganizations();- return useQuery({- queryFn: () => getWorkspaces(),- queryKey: ["workspaces", user?.id],- enabled: !!user?.id,- });+ return {+ data: organizations,+ error,+ isLoading: isPending,+ isError: !!error,+ };}export default useGetWorkspaces;diff --git a/apps/web/src/hooks/use-keyboard-shortcuts.ts b/apps/web/src/hooks/use-keyboard-shortcuts.tsindex 30d58c00a..42c0a2bb0 100644--- a/apps/web/src/hooks/use-keyboard-shortcuts.ts+++ b/apps/web/src/hooks/use-keyboard-shortcuts.ts@@ -1,7 +1,7 @@import React, {createContext,- useContext,useCallback,+ useContext,useEffect,useState,} from "react";@@ -49,7 +49,9 @@ export function useKeyboardShortcuts() {export function KeyboardShortcutsProvider({children,-}: { children: React.ReactNode }) {+}: {+ children: React.ReactNode;+}) {const [shortcuts, setShortcuts] = useState<Map<string, ShortcutHandler>>(new Map(),);diff --git a/apps/web/src/hooks/use-task-filters-with-labels-support.ts b/apps/web/src/hooks/use-task-filters-with-labels-support.tsnew file mode 100644index 000000000..a3e1a8b15--- /dev/null+++ b/apps/web/src/hooks/use-task-filters-with-labels-support.ts@@ -0,0 +1,166 @@+import { useQueryClient } from "@tanstack/react-query";+import { addWeeks, endOfWeek, isWithinInterval, startOfWeek } from "date-fns";+import { useCallback, useMemo, useState } from "react";+import type { ProjectWithTasks } from "@/types/project";+import type Task from "@/types/task";+import type { BoardFilters } from "./use-task-filters";++export function useTaskFiltersWithLabelsSupport(+ project: ProjectWithTasks | null | undefined,+) {+ const queryClient = useQueryClient();+ const [filters, setFilters] = useState<BoardFilters>({+ status: null,+ priority: null,+ assignee: null,+ dueDate: null,+ labels: null,+ });++ // Helper function to get cached labels for a task+ const getTaskLabels = useCallback(+ (taskId: string) => {+ const queryKey = ["labels", taskId];+ const cachedData = queryClient.getQueryData(queryKey) as+ | Array<{ id: string; name: string; color: string }>+ | undefined;+ return cachedData || [];+ },+ [queryClient],+ );++ const filterTasks = useCallback(+ (tasks: Task[]): Task[] => {+ return tasks.filter((task) => {+ if (filters.status && task.status !== filters.status) {+ return false;+ }++ if (filters.priority && task.priority !== filters.priority) {+ return false;+ }++ if (filters.assignee && task.userId !== filters.assignee) {+ return false;+ }++ if (filters.dueDate && task.dueDate) {+ const today = new Date();+ const taskDate = new Date(task.dueDate);++ switch (filters.dueDate) {+ case "Due this week": {+ const weekStart = startOfWeek(today);+ const weekEnd = endOfWeek(today);+ if (+ !isWithinInterval(taskDate, { start: weekStart, end: weekEnd })+ ) {+ return false;+ }+ break;+ }+ case "Due next week": {+ const nextWeekStart = startOfWeek(addWeeks(today, 1));+ const nextWeekEnd = endOfWeek(addWeeks(today, 1));+ if (+ !isWithinInterval(taskDate, {+ start: nextWeekStart,+ end: nextWeekEnd,+ })+ ) {+ return false;+ }+ break;+ }+ case "No due date": {+ return false;+ }+ }+ }++ if (filters.dueDate === "No due date" && task.dueDate) {+ return false;+ }++ // Label filtering+ if (filters.labels && filters.labels.length > 0) {+ const taskLabels = getTaskLabels(task.id);+ const taskLabelIds = taskLabels.map((label) => label.id);++ // Check if task has at least one of the selected labels+ const hasMatchingLabel = filters.labels.some((labelId) =>+ taskLabelIds.includes(labelId),+ );++ if (!hasMatchingLabel) {+ return false;+ }+ }++ return true;+ });+ },+ [filters, getTaskLabels],+ );++ const filteredProject = useMemo(() => {+ if (!project) return null;++ return {+ ...project,+ columns:+ project.columns?.map((column) => ({+ ...column,+ tasks: filterTasks(column.tasks),+ })) ?? [],+ };+ }, [project, filterTasks]);++ const hasActiveFilters = Object.values(filters).some(+ (filter) => filter !== null,+ );++ const clearFilters = () => {+ setFilters({+ status: null,+ priority: null,+ assignee: null,+ dueDate: null,+ labels: null,+ });+ };++ const updateFilter = (+ key: keyof BoardFilters,+ value: string | string[] | null,+ ) => {+ setFilters((prev) => ({ ...prev, [key]: value }));+ };++ const updateLabelFilter = (labelId: string) => {+ setFilters((prev) => {+ const currentLabels = prev.labels || [];+ const isSelected = currentLabels.includes(labelId);++ let newLabels: string[] | null;+ if (isSelected) {+ newLabels = currentLabels.filter((id) => id !== labelId);+ if (newLabels.length === 0) newLabels = null;+ } else {+ newLabels = [...currentLabels, labelId];+ }++ return { ...prev, labels: newLabels };+ });+ };++ return {+ filters,+ setFilters,+ updateFilter,+ updateLabelFilter,+ filteredProject,+ hasActiveFilters,+ clearFilters,+ };+}diff --git a/apps/web/src/hooks/use-task-filters.ts b/apps/web/src/hooks/use-task-filters.tsindex 462de2d28..9ea8fe180 100644--- a/apps/web/src/hooks/use-task-filters.ts+++ b/apps/web/src/hooks/use-task-filters.ts@@ -1,13 +1,14 @@-import type { ProjectWithTasks } from "@/types/project";-import type Task from "@/types/task";import { addWeeks, endOfWeek, isWithinInterval, startOfWeek } from "date-fns";import { useState } from "react";+import type { ProjectWithTasks } from "@/types/project";+import type Task from "@/types/task";export interface BoardFilters {status: string | null;priority: string | null;assignee: string | null;dueDate: string | null;+ labels: string[] | null;}export function useTaskFilters(project: ProjectWithTasks | null | undefined) {@@ -16,6 +17,7 @@ export function useTaskFilters(project: ProjectWithTasks | null | undefined) {priority: null,assignee: null,dueDate: null,+ labels: null,});const filterTasks = (tasks: Task[]): Task[] => {@@ -95,17 +97,39 @@ export function useTaskFilters(project: ProjectWithTasks | null | undefined) {priority: null,assignee: null,dueDate: null,+ labels: null,});};- const updateFilter = (key: keyof BoardFilters, value: string | null) => {+ const updateFilter = (+ key: keyof BoardFilters,+ value: string | string[] | null,+ ) => {setFilters((prev) => ({ ...prev, [key]: value }));};+ const updateLabelFilter = (labelId: string) => {+ setFilters((prev) => {+ const currentLabels = prev.labels || [];+ const isSelected = currentLabels.includes(labelId);++ let newLabels: string[] | null;+ if (isSelected) {+ newLabels = currentLabels.filter((id) => id !== labelId);+ if (newLabels.length === 0) newLabels = null;+ } else {+ newLabels = [...currentLabels, labelId];+ }++ return { ...prev, labels: newLabels };+ });+ };+return {filters,setFilters,updateFilter,+ updateLabelFilter,filteredProject,hasActiveFilters,clearFilters,diff --git a/apps/web/src/hooks/use-user-preferences-effects.ts b/apps/web/src/hooks/use-user-preferences-effects.tsindex 1e281668f..8cfad173b 100644--- a/apps/web/src/hooks/use-user-preferences-effects.ts+++ b/apps/web/src/hooks/use-user-preferences-effects.ts@@ -1,8 +1,8 @@-import { useUserPreferencesStore } from "@/store/user-preferences";import { useEffect } from "react";+import { useUserPreferencesStore } from "@/store/user-preferences";export function useUserPreferencesEffects() {- const { compactMode, theme } = useUserPreferencesStore();+ const { compactMode } = useUserPreferencesStore();useEffect(() => {const root = document.documentElement;@@ -18,20 +18,7 @@ export function useUserPreferencesEffects() {};}, [compactMode]);- useEffect(() => {- const root = document.documentElement;-- root.classList.remove("theme-light", "theme-dark", "theme-system");-- root.classList.add(`theme-${theme}`);-- return () => {- root.classList.remove("theme-light", "theme-dark", "theme-system");- };- }, [theme]);-return {compactMode,- theme,};}diff --git a/apps/web/src/hooks/use-workspace-permission.ts b/apps/web/src/hooks/use-workspace-permission.tsnew file mode 100644index 000000000..5a1205a69--- /dev/null+++ b/apps/web/src/hooks/use-workspace-permission.ts@@ -0,0 +1,114 @@+import { useMemo } from "react";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useGetActiveWorkspaceUser } from "@/hooks/queries/workspace-users/use-active-workspace-user";+import { authClient } from "@/lib/auth-client";++export type PermissionLevel = "owner" | "admin" | "member";++export function useWorkspacePermission() {+ const { data: activeWorkspace } = useActiveWorkspace();+ const { data: activeMember } = useGetActiveWorkspaceUser();++ const permissionCheckers = useMemo(+ () => ({+ // Server-side permission checking (most secure)+ async hasPermission(permissions: Record<string, string[]>) {+ try {+ const result = await authClient.organization.hasPermission({+ permissions,+ });+ return result.data || false;+ } catch (error) {+ console.error("Permission check failed:", error);+ return false;+ }+ },++ // Client-side role-based checking (faster for UI)+ checkRolePermission(permissions: Record<string, string[]>) {+ if (!activeMember?.role) return false;+ try {+ return authClient.organization.checkRolePermission({+ permissions,+ role: activeMember.role as PermissionLevel,+ });+ } catch (error) {+ console.error("Role permission check failed:", error);+ return false;+ }+ },++ // Convenience methods for common checks+ canManageProjects() {+ return this.checkRolePermission({+ project: ["create", "update", "delete"],+ });+ },++ canCreateProjects() {+ return this.checkRolePermission({ project: ["create"] });+ },++ canManageTasks() {+ return this.checkRolePermission({+ task: ["create", "update", "delete"],+ });+ },++ canAssignTasks() {+ return this.checkRolePermission({ task: ["assign"] });+ },++ canManageWorkspace() {+ return this.checkRolePermission({+ workspace: ["update", "manage_settings"],+ });+ },++ canDeleteWorkspace() {+ return this.checkRolePermission({ workspace: ["delete"] });+ },++ canInviteUsers() {+ return this.checkRolePermission({ team: ["invite"] });+ },++ canManageTeam() {+ return this.checkRolePermission({ team: ["remove", "manage_roles"] });+ },++ canRemoveMembers() {+ return this.checkRolePermission({ team: ["remove"] });+ },++ // Legacy compatibility method+ checkPermission(requiredRole: PermissionLevel = "member"): boolean {+ if (!activeWorkspace || !activeMember) return false;++ const userRole = activeMember.role as PermissionLevel;++ if (requiredRole === "owner") {+ return userRole === "owner";+ }++ if (requiredRole === "admin") {+ return ["owner", "admin"].includes(userRole);+ }++ // For member level, all roles have access+ return ["owner", "admin", "member"].includes(userRole);+ },++ isOwner: activeMember?.role === "owner",+ isAdmin: ["owner", "admin"].includes(activeMember?.role || ""),+ role: activeMember?.role as PermissionLevel | undefined,+ }),+ [activeMember, activeWorkspace],+ );++ return {+ ...permissionCheckers,+ workspace: activeWorkspace,+ member: activeMember,+ };+}diff --git a/apps/web/src/hooks/useWorkspacePermission.ts b/apps/web/src/hooks/useWorkspacePermission.tsdeleted file mode 100644index 18189bf24..000000000--- a/apps/web/src/hooks/useWorkspacePermission.ts+++ /dev/null@@ -1,28 +0,0 @@-import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";-import useWorkspaceStore from "@/store/workspace";--export type PermissionLevel = "owner" | "member";--export function useWorkspacePermission() {- const { workspace } = useWorkspaceStore();- const { user } = useAuth();-- const isOwner = workspace?.ownerId === user?.id;-- const checkPermission = (- requiredRole: PermissionLevel = "member",- ): boolean => {- if (!workspace || !user) return false;-- if (requiredRole === "owner") {- return isOwner;- }-- return isOwner;- };-- return {- isOwner,- checkPermission,- };-}diff --git a/apps/web/src/index.css b/apps/web/src/index.cssindex 22394287f..fbc822f22 100644--- a/apps/web/src/index.css+++ b/apps/web/src/index.css@@ -1,15 +1,12 @@+@import url('https://fonts.googleapis.com/css2?family=Geist:[email protected]&display=swap');@import 'tailwindcss';-@tailwind base;-@tailwind components;-@tailwind utilities;--@plugin 'tailwindcss-animate';@custom-variant dark (&:is(.dark *));@layer base {:root {color-scheme: light;+ --font-geist: 'Geist', sans-serif;--background: oklch(0.9881 0 0);--foreground: oklch(0.1881 0.0060 285.8056);--card: oklch(1.0000 0 0);@@ -61,6 +58,7 @@.dark {color-scheme: dark;+ --font-geist: 'Geist', sans-serif;--background: oklch(0.1252 0.0018 286.1313);--foreground: oklch(0.9674 0.0013 286.3752);--card: oklch(0.1717 0.0018 286.2103);@@ -145,11 +143,12 @@}body {- @apply bg-background text-foreground;+ @apply bg-background text-foreground antialiased;}}@theme inline {+ --font-geist: var(--font-geist);--color-background: var(--background);--color-foreground: var(--foreground);--color-card: var(--card);@@ -210,20 +209,6 @@.bg-card-gradient {background: var(--card-gradient);}-- .line-clamp-2 {- display: -webkit-box;- -webkit-line-clamp: 2;- -webkit-box-orient: vertical;- overflow: hidden;- }-- .line-clamp-3 {- display: -webkit-box;- -webkit-line-clamp: 3;- -webkit-box-orient: vertical;- overflow: hidden;- }}/* View Transitions for Theme Switching */@@ -312,3 +297,19 @@--primary-accent: oklch(0.6820 0.1989 272.7771);}}++* {+ font-family: var(--font-geist);+}++/* BlockNote - Hide empty trailing paragraph blocks (only when there are multiple blocks) */+.bn-block-group:has(.bn-block-outer:nth-child(2)) > .bn-block-outer:last-child .bn-block-content[data-content-type="paragraph"] {+ &:has(.bn-inline-content:only-child > .ProseMirror-trailingBreak:only-child) {+ display: none;+ }+}++/* Also hide the block outer container if it contains only an empty paragraph (only when there are multiple blocks) */+.bn-block-group:has(.bn-block-outer:nth-child(2)) > .bn-block-outer:last-child:has(.bn-block-content[data-content-type="paragraph"] .bn-inline-content:only-child > .ProseMirror-trailingBreak:only-child) {+ display: none;+}\ No newline at end of filediff --git a/apps/web/src/lib/auth-client.ts b/apps/web/src/lib/auth-client.tsindex 8e5d3acb9..312aa6c6c 100644--- a/apps/web/src/lib/auth-client.ts+++ b/apps/web/src/lib/auth-client.ts@@ -1,7 +1,25 @@-import { anonymousClient } from "better-auth/client/plugins";+import {+ anonymousClient,+ lastLoginMethodClient,+ magicLinkClient,+ organizationClient,+} from "better-auth/client/plugins";import { createAuthClient } from "better-auth/react";+import { ac, admin, member, owner } from "./permissions";export const authClient = createAuthClient({baseURL: import.meta.env.VITE_API_URL || "http://localhost:1337",- plugins: [anonymousClient()],+ plugins: [+ anonymousClient(),+ lastLoginMethodClient(),+ magicLinkClient(),+ organizationClient({+ ac,+ roles: {+ member,+ admin,+ owner,+ },+ }),+ ],});diff --git a/apps/web/src/lib/column.ts b/apps/web/src/lib/column.tsdeleted file mode 100644index c5da67487..000000000--- a/apps/web/src/lib/column.ts+++ /dev/null@@ -1,31 +0,0 @@-import { CheckCircle, Circle, Clock, Eye } from "lucide-react";--export const getColumnIcon = (columnId: string) => {- switch (columnId) {- case "to-do":- return Circle;- case "in-progress":- return Clock;- case "in-review":- return Eye;- case "done":- return CheckCircle;- default:- return Circle;- }-};--export const getColumnIconColor = (columnId: string) => {- switch (columnId) {- case "to-do":- return "text-zinc-400 dark:text-zinc-500";- case "in-progress":- return "text-yellow-500 dark:text-yellow-400";- case "in-review":- return "text-blue-500 dark:text-blue-400";- case "done":- return "text-green-500 dark:text-green-400";- default:- return "text-zinc-400 dark:text-zinc-500";- }-};diff --git a/apps/web/src/lib/column.tsx b/apps/web/src/lib/column.tsxnew file mode 100644index 000000000..504f67de9--- /dev/null+++ b/apps/web/src/lib/column.tsx@@ -0,0 +1,16 @@+import { Check, CheckCircle2, Circle, CircleDot, Search } from "lucide-react";++export const getColumnIcon = (columnId: string) => {+ switch (columnId) {+ case "to-do":+ return <Circle className="w-4 h-4 text-muted-foreground" />;+ case "in-progress":+ return <CircleDot className="w-4 h-4 text-muted-foreground" />;+ case "in-review":+ return <Search className="w-4 h-4 text-muted-foreground" />;+ case "done":+ return <CheckCircle2 className="w-4 h-4 text-muted-foreground" />;+ default:+ return <Check className="w-4 h-4 text-muted-foreground" />;+ }+};diff --git a/apps/web/src/lib/permissions.ts b/apps/web/src/lib/permissions.tsnew file mode 100644index 000000000..467227794--- /dev/null+++ b/apps/web/src/lib/permissions.ts@@ -0,0 +1,45 @@+import { createAccessControl } from "better-auth/plugins/access";+import {+ adminAc,+ defaultStatements,+ memberAc,+ ownerAc,+} from "better-auth/plugins/organization/access";++// Define custom permissions for workspace-specific resources+const statement = {+ ...defaultStatements, // Include default org/member/invitation permissions+ project: ["create", "read", "update", "delete", "share"],+ task: ["create", "read", "update", "delete", "assign"],+ workspace: ["read", "update", "delete", "manage_settings"],+ // team: ["invite", "remove", "manage_roles"],+} as const;++const ac = createAccessControl(statement);++// Custom role definitions that extend default permissions+const member = ac.newRole({+ ...memberAc.statements, // Inherit default member permissions+ project: ["create", "read"],+ task: ["create", "read", "update"],+ workspace: ["read"],+ // team: ["invite"], // Members can invite others+});++const admin = ac.newRole({+ ...adminAc.statements, // Inherit default admin permissions+ project: ["create", "read", "update", "delete", "share"],+ task: ["create", "read", "update", "delete", "assign"],+ workspace: ["read", "update", "manage_settings"],+ // team: ["invite", "remove", "manage_roles"],+});++const owner = ac.newRole({+ ...ownerAc.statements, // Inherit default owner permissions+ project: ["create", "read", "update", "delete", "share"],+ task: ["create", "read", "update", "delete", "assign"],+ workspace: ["read", "update", "delete", "manage_settings"],+ // team: ["invite", "remove", "manage_roles"],+});++export { ac, member, admin, owner, statement };diff --git a/apps/web/src/lib/priority.tsx b/apps/web/src/lib/priority.tsxnew file mode 100644index 000000000..1d6d15e03--- /dev/null+++ b/apps/web/src/lib/priority.tsx@@ -0,0 +1,24 @@+import {+ ChevronDown,+ ChevronsUp,+ ChevronUp,+ CircleAlert,+ Minus,+} from "lucide-react";++export function getPriorityIcon(priority: string) {+ switch (priority) {+ case "urgent":+ return <CircleAlert className="h-[12px] w-[12px] text-red-400/70" />;+ case "high":+ return <ChevronsUp className="h-[12px] w-[12px] text-orange-400/70" />;+ case "medium":+ return <ChevronUp className="h-[12px] w-[12px] text-amber-400/60" />;+ case "low":+ return <ChevronDown className="h-[12px] w-[12px] text-blue-400/60" />;+ case "no-priority":+ return <Minus className="h-[12px] w-[12px] text-muted-foreground" />;+ default:+ return <Minus className="h-[12px] w-[12px] text-muted-foreground" />;+ }+}diff --git a/apps/web/src/lib/utils/create-slug.ts b/apps/web/src/lib/utils/create-slug.tsnew file mode 100644index 000000000..5873eec6b--- /dev/null+++ b/apps/web/src/lib/utils/create-slug.ts@@ -0,0 +1,8 @@+export function createSlug(name: string): string {+ return name+ .toLowerCase()+ .trim()+ .replace(/[^\w\s-]/g, "") // Remove special characters+ .replace(/[\s_-]+/g, "-") // Replace spaces and underscores with hyphens+ .replace(/^-+|-+$/g, ""); // Remove leading/trailing hyphens+}diff --git a/apps/web/src/main.tsx b/apps/web/src/main.tsxindex 99548f1d0..96c8d4545 100644--- a/apps/web/src/main.tsx+++ b/apps/web/src/main.tsx@@ -1,24 +1,34 @@-import queryClient from "@/query-client";import { QueryClientProvider } from "@tanstack/react-query";-import { RouterProvider, createRouter } from "@tanstack/react-router";+import { createRouter, RouterProvider } from "@tanstack/react-router";import { StrictMode } from "react";import { createRoot } from "react-dom/client";+import queryClient from "@/query-client";import "@/index.css";import { useAuth } from "@/components/providers/auth-provider/hooks/use-auth";import AuthProvider from "./components/providers/auth-provider";import { ThemeProvider } from "./components/providers/theme-provider";-import { ErrorBoundary } from "./components/ui/error-boundary";-import { ErrorFallback } from "./components/ui/error-fallback";import { KeyboardShortcutsProvider } from "./hooks/use-keyboard-shortcuts";import { routeTree } from "./routeTree.gen";console.log(`-██╗ ██╗ █████╗ ███╗ ██╗███████╗ ██████╗-██║ ██╔╝██╔══██╗████╗ ██║██╔════╝██╔═══██╗-█████╔╝ ███████║██╔██╗ ██║█████╗ ██║ ██║-██╔═██╗ ██╔══██║██║╚██╗██║██╔══╝ ██║ ██║-██║ ██╗██║ ██║██║ ╚████║███████╗╚██████╔╝-╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝╚══════╝ ╚═════╝+ ////////+ ///// ////////+ //////// ////////+ //////// ///////// ///////+ //////// ///////// //////+ //////// ///////// ////+ //////// ///////// ///+ //////// ///////// /////+ //////// ///////// //////+ //////// ///////// ////////+ //////// ///////// ////////+ //////// ///////// ////////+ //////// ////////+ //////// /////+ ///////+++ All you need. Nothing you don't.`);const router = createRouter({@@ -48,17 +58,15 @@ if (!rootElement.innerHTML) {const root = createRoot(rootElement);root.render(<StrictMode>- <ErrorBoundary fallback={ErrorFallback}>- <QueryClientProvider client={queryClient}>- <ThemeProvider>- <AuthProvider>- <KeyboardShortcutsProvider>- <App />- </KeyboardShortcutsProvider>- </AuthProvider>- </ThemeProvider>- </QueryClientProvider>- </ErrorBoundary>+ <QueryClientProvider client={queryClient}>+ <ThemeProvider>+ <AuthProvider>+ <KeyboardShortcutsProvider>+ <App />+ </KeyboardShortcutsProvider>+ </AuthProvider>+ </ThemeProvider>+ </QueryClientProvider></StrictMode>,);}diff --git a/apps/web/src/routeTree.gen.ts b/apps/web/src/routeTree.gen.tsindex 4d1fc1e17..63c5073e6 100644--- a/apps/web/src/routeTree.gen.ts+++ b/apps/web/src/routeTree.gen.ts@@ -16,19 +16,29 @@ import { Route as IndexRouteImport } from './routes/index'import { Route as PublicProjectProjectIdRouteImport } from './routes/public-project.$projectId'import { Route as AuthSignUpRouteImport } from './routes/auth/sign-up'import { Route as AuthSignInRouteImport } from './routes/auth/sign-in'+import { Route as AuthCheckEmailRouteImport } from './routes/auth/check-email'import { Route as LayoutAuthenticatedRouteImport } from './routes/_layout/_authenticated'+import { Route as AuthAcceptInvitationInviteIdRouteImport } from './routes/auth/accept-invitation/$inviteId'+import { Route as LayoutAuthenticatedProfileSetupRouteImport } from './routes/_layout/_authenticated/profile-setup'import { Route as LayoutAuthenticatedOnboardingRouteImport } from './routes/_layout/_authenticated/onboarding'import { Route as LayoutAuthenticatedDashboardRouteImport } from './routes/_layout/_authenticated/dashboard'import { Route as LayoutAuthenticatedDashboardIndexRouteImport } from './routes/_layout/_authenticated/dashboard/index'import { Route as LayoutAuthenticatedDashboardSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/settings'+import { Route as LayoutAuthenticatedDashboardWorkspaceCreateRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/create'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId'-import { Route as LayoutAuthenticatedDashboardSettingsAppearanceRouteImport } from './routes/_layout/_authenticated/dashboard/settings/appearance'+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace'+import { Route as LayoutAuthenticatedDashboardSettingsProjectsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects'+import { Route as LayoutAuthenticatedDashboardSettingsAccountRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index'-import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members'+import { Route as LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/workspace/general'+import { Route as LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/preferences'+import { Route as LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport } from './routes/_layout/_authenticated/dashboard/settings/account/information'+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'+import { Route as LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport } from './routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index'-import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog'import { Route as LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRouteImport } from './routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'@@ -67,10 +77,27 @@ const AuthSignInRoute = AuthSignInRouteImport.update({path: '/sign-in',getParentRoute: () => AuthRoute,} as any)+const AuthCheckEmailRoute = AuthCheckEmailRouteImport.update({+ id: '/check-email',+ path: '/check-email',+ getParentRoute: () => AuthRoute,+} as any)const LayoutAuthenticatedRoute = LayoutAuthenticatedRouteImport.update({id: '/_authenticated',getParentRoute: () => LayoutRoute,} as any)+const AuthAcceptInvitationInviteIdRoute =+ AuthAcceptInvitationInviteIdRouteImport.update({+ id: '/accept-invitation/$inviteId',+ path: '/accept-invitation/$inviteId',+ getParentRoute: () => AuthRoute,+ } as any)+const LayoutAuthenticatedProfileSetupRoute =+ LayoutAuthenticatedProfileSetupRouteImport.update({+ id: '/profile-setup',+ path: '/profile-setup',+ getParentRoute: () => LayoutAuthenticatedRoute,+ } as any)const LayoutAuthenticatedOnboardingRoute =LayoutAuthenticatedOnboardingRouteImport.update({id: '/onboarding',@@ -95,16 +122,34 @@ const LayoutAuthenticatedDashboardSettingsRoute =path: '/settings',getParentRoute: () => LayoutAuthenticatedDashboardRoute,} as any)+const LayoutAuthenticatedDashboardWorkspaceCreateRoute =+ LayoutAuthenticatedDashboardWorkspaceCreateRouteImport.update({+ id: '/workspace/create',+ path: '/workspace/create',+ getParentRoute: () => LayoutAuthenticatedDashboardRoute,+ } as any)const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImport.update({id: '/workspace/$workspaceId',path: '/workspace/$workspaceId',getParentRoute: () => LayoutAuthenticatedDashboardRoute,} as any)-const LayoutAuthenticatedDashboardSettingsAppearanceRoute =- LayoutAuthenticatedDashboardSettingsAppearanceRouteImport.update({- id: '/appearance',- path: '/appearance',+const LayoutAuthenticatedDashboardSettingsWorkspaceRoute =+ LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport.update({+ id: '/workspace',+ path: '/workspace',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,+ } as any)+const LayoutAuthenticatedDashboardSettingsProjectsRoute =+ LayoutAuthenticatedDashboardSettingsProjectsRouteImport.update({+ id: '/projects',+ path: '/projects',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,+ } as any)+const LayoutAuthenticatedDashboardSettingsAccountRoute =+ LayoutAuthenticatedDashboardSettingsAccountRouteImport.update({+ id: '/account',+ path: '/account',getParentRoute: () => LayoutAuthenticatedDashboardSettingsRoute,} as any)const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =@@ -113,12 +158,6 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute =path: '/',getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,} as any)-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute =- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport.update({- id: '/settings',- path: '/settings',- getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,- } as any)const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRouteImport.update({id: '/search',@@ -131,6 +170,48 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute =path: '/members',getParentRoute: () => LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,} as any)+const LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute =+ LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport.update({+ id: '/general',+ path: '/general',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsWorkspaceRoute,+ } as any)+const LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute =+ LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport.update({+ id: '/preferences',+ path: '/preferences',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,+ } as any)+const LayoutAuthenticatedDashboardSettingsAccountInformationRoute =+ LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport.update({+ id: '/information',+ path: '/information',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsAccountRoute,+ } as any)+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute =+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport.update(+ {+ id: '/$projectId/visibility',+ path: '/$projectId/visibility',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,+ } as any,+ )+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute =+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport.update(+ {+ id: '/$projectId/integrations',+ path: '/$projectId/integrations',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,+ } as any,+ )+const LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute =+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport.update(+ {+ id: '/$projectId/general',+ path: '/$projectId/general',+ getParentRoute: () => LayoutAuthenticatedDashboardSettingsProjectsRoute,+ } as any,+ )const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImport.update({@@ -140,15 +221,6 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,} as any,)-const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute =- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport.update(- {- id: '/project/$projectId/settings',- path: '/project/$projectId/settings',- getParentRoute: () =>- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute,- } as any,- )const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute =LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRouteImport.update({@@ -181,22 +253,32 @@ export interface FileRoutesByFullPath {'/': typeof IndexRoute'/auth': typeof AuthRouteWithChildren'/test-error': typeof TestErrorRoute+ '/auth/check-email': typeof AuthCheckEmailRoute'/auth/sign-in': typeof AuthSignInRoute'/auth/sign-up': typeof AuthSignUpRoute'/public-project/$projectId': typeof PublicProjectProjectIdRoute'/dashboard': typeof LayoutAuthenticatedDashboardRouteWithChildren'/onboarding': typeof LayoutAuthenticatedOnboardingRoute+ '/profile-setup': typeof LayoutAuthenticatedProfileSetupRoute+ '/auth/accept-invitation/$inviteId': typeof AuthAcceptInvitationInviteIdRoute'/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren'/dashboard/': typeof LayoutAuthenticatedDashboardIndexRoute- '/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute+ '/dashboard/settings/account': typeof LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren+ '/dashboard/settings/projects': typeof LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren+ '/dashboard/settings/workspace': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren'/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren+ '/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute+ '/dashboard/settings/account/information': typeof LayoutAuthenticatedDashboardSettingsAccountInformationRoute+ '/dashboard/settings/account/preferences': typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute+ '/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute- '/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute'/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute+ '/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute+ '/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute+ '/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute'/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute'/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute- '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute'/dashboard/workspace/$workspaceId/project/$projectId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute'/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute}@@ -204,20 +286,30 @@ export interface FileRoutesByTo {'/': typeof IndexRoute'/auth': typeof AuthRouteWithChildren'/test-error': typeof TestErrorRoute+ '/auth/check-email': typeof AuthCheckEmailRoute'/auth/sign-in': typeof AuthSignInRoute'/auth/sign-up': typeof AuthSignUpRoute'/public-project/$projectId': typeof PublicProjectProjectIdRoute'/onboarding': typeof LayoutAuthenticatedOnboardingRoute+ '/profile-setup': typeof LayoutAuthenticatedProfileSetupRoute+ '/auth/accept-invitation/$inviteId': typeof AuthAcceptInvitationInviteIdRoute'/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren'/dashboard': typeof LayoutAuthenticatedDashboardIndexRoute- '/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute+ '/dashboard/settings/account': typeof LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren+ '/dashboard/settings/projects': typeof LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren+ '/dashboard/settings/workspace': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren+ '/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute+ '/dashboard/settings/account/information': typeof LayoutAuthenticatedDashboardSettingsAccountInformationRoute+ '/dashboard/settings/account/preferences': typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute+ '/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute'/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute- '/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute'/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute+ '/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute+ '/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute+ '/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute'/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute'/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute- '/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute'/dashboard/workspace/$workspaceId/project/$projectId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute'/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute}@@ -228,22 +320,32 @@ export interface FileRoutesById {'/auth': typeof AuthRouteWithChildren'/test-error': typeof TestErrorRoute'/_layout/_authenticated': typeof LayoutAuthenticatedRouteWithChildren+ '/auth/check-email': typeof AuthCheckEmailRoute'/auth/sign-in': typeof AuthSignInRoute'/auth/sign-up': typeof AuthSignUpRoute'/public-project/$projectId': typeof PublicProjectProjectIdRoute'/_layout/_authenticated/dashboard': typeof LayoutAuthenticatedDashboardRouteWithChildren'/_layout/_authenticated/onboarding': typeof LayoutAuthenticatedOnboardingRoute+ '/_layout/_authenticated/profile-setup': typeof LayoutAuthenticatedProfileSetupRoute+ '/auth/accept-invitation/$inviteId': typeof AuthAcceptInvitationInviteIdRoute'/_layout/_authenticated/dashboard/settings': typeof LayoutAuthenticatedDashboardSettingsRouteWithChildren'/_layout/_authenticated/dashboard/': typeof LayoutAuthenticatedDashboardIndexRoute- '/_layout/_authenticated/dashboard/settings/appearance': typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute+ '/_layout/_authenticated/dashboard/settings/account': typeof LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren+ '/_layout/_authenticated/dashboard/settings/projects': typeof LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren+ '/_layout/_authenticated/dashboard/settings/workspace': typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren'/_layout/_authenticated/dashboard/workspace/$workspaceId': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren+ '/_layout/_authenticated/dashboard/workspace/create': typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute+ '/_layout/_authenticated/dashboard/settings/account/information': typeof LayoutAuthenticatedDashboardSettingsAccountInformationRoute+ '/_layout/_authenticated/dashboard/settings/account/preferences': typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute+ '/_layout/_authenticated/dashboard/settings/workspace/general': typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/members': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/search': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute- '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/general': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility': typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute- '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_': typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute}@@ -253,22 +355,32 @@ export interface FileRouteTypes {| '/'| '/auth'| '/test-error'+ | '/auth/check-email'| '/auth/sign-in'| '/auth/sign-up'| '/public-project/$projectId'| '/dashboard'| '/onboarding'+ | '/profile-setup'+ | '/auth/accept-invitation/$inviteId'| '/dashboard/settings'| '/dashboard/'- | '/dashboard/settings/appearance'+ | '/dashboard/settings/account'+ | '/dashboard/settings/projects'+ | '/dashboard/settings/workspace'| '/dashboard/workspace/$workspaceId'+ | '/dashboard/workspace/create'+ | '/dashboard/settings/account/information'+ | '/dashboard/settings/account/preferences'+ | '/dashboard/settings/workspace/general'| '/dashboard/workspace/$workspaceId/members'| '/dashboard/workspace/$workspaceId/search'- | '/dashboard/workspace/$workspaceId/settings'| '/dashboard/workspace/$workspaceId/'+ | '/dashboard/settings/projects/$projectId/general'+ | '/dashboard/settings/projects/$projectId/integrations'+ | '/dashboard/settings/projects/$projectId/visibility'| '/dashboard/workspace/$workspaceId/project/$projectId/backlog'| '/dashboard/workspace/$workspaceId/project/$projectId/board'- | '/dashboard/workspace/$workspaceId/project/$projectId/settings'| '/dashboard/workspace/$workspaceId/project/$projectId'| '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId'fileRoutesByTo: FileRoutesByTo@@ -276,20 +388,30 @@ export interface FileRouteTypes {| '/'| '/auth'| '/test-error'+ | '/auth/check-email'| '/auth/sign-in'| '/auth/sign-up'| '/public-project/$projectId'| '/onboarding'+ | '/profile-setup'+ | '/auth/accept-invitation/$inviteId'| '/dashboard/settings'| '/dashboard'- | '/dashboard/settings/appearance'+ | '/dashboard/settings/account'+ | '/dashboard/settings/projects'+ | '/dashboard/settings/workspace'+ | '/dashboard/workspace/create'+ | '/dashboard/settings/account/information'+ | '/dashboard/settings/account/preferences'+ | '/dashboard/settings/workspace/general'| '/dashboard/workspace/$workspaceId/members'| '/dashboard/workspace/$workspaceId/search'- | '/dashboard/workspace/$workspaceId/settings'| '/dashboard/workspace/$workspaceId'+ | '/dashboard/settings/projects/$projectId/general'+ | '/dashboard/settings/projects/$projectId/integrations'+ | '/dashboard/settings/projects/$projectId/visibility'| '/dashboard/workspace/$workspaceId/project/$projectId/backlog'| '/dashboard/workspace/$workspaceId/project/$projectId/board'- | '/dashboard/workspace/$workspaceId/project/$projectId/settings'| '/dashboard/workspace/$workspaceId/project/$projectId'| '/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId'id:@@ -299,22 +421,32 @@ export interface FileRouteTypes {| '/auth'| '/test-error'| '/_layout/_authenticated'+ | '/auth/check-email'| '/auth/sign-in'| '/auth/sign-up'| '/public-project/$projectId'| '/_layout/_authenticated/dashboard'| '/_layout/_authenticated/onboarding'+ | '/_layout/_authenticated/profile-setup'+ | '/auth/accept-invitation/$inviteId'| '/_layout/_authenticated/dashboard/settings'| '/_layout/_authenticated/dashboard/'- | '/_layout/_authenticated/dashboard/settings/appearance'+ | '/_layout/_authenticated/dashboard/settings/account'+ | '/_layout/_authenticated/dashboard/settings/projects'+ | '/_layout/_authenticated/dashboard/settings/workspace'| '/_layout/_authenticated/dashboard/workspace/$workspaceId'+ | '/_layout/_authenticated/dashboard/workspace/create'+ | '/_layout/_authenticated/dashboard/settings/account/information'+ | '/_layout/_authenticated/dashboard/settings/account/preferences'+ | '/_layout/_authenticated/dashboard/settings/workspace/general'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/members'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'- | '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/'+ | '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'+ | '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'+ | '/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'- | '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/'| '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_'fileRoutesById: FileRoutesById@@ -378,6 +510,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AuthSignInRouteImportparentRoute: typeof AuthRoute}+ '/auth/check-email': {+ id: '/auth/check-email'+ path: '/check-email'+ fullPath: '/auth/check-email'+ preLoaderRoute: typeof AuthCheckEmailRouteImport+ parentRoute: typeof AuthRoute+ }'/_layout/_authenticated': {id: '/_layout/_authenticated'path: ''@@ -385,6 +524,20 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedRouteImportparentRoute: typeof LayoutRoute}+ '/auth/accept-invitation/$inviteId': {+ id: '/auth/accept-invitation/$inviteId'+ path: '/accept-invitation/$inviteId'+ fullPath: '/auth/accept-invitation/$inviteId'+ preLoaderRoute: typeof AuthAcceptInvitationInviteIdRouteImport+ parentRoute: typeof AuthRoute+ }+ '/_layout/_authenticated/profile-setup': {+ id: '/_layout/_authenticated/profile-setup'+ path: '/profile-setup'+ fullPath: '/profile-setup'+ preLoaderRoute: typeof LayoutAuthenticatedProfileSetupRouteImport+ parentRoute: typeof LayoutAuthenticatedRoute+ }'/_layout/_authenticated/onboarding': {id: '/_layout/_authenticated/onboarding'path: '/onboarding'@@ -413,6 +566,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsRouteImportparentRoute: typeof LayoutAuthenticatedDashboardRoute}+ '/_layout/_authenticated/dashboard/workspace/create': {+ id: '/_layout/_authenticated/dashboard/workspace/create'+ path: '/workspace/create'+ fullPath: '/dashboard/workspace/create'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardRoute+ }'/_layout/_authenticated/dashboard/workspace/$workspaceId': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId'path: '/workspace/$workspaceId'@@ -420,11 +580,25 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteImportparentRoute: typeof LayoutAuthenticatedDashboardRoute}- '/_layout/_authenticated/dashboard/settings/appearance': {- id: '/_layout/_authenticated/dashboard/settings/appearance'- path: '/appearance'- fullPath: '/dashboard/settings/appearance'- preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAppearanceRouteImport+ '/_layout/_authenticated/dashboard/settings/workspace': {+ id: '/_layout/_authenticated/dashboard/settings/workspace'+ path: '/workspace'+ fullPath: '/dashboard/settings/workspace'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute+ }+ '/_layout/_authenticated/dashboard/settings/projects': {+ id: '/_layout/_authenticated/dashboard/settings/projects'+ path: '/projects'+ fullPath: '/dashboard/settings/projects'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute+ }+ '/_layout/_authenticated/dashboard/settings/account': {+ id: '/_layout/_authenticated/dashboard/settings/account'+ path: '/account'+ fullPath: '/dashboard/settings/account'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRouteImportparentRoute: typeof LayoutAuthenticatedDashboardSettingsRoute}'/_layout/_authenticated/dashboard/workspace/$workspaceId/': {@@ -434,13 +608,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteImportparentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute}- '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings': {- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/settings'- path: '/settings'- fullPath: '/dashboard/workspace/$workspaceId/settings'- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteImport- parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute- }'/_layout/_authenticated/dashboard/workspace/$workspaceId/search': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/search'path: '/search'@@ -455,6 +622,48 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteImportparentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute}+ '/_layout/_authenticated/dashboard/settings/workspace/general': {+ id: '/_layout/_authenticated/dashboard/settings/workspace/general'+ path: '/general'+ fullPath: '/dashboard/settings/workspace/general'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRoute+ }+ '/_layout/_authenticated/dashboard/settings/account/preferences': {+ id: '/_layout/_authenticated/dashboard/settings/account/preferences'+ path: '/preferences'+ fullPath: '/dashboard/settings/account/preferences'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute+ }+ '/_layout/_authenticated/dashboard/settings/account/information': {+ id: '/_layout/_authenticated/dashboard/settings/account/information'+ path: '/information'+ fullPath: '/dashboard/settings/account/information'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsAccountInformationRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRoute+ }+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility': {+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility'+ path: '/$projectId/visibility'+ fullPath: '/dashboard/settings/projects/$projectId/visibility'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute+ }+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations': {+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations'+ path: '/$projectId/integrations'+ fullPath: '/dashboard/settings/projects/$projectId/integrations'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute+ }+ '/_layout/_authenticated/dashboard/settings/projects/$projectId/general': {+ id: '/_layout/_authenticated/dashboard/settings/projects/$projectId/general'+ path: '/$projectId/general'+ fullPath: '/dashboard/settings/projects/$projectId/general'+ preLoaderRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRouteImport+ parentRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRoute+ }'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/'path: '/project/$projectId'@@ -462,13 +671,6 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteImportparentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute}- '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings': {- id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings'- path: '/project/$projectId/settings'- fullPath: '/dashboard/workspace/$workspaceId/project/$projectId/settings'- preLoaderRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteImport- parentRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute- }'/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board': {id: '/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board'path: '/project/$projectId/board'@@ -493,14 +695,74 @@ declare module '@tanstack/react-router' {}}+interface LayoutAuthenticatedDashboardSettingsAccountRouteChildren {+ LayoutAuthenticatedDashboardSettingsAccountInformationRoute: typeof LayoutAuthenticatedDashboardSettingsAccountInformationRoute+ LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute: typeof LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute+}++const LayoutAuthenticatedDashboardSettingsAccountRouteChildren: LayoutAuthenticatedDashboardSettingsAccountRouteChildren =+ {+ LayoutAuthenticatedDashboardSettingsAccountInformationRoute:+ LayoutAuthenticatedDashboardSettingsAccountInformationRoute,+ LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute:+ LayoutAuthenticatedDashboardSettingsAccountPreferencesRoute,+ }++const LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren =+ LayoutAuthenticatedDashboardSettingsAccountRoute._addFileChildren(+ LayoutAuthenticatedDashboardSettingsAccountRouteChildren,+ )++interface LayoutAuthenticatedDashboardSettingsProjectsRouteChildren {+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute+}++const LayoutAuthenticatedDashboardSettingsProjectsRouteChildren: LayoutAuthenticatedDashboardSettingsProjectsRouteChildren =+ {+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute:+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdGeneralRoute,+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute:+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdIntegrationsRoute,+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute:+ LayoutAuthenticatedDashboardSettingsProjectsProjectIdVisibilityRoute,+ }++const LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren =+ LayoutAuthenticatedDashboardSettingsProjectsRoute._addFileChildren(+ LayoutAuthenticatedDashboardSettingsProjectsRouteChildren,+ )++interface LayoutAuthenticatedDashboardSettingsWorkspaceRouteChildren {+ LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute+}++const LayoutAuthenticatedDashboardSettingsWorkspaceRouteChildren: LayoutAuthenticatedDashboardSettingsWorkspaceRouteChildren =+ {+ LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute:+ LayoutAuthenticatedDashboardSettingsWorkspaceGeneralRoute,+ }++const LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren =+ LayoutAuthenticatedDashboardSettingsWorkspaceRoute._addFileChildren(+ LayoutAuthenticatedDashboardSettingsWorkspaceRouteChildren,+ )+interface LayoutAuthenticatedDashboardSettingsRouteChildren {- LayoutAuthenticatedDashboardSettingsAppearanceRoute: typeof LayoutAuthenticatedDashboardSettingsAppearanceRoute+ LayoutAuthenticatedDashboardSettingsAccountRoute: typeof LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren+ LayoutAuthenticatedDashboardSettingsProjectsRoute: typeof LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren+ LayoutAuthenticatedDashboardSettingsWorkspaceRoute: typeof LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren}const LayoutAuthenticatedDashboardSettingsRouteChildren: LayoutAuthenticatedDashboardSettingsRouteChildren ={- LayoutAuthenticatedDashboardSettingsAppearanceRoute:- LayoutAuthenticatedDashboardSettingsAppearanceRoute,+ LayoutAuthenticatedDashboardSettingsAccountRoute:+ LayoutAuthenticatedDashboardSettingsAccountRouteWithChildren,+ LayoutAuthenticatedDashboardSettingsProjectsRoute:+ LayoutAuthenticatedDashboardSettingsProjectsRouteWithChildren,+ LayoutAuthenticatedDashboardSettingsWorkspaceRoute:+ LayoutAuthenticatedDashboardSettingsWorkspaceRouteWithChildren,}const LayoutAuthenticatedDashboardSettingsRouteWithChildren =@@ -511,11 +773,9 @@ const LayoutAuthenticatedDashboardSettingsRouteWithChildren =interface LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren {LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute}@@ -526,16 +786,12 @@ const LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteChildren: LayoutAutheLayoutAuthenticatedDashboardWorkspaceWorkspaceIdMembersRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSearchRoute,- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute:- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdSettingsRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdIndexRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBacklogRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdBoardRoute,- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute:- LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdSettingsRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdIndexRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdProjectProjectIdTaskTaskIdRoute:@@ -551,6 +807,7 @@ interface LayoutAuthenticatedDashboardRouteChildren {LayoutAuthenticatedDashboardSettingsRoute: typeof LayoutAuthenticatedDashboardSettingsRouteWithChildrenLayoutAuthenticatedDashboardIndexRoute: typeof LayoutAuthenticatedDashboardIndexRouteLayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute: typeof LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren+ LayoutAuthenticatedDashboardWorkspaceCreateRoute: typeof LayoutAuthenticatedDashboardWorkspaceCreateRoute}const LayoutAuthenticatedDashboardRouteChildren: LayoutAuthenticatedDashboardRouteChildren =@@ -561,6 +818,8 @@ const LayoutAuthenticatedDashboardRouteChildren: LayoutAuthenticatedDashboardRouLayoutAuthenticatedDashboardIndexRoute,LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRoute:LayoutAuthenticatedDashboardWorkspaceWorkspaceIdRouteWithChildren,+ LayoutAuthenticatedDashboardWorkspaceCreateRoute:+ LayoutAuthenticatedDashboardWorkspaceCreateRoute,}const LayoutAuthenticatedDashboardRouteWithChildren =@@ -571,12 +830,14 @@ const LayoutAuthenticatedDashboardRouteWithChildren =interface LayoutAuthenticatedRouteChildren {LayoutAuthenticatedDashboardRoute: typeof LayoutAuthenticatedDashboardRouteWithChildrenLayoutAuthenticatedOnboardingRoute: typeof LayoutAuthenticatedOnboardingRoute+ LayoutAuthenticatedProfileSetupRoute: typeof LayoutAuthenticatedProfileSetupRoute}const LayoutAuthenticatedRouteChildren: LayoutAuthenticatedRouteChildren = {LayoutAuthenticatedDashboardRoute:LayoutAuthenticatedDashboardRouteWithChildren,LayoutAuthenticatedOnboardingRoute: LayoutAuthenticatedOnboardingRoute,+ LayoutAuthenticatedProfileSetupRoute: LayoutAuthenticatedProfileSetupRoute,}const LayoutAuthenticatedRouteWithChildren =@@ -594,13 +855,17 @@ const LayoutRouteWithChildren =LayoutRoute._addFileChildren(LayoutRouteChildren)interface AuthRouteChildren {+ AuthCheckEmailRoute: typeof AuthCheckEmailRouteAuthSignInRoute: typeof AuthSignInRouteAuthSignUpRoute: typeof AuthSignUpRoute+ AuthAcceptInvitationInviteIdRoute: typeof AuthAcceptInvitationInviteIdRoute}const AuthRouteChildren: AuthRouteChildren = {+ AuthCheckEmailRoute: AuthCheckEmailRoute,AuthSignInRoute: AuthSignInRoute,AuthSignUpRoute: AuthSignUpRoute,+ AuthAcceptInvitationInviteIdRoute: AuthAcceptInvitationInviteIdRoute,}const AuthRouteWithChildren = AuthRoute._addFileChildren(AuthRouteChildren)diff --git a/apps/web/src/routes/__root.tsx b/apps/web/src/routes/__root.tsxindex 9b6ecc953..edec80989 100644--- a/apps/web/src/routes/__root.tsx+++ b/apps/web/src/routes/__root.tsx@@ -1,8 +1,8 @@-import { useUserPreferencesStore } from "@/store/user-preferences";-import type { User } from "@/types/user";import type { QueryClient } from "@tanstack/react-query";-import { Outlet, createRootRouteWithContext } from "@tanstack/react-router";+import { createRootRouteWithContext, Outlet } from "@tanstack/react-router";import { Toaster } from "sonner";+import { useUserPreferencesStore } from "@/store/user-preferences";+import type { User } from "@/types/user";export const Route = createRootRouteWithContext<{queryClient: QueryClient;diff --git a/apps/web/src/routes/_layout.tsx b/apps/web/src/routes/_layout.tsxindex 999e2ff1b..da6ad0e98 100644--- a/apps/web/src/routes/_layout.tsx+++ b/apps/web/src/routes/_layout.tsx@@ -1,7 +1,7 @@+import { createFileRoute, Outlet } from "@tanstack/react-router";+import { useState } from "react";import CommandPalette from "@/components/command-palette";import SearchCommandMenu from "@/components/search-command-menu";-import { Outlet, createFileRoute } from "@tanstack/react-router";-import { useState } from "react";// layout for the main appexport const Route = createFileRoute("/_layout")({diff --git a/apps/web/src/routes/_layout/_authenticated.tsx b/apps/web/src/routes/_layout/_authenticated.tsxindex 012107f5f..05da1002a 100644--- a/apps/web/src/routes/_layout/_authenticated.tsx+++ b/apps/web/src/routes/_layout/_authenticated.tsx@@ -1,5 +1,5 @@-import { authClient } from "@/lib/auth-client";import { createFileRoute, redirect } from "@tanstack/react-router";+import { authClient } from "@/lib/auth-client";// protects all child routes, must be logged inexport const Route = createFileRoute("/_layout/_authenticated")({diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard.tsxindex 683f96482..e8915c7b4 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard.tsx@@ -1,21 +1,19 @@+import { createFileRoute, Outlet } from "@tanstack/react-router";import PageTitle from "@/components/page-title";import { SidebarProvider } from "@/components/ui/sidebar";-import useWorkspaceStore from "@/store/workspace";-import { Outlet, createFileRoute } from "@tanstack/react-router";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";export const Route = createFileRoute("/_layout/_authenticated/dashboard")({component: DashboardLayoutComponent,});function DashboardLayoutComponent() {- const { workspace } = useWorkspaceStore();+ const { data: workspace } = useActiveWorkspace();return (- <>- <SidebarProvider>- <PageTitle title="Dashboard" hideAppName={!workspace?.name} />- <Outlet />- </SidebarProvider>- </>+ <SidebarProvider>+ <PageTitle title="Projects" hideAppName={!workspace?.name} />+ <Outlet />+ </SidebarProvider>);}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsxindex 294f07667..fda3c9cfc 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/index.tsx@@ -1,12 +1,37 @@+import { createFileRoute, redirect } from "@tanstack/react-router";import getWorkspaces from "@/fetchers/workspace/get-workspaces";+import { authClient } from "@/lib/auth-client";import { useUserPreferencesStore } from "@/store/user-preferences";import type Workspace from "@/types/workspace";-import { createFileRoute, redirect } from "@tanstack/react-router";export const Route = createFileRoute("/_layout/_authenticated/dashboard/")({beforeLoad: async () => {const workspaces: Workspace[] = await getWorkspaces();+ const pendingInvitation = document.cookie+ .split(";")+ .find((cookie) => cookie.trim().startsWith("pending_invitation="))+ ?.split("=")[1];++ if (pendingInvitation) {+ const { data } = await authClient.organization.acceptInvitation({+ invitationId: pendingInvitation,+ });++ authClient.organization.setActive({+ organizationId: data?.invitation.organizationId,+ });++ // biome-ignore lint/suspicious/noDocumentCookie: we need to set the cookie to the invite id+ document.cookie =+ "pending_invitation=; path=/; max-age=0; expires=Thu, 01 Jan 1970 00:00:00 GMT";++ throw redirect({+ to: "/dashboard/workspace/$workspaceId",+ params: { workspaceId: data?.invitation.organizationId || "" },+ });+ }+const { activeWorkspaceId } = useUserPreferencesStore.getState();if (workspaces && workspaces.length > 0) {@@ -14,6 +39,9 @@ export const Route = createFileRoute("/_layout/_authenticated/dashboard/")({activeWorkspaceId &&workspaces.some((ws) => ws.id === activeWorkspaceId)) {+ authClient.organization.setActive({+ organizationId: activeWorkspaceId,+ });throw redirect({to: "/dashboard/workspace/$workspaceId",params: { workspaceId: activeWorkspaceId },@@ -26,12 +54,15 @@ export const Route = createFileRoute("/_layout/_authenticated/dashboard/")({activeWorkspaceId: firstWorkspace.id,});+ authClient.organization.setActive({+ organizationId: firstWorkspace.id,+ });+throw redirect({to: "/dashboard/workspace/$workspaceId",params: { workspaceId: firstWorkspace.id },});}-throw redirect({ to: "/onboarding" });},});diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsxindex 1f7b5a972..61667b2d0 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings.tsx@@ -1,4 +1,15 @@-import { Outlet, createFileRoute } from "@tanstack/react-router";+import {+ createFileRoute,+ Outlet,+ useLocation,+ useNavigate,+} from "@tanstack/react-router";+import { ChevronLeft } from "lucide-react";+import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";+import useGetProjects from "@/hooks/queries/project/use-get-projects";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";export const Route = createFileRoute("/_layout/_authenticated/dashboard/settings",@@ -7,5 +18,90 @@ export const Route = createFileRoute(});function SettingsLayout() {- return <Outlet />;+ const navigate = useNavigate();+ const location = useLocation();+ const { data: workspace } = useActiveWorkspace();+ const { data: projects } = useGetProjects({+ workspaceId: workspace?.id ?? "",+ });++ const getActiveTab = () => {+ const pathname = location.pathname;+ if (pathname.includes("/dashboard/settings/account")) {+ return "account";+ }+ if (pathname.includes("/dashboard/settings/workspace")) {+ return "workspace";+ }+ if (pathname.includes("/dashboard/settings/projects")) {+ return "project";+ }+ return "account";+ };++ const activeTab = getActiveTab();++ return (+ <>+ <PageTitle title="Settings" />+ <div className="flex flex-col gap-4 p-4 bg-sidebar w-full h-full">+ <div className="flex flex-col gap-4 bg-card h-full border border-border rounded-md p-4 relative overflow-hidden">+ <div>+ <Button+ variant="ghost"+ size="sm"+ onClick={() =>+ navigate({+ to: "/dashboard/workspace/$workspaceId",+ params: { workspaceId: workspace?.id ?? "" },+ })+ }+ >+ <ChevronLeft className=" border border-border rounded-md p-1 size-6" />+ Back to Workspace+ </Button>++ <h1 className="text-2xl font-bold pl-2 mt-2">Settings</h1>++ <Tabs value={activeTab} className="w-[400px] pt-2">+ <TabsList className="bg-sidebar gap-2">+ <TabsTrigger+ className="[&[data-state=active]]:border [&[data-state=active]]:border-border [&[data-state=active]]:rounded-md [&[data-state=active]]:bg-card"+ value="account"+ onClick={() =>+ navigate({ to: "/dashboard/settings/account/information" })+ }+ >+ Account+ </TabsTrigger>+ <TabsTrigger+ value="workspace"+ className="[&[data-state=active]]:border [&[data-state=active]]:border-border [&[data-state=active]]:rounded-md [&[data-state=active]]:bg-card"+ onClick={() =>+ navigate({ to: "/dashboard/settings/workspace/general" })+ }+ >+ Workspace+ </TabsTrigger>+ <TabsTrigger+ disabled={projects?.length === 0}+ value="project"+ className="[&[data-state=active]]:border [&[data-state=active]]:border-border [&[data-state=active]]:rounded-md [&[data-state=active]]:bg-card"+ onClick={() =>+ navigate({ to: "/dashboard/settings/projects" })+ }+ >+ Projects+ </TabsTrigger>+ </TabsList>+ </Tabs>+ </div>++ <div className="flex-1 overflow-y-auto">+ <Outlet />+ </div>+ </div>+ </div>+ </>+ );}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account.tsxnew file mode 100644index 000000000..fa1844bda--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account.tsx@@ -0,0 +1,85 @@+import {+ createFileRoute,+ Link,+ Outlet,+ useLocation,+} from "@tanstack/react-router";+import { Settings, User } from "lucide-react";+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { cn } from "@/lib/cn";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/account",+)({+ component: RouteComponent,+});++const menuItems = [+ {+ title: "Information",+ url: "/dashboard/settings/account/information",+ icon: User,+ },+ {+ title: "Preferences",+ url: "/dashboard/settings/account/preferences",+ icon: Settings,+ },+];++function RouteComponent() {+ const { user } = useAuth();+ const location = useLocation();++ return (+ <div className="flex gap-6 h-full">+ <div className="w-64 flex-shrink-0">+ <div className="p-4 h-fit">+ <div className="flex items-center gap-3 mb-6">+ <Avatar className="h-10 w-10">+ <AvatarImage src={user?.image ?? ""} alt={user?.name || ""} />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <div className="flex flex-col">+ <p className="text-sm font-medium">{user?.name}</p>+ <p className="text-xs text-muted-foreground">{user?.email}</p>+ </div>+ </div>++ <div className="space-y-4">+ <div>+ <h3 className="text-xs font-medium text-muted-foreground uppercase tracking-wider mb-2">+ Account+ </h3>+ <nav className="space-y-0.5">+ {menuItems.map((item) => (+ <Link+ key={item.title}+ to={item.url}+ className={cn(+ "flex items-center gap-2 px-2 py-1.5 text-xs rounded-sm transition-colors",+ "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",+ location.pathname === item.url+ ? "bg-sidebar-accent text-sidebar-accent-foreground font-medium"+ : "text-muted-foreground",+ )}+ >+ <item.icon className="h-3.5 w-3.5" />+ <span>{item.title}</span>+ </Link>+ ))}+ </nav>+ </div>+ </div>+ </div>+ </div>++ <div className="flex-1 min-w-0 overflow-y-auto">+ <Outlet />+ </div>+ </div>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsxnew file mode 100644index 000000000..5191e190a--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/information.tsx@@ -0,0 +1,213 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useQueryClient } from "@tanstack/react-query";+import { createFileRoute } from "@tanstack/react-router";+import { useCallback, useEffect, useRef } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod";+import PageTitle from "@/components/page-title";+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import { Separator } from "@/components/ui/separator";+import useUpdateUserProfile from "@/hooks/mutations/use-update-user-profile";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/account/information",+)({+ component: RouteComponent,+});++type ProfileFormValues = {+ name: string;+ email: string;+};++const profileSchema = z.object({+ name: z+ .string()+ .min(1, "Name is required")+ .min(2, "Name must be at least 2 characters"),+ email: z.string().email("Invalid email address"),+});++function RouteComponent() {+ const { user } = useAuth();+ const queryClient = useQueryClient();+ const { mutateAsync: updateProfile } = useUpdateUserProfile();+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);+ const debouncedSaveRef = useRef<(data: ProfileFormValues) => void>(() => {});++ const profileForm = useForm<ProfileFormValues>({+ resolver: standardSchemaResolver(profileSchema),+ defaultValues: {+ name: user?.name || "",+ email: user?.email || "",+ },+ });++ useEffect(() => {+ if (user && !profileForm.formState.isDirty) {+ profileForm.reset({+ name: user.name || "",+ email: user.email || "",+ });+ }+ }, [user, profileForm]);++ const saveProfile = useCallback(+ async (data: ProfileFormValues) => {+ try {+ await updateProfile({+ name: data.name.trim(),+ });++ profileForm.reset(data, { keepDirty: false });++ await queryClient.invalidateQueries({ queryKey: ["session"] });+ toast.success("Profile updated successfully");+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update profile",+ );+ }+ },+ [updateProfile, queryClient, profileForm],+ );++ const debouncedSave = useCallback(+ (data: ProfileFormValues) => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }++ debounceTimeoutRef.current = setTimeout(() => {+ saveProfile(data);+ }, 1000);+ },+ [saveProfile],+ );++ debouncedSaveRef.current = debouncedSave;++ useEffect(() => {+ const subscription = profileForm.watch((data) => {+ if (profileForm.formState.isDirty && profileForm.formState.isValid) {+ debouncedSaveRef.current?.(data as ProfileFormValues);+ }+ });++ return () => subscription.unsubscribe();+ }, [profileForm]);++ useEffect(() => {+ return () => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }+ };+ }, []);++ return (+ <>+ <PageTitle title="Personal Information" />+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">Personal Information</h1>+ <p className="text-muted-foreground">+ Manage your personal details and account information.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Account Information</h2>+ <p className="text-xs text-muted-foreground">+ Manage your profile and account details.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Profile picture</p>+ </div>+ <Avatar className="h-10 w-10">+ <AvatarImage src={user?.image ?? ""} alt={user?.name || ""} />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ </div>++ <Separator />++ <Form {...profileForm}>+ <form className="space-y-4">+ <FormField+ control={profileForm.control}+ name="name"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Full name+ </FormLabel>+ </div>+ <FormControl>+ <Input+ className="w-48"+ placeholder="Enter your name"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={profileForm.control}+ name="email"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ </FormLabel>+ </div>+ <FormControl>+ <Input+ className="w-48"+ placeholder="Enter your email"+ {...field}+ disabled+ value={user?.email || ""}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />+ </form>+ </Form>+ </div>+ </div>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsxnew file mode 100644index 000000000..4855035cf--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/account/preferences.tsx@@ -0,0 +1,243 @@+import { createFileRoute } from "@tanstack/react-router";+import { LayoutGrid, List, RotateCcw } from "lucide-react";+import { Button } from "@/components/ui/button";+import { Label } from "@/components/ui/label";+import {+ Select,+ SelectContent,+ SelectItem,+ SelectTrigger,+ SelectValue,+} from "@/components/ui/select";+import { Separator } from "@/components/ui/separator";+import { Switch } from "@/components/ui/switch";+import { useUserPreferencesStore } from "@/store/user-preferences";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/account/preferences",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const {+ theme,+ setTheme,+ viewMode,+ setViewMode,+ compactMode,+ setCompactMode,+ showTaskNumbers,+ setShowTaskNumbers,+ showAssignees,+ setShowAssignees,+ showDueDates,+ setShowDueDates,+ showLabels,+ setShowLabels,+ showPriority,+ setShowPriority,+ resetDisplayPreferences,+ sidebarDefaultOpen,+ setSidebarDefaultOpen,+ } = useUserPreferencesStore();++ return (+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">Preferences</h1>+ <p className="text-muted-foreground">+ Customize your Kaneo experience.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Appearance</h2>+ <p className="text-xs text-muted-foreground">+ Visual settings and layout preferences.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Theme</Label>+ <p className="text-xs text-muted-foreground">+ Choose your preferred color scheme+ </p>+ </div>+ <Select value={theme} onValueChange={setTheme}>+ <SelectTrigger className="!py-4">+ <SelectValue placeholder="Select a theme" />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="light">+ <div className="flex items-center gap-3">+ <div className="flex items-center gap-1 bg-[#F4F4F5] rounded-md p-1 border border-border">+ <span className="rounded-full size-2 bg-primary" />+ <span className="text-xs font-normal text-black">Aa</span>+ </div>+ <span className="text-xs font-normal">Light</span>+ </div>+ </SelectItem>+ <SelectItem value="dark">+ <div className="flex items-center gap-3">+ <div className="flex items-center gap-1 bg-[#18181B] rounded-md p-1 border border-border">+ <span className="rounded-full size-2 bg-primary" />+ <span className="text-xs font-normal text-white">Aa</span>+ </div>+ <span className="text-xs font-normal">Dark</span>+ </div>+ </SelectItem>+ </SelectContent>+ </Select>+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Default View</Label>+ <p className="text-xs text-muted-foreground">+ Choose your preferred task view mode+ </p>+ </div>+ <Select value={viewMode} onValueChange={setViewMode}>+ <SelectTrigger className="!py-4">+ <SelectValue placeholder="Select a view mode" />+ </SelectTrigger>+ <SelectContent>+ <SelectItem value="board">+ <div className="flex items-center gap-3">+ <LayoutGrid className="h-4 w-4 mr-1" />+ <span className="text-xs font-normal">Board</span>+ </div>+ </SelectItem>+ <SelectItem value="list">+ <div className="flex items-center gap-3">+ <List className="h-4 w-4 mr-1" />+ <span className="text-xs font-normal">List</span>+ </div>+ </SelectItem>+ </SelectContent>+ </Select>+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Compact Mode</Label>+ <p className="text-xs text-muted-foreground">+ Use reduced spacing for more content+ </p>+ </div>+ <Switch checked={compactMode} onCheckedChange={setCompactMode} />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Sidebar Default</Label>+ <p className="text-xs text-muted-foreground">+ Keep sidebar expanded on startup+ </p>+ </div>+ <Switch+ checked={sidebarDefaultOpen}+ onCheckedChange={setSidebarDefaultOpen}+ />+ </div>+ </div>+ </div>++ <div className="space-y-6">+ <div className="flex items-center justify-between">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Display options</h2>+ <p className="text-xs text-muted-foreground">+ Choose which information to show in task views+ </p>+ </div>+ <Button+ variant="outline"+ size="xs"+ onClick={resetDisplayPreferences}+ className="flex items-center gap-2"+ >+ <RotateCcw className="h-4 w-4" />+ Reset+ </Button>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Task Numbers</Label>+ <p className="text-xs text-muted-foreground">+ Show task IDs and numbers+ </p>+ </div>+ <Switch+ checked={showTaskNumbers}+ onCheckedChange={setShowTaskNumbers}+ />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Assignees</Label>+ <p className="text-xs text-muted-foreground">+ Show who's assigned to tasks+ </p>+ </div>+ <Switch+ checked={showAssignees}+ onCheckedChange={setShowAssignees}+ />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Due Dates</Label>+ <p className="text-xs text-muted-foreground">+ Display task deadlines+ </p>+ </div>+ <Switch checked={showDueDates} onCheckedChange={setShowDueDates} />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Labels</Label>+ <p className="text-xs text-muted-foreground">+ Show task labels and tags+ </p>+ </div>+ <Switch checked={showLabels} onCheckedChange={setShowLabels} />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Priority</Label>+ <p className="text-xs text-muted-foreground">+ Display priority indicators+ </p>+ </div>+ <Switch checked={showPriority} onCheckedChange={setShowPriority} />+ </div>+ </div>+ </div>+ </div>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsxdeleted file mode 100644index 39a3b46b9..000000000--- a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/appearance.tsx+++ /dev/null@@ -1,228 +0,0 @@-import { SettingsLayout, SettingsSection } from "@/components/settings-layout";-import { Label } from "@/components/ui/label";-import { Switch } from "@/components/ui/switch";-import { cn } from "@/lib/cn";-import { useUserPreferencesStore } from "@/store/user-preferences";-import { createFileRoute } from "@tanstack/react-router";-import { motion } from "framer-motion";-import {- Calendar,- Eye,- Flag,- Hash,- Layout,- Monitor,- Moon,- Sun,- Tag,- Users,-} from "lucide-react";--export const Route = createFileRoute(- "/_layout/_authenticated/dashboard/settings/appearance",-)({- component: UserSettings,-});--function UserSettings() {- const {- theme: selectedTheme,- setTheme,- compactMode,- setCompactMode,- showTaskNumbers,- setShowTaskNumbers,- showAssignees,- setShowAssignees,- showDueDates,- setShowDueDates,- showLabels,- setShowLabels,- showPriority,- setShowPriority,- } = useUserPreferencesStore();-- return (- <SettingsLayout- title="User"- className="pt-4 px-6"- description="Customize your personal preferences and appearance"- >- <SettingsSection- title="Theme"- description="Choose your preferred color scheme"- icon={<Sun className="w-4 h-4" />}- >- <div className="grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3">- {[- {- id: "light",- name: "Light",- icon: Sun,- description: "Light mode for bright environments",- preview: "bg-white border-zinc-200",- },- {- id: "dark",- name: "Dark",- icon: Moon,- description: "Dark mode for low-light environments",- preview: "bg-zinc-900 border-zinc-700",- },- {- id: "system",- name: "System",- icon: Monitor,- description: "Follows your system preferences",- preview:- "bg-gradient-to-br from-white to-zinc-900 border-zinc-400",- },- ].map((theme) => (- <motion.button- key={theme.id}- onClick={() => {- setTheme(theme.id as "dark" | "light" | "system");- }}- type="button"- whileHover={{ scale: 1.02 }}- whileTap={{ scale: 0.98 }}- className={cn(- "relative overflow-hidden rounded-lg border-2 p-4 text-left transition-all duration-200",- selectedTheme === theme.id- ? "border-primary bg-primary/5 shadow-md ring-2 ring-primary/20"- : "border-border bg-card hover:border-primary/50 hover:shadow-sm",- )}- >- {selectedTheme === theme.id && (- <div className="absolute right-2 top-2 flex h-5 w-5 items-center justify-center rounded-full bg-primary">- <svg- className="h-3 w-3 text-primary-foreground"- fill="currentColor"- viewBox="0 0 20 20"- aria-label="Selected"- >- <title>Selected</title>- <path- fillRule="evenodd"- d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z"- clipRule="evenodd"- />- </svg>- </div>- )}-- <div className="space-y-3">- <div- className={cn("h-12 w-full rounded-md border", theme.preview)}- />- <div className="space-y-1">- <div className="flex items-center gap-2">- <theme.icon className="h-4 w-4 text-muted-foreground" />- <span className="font-medium text-sm">{theme.name}</span>- </div>- <p className="text-xs text-muted-foreground leading-relaxed">- {theme.description}- </p>- </div>- </div>- </motion.button>- ))}- </div>- </SettingsSection>-- <SettingsSection- title="Layout & Interface"- description="Customize how the interface looks and behaves"- icon={<Layout className="w-4 h-4" />}- >- <div className="space-y-6">- <div className="rounded-lg border bg-card p-6">- <div className="flex items-center justify-between">- <div className="space-y-1">- <div className="flex items-center gap-2">- <Layout className="h-4 w-4 text-muted-foreground" />- <Label className="text-sm font-medium">Compact Mode</Label>- </div>- <p className="text-xs text-muted-foreground">- Reduce spacing and padding for a denser layout- </p>- </div>- <Switch checked={compactMode} onCheckedChange={setCompactMode} />- </div>- </div>- </div>- </SettingsSection>-- <SettingsSection- title="Display Preferences"- description="Control what information is shown in your tasks"- icon={<Eye className="w-4 h-4" />}- >- <div className="grid grid-cols-1 gap-4 md:grid-cols-2">- {[- {- id: "taskNumbers",- label: "Task Numbers",- description: "Show task ID numbers (e.g., PROJ-123)",- icon: Hash,- checked: showTaskNumbers,- onChange: setShowTaskNumbers,- },- {- id: "assignees",- label: "Assignees",- description: "Show who is assigned to each task",- icon: Users,- checked: showAssignees,- onChange: setShowAssignees,- },- {- id: "priority",- label: "Priority",- description: "Show task priority indicators",- icon: Flag,- checked: showPriority,- onChange: setShowPriority,- },- {- id: "dueDates",- label: "Due Dates",- description: "Show task due dates and deadlines",- icon: Calendar,- checked: showDueDates,- onChange: setShowDueDates,- },- {- id: "labels",- label: "Labels",- description: "Show task labels and tags",- icon: Tag,- checked: showLabels,- onChange: setShowLabels,- },- ].map((setting) => (- <div key={setting.id} className="rounded-lg border bg-card p-4">- <div className="flex items-center justify-between">- <div className="space-y-1">- <div className="flex items-center gap-2">- <setting.icon className="h-4 w-4 text-muted-foreground" />- <Label className="text-sm font-medium">- {setting.label}- </Label>- </div>- <p className="text-xs text-muted-foreground">- {setting.description}- </p>- </div>- <Switch- checked={setting.checked}- onCheckedChange={setting.onChange}- />- </div>- </div>- ))}- </div>- </SettingsSection>- </SettingsLayout>- );-}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects.tsxnew file mode 100644index 000000000..253882791--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects.tsx@@ -0,0 +1,139 @@+import {+ createFileRoute,+ Link,+ Outlet,+ useLocation,+} from "@tanstack/react-router";+import { ChevronRight, Eye, Plug, Settings } from "lucide-react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import {+ Collapsible,+ CollapsibleContent,+ CollapsibleTrigger,+} from "@/components/ui/collapsible";+import icons from "@/constants/project-icons";+import useGetProjects from "@/hooks/queries/project/use-get-projects";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import { cn } from "@/lib/cn";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/projects",+)({+ component: RouteComponent,+});++const menuItems = [+ {+ title: "General",+ icon: Settings,+ },+ {+ title: "Visibility",+ icon: Eye,+ },+ {+ title: "Integrations",+ icon: Plug,+ },+];++function RouteComponent() {+ const { workspace, role } = useWorkspacePermission();+ const location = useLocation();+ const { data: projects } = useGetProjects({+ workspaceId: workspace?.id || "",+ });++ return (+ <div className="flex gap-6 h-full">+ <div className="w-64 flex-shrink-0">+ <div className="p-4 h-fit">+ <div className="flex items-center gap-3 mb-6">+ <Avatar className="h-10 w-10">+ <AvatarImage+ src={workspace?.logo ?? ""}+ alt={workspace?.name || ""}+ />+ <AvatarFallback className="text-md text-white bg-primary font-medium border border-border/30">+ {workspace?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <div className="flex flex-col">+ <p className="text-sm font-medium">{workspace?.name}</p>+ <p className="text-xs text-muted-foreground capitalize">{role}</p>+ </div>+ </div>++ <div className="space-y-4">+ <Collapsible defaultOpen={true} className="group/collapsible">+ <h3 className="text-xs font-medium text-muted-foreground uppercase tracking-wider mb-2">+ Projects+ </h3>+ <CollapsibleContent className="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom-2 data-[state=open]:slide-in-from-bottom-2 duration-200">+ <nav className="space-y-0.5">+ {projects?.map((project) => {+ const IconComponent =+ icons[project.icon as keyof typeof icons] || icons.Layout;++ return (+ <Collapsible+ key={project.id}+ defaultOpen={true}+ className="group/project-collapsible"+ >+ <CollapsibleTrigger asChild>+ <div className="flex items-center gap-2.5 px-3 py-2 text-xs rounded-md transition-all duration-200 cursor-pointer hover:bg-sidebar-accent hover:text-sidebar-accent-foreground group text-muted-foreground">+ <IconComponent className="w-3.5 h-3.5" />+ <span>{project.name}</span>+ <ChevronRight className="w-4 h-4 ml-auto transition-transform duration-200 group-data-[state=open]/project-collapsible:rotate-90" />+ </div>+ </CollapsibleTrigger>+ <CollapsibleContent className="data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-bottom-2 data-[state=open]:slide-in-from-bottom-2 duration-200">+ <div className="flex flex-col gap-1 ml-6 mt-1">+ {menuItems.map((item) => {+ const urlMap = {+ General: `/dashboard/settings/projects/${project.id}/general`,+ Visibility: `/dashboard/settings/projects/${project.id}/visibility`,+ Integrations: `/dashboard/settings/projects/${project.id}/integrations`,+ };++ const toUrl =+ urlMap[item.title as keyof typeof urlMap];++ const isActive = location.pathname === toUrl;++ return (+ <Link+ key={item.title}+ to={toUrl}+ className={cn(+ "flex items-center gap-2.5 px-3 py-2 text-xs rounded-md transition-all duration-200",+ "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",+ isActive+ ? "bg-sidebar-accent text-sidebar-accent-foreground font-medium"+ : "text-muted-foreground hover:text-foreground",+ )}+ >+ <item.icon className="h-3.5 w-3.5" />+ <span>{item.title}</span>+ </Link>+ );+ })}+ </div>+ </CollapsibleContent>+ </Collapsible>+ );+ })}+ </nav>+ </CollapsibleContent>+ </Collapsible>+ </div>+ </div>+ </div>++ <div className="flex-1 min-w-0 overflow-y-auto">+ <Outlet />+ </div>+ </div>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsxnew file mode 100644index 000000000..988ebb1af--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/general.tsx@@ -0,0 +1,447 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useQueryClient } from "@tanstack/react-query";+import {+ createFileRoute,+ useNavigate,+ useParams,+} from "@tanstack/react-router";+import { useCallback, useEffect, useRef, useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod";+import PageTitle from "@/components/page-title";+import {+ AlertDialog,+ AlertDialogAction,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+} from "@/components/ui/alert-dialog";+import { Button } from "@/components/ui/button";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import {+ Popover,+ PopoverContent,+ PopoverTrigger,+} from "@/components/ui/popover";+import { Separator } from "@/components/ui/separator";+import icons from "@/constants/project-icons";+import useDeleteProject from "@/hooks/mutations/project/use-delete-project";+import useUpdateProject from "@/hooks/mutations/project/use-update-project";+import useGetProject from "@/hooks/queries/project/use-get-project";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { cn } from "@/lib/cn";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/projects/$projectId/general",+)({+ component: RouteComponent,+});++type ProjectFormValues = {+ name: string;+ slug: string;+ description?: string;+ icon: string;+};++const projectSchema = z.object({+ name: z+ .string()+ .min(1, "Project name is required")+ .min(2, "Project name must be at least 2 characters"),+ slug: z+ .string()+ .min(1, "Key is required")+ .min(2, "Key must be at least 2 characters")+ .max(8, "Key must be at most 8 characters"),+ description: z.string().optional(),+ icon: z.string().min(1, "Icon is required"),+});++function RouteComponent() {+ const queryClient = useQueryClient();+ const navigate = useNavigate();+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);+ const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);+ const [iconPopoverOpen, setIconPopoverOpen] = useState(false);++ const { data: workspace } = useActiveWorkspace();+ const { projectId: rawProjectId } = useParams({ strict: false });+ const projectId = rawProjectId ?? "";+ const { data: project } = useGetProject({+ id: projectId ?? "",+ workspaceId: workspace?.id || "",+ });++ const { mutateAsync: updateProject } = useUpdateProject();+ const { mutateAsync: deleteProject, isPending: isDeleting } =+ useDeleteProject();++ const projectForm = useForm<ProjectFormValues>({+ resolver: standardSchemaResolver(projectSchema),+ mode: "onChange",+ defaultValues: {+ name: project?.name || "",+ slug: project?.slug || "",+ description: project?.description || "",+ icon: project?.icon || "Layout",+ },+ });++ useEffect(() => {+ if (!project) return;+ // Reset form values when project changes without marking as dirty+ projectForm.reset(+ {+ name: project.name || "",+ slug: project.slug || "",+ description: project.description || "",+ icon: project.icon || "Layout",+ },+ { keepDirty: false, keepTouched: false, keepIsValid: true },+ );+ }, [project, projectForm]);++ const saveProject = useCallback(+ async (data: ProjectFormValues) => {+ if (!project?.id) return;++ try {+ await updateProject({+ id: project.id,+ name: data.name.trim(),+ slug: data.slug.trim(),+ description: (data.description ?? "").trim(),+ icon: data.icon || project?.icon || "Layout",+ isPublic: !!project.isPublic,+ });++ await Promise.all([+ queryClient.invalidateQueries({ queryKey: ["projects"] }),+ queryClient.invalidateQueries({+ queryKey: ["projects", workspace?.id],+ }),+ queryClient.invalidateQueries({+ queryKey: ["projects", workspace?.id, project.id],+ }),+ ]);+ toast.success("Project updated successfully");+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update project",+ );+ }+ },+ [+ project?.id,+ project?.isPublic,+ project?.icon,+ updateProject,+ queryClient,+ workspace?.id,+ ],+ );++ const debouncedSave = useCallback(() => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }++ debounceTimeoutRef.current = setTimeout(async () => {+ const isValid = await projectForm.trigger();+ if (isValid) {+ // Always save latest values to avoid staleness while typing+ const latest = projectForm.getValues();+ saveProject(latest as ProjectFormValues);+ }+ }, 800);+ }, [projectForm, saveProject]);++ useEffect(() => {+ const subscription = projectForm.watch(() => {+ debouncedSave();+ });++ return () => subscription.unsubscribe();+ }, [projectForm, debouncedSave]);++ useEffect(() => {+ return () => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }+ };+ }, []);++ const handleDeleteProject = useCallback(async () => {+ if (!project?.id) return;++ try {+ await deleteProject({ id: project.id });+ toast.success("Project deleted successfully");++ await queryClient.invalidateQueries({ queryKey: ["projects"] });++ navigate({+ to: "/dashboard/workspace/$workspaceId",+ params: { workspaceId: workspace?.id || "" },+ });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to delete project",+ );+ }+ }, [project?.id, deleteProject, queryClient, navigate, workspace?.id]);++ return (+ <>+ <PageTitle title="Project Settings" />+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">General Settings</h1>+ <p className="text-muted-foreground">+ Manage your project name, key, icon and description.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Project Information</h2>+ <p className="text-xs text-muted-foreground">+ Configure your project details and preferences.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Icon</p>+ <p className="text-xs text-muted-foreground">+ Displayed in the sidebar and project surfaces.+ </p>+ </div>+ <div className="flex items-center gap-3">+ <Popover+ open={iconPopoverOpen}+ onOpenChange={setIconPopoverOpen}+ modal={true}+ >+ <PopoverTrigger asChild>+ <button+ type="button"+ className="flex items-center justify-center p-2 rounded border border-border hover:border-zinc-400 dark:hover:border-zinc-600 transition-colors"+ title="Pick icon"+ >+ {(() => {+ const key =+ (projectForm.watch("icon") as keyof typeof icons) ||+ "Layout";+ const Icon = icons[key] || icons.Layout;+ return (+ <Icon className="w-4 h-4 text-zinc-600 dark:text-zinc-400" />+ );+ })()}+ </button>+ </PopoverTrigger>+ <PopoverContent className="w-80 p-2" align="end">+ <div className="max-h-[300px] overflow-y-auto">+ <div className="grid grid-cols-8 gap-2">+ {Object.entries(icons).map(([iconName, Icon]) => (+ <button+ key={iconName}+ type="button"+ onClick={() => {+ projectForm.setValue("icon", iconName, {+ shouldDirty: true,+ shouldValidate: true,+ });+ // Save immediately on icon change+ const values = projectForm.getValues();+ void saveProject({+ ...values,+ icon: iconName,+ } as ProjectFormValues);+ setIconPopoverOpen(false);+ }}+ className={cn(+ "p-2 rounded-lg transition-all duration-200 flex items-center justify-center group hover:scale-105",+ projectForm.getValues("icon") === iconName+ ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"+ : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-700",+ )}+ title={iconName}+ >+ <Icon className="w-4 h-4" />+ </button>+ ))}+ </div>+ </div>+ </PopoverContent>+ </Popover>+ </div>+ </div>++ <Separator />++ <Form {...projectForm}>+ <form className="space-y-4">+ <FormField+ control={projectForm.control}+ name="name"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Project name+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ The name of your project+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="Enter project name"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={projectForm.control}+ name="slug"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Key+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ Used for ticket IDs (e.g.,{" "}+ {projectForm.watch("slug") || "ABC"}-123)+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="PRO"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={projectForm.control}+ name="description"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Description+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ A brief description of your project+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="Enter project description"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />+ </form>+ </Form>+ </div>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Danger zone</h2>+ <p className="text-xs text-muted-foreground">+ Irreversible and destructive actions.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Delete project</p>+ <p className="text-xs text-muted-foreground">+ Schedule project to be permanently deleted+ </p>+ </div>+ <Button+ variant="ghost"+ size="sm"+ className="text-destructive hover:text-destructive transition-colors"+ type="button"+ onClick={() => setIsDeleteModalOpen(true)}+ disabled={!project}+ >+ Delete project+ </Button>+ </div>+ </div>+ </div>++ <AlertDialog+ open={isDeleteModalOpen}+ onOpenChange={setIsDeleteModalOpen}+ >+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>Delete Project?</AlertDialogTitle>+ <AlertDialogDescription>+ This will permanently delete the project "{project?.name}" and+ all its data. This action cannot be undone.+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogCancel>Cancel</AlertDialogCancel>+ <AlertDialogAction+ onClick={handleDeleteProject}+ disabled={isDeleting}+ className="bg-destructive text-destructive-foreground hover:bg-destructive/90"+ >+ {isDeleting ? "Deleting..." : "Delete Project"}+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations.tsxnew file mode 100644index 000000000..49a6c887d--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations.tsx@@ -0,0 +1,41 @@+import { createFileRoute } from "@tanstack/react-router";+import PageTitle from "@/components/page-title";+import { GitHubIntegrationSettings } from "@/components/project/github-integration-settings";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/projects/$projectId/integrations",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const { projectId } = Route.useParams();++ return (+ <>+ <PageTitle title="Project Integrations" />+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">Project Integrations</h1>+ <p className="text-muted-foreground">+ Connect your project with external tools and services to streamline+ your workflow.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">GitHub Integration</h2>+ <p className="text-xs text-muted-foreground">+ Synchronize tasks with GitHub issues and enable two-way sync.+ </p>+ </div>++ <div className="space-y-4">+ <GitHubIntegrationSettings projectId={projectId} />+ </div>+ </div>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsxnew file mode 100644index 000000000..dc149a7e6--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility.tsx@@ -0,0 +1,131 @@+import { useQueryClient } from "@tanstack/react-query";+import { createFileRoute, useParams } from "@tanstack/react-router";+import { useCallback, useRef } from "react";+import { toast } from "sonner";+import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import { Input } from "@/components/ui/input";+import { Label } from "@/components/ui/label";+import { Separator } from "@/components/ui/separator";+import { Switch } from "@/components/ui/switch";+import useUpdateProject from "@/hooks/mutations/project/use-update-project";+import useGetProject from "@/hooks/queries/project/use-get-project";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/projects/$projectId/visibility",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const { projectId } = useParams({ strict: false });+ const { data: workspace } = useActiveWorkspace();+ const { data: project } = useGetProject({+ id: projectId || "",+ workspaceId: workspace?.id || "",+ });++ const queryClient = useQueryClient();+ const { mutateAsync: updateProject } = useUpdateProject();+ const savingRef = useRef(false);++ const handleToggle = useCallback(async () => {+ if (!project) return;+ if (savingRef.current) return;+ savingRef.current = true;+ try {+ await updateProject({+ id: project.id,+ name: project.name,+ slug: project.slug,+ description: project.description || "",+ icon: project.icon || "Layout",+ isPublic: !project.isPublic,+ });+ await Promise.all([+ queryClient.invalidateQueries({ queryKey: ["projects"] }),+ queryClient.invalidateQueries({+ queryKey: ["projects", workspace?.id],+ }),+ queryClient.invalidateQueries({+ queryKey: ["projects", workspace?.id, project.id],+ }),+ ]);+ toast.success("Visibility updated");+ } catch (e) {+ toast.error(+ e instanceof Error ? e.message : "Failed to update visibility",+ );+ } finally {+ savingRef.current = false;+ }+ }, [project, updateProject, queryClient, workspace?.id]);++ const origin = window.location.origin;++ const publicUrl = project?.id ? `${origin}/public-project/${project.id}` : "";++ return (+ <>+ <PageTitle title="Project Visibility" />+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">Visibility</h1>+ <p className="text-muted-foreground">+ Control who can view and access your project.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Visibility</h2>+ <p className="text-xs text-muted-foreground">+ Toggle public access and share the public URL.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Public access</Label>+ <p className="text-xs text-muted-foreground">+ Allow anyone with the URL to view this project+ </p>+ </div>+ <Switch+ checked={!!project?.isPublic}+ onCheckedChange={handleToggle}+ />+ </div>++ <Separator />++ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <Label className="text-sm font-medium">Public URL</Label>+ <p className="text-xs text-muted-foreground">+ Share this link if the project is public+ </p>+ </div>+ <div className="flex items-center gap-2">+ <Input readOnly value={publicUrl} className="w-96" />+ <Button+ size="sm"+ onClick={() => {+ if (!publicUrl) return;+ navigator.clipboard+ .writeText(publicUrl)+ .then(() => toast.success("Copied"));+ }}+ >+ Copy+ </Button>+ </div>+ </div>+ </div>+ </div>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace.tsxnew file mode 100644index 000000000..292f63f27--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace.tsx@@ -0,0 +1,83 @@+import {+ createFileRoute,+ Link,+ Outlet,+ useLocation,+} from "@tanstack/react-router";+import { Settings } from "lucide-react";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { useWorkspacePermission } from "@/hooks/use-workspace-permission";+import { cn } from "@/lib/cn";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/workspace",+)({+ component: RouteComponent,+});++const menuItems = [+ {+ title: "General",+ url: "/dashboard/settings/workspace/general",+ icon: Settings,+ },+];++function RouteComponent() {+ const { workspace, role } = useWorkspacePermission();+ const location = useLocation();++ return (+ <div className="flex gap-6 h-full">+ <div className="w-64 flex-shrink-0">+ <div className="p-4 h-fit">+ <div className="flex items-center gap-3 mb-6">+ <Avatar className="h-10 w-10">+ <AvatarImage+ src={workspace?.logo ?? ""}+ alt={workspace?.name || ""}+ />+ <AvatarFallback className="text-md text-white bg-primary font-medium border border-border/30">+ {workspace?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <div className="flex flex-col">+ <p className="text-sm font-medium">{workspace?.name}</p>+ <p className="text-xs text-muted-foreground capitalize">{role}</p>+ </div>+ </div>++ <div className="space-y-4">+ <div>+ <h3 className="text-xs font-medium text-muted-foreground uppercase tracking-wider mb-2">+ Workspace+ </h3>+ <nav className="space-y-0.5">+ {menuItems.map((item) => (+ <Link+ key={item.title}+ to={item.url}+ className={cn(+ "flex items-center gap-2 px-2 py-1.5 text-xs rounded-sm transition-colors",+ "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",+ location.pathname === item.url+ ? "bg-sidebar-accent text-sidebar-accent-foreground font-medium"+ : "text-muted-foreground",+ )}+ >+ <item.icon className="h-3.5 w-3.5" />+ <span>{item.title}</span>+ </Link>+ ))}+ </nav>+ </div>+ </div>+ </div>+ </div>++ <div className="flex-1 min-w-0 overflow-y-auto">+ <Outlet />+ </div>+ </div>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsxnew file mode 100644index 000000000..8cfd55665--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/settings/workspace/general.tsx@@ -0,0 +1,297 @@+import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";+import { useQueryClient } from "@tanstack/react-query";+import { createFileRoute, useNavigate } from "@tanstack/react-router";+import { useCallback, useEffect, useRef, useState } from "react";+import { useForm } from "react-hook-form";+import { toast } from "sonner";+import { z } from "zod";+import PageTitle from "@/components/page-title";+import {+ AlertDialog,+ AlertDialogAction,+ AlertDialogCancel,+ AlertDialogContent,+ AlertDialogDescription,+ AlertDialogFooter,+ AlertDialogHeader,+ AlertDialogTitle,+} from "@/components/ui/alert-dialog";+import { Button } from "@/components/ui/button";+import {+ Form,+ FormControl,+ FormField,+ FormItem,+ FormLabel,+ FormMessage,+} from "@/components/ui/form";+import { Input } from "@/components/ui/input";+import { Separator } from "@/components/ui/separator";+import useDeleteWorkspace from "@/hooks/mutations/workspace/use-delete-workspace";+import useUpdateWorkspace from "@/hooks/mutations/workspace/use-update-workspace";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/settings/workspace/general",+)({+ component: RouteComponent,+});++type WorkspaceFormValues = {+ name: string;+ description?: string;+};++const workspaceSchema = z.object({+ name: z+ .string()+ .min(1, "Workspace name is required")+ .min(2, "Workspace name must be at least 2 characters"),+ description: z.string().optional(),+});++function RouteComponent() {+ const queryClient = useQueryClient();+ const navigate = useNavigate();+ const debounceTimeoutRef = useRef<NodeJS.Timeout | null>(null);+ const [isDeleteModalOpen, setIsDeleteModalOpen] = useState(false);++ const { data: workspace } = useActiveWorkspace();+ const { mutateAsync: updateWorkspace } = useUpdateWorkspace();+ const { mutateAsync: deleteWorkspace, isPending: isDeleting } =+ useDeleteWorkspace();++ const workspaceForm = useForm<WorkspaceFormValues>({+ resolver: standardSchemaResolver(workspaceSchema),+ defaultValues: {+ name: workspace?.name || "",+ description: workspace?.metadata?.description || "",+ },+ });++ useEffect(() => {+ if (workspace) {+ workspaceForm.reset({+ name: workspace.name || "",+ description: workspace.metadata?.description || "",+ });+ }+ }, [workspace, workspaceForm]);++ const saveWorkspace = useCallback(+ async (data: WorkspaceFormValues) => {+ if (!workspace?.id) return;++ try {+ await updateWorkspace({+ workspaceId: workspace.id,+ name: data.name.trim(),+ metadata: {+ description: data.description?.trim() || undefined,+ },+ });++ await queryClient.invalidateQueries({+ queryKey: ["active-organization"],+ });+ toast.success("Workspace updated successfully");+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to update workspace",+ );+ }+ },+ [workspace?.id, updateWorkspace, queryClient],+ );++ const handleDeleteWorkspace = useCallback(async () => {+ if (!workspace?.id) return;++ try {+ await deleteWorkspace({ workspaceId: workspace.id });+ toast.success("Workspace deleted successfully");++ // Invalidate all workspace-related queries+ await queryClient.invalidateQueries({ queryKey: ["workspaces"] });+ await queryClient.invalidateQueries({+ queryKey: ["active-organization"],+ });++ navigate({ to: "/dashboard" });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to delete workspace",+ );+ }+ }, [workspace?.id, deleteWorkspace, queryClient, navigate]);++ const debouncedSave = useCallback(+ (data: WorkspaceFormValues) => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }++ debounceTimeoutRef.current = setTimeout(() => {+ saveWorkspace(data);+ }, 1000);+ },+ [saveWorkspace],+ );++ useEffect(() => {+ const subscription = workspaceForm.watch((data) => {+ if (workspaceForm.formState.isDirty && workspaceForm.formState.isValid) {+ debouncedSave(data as WorkspaceFormValues);+ }+ });++ return () => subscription.unsubscribe();+ }, [workspaceForm, debouncedSave]);++ useEffect(() => {+ return () => {+ if (debounceTimeoutRef.current) {+ clearTimeout(debounceTimeoutRef.current);+ }+ };+ }, []);++ return (+ <>+ <PageTitle title="General Settings" />+ <div className="max-w-4xl mx-auto space-y-8">+ <div className="space-y-2">+ <h1 className="text-2xl font-semibold">General Settings</h1>+ <p className="text-muted-foreground">+ Manage your workspace name and description.+ </p>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Workspace Information</h2>+ <p className="text-xs text-muted-foreground">+ Configure your workspace details and preferences.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <Form {...workspaceForm}>+ <form className="space-y-4">+ <FormField+ control={workspaceForm.control}+ name="name"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Workspace name+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ The name of your workspace+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="Enter workspace name"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />++ <Separator />++ <FormField+ control={workspaceForm.control}+ name="description"+ render={({ field }) => (+ <FormItem>+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <FormLabel className="text-sm font-medium">+ Description+ </FormLabel>+ <p className="text-xs text-muted-foreground">+ A brief description of your workspace+ </p>+ </div>+ <FormControl>+ <Input+ className="w-64"+ placeholder="Enter workspace description"+ {...field}+ />+ </FormControl>+ </div>+ <FormMessage />+ </FormItem>+ )}+ />+ </form>+ </Form>+ </div>+ </div>++ <div className="space-y-6">+ <div className="space-y-1">+ <h2 className="text-md font-medium">Danger zone</h2>+ <p className="text-xs text-muted-foreground">+ Irreversible and destructive actions.+ </p>+ </div>++ <div className="space-y-4 border border-border rounded-md p-4 bg-sidebar">+ <div className="flex items-center justify-between">+ <div className="space-y-0.5">+ <p className="text-sm font-medium">Delete workspace</p>+ <p className="text-xs text-muted-foreground">+ Schedule workspace to be permanently deleted+ </p>+ </div>+ <Button+ variant="ghost"+ size="sm"+ className="text-destructive hover:text-destructive transition-colors"+ type="button"+ onClick={() => setIsDeleteModalOpen(true)}+ >+ Delete workspace+ </Button>+ </div>+ </div>+ </div>++ <AlertDialog+ open={isDeleteModalOpen}+ onOpenChange={setIsDeleteModalOpen}+ >+ <AlertDialogContent>+ <AlertDialogHeader>+ <AlertDialogTitle>Delete Workspace?</AlertDialogTitle>+ <AlertDialogDescription>+ This will permanently delete the workspace "{workspace?.name}"+ and all its data. This action cannot be undone.+ </AlertDialogDescription>+ </AlertDialogHeader>+ <AlertDialogFooter>+ <AlertDialogCancel>Cancel</AlertDialogCancel>+ <AlertDialogAction+ onClick={handleDeleteWorkspace}+ disabled={isDeleting}+ className="bg-destructive text-destructive-foreground hover:bg-destructive/90"+ >+ {isDeleting ? "Deleting..." : "Delete Workspace"}+ </AlertDialogAction>+ </AlertDialogFooter>+ </AlertDialogContent>+ </AlertDialog>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsxindex 2d76fbff4..2611c3cf2 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId.tsx@@ -1,7 +1,6 @@-import useGetWorkspace from "@/hooks/queries/workspace/use-get-workspace";-import useWorkspaceStore from "@/store/workspace";-import { Outlet, createFileRoute } from "@tanstack/react-router";+import { createFileRoute, Outlet, useNavigate } from "@tanstack/react-router";import { useEffect } from "react";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId",@@ -11,14 +10,25 @@ export const Route = createFileRoute(function RouteComponent() {const { workspaceId } = Route.useParams();- const { data: workspace } = useGetWorkspace({ id: workspaceId });- const { setWorkspace } = useWorkspaceStore();++ const { data: activeWorkspace } = useActiveWorkspace();+ const navigate = useNavigate();useEffect(() => {- if (workspace) {- setWorkspace(workspace);+ // If we have an active workspace and it doesn't match the URL, redirect to the correct workspace+ if (activeWorkspace && activeWorkspace.id !== workspaceId) {+ navigate({+ to: "/dashboard/workspace/$workspaceId",+ params: { workspaceId: activeWorkspace.id },+ replace: true, // Replace current history entry to avoid back button issues+ });}- }, [workspace, setWorkspace]);+ }, [activeWorkspace, workspaceId, navigate]);++ // Don't render anything if we're redirecting+ if (activeWorkspace && activeWorkspace.id !== workspaceId) {+ return null;+ }return <Outlet />;}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsxindex c2f7e48ed..d730cfaa4 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/index.tsx@@ -1,4 +1,8 @@+import { createFileRoute, useNavigate } from "@tanstack/react-router";+import { LayoutGrid, Plus } from "lucide-react";+import { useState } from "react";import WorkspaceLayout from "@/components/common/workspace-layout";+import PageTitle from "@/components/page-title";import CreateProjectModal from "@/components/shared/modals/create-project-modal";import { Badge } from "@/components/ui/badge";import { Button } from "@/components/ui/button";@@ -16,9 +20,6 @@ import icons from "@/constants/project-icons";import { shortcuts } from "@/constants/shortcuts";import useGetProjects from "@/hooks/queries/project/use-get-projects";import { useRegisterShortcuts } from "@/hooks/use-keyboard-shortcuts";-import { createFileRoute, useNavigate } from "@tanstack/react-router";-import { LayoutGrid, Plus } from "lucide-react";-import { useState } from "react";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/",@@ -55,66 +56,70 @@ function RouteComponent() {if (isLoading) {return (- <WorkspaceLayout- title="Projects"- headerActions={- <Button- variant="outline"- size="xs"- onClick={handleCreateProject}- className="gap-1"- >- <Plus className="w-3 h-3" />- Create project- </Button>- }- >- <Table>- <TableHeader>- <TableRow>- <TableHead className="text-foreground font-medium">- Title- </TableHead>- <TableHead className="text-foreground font-medium">- Progress- </TableHead>- <TableHead className="text-foreground font-medium">- Target date- </TableHead>- <TableHead className="text-foreground font-medium">- Status- </TableHead>- </TableRow>- </TableHeader>- <TableBody>- {[1, 2, 3].map((i) => (- <TableRow key={i}>- <TableCell className="py-3">- <div className="flex items-center gap-3">- <Skeleton className="h-5 w-5" />- <Skeleton className="h-4 w-24" />- </div>- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-2 w-20" />- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-4 w-20" />- </TableCell>- <TableCell className="py-3">- <Skeleton className="h-5 w-16" />- </TableCell>+ <>+ <PageTitle title="Projects" />+ <WorkspaceLayout+ title="Projects"+ headerActions={+ <Button+ variant="outline"+ size="xs"+ onClick={handleCreateProject}+ className="gap-1"+ >+ <Plus className="w-3 h-3" />+ Create project+ </Button>+ }+ >+ <Table>+ <TableHeader>+ <TableRow>+ <TableHead className="text-foreground font-medium">+ Title+ </TableHead>+ <TableHead className="text-foreground font-medium">+ Progress+ </TableHead>+ <TableHead className="text-foreground font-medium">+ Target date+ </TableHead>+ <TableHead className="text-foreground font-medium">+ Status+ </TableHead></TableRow>- ))}- </TableBody>- </Table>- </WorkspaceLayout>+ </TableHeader>+ <TableBody>+ {[1, 2, 3].map((i) => (+ <TableRow key={i}>+ <TableCell className="py-3">+ <div className="flex items-center gap-3">+ <Skeleton className="h-5 w-5" />+ <Skeleton className="h-4 w-24" />+ </div>+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-2 w-20" />+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-4 w-20" />+ </TableCell>+ <TableCell className="py-3">+ <Skeleton className="h-5 w-16" />+ </TableCell>+ </TableRow>+ ))}+ </TableBody>+ </Table>+ </WorkspaceLayout>+ </>);}if (!projects || projects.length === 0) {return (<>+ <PageTitle title="Projects" /><WorkspaceLayouttitle="Projects"headerActions={@@ -140,7 +145,10 @@ function RouteComponent() {Get started by creating your first project.</p></div>- <Button onClick={handleCreateProject} className="gap-2">+ <Button+ onClick={handleCreateProject}+ className="gap-2 text-white"+ ><Plus className="w-4 h-4" />Create project</Button>@@ -158,6 +166,7 @@ function RouteComponent() {return (<>+ <PageTitle title="Projects" /><WorkspaceLayouttitle="Projects"headerActions={diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsxindex d7318e383..49d09e65e 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/members.tsx@@ -1,11 +1,12 @@+import { createFileRoute } from "@tanstack/react-router";+import { UserPlus } from "lucide-react";+import { useState } from "react";import WorkspaceLayout from "@/components/common/workspace-layout";+import PageTitle from "@/components/page-title";import InviteTeamMemberModal from "@/components/team/invite-team-member-modal";import MembersTable from "@/components/team/members-table";import { Button } from "@/components/ui/button";-import useGetWorkspaceUsers from "@/hooks/queries/workspace-users/use-get-workspace-users";-import { createFileRoute } from "@tanstack/react-router";-import { UserPlus } from "lucide-react";-import { useState } from "react";+import useGetFullWorkspace from "@/hooks/queries/workspace/use-get-full-workspace";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/members",@@ -15,31 +16,38 @@ export const Route = createFileRoute(function RouteComponent() {const { workspaceId } = Route.useParams();- const { data: users } = useGetWorkspaceUsers({ workspaceId });+ const { data: workspace } = useGetFullWorkspace({ workspaceId });+const [isInviteTeamMemberModalOpen, setIsInviteTeamMemberModalOpen] =useState(false);+ const users = workspace?.members;+ const userInvitations = workspace?.invitations;+return (- <WorkspaceLayout- title="Members"- headerActions={- <Button- onClick={() => setIsInviteTeamMemberModalOpen(true)}- variant="outline"- size="xs"- className="gap-1 w-full md:w-auto"- >- <UserPlus className="w-3 h-3" />- Invite member- </Button>- }- >- <MembersTable users={users ?? []} />+ <>+ <PageTitle title="Members" />+ <WorkspaceLayout+ title="Members"+ headerActions={+ <Button+ onClick={() => setIsInviteTeamMemberModalOpen(true)}+ variant="outline"+ size="xs"+ className="gap-1 w-full md:w-auto"+ >+ <UserPlus className="w-3 h-3" />+ Invite member+ </Button>+ }+ >+ <MembersTable users={users ?? []} invitations={userInvitations ?? []} />- <InviteTeamMemberModal- open={isInviteTeamMemberModalOpen}- onClose={() => setIsInviteTeamMemberModalOpen(false)}- />- </WorkspaceLayout>+ <InviteTeamMemberModal+ open={isInviteTeamMemberModalOpen}+ onClose={() => setIsInviteTeamMemberModalOpen(false)}+ />+ </WorkspaceLayout>+ </>);}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsxindex 78ad47c93..c779e8fe8 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog.tsx@@ -1,35 +1,34 @@+import { useQueryClient } from "@tanstack/react-query";+import { createFileRoute } from "@tanstack/react-router";+import { produce } from "immer";+import { ArrowRight, Calendar, Filter, Plus, User, X } from "lucide-react";+import { useCallback, useEffect, useMemo, useState } from "react";+import { toast } from "sonner";import BacklogListView from "@/components/backlog-list-view";import ProjectLayout from "@/components/common/project-layout";+import PageTitle from "@/components/page-title";import CreateTaskModal from "@/components/shared/modals/create-task-modal";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";import { Button } from "@/components/ui/button";import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import { priorityColorsTaskCard } from "@/constants/priority-colors";-import useUpdateTask from "@/hooks/mutations/task/use-update-task";-import useGetTasks from "@/hooks/queries/task/use-get-tasks";-import useGetActiveWorkspaceUsers from "@/hooks/queries/workspace-users/use-active-workspace-users";-import { cn } from "@/lib/cn";+ DropdownMenu,+ DropdownMenuCheckboxItem,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuSeparator,+ DropdownMenuSub,+ DropdownMenuSubContent,+ DropdownMenuSubTrigger,+ DropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";+import labelColors from "@/constants/label-colors";+import { useUpdateTask } from "@/hooks/mutations/task/use-update-task";+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";+import { useGetTasks } from "@/hooks/queries/task/use-get-tasks";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { getPriorityIcon } from "@/lib/priority";import useProjectStore from "@/store/project";-import { useUserPreferencesStore } from "@/store/user-preferences";import type Task from "@/types/task";-import { createFileRoute } from "@tanstack/react-router";-import { addWeeks, endOfWeek, isWithinInterval, startOfWeek } from "date-fns";-import { produce } from "immer";-import {- ArrowRight,- Calendar,- Check,- Filter,- Flag,- Plus,- Settings,- User,-} from "lucide-react";-import { useEffect, useMemo, useState } from "react";-import { toast } from "sonner";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/backlog",@@ -37,37 +36,49 @@ export const Route = createFileRoute(component: RouteComponent,});-interface BacklogFilters {- priority: string | null;- assignee: string | null;- dueDate: string | null;-}-function RouteComponent() {const { projectId, workspaceId } = Route.useParams();const { data } = useGetTasks(projectId);const { project, setProject } = useProjectStore();const [isTaskModalOpen, setIsTaskModalOpen] = useState(false);const { mutate: updateTask } = useUpdateTask();- const [filters, setFilters] = useState<BacklogFilters>({- priority: null,- assignee: null,- dueDate: null,++ const { data: users } = useGetActiveWorkspaceUsers(workspaceId);+ const { data: workspaceLabels = [] } = useGetLabelsByWorkspace(workspaceId);+ const queryClient = useQueryClient();++ const [filters, setFilters] = useState({+ priority: null as string | null,+ assignee: null as string | null,+ dueDate: null as string | null,+ labels: [] as string[],});- const { data: users } = useGetActiveWorkspaceUsers({ workspaceId });- const {- showAssignees,- showPriority,- showDueDates,- showLabels,- showTaskNumbers,- toggleAssignees,- togglePriority,- toggleDueDates,- toggleLabels,- toggleTaskNumbers,- } = useUserPreferencesStore();+ const updateFilter = (key: string, value: string | null) => {+ setFilters((prev) => ({ ...prev, [key]: value }));+ };++ const updateLabelFilter = (labelId: string) => {+ setFilters((prev) => ({+ ...prev,+ labels: prev.labels.includes(labelId)+ ? prev.labels.filter((id) => id !== labelId)+ : [...prev.labels, labelId],+ }));+ };++ const clearFilters = () => {+ setFilters({+ priority: null,+ assignee: null,+ dueDate: null,+ labels: [],+ });+ };++ const hasActiveFilters = Object.values(filters).some((filter) =>+ Array.isArray(filter) ? filter.length > 0 : filter !== null,+ );useEffect(() => {if (data) {@@ -75,10 +86,30 @@ function RouteComponent() {}}, [data, setProject]);+ const getPriorityDisplayName = (priority: string) => {+ return priority.charAt(0).toUpperCase() + priority.slice(1);+ };++ const getAssigneeDisplayName = (userId: string) => {+ const member = users?.members?.find((m) => m.userId === userId);+ return member?.user?.name || "Unknown";+ };++ const getTaskLabels = useCallback(+ (taskId: string) => {+ const queryKey = ["labels", taskId];+ const cachedData = queryClient.getQueryData(queryKey) as+ | Array<{ id: string; name: string; color: string }>+ | undefined;+ return cachedData || [];+ },+ [queryClient],+ );+const filteredProject = useMemo(() => {if (!project) return null;- const filterTasks = (tasks: Task[]): Task[] => {+ const filterTasks = (tasks: Task[]) => {return tasks.filter((task) => {if (filters.priority && task.priority !== filters.priority) {return false;@@ -94,24 +125,29 @@ function RouteComponent() {switch (filters.dueDate) {case "Due this week": {- const weekStart = startOfWeek(today);- const weekEnd = endOfWeek(today);- if (- !isWithinInterval(taskDate, { start: weekStart, end: weekEnd })- ) {+ const weekStart = new Date(+ today.getFullYear(),+ today.getMonth(),+ today.getDate() - today.getDay(),+ );+ const weekEnd = new Date(+ weekStart.getTime() + 6 * 24 * 60 * 60 * 1000,+ );+ if (taskDate < weekStart || taskDate > weekEnd) {return false;}break;}case "Due next week": {- const nextWeekStart = startOfWeek(addWeeks(today, 1));- const nextWeekEnd = endOfWeek(addWeeks(today, 1));- if (- !isWithinInterval(taskDate, {- start: nextWeekStart,- end: nextWeekEnd,- })- ) {+ const nextWeekStart = new Date(+ today.getFullYear(),+ today.getMonth(),+ today.getDate() - today.getDay() + 7,+ );+ const nextWeekEnd = new Date(+ nextWeekStart.getTime() + 6 * 24 * 60 * 60 * 1000,+ );+ if (taskDate < nextWeekStart || taskDate > nextWeekEnd) {return false;}break;@@ -126,6 +162,17 @@ function RouteComponent() {return false;}+ if (filters.labels.length > 0) {+ const taskLabels = getTaskLabels(task.id);+ const taskLabelIds = taskLabels.map((label) => label.id);+ const hasMatchingLabel = filters.labels.some((filterLabelId) =>+ taskLabelIds.includes(filterLabelId),+ );+ if (!hasMatchingLabel) {+ return false;+ }+ }+return true;});};@@ -135,22 +182,56 @@ function RouteComponent() {plannedTasks: filterTasks(project.plannedTasks || []),archivedTasks: filterTasks(project.archivedTasks || []),};- }, [project, filters]);-- const hasActiveFilters = Object.values(filters).some(- (filter) => filter !== null,+ }, [project, filters, getTaskLabels]);++ const uniqueLabels = workspaceLabels.reduce(+ (+ acc: { id: string; name: string; color: string }[],+ label: { id: string; name: string; color: string },+ ) => {+ const existing = acc.find(+ (l) => l.name === label.name && l.color === label.color,+ );+ if (!existing) {+ acc.push(label);+ }+ return acc;+ },+ [],);- const clearFilters = () => {- setFilters({- priority: null,- assignee: null,- dueDate: null,- });+ const isLabelGroupSelected = (label: { name: string; color: string }) => {+ return workspaceLabels+ .filter(+ (l: { name: string; color: string }) =>+ l.name === label.name && l.color === label.color,+ )+ .some((l: { id: string }) => filters.labels?.includes(l.id));};- const updateFilter = (key: keyof BacklogFilters, value: string | null) => {- setFilters((prev) => ({ ...prev, [key]: value }));+ const toggleLabelGroup = (label: { name: string; color: string }) => {+ const matchingLabels = workspaceLabels.filter(+ (l: { name: string; color: string }) =>+ l.name === label.name && l.color === label.color,+ );++ const isAnySelected = matchingLabels.some((l: { id: string }) =>+ filters.labels?.includes(l.id),+ );++ if (isAnySelected) {+ for (const l of matchingLabels) {+ if (filters.labels?.includes(l.id)) {+ updateLabelFilter(l.id);+ }+ }+ } else {+ for (const l of matchingLabels) {+ if (!filters.labels?.includes(l.id)) {+ updateLabelFilter(l.id);+ }+ }+ }};const handleMoveAllPlannedToTodo = () => {@@ -193,11 +274,8 @@ function RouteComponent() {};return (- <ProjectLayout- title="Backlog"- projectId={projectId}- workspaceId={workspaceId}- >+ <ProjectLayout projectId={projectId} workspaceId={workspaceId}>+ <PageTitle title={`${project?.name}'s backlog`} /><div className="flex flex-col h-full min-h-0"><div className="bg-card border-b border-border"><div className="h-10 flex items-center px-4">@@ -224,288 +302,244 @@ function RouteComponent() {Move All</Button>- <Popover>- <PopoverTrigger asChild>+ {filters.priority && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ {getPriorityIcon(filters.priority)}+ <span>+ Priority is {getPriorityDisplayName(filters.priority)}+ </span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("priority", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.assignee && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ <User className="h-3 w-3" />+ <span>+ Assignee is {getAssigneeDisplayName(filters.assignee)}+ </span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("assignee", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.dueDate && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ <Calendar className="h-3 w-3" />+ <span>Due date is {filters.dueDate}</span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("dueDate", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.labels &&+ filters.labels.length > 0 &&+ uniqueLabels+ .filter((uniqueLabel) =>+ workspaceLabels+ .filter(+ (l: { name: string; color: string }) =>+ l.name === uniqueLabel.name &&+ l.color === uniqueLabel.color,+ )+ .some((l: { id: string }) =>+ filters.labels?.includes(l.id),+ ),+ )+ .map((label) => (+ <Button+ key={`${label.name}-${label.color}`}+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ <span+ className="w-2.5 h-2.5 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find((c) => c.value === label.color)+ ?.color || "#94a3b8",+ }}+ />+ <span>Label is {label.name}</span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ toggleLabelGroup(label);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ ))}++ <DropdownMenu>+ <DropdownMenuTrigger asChild><Buttonvariant="ghost"size="sm"- className={cn(- "h-6 px-2 text-xs",- hasActiveFilters- ? "text-indigo-600 dark:text-indigo-400 bg-indigo-50 dark:bg-indigo-500/10"- : "text-zinc-600 dark:text-zinc-400",- )}+ className="h-6 px-2 text-xs text-muted-foreground"><Filter className="h-3 w-3 mr-1" />Filter- {hasActiveFilters && (- <span className="ml-1 bg-indigo-500 text-white text-xs rounded-full w-4 h-4 flex items-center justify-center">- {- Object.values(filters).filter((f) => f !== null)- .length- }- </span>- )}</Button>- </PopoverTrigger>- <PopoverContent className="w-72 p-0" align="start">- <div className="p-3 border-b border-zinc-200 dark:border-zinc-800">- <div className="flex items-center justify-between">- <h3 className="text-sm font-medium text-zinc-900 dark:text-zinc-100">- Filters- </h3>- {hasActiveFilters && (- <Button- variant="ghost"- size="sm"- onClick={clearFilters}- className="h-6 px-2 text-xs text-zinc-500 hover:text-zinc-700"+ </DropdownMenuTrigger>+ <DropdownMenuContent className="w-46" align="start">+ {hasActiveFilters && (+ <>+ <DropdownMenuItem onClick={clearFilters}>+ <span>Clear all filters</span>+ </DropdownMenuItem>+ <DropdownMenuSeparator />+ </>+ )}++ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Priority</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {["urgent", "high", "medium", "low"].map((priority) => (+ <DropdownMenuCheckboxItem+ key={priority}+ checked={filters.priority === priority}+ onCheckedChange={() =>+ updateFilter("priority", priority)+ }+ className="[&_svg]:text-muted-foreground">- Clear all- </Button>- )}- </div>- </div>-- <div className="p-1 space-y-1">- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- <div className="flex items-center gap-2">- <Flag className="w-3 h-3" />- <span>Priority</span>- </div>- {filters.priority && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded capitalize">- {filters.priority}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {["urgent", "high", "medium", "low"].map(- (priority) => (- <button- key={priority}- type="button"- onClick={() =>- updateFilter("priority", priority)- }- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.priority === priority- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <Flag- className={cn(- "w-3 h-3",- priorityColorsTaskCard[- priority as keyof typeof priorityColorsTaskCard- ],- )}- />- <span className="capitalize">{priority}</span>- {filters.priority === priority && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ),- )}- </PopoverContent>- </Popover>-- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"+ {getPriorityIcon(priority)}+ <span className="capitalize">{priority}</span>+ </DropdownMenuCheckboxItem>+ ))}+ </DropdownMenuSubContent>+ </DropdownMenuSub>++ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Assignee</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {users?.members?.map((member) => (+ <DropdownMenuCheckboxItem+ key={member.userId}+ checked={filters.assignee === member.userId}+ onCheckedChange={() =>+ updateFilter("assignee", member.userId)+ }>- <div className="flex items-center gap-2">- <User className="w-3 h-3" />- <span>Assignee</span>- </div>- {filters.assignee && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded">- {users?.find(- (u) => u.userId === filters.assignee,- )?.userName || "Unknown"}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {users?.map((user) => (- <button- key={user.userId}- type="button"- onClick={() =>- updateFilter("assignee", user.userId)+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={member.user?.image ?? ""}+ alt={member.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {member.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <span>{member.user?.name}</span>+ </DropdownMenuCheckboxItem>+ ))}+ </DropdownMenuSubContent>+ </DropdownMenuSub>++ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Due Date</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {["Due this week", "Due next week", "No due date"].map(+ (dueDate) => (+ <DropdownMenuCheckboxItem+ key={dueDate}+ checked={filters.dueDate === dueDate}+ onCheckedChange={() =>+ updateFilter("dueDate", dueDate)}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.assignee === user.userId- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}>- <div className="w-5 h-5 bg-zinc-400 rounded-full flex items-center justify-center text-white text-xs font-bold">- {user.userName?.charAt(0).toUpperCase()}- </div>- <span>{user.userName}</span>- {filters.assignee === user.userId && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ))}- </PopoverContent>- </Popover>-- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- <div className="flex items-center gap-2">- <Calendar className="w-3 h-3" />- <span>Due date</span>- </div>- {filters.dueDate && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded">- {filters.dueDate}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {[- "Due this week",- "Due next week",- "No due date",- ].map((option) => (- <button- key={option}- type="button"- onClick={() => updateFilter("dueDate", option)}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.dueDate === option- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <Calendar className="w-3 h-3" />- <span>{option}</span>- {filters.dueDate === option && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ))}- </PopoverContent>- </Popover>- </div>- </PopoverContent>- </Popover>-- <Popover>- <PopoverTrigger asChild>- <Button- variant="ghost"- size="sm"- className="h-6 px-2 text-xs text-zinc-600 dark:text-zinc-400"- >- <Settings className="h-3 w-3 mr-1" />- Display- </Button>- </PopoverTrigger>- <PopoverContent className="w-56 p-0" align="start">- <div className="py-2">- <div className="px-2 py-1.5 text-xs font-medium text-zinc-500 dark:text-zinc-400">- Show Elements- </div>- <button- type="button"- onClick={toggleAssignees}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <User className="w-3.5 h-3.5" />- <span>Show assignee</span>- {showAssignees && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={togglePriority}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <Flag className="w-3.5 h-3.5" />- <span>Show priority</span>- {showPriority && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={toggleDueDates}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <Calendar className="w-3.5 h-3.5" />- <span>Show due date</span>- {showDueDates && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={toggleLabels}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <span className="w-3.5 h-3.5 bg-zinc-300 dark:bg-zinc-600 rounded-sm" />- <span>Show labels</span>- {showLabels && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />+ <span>{dueDate}</span>+ </DropdownMenuCheckboxItem>+ ),)}- </button>- <button- type="button"- onClick={toggleTaskNumbers}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <span className="w-3.5 h-3.5 text-xs font-mono text-zinc-500 dark:text-zinc-400 flex items-center justify-center">- #- </span>- <span>Show task numbers</span>- {showTaskNumbers && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />+ </DropdownMenuSubContent>+ </DropdownMenuSub>++ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Labels</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {uniqueLabels.map(+ (label: {+ id: string;+ name: string;+ color: string;+ }) => (+ <DropdownMenuCheckboxItem+ key={label.id}+ checked={isLabelGroupSelected(label)}+ onCheckedChange={() => toggleLabelGroup(label)}+ >+ <span+ className="w-3 h-3 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find(+ (c) => c.value === label.color,+ )?.color || "#94a3b8",+ }}+ />+ <span>{label.name}</span>+ </DropdownMenuCheckboxItem>+ ),)}- </button>- </div>- </PopoverContent>- </Popover>+ </DropdownMenuSubContent>+ </DropdownMenuSub>+ </DropdownMenuContent>+ </DropdownMenu></div></div></div>diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsxindex ea64408dd..cc826eb08 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board.tsx@@ -1,40 +1,41 @@-import ProjectLayout from "@/components/common/project-layout";-import KanbanBoard from "@/components/kanban-board";-import ListView from "@/components/list-view";-import CreateTaskModal from "@/components/shared/modals/create-task-modal";-import { Button } from "@/components/ui/button";-import { KbdSequence } from "@/components/ui/kbd";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import {- Tooltip,- TooltipContent,- TooltipProvider,- TooltipTrigger,-} from "@/components/ui/tooltip";-import { shortcuts } from "@/constants/shortcuts";-import useGetTasks from "@/hooks/queries/task/use-get-tasks";-import useGetActiveWorkspaceUsers from "@/hooks/queries/workspace-users/use-active-workspace-users";-import { useTaskFilters } from "@/hooks/use-task-filters";-import { cn } from "@/lib/cn";-import useProjectStore from "@/store/project";-import { useUserPreferencesStore } from "@/store/user-preferences";import { createFileRoute } from "@tanstack/react-router";import {Calendar,- Check,Filter,- Flag,- LayoutGrid,+ Layout,List,- Plus,- Settings,+ Settings2,User,+ X,} from "lucide-react";import { useEffect, useState } from "react";+import ProjectLayout from "@/components/common/project-layout";+import KanbanBoard from "@/components/kanban-board";+import ListView from "@/components/list-view";+import PageTitle from "@/components/page-title";+import CreateTaskModal from "@/components/shared/modals/create-task-modal";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Button } from "@/components/ui/button";+import {+ DropdownMenu,+ DropdownMenuCheckboxItem,+ DropdownMenuContent,+ DropdownMenuItem,+ DropdownMenuSeparator,+ DropdownMenuSub,+ DropdownMenuSubContent,+ DropdownMenuSubTrigger,+ DropdownMenuTrigger,+} from "@/components/ui/dropdown-menu";+import labelColors from "@/constants/label-colors";+import useGetLabelsByWorkspace from "@/hooks/queries/label/use-get-labels-by-workspace";+import { useGetTasks } from "@/hooks/queries/task/use-get-tasks";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { useTaskFiltersWithLabelsSupport } from "@/hooks/use-task-filters-with-labels-support";+import { getColumnIcon } from "@/lib/column";+import { getPriorityIcon } from "@/lib/priority";+import useProjectStore from "@/store/project";+import { useUserPreferencesStore } from "@/store/user-preferences";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/board",@@ -46,22 +47,11 @@ function RouteComponent() {const { projectId, workspaceId } = Route.useParams();const { data } = useGetTasks(projectId);const { project, setProject } = useProjectStore();- const { viewMode } = useUserPreferencesStore();+ const { viewMode, setViewMode } = useUserPreferencesStore();const [isTaskModalOpen, setIsTaskModalOpen] = useState(false);- const { data: users } = useGetActiveWorkspaceUsers({ workspaceId });- const {- showAssignees,- showPriority,- showDueDates,- showLabels,- showTaskNumbers,- toggleAssignees,- togglePriority,- toggleDueDates,- toggleLabels,- toggleTaskNumbers,- } = useUserPreferencesStore();+ const { data: users } = useGetActiveWorkspaceUsers(workspaceId);+ const { data: workspaceLabels = [] } = useGetLabelsByWorkspace(workspaceId);useEffect(() => {if (data) {@@ -72,412 +62,408 @@ function RouteComponent() {const {filters,updateFilter,+ updateLabelFilter,filteredProject,hasActiveFilters,clearFilters,- } = useTaskFilters(project);+ } = useTaskFiltersWithLabelsSupport(project);++ // Helper functions to get display names for filters+ const getStatusDisplayName = (statusId: string) => {+ const column = project?.columns?.find((col) => col.id === statusId);+ return column?.name || statusId;+ };++ const getPriorityDisplayName = (priority: string) => {+ return priority.charAt(0).toUpperCase() + priority.slice(1);+ };++ const getAssigneeDisplayName = (userId: string) => {+ const member = users?.members?.find((m) => m.userId === userId);+ return member?.user?.name || "Unknown";+ };++ // Deduplicate workspace labels by name and color combination+ const uniqueLabels = workspaceLabels.reduce(+ (+ acc: { id: string; name: string; color: string }[],+ label: { id: string; name: string; color: string },+ ) => {+ const existing = acc.find(+ (l) => l.name === label.name && l.color === label.color,+ );+ if (!existing) {+ acc.push(label);+ }+ return acc;+ },+ [],+ );++ const isLabelGroupSelected = (label: { name: string; color: string }) => {+ return workspaceLabels+ .filter(+ (l: { name: string; color: string }) =>+ l.name === label.name && l.color === label.color,+ )+ .some((l: { id: string }) => filters.labels?.includes(l.id));+ };++ const toggleLabelGroup = (label: { name: string; color: string }) => {+ const matchingLabels = workspaceLabels.filter(+ (l: { name: string; color: string }) =>+ l.name === label.name && l.color === label.color,+ );++ const isAnySelected = matchingLabels.some((l: { id: string }) =>+ filters.labels?.includes(l.id),+ );++ if (isAnySelected) {+ for (const l of matchingLabels) {+ if (filters.labels?.includes(l.id)) {+ updateLabelFilter(l.id);+ }+ }+ } else {+ for (const l of matchingLabels) {+ if (!filters.labels?.includes(l.id)) {+ updateLabelFilter(l.id);+ }+ }+ }+ };return (- <ProjectLayout- title={viewMode === "board" ? "Board" : "List"}- projectId={projectId}- workspaceId={workspaceId}- >+ <ProjectLayout projectId={projectId} workspaceId={workspaceId}>+ <PageTitle+ title={`${project?.name} ⎯ ${viewMode === "board" ? "Board" : "List"}`}+ hideAppName+ /><div className="flex flex-col h-full min-h-0"><div className="bg-card border-b border-border"><div className="h-10 flex items-center px-4"><div className="flex items-center justify-between w-full"><div className="flex items-center gap-2">- <TooltipProvider>- <Tooltip>- <TooltipTrigger asChild>+ {/* Individual Filter Chips */}+ {filters.status && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ {getColumnIcon(filters.status)}+ <span>+ Status is {getStatusDisplayName(filters.status)}+ </span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("status", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.priority && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ {getPriorityIcon(filters.priority)}+ <span>+ Priority is {getPriorityDisplayName(filters.priority)}+ </span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("priority", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.assignee && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ <User className="h-3 w-3" />+ <span>+ Assignee is {getAssigneeDisplayName(filters.assignee)}+ </span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("assignee", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.dueDate && (+ <Button+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5"+ >+ <Calendar className="h-3 w-3" />+ <span>Due date is {filters.dueDate}</span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ updateFilter("dueDate", null);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button>+ </Button>+ )}++ {filters.labels &&+ filters.labels.length > 0 &&+ // Group selected labels by name/color and show only unique chips+ uniqueLabels+ .filter((uniqueLabel) =>+ workspaceLabels+ .filter(+ (l: { name: string; color: string }) =>+ l.name === uniqueLabel.name &&+ l.color === uniqueLabel.color,+ )+ .some((l: { id: string }) =>+ filters.labels?.includes(l.id),+ ),+ )+ .map((label) => (<Button- variant="ghost"- size="xs"- onClick={() => setIsTaskModalOpen(true)}- className="h-6 px-2 text-xs text-zinc-600 dark:text-zinc-400"+ key={`${label.name}-${label.color}`}+ variant="secondary"+ size="sm"+ className="h-6 px-2 text-xs gap-1.5">- <Plus className="h-3 w-3 mr-1" />- New task+ <span+ className="w-2.5 h-2.5 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find((c) => c.value === label.color)+ ?.color || "#94a3b8",+ }}+ />+ <span>Label is {label.name}</span>+ <Button+ variant="ghost"+ size="icon"+ className="h-3 w-3 p-0 ml-1 hover:bg-destructive hover:text-destructive-foreground"+ onClick={(e) => {+ e.stopPropagation();+ toggleLabelGroup(label);+ }}+ >+ <X className="h-2.5 w-2.5" />+ </Button></Button>- </TooltipTrigger>- <TooltipContent>- <KbdSequence- keys={[shortcuts.task.prefix, shortcuts.task.create]}- className="ml-auto"- />- </TooltipContent>- </Tooltip>- </TooltipProvider>+ ))}- <Popover>- <PopoverTrigger asChild>+ <DropdownMenu>+ <DropdownMenuTrigger asChild><Buttonvariant="ghost"size="sm"- className={cn(- "h-6 px-2 text-xs",- hasActiveFilters- ? "text-indigo-600 dark:text-indigo-400 bg-indigo-50 dark:bg-indigo-500/10"- : "text-zinc-600 dark:text-zinc-400",- )}+ className="h-6 px-2 text-xs text-muted-foreground"><Filter className="h-3 w-3 mr-1" />Filter- {hasActiveFilters && (- <span className="ml-1 bg-indigo-500 text-white text-xs rounded-full w-4 h-4 flex items-center justify-center">- {- Object.values(filters).filter((f) => f !== null)- .length- }- </span>- )}</Button>- </PopoverTrigger>- <PopoverContent className="w-72 p-0" align="start">- <div className="p-3 border-b border-zinc-200 dark:border-zinc-800">- <div className="flex items-center justify-between">- <h3 className="text-sm font-medium text-zinc-900 dark:text-zinc-100">- Filters- </h3>- {hasActiveFilters && (- <Button- variant="ghost"- size="sm"- onClick={clearFilters}- className="h-6 px-2 text-xs text-zinc-500 hover:text-zinc-700"- >- Clear all- </Button>- )}- </div>- </div>+ </DropdownMenuTrigger>+ <DropdownMenuContent className="w-46" align="start">+ {hasActiveFilters && (+ <>+ <DropdownMenuItem onClick={clearFilters}>+ <span>Clear all filters</span>+ </DropdownMenuItem>+ <DropdownMenuSeparator />+ </>+ )}- <div className="p-1 space-y-1">- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"+ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Status</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {project?.columns?.map((column) => (+ <DropdownMenuCheckboxItem+ key={column.id}+ checked={filters.status === column.id}+ onCheckedChange={() =>+ updateFilter("status", column.id)+ }>- <div className="flex items-center gap-2">- <div className="w-2 h-2 border border-zinc-400 rounded-full" />- <span>Status</span>- </div>- {filters.status && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded capitalize">- {filters.status.replace("-", " ")}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {project?.columns?.map((column) => (- <button- key={column.id}- type="button"- onClick={() => updateFilter("status", column.id)}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.status === column.id- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <span>{column.name}</span>- {filters.status === column.id && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ))}- </PopoverContent>- </Popover>+ {getColumnIcon(column.id)}+ <span>{column.name}</span>+ </DropdownMenuCheckboxItem>+ ))}+ </DropdownMenuSubContent>+ </DropdownMenuSub>- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"+ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Priority</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {["urgent", "high", "medium", "low"].map((priority) => (+ <DropdownMenuCheckboxItem+ key={priority}+ checked={filters.priority === priority}+ onCheckedChange={() =>+ updateFilter("priority", priority)+ }+ className="[&_svg]:text-muted-foreground">- <div className="flex items-center gap-2">- <Flag className="w-3 h-3" />- <span>Priority</span>- </div>- {filters.priority && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded capitalize">- {filters.priority}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {["urgent", "high", "medium", "low"].map(- (priority) => (- <button- key={priority}- type="button"- onClick={() =>- updateFilter("priority", priority)- }- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.priority === priority- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <Flag- className={cn(- "w-3 h-3",- priority === "urgent" && "text-red-500",- priority === "high" && "text-orange-500",- priority === "medium" && "text-yellow-500",- priority === "low" && "text-green-500",- )}- />- <span className="capitalize">{priority}</span>- {filters.priority === priority && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ),- )}- </PopoverContent>- </Popover>+ {getPriorityIcon(priority)}+ <span className="capitalize">{priority}</span>+ </DropdownMenuCheckboxItem>+ ))}+ </DropdownMenuSubContent>+ </DropdownMenuSub>- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"+ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Assignee</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {users?.members?.map((member) => (+ <DropdownMenuCheckboxItem+ key={member.userId}+ checked={filters.assignee === member.userId}+ onCheckedChange={() =>+ updateFilter("assignee", member.userId)+ }>- <div className="flex items-center gap-2">- <User className="w-3 h-3" />- <span>Assignee</span>- </div>- {filters.assignee && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded">- {users?.find(- (u) => u.userId === filters.assignee,- )?.userName || "Unknown"}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {users?.map((user) => (- <button- key={user.userId}- type="button"- onClick={() =>- updateFilter("assignee", user.userId)+ <Avatar className="h-6 w-6">+ <AvatarImage+ src={member.user?.image ?? ""}+ alt={member.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30">+ {member.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ <span>{member.user?.name}</span>+ </DropdownMenuCheckboxItem>+ ))}+ </DropdownMenuSubContent>+ </DropdownMenuSub>++ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Due Date</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {["Due this week", "Due next week", "No due date"].map(+ (dueDate) => (+ <DropdownMenuCheckboxItem+ key={dueDate}+ checked={filters.dueDate === dueDate}+ onCheckedChange={() =>+ updateFilter("dueDate", dueDate)}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.assignee === user.userId- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}>- <div className="w-5 h-5 bg-zinc-400 rounded-full flex items-center justify-center text-white text-xs font-bold">- {user.userName?.charAt(0).toUpperCase()}- </div>- <span>{user.userName}</span>- {filters.assignee === user.userId && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ))}- </PopoverContent>- </Popover>+ <span>{dueDate}</span>+ </DropdownMenuCheckboxItem>+ ),+ )}+ </DropdownMenuSubContent>+ </DropdownMenuSub>- <Popover>- <PopoverTrigger asChild>- <button- type="button"- className="w-full flex items-center justify-between px-2 py-1.5 text-xs text-left text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800 rounded-md transition-colors"- >- <div className="flex items-center gap-2">- <Calendar className="w-3 h-3" />- <span>Due date</span>- </div>- {filters.dueDate && (- <div className="flex items-center gap-1">- <span className="text-xs bg-zinc-100 dark:bg-zinc-800 px-1.5 py-0.5 rounded">- {filters.dueDate}- </span>- </div>- )}- </button>- </PopoverTrigger>- <PopoverContent- className="w-48 p-1"- align="start"- side="right"- >- {[- "Due this week",- "Due next week",- "No due date",- ].map((option) => (- <button- key={option}- type="button"- onClick={() => updateFilter("dueDate", option)}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left rounded-md transition-colors",- filters.dueDate === option- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}+ <DropdownMenuSub>+ <DropdownMenuSubTrigger className="gap-2">+ <span>Labels</span>+ </DropdownMenuSubTrigger>+ <DropdownMenuSubContent className="w-48">+ {uniqueLabels.map(+ (label: {+ id: string;+ name: string;+ color: string;+ }) => (+ <DropdownMenuCheckboxItem+ key={label.id}+ checked={isLabelGroupSelected(label)}+ onCheckedChange={() => toggleLabelGroup(label)}>- <Calendar className="w-3 h-3" />- <span>{option}</span>- {filters.dueDate === option && (- <Check className="h-3 w-3 ml-auto" />- )}- </button>- ))}- </PopoverContent>- </Popover>- </div>- </PopoverContent>- </Popover>+ <span+ className="w-3 h-3 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find(+ (c) => c.value === label.color,+ )?.color || "#94a3b8",+ }}+ />+ <span>{label.name}</span>+ </DropdownMenuCheckboxItem>+ ),+ )}+ </DropdownMenuSubContent>+ </DropdownMenuSub>+ </DropdownMenuContent>+ </DropdownMenu>- <Popover>- <PopoverTrigger asChild>+ <DropdownMenu>+ <DropdownMenuTrigger asChild><Buttonvariant="ghost"size="sm"- className="h-6 px-2 text-xs text-zinc-600 dark:text-zinc-400"+ className="h-6 px-2 text-xs text-muted-foreground">- <Settings className="h-3 w-3 mr-1" />+ <Settings2 className="h-3 w-3 mr-1" />Display</Button>- </PopoverTrigger>- <PopoverContent className="w-56 p-0" align="start">- <div className="py-2">- <div className="px-2 py-1.5 text-xs font-medium text-zinc-500 dark:text-zinc-400">- Layout- </div>- <button- type="button"- onClick={() => {- useUserPreferencesStore.setState({- viewMode: "board",- });- }}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors",- viewMode === "board"- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <LayoutGrid className="w-3.5 h-3.5" />- <span>Board</span>- </button>- <button- type="button"- onClick={() => {- useUserPreferencesStore.setState({- viewMode: "list",- });- }}- className={cn(- "w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors",- viewMode === "list"- ? "bg-indigo-50 text-indigo-600 dark:bg-indigo-500/10 dark:text-indigo-400"- : "text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800",- )}- >- <List className="w-3.5 h-3.5" />- <span>List</span>- </button>-- <div className="h-px bg-zinc-200 dark:bg-zinc-800 my-2" />-- <div className="px-2 py-1.5 text-xs font-medium text-zinc-500 dark:text-zinc-400">- Show Elements- </div>- <button- type="button"- onClick={toggleAssignees}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <User className="w-3.5 h-3.5" />- <span>Show assignee</span>- {showAssignees && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={togglePriority}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <Flag className="w-3.5 h-3.5" />- <span>Show priority</span>- {showPriority && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={toggleDueDates}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <Calendar className="w-3.5 h-3.5" />- <span>Show due date</span>- {showDueDates && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={toggleLabels}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <span className="w-3.5 h-3.5 bg-zinc-300 dark:bg-zinc-600 rounded-sm" />- <span>Show labels</span>- {showLabels && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- <button- type="button"- onClick={toggleTaskNumbers}- className="w-full flex items-center gap-2 px-2 py-1.5 text-xs text-left transition-colors text-zinc-600 dark:text-zinc-400 hover:bg-zinc-100 dark:hover:bg-zinc-800"- >- <span className="w-3.5 h-3.5 text-xs font-mono text-zinc-500 dark:text-zinc-400 flex items-center justify-center">- #- </span>- <span>Show task numbers</span>- {showTaskNumbers && (- <div className="ml-auto w-2 h-2 bg-indigo-500 rounded-full" />- )}- </button>- </div>- </PopoverContent>- </Popover>+ </DropdownMenuTrigger>+ <DropdownMenuContent className="w-40" align="start">+ <DropdownMenuItem+ onClick={() => setViewMode("board")}+ className={`gap-2 ${viewMode === "board" ? "bg-accent" : ""}`}+ >+ <Layout className="h-3 w-3" />+ <span>Board</span>+ {viewMode === "board" && (+ <div className="ml-auto w-1.5 h-1.5 rounded-full bg-primary" />+ )}+ </DropdownMenuItem>+ <DropdownMenuItem+ onClick={() => setViewMode("list")}+ className={`gap-2 ${viewMode === "list" ? "bg-accent" : ""}`}+ >+ <List className="h-3 w-3" />+ <span>List</span>+ {viewMode === "list" && (+ <div className="ml-auto w-1.5 h-1.5 rounded-full bg-primary" />+ )}+ </DropdownMenuItem>+ </DropdownMenuContent>+ </DropdownMenu></div></div></div>diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsxindex e42e29cff..91e77818d 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/index.tsx@@ -1,5 +1,5 @@+import { createFileRoute, Outlet } from "@tanstack/react-router";import ProjectLayout from "@/components/common/project-layout";-import { Outlet, createFileRoute } from "@tanstack/react-router";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/",@@ -11,11 +11,7 @@ function RouteComponent() {const { workspaceId, projectId } = Route.useParams();return (- <ProjectLayout- title="Project"- projectId={projectId}- workspaceId={workspaceId}- >+ <ProjectLayout projectId={projectId} workspaceId={workspaceId}><Outlet /></ProjectLayout>);diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsxdeleted file mode 100644index c7284122e..000000000--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings.tsx+++ /dev/null@@ -1,531 +0,0 @@-import { GitHubIntegrationSettings } from "@/components/project/github-integration-settings";-import { TasksImportExport } from "@/components/project/tasks-import-export";-import {- DangerZoneSection,- SettingsLayout,- SettingsSection,-} from "@/components/settings-layout";-import { Button } from "@/components/ui/button";-import {- Form,- FormControl,- FormDescription,- FormField,- FormItem,- FormLabel,- FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import {- Popover,- PopoverContent,- PopoverTrigger,-} from "@/components/ui/popover";-import { Switch } from "@/components/ui/switch";-import icons from "@/constants/project-icons";-import useDeleteProject from "@/hooks/mutations/project/use-delete-project";-import useUpdateProject from "@/hooks/mutations/project/use-update-project";-import useGetTasks from "@/hooks/queries/task/use-get-tasks";-import { useWorkspacePermission } from "@/hooks/useWorkspacePermission";-import { cn } from "@/lib/cn";-import useProjectStore from "@/store/project";-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import { useQueryClient } from "@tanstack/react-query";-import { createFileRoute, useNavigate } from "@tanstack/react-router";-import { motion } from "framer-motion";-import {- AlertCircle,- AlertTriangle,- Check,- Copy,- Download,- Github,- Globe,- Key,- Lock,- Trash2,-} from "lucide-react";-import { createElement, useCallback, useEffect, useState } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";--const projectFormSchema = z.object({- name: z.string().min(1, "Project name is required"),- slug: z.string().min(1, "Project slug is required"),- icon: z.string().min(1, "Project icon is required"),- isPublic: z.boolean().optional(),-});--type ProjectFormValues = z.infer<typeof projectFormSchema>;--export const Route = createFileRoute(- "/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/settings",-)({- component: ProjectSettings,-});--function ProjectSettings() {- const { projectId } = Route.useParams();- const { data } = useGetTasks(projectId);- const { project, setProject } = useProjectStore();- const { isOwner } = useWorkspacePermission();- const [confirmProjectName, setConfirmProjectName] = useState("");- const [copied, setCopied] = useState(false);- const [iconPopoverOpen, setIconPopoverOpen] = useState(false);- const { mutateAsync: updateProject, isPending } = useUpdateProject();- const { mutateAsync: deleteProject, isPending: isDeleting } =- useDeleteProject();- const queryClient = useQueryClient();- const navigate = useNavigate();-- const form = useForm<ProjectFormValues>({- resolver: standardSchemaResolver(projectFormSchema),- defaultValues: {- name: "",- slug: "",- icon: "Layout",- isPublic: false,- },- });-- const { isDirty } = form.formState;-- const resetFormWithProject = useCallback(- (projectData: typeof project) => {- if (projectData) {- form.reset({- name: projectData.name || "",- slug: projectData.slug || "",- icon: projectData.icon || "Layout",- isPublic: projectData.isPublic || false,- });- }- },- [form],- );-- useEffect(() => {- if (data) {- setProject(data);- }- }, [data, setProject]);-- useEffect(() => {- resetFormWithProject(project);- }, [project, resetFormWithProject]);-- useEffect(() => {- const handleBeforeUnload = (e: BeforeUnloadEvent) => {- if (isDirty) {- e.preventDefault();- e.returnValue =- "You have unsaved changes. Are you sure you want to leave?";- return e.returnValue;- }- };-- window.addEventListener("beforeunload", handleBeforeUnload);- return () => window.removeEventListener("beforeunload", handleBeforeUnload);- }, [isDirty]);-- const onSubmit = async (data: ProjectFormValues) => {- try {- await updateProject({- id: project?.id ?? "",- name: data.name,- icon: data.icon,- slug: data.slug,- description: project?.description ?? "",- isPublic: data.isPublic ?? false,- });-- queryClient.invalidateQueries({- queryKey: ["project", project?.id],- });- queryClient.invalidateQueries({- queryKey: ["projects", project?.workspaceId],- });-- form.reset(data);- toast.success("Project updated successfully");- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to update project",- );- }- };-- const handleDeleteProject = async () => {- if (!project) return;-- if (confirmProjectName !== project.name) {- toast.error("Project name does not match");- return;- }-- try {- await deleteProject({ id: project.id });-- queryClient.invalidateQueries({- queryKey: ["project", project.id],- });- queryClient.invalidateQueries({- queryKey: ["projects", project.workspaceId],- });-- setProject(undefined);- navigate({- to: "/dashboard/workspace/$workspaceId",- params: {- workspaceId: project.workspaceId,- },- });-- toast.success("Project deleted successfully");- setConfirmProjectName("");- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to delete project",- );- }- };-- const handleCopyUrl = async () => {- if (!project?.id) return;-- const url = `${window.location.origin}/public-project/${project.id}`;- try {- await navigator.clipboard.writeText(url);- setCopied(true);- toast.success("URL copied to clipboard");- setTimeout(() => setCopied(false), 2000);- } catch (error) {- toast.error("Failed to copy URL");- }- };-- if (!isOwner) {- return (- <div className="max-w-4xl mx-auto space-y-8 py-6">- <div className="space-y-1">- <p className="text-sm text-muted-foreground">- Manage your project configuration and settings- </p>- </div>- <div className="flex flex-col items-center justify-center py-24">- <div className="flex h-20 w-20 items-center justify-center rounded-full border border-amber-200 bg-amber-50 dark:border-amber-800/50 dark:bg-amber-900/20">- <Lock className="h-8 w-8 text-amber-600 dark:text-amber-500" />- </div>- <div className="mt-6 text-center">- <h2 className="text-xl font-semibold">Permission Required</h2>- <p className="mt-2 text-sm text-muted-foreground max-w-md">- Only workspace owners can modify project settings. Please contact- the workspace owner if you need to make changes.- </p>- </div>- </div>- </div>- );- }-- return (- <SettingsLayout- title="Project"- description="Configure your project settings and details"- className="pt-4 px-6 overflow-auto"- >- <div className="max-w-4xl mx-auto space-y-8">- {isDirty && (- <motion.div- initial={{ opacity: 0, y: -10 }}- animate={{ opacity: 1, y: 0 }}- className="rounded-lg border border-amber-200 bg-amber-50 p-4 dark:border-amber-800/50 dark:bg-amber-900/20"- >- <div className="flex items-center gap-2">- <AlertCircle className="h-4 w-4 text-amber-600 dark:text-amber-500" />- <span className="text-sm font-medium text-amber-800 dark:text-amber-200">- You have unsaved changes- </span>- </div>- </motion.div>- )}-- {project && (- <SettingsSection- title="General"- description="Basic project information and configuration"- >- <Form {...form}>- <form- onSubmit={form.handleSubmit(onSubmit)}- className="space-y-8"- >- <FormField- control={form.control}- name="name"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <FormLabel className="text-base font-medium">- Project Name- </FormLabel>- <FormControl>- <Input {...field} placeholder="Enter project name" />- </FormControl>- <FormMessage />- </FormItem>- )}- />-- <div className="space-y-6">- <FormField- control={form.control}- name="icon"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <FormLabel className="text-base font-medium">- Project Icon- </FormLabel>- <div className="flex items-center gap-4">- <Popover- open={iconPopoverOpen}- onOpenChange={setIconPopoverOpen}- >- <PopoverTrigger asChild>- <Button- variant="outline"- size="sm"- className="h-10 w-10 p-0"- >- {createElement(- icons[field.value as keyof typeof icons],- {- className: "h-4 w-4",- },- )}- </Button>- </PopoverTrigger>- <PopoverContent className="w-80 p-2" align="start">- <div className="max-h-[300px] overflow-y-auto">- <div className="grid grid-cols-8 gap-2">- {Object.entries(icons).map(- ([iconName, Icon]) => (- <Button- key={iconName}- variant="ghost"- size="sm"- className={cn(- "h-10 w-10 p-0",- field.value === iconName &&- "bg-accent",- )}- onClick={() => {- field.onChange(iconName);- setIconPopoverOpen(false);- }}- >- <Icon className="h-4 w-4" />- </Button>- ),- )}- </div>- </div>- </PopoverContent>- </Popover>- <div className="flex-1 space-y-1">- <p className="text-xs text-muted-foreground">- Choose an icon to represent your project- </p>- </div>- </div>- </FormItem>- )}- />-- <FormField- control={form.control}- name="slug"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <FormLabel className="text-base font-medium">- Project Key- </FormLabel>- <div className="rounded-lg border bg-card p-4">- <div className="flex items-center gap-3">- <Key className="h-4 w-4 text-muted-foreground" />- <FormControl>- <Input- {...field}- placeholder="PROJ"- className="w-20 border-0 bg-transparent p-0 text-center font-mono text-sm font-semibold uppercase shadow-none focus-visible:ring-0"- maxLength={5}- onChange={(e) =>- field.onChange(e.target.value.toUpperCase())- }- />- </FormControl>- <div className="flex-1 text-xs text-muted-foreground">- Used for task IDs (e.g., {field.value || "ABC"}- -123)- </div>- </div>- </div>- <FormMessage />- </FormItem>- )}- />- </div>-- <FormField- control={form.control}- name="isPublic"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <div className="rounded-lg border bg-card p-4">- <div className="flex items-center justify-between">- <div className="space-y-0.5">- <div className="flex items-center gap-2">- <Globe className="h-4 w-4 text-muted-foreground" />- <FormLabel className="text-base font-medium">- Public Project- </FormLabel>- </div>- <FormDescription>- Make the project visible to everyone on the web- </FormDescription>- </div>- <FormControl>- <Switch- checked={field.value}- onCheckedChange={field.onChange}- />- </FormControl>- </div>- {field.value && (- <motion.div- initial={{ opacity: 0, height: 0 }}- animate={{ opacity: 1, height: "auto" }}- className="mt-4 space-y-3 rounded-md border bg-muted/20 p-3"- >- <p className="text-sm font-medium">Public URL</p>- <div className="flex gap-2">- <Input- value={`${window.location.origin}/public-project/${project?.id}`}- readOnly- className="flex-1 font-mono text-xs"- />- <Button- type="button"- variant="outline"- size="sm"- className="h-auto"- onClick={handleCopyUrl}- >- {copied ? (- <>- <Check className="mr-1 h-3 w-3" />- Copied- </>- ) : (- <>- <Copy className="mr-1 h-3 w-3" />- Copy- </>- )}- </Button>- </div>- </motion.div>- )}- </div>- <FormMessage />- </FormItem>- )}- />-- <div className="flex justify-end">- <Button type="submit" disabled={isPending || !isDirty}>- {isPending ? "Saving..." : "Save Changes"}- </Button>- </div>- </form>- </Form>- </SettingsSection>- )}-- {project && (- <SettingsSection- title="Export & Import"- description="Export tasks to a JSON file or import tasks from a JSON file"- icon={<Download className="w-4 h-4" />}- >- <TasksImportExport project={project} />- </SettingsSection>- )}-- {project && (- <SettingsSection- title="GitHub Integration"- description="Configure GitHub integration for your project"- icon={<Github className="w-4 h-4" />}- >- <GitHubIntegrationSettings projectId={project.id} />- </SettingsSection>- )}-- {project && (- <DangerZoneSection- title="Danger Zone"- description="Permanently delete your project. This action cannot be undone."- >- <div className="space-y-4">- <div className="rounded-md border border-destructive/20 bg-destructive/10 p-4">- <div className="flex items-start gap-3">- <AlertTriangle className="mt-0.5 h-4 w-4 text-destructive" />- <div className="space-y-1">- <p className="text-sm font-medium">- This action cannot be undone- </p>- <ul className="space-y-1 text-xs text-muted-foreground">- <li>• All tasks will be permanently deleted</li>- <li>• All task history will be removed</li>- <li>• Project settings will be erased</li>- </ul>- </div>- </div>- </div>-- <div className="space-y-3">- <div>- <label- htmlFor="confirm-deletion"- className="text-sm font-medium"- >- Type "{project.name}" to confirm deletion- </label>- <Input- id="confirm-deletion"- value={confirmProjectName}- onChange={(e) => setConfirmProjectName(e.target.value)}- placeholder={project.name}- className="mt-1"- />- </div>- <Button- onClick={handleDeleteProject}- disabled={confirmProjectName !== project.name || isDeleting}- variant="destructive"- className="w-full gap-2"- >- <Trash2 className="h-4 w-4" />- {isDeleting ? "Deleting..." : "Delete Project"}- </Button>- </div>- </div>- </DangerZoneSection>- )}- </div>- </SettingsLayout>- );-}--export default ProjectSettings;diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsxindex be9617582..24aeedef8 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_.tsx@@ -1,117 +1,339 @@-import ProjectLayout from "@/components/common/project-layout";+import { createFileRoute } from "@tanstack/react-router";+import { format } from "date-fns";+import {+ Calendar,+ CalendarClock,+ CalendarX,+ Copy,+ GitBranch,+ Plus,+} from "lucide-react";+import { toast } from "sonner";+import Activity from "@/components/activity";+import CommentInput from "@/components/activity/comment-input";+import TaskLayout from "@/components/common/task-layout";import PageTitle from "@/components/page-title";-import TaskActivities from "@/components/task/task-activities";-import TaskComment from "@/components/task/task-comment";+import useAuth from "@/components/providers/auth-provider/hooks/use-auth";+import TaskAssigneePopover from "@/components/task/task-assignee-popover";import TaskDescription from "@/components/task/task-description";-import TaskInfo from "@/components/task/task-info";-import TaskTimeTracking from "@/components/task/task-time-tracking";+import TaskDueDatePopover from "@/components/task/task-due-date-popover";+import TaskLabelsPopover from "@/components/task/task-labels-popover";+import TaskPriorityPopover from "@/components/task/task-priority-popover";+import TaskStatusPopover from "@/components/task/task-status-popover";import TaskTitle from "@/components/task/task-title";-import { LoadingSkeleton } from "@/components/ui/loading-skeleton";+import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";+import { Badge } from "@/components/ui/badge";+import { Button } from "@/components/ui/button";+import { KbdSequence } from "@/components/ui/kbd";+import {+ Tooltip,+ TooltipContent,+ TooltipProvider,+ TooltipTrigger,+} from "@/components/ui/tooltip";+import labelColors from "@/constants/label-colors";+import useGetActivitiesByTaskId from "@/hooks/queries/activity/use-get-activities-by-task-id";+import useGetLabelsByTask from "@/hooks/queries/label/use-get-labels-by-task";+import useGetProject from "@/hooks/queries/project/use-get-project";import useGetTask from "@/hooks/queries/task/use-get-task";-import useGetTasks from "@/hooks/queries/task/use-get-tasks";-import useProjectStore from "@/store/project";-import { createFileRoute, useRouter } from "@tanstack/react-router";-import { motion } from "framer-motion";-import { X } from "lucide-react";-import { useEffect, useState } from "react";+import useActiveWorkspace from "@/hooks/queries/workspace/use-active-workspace";+import { useGetActiveWorkspaceUsers } from "@/hooks/queries/workspace-users/use-get-active-workspace-users";+import { getColumnIcon } from "@/lib/column";+import { dueDateStatusColors, getDueDateStatus } from "@/lib/due-date-status";+import { getPriorityIcon } from "@/lib/priority";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/project/$projectId/task/$taskId_",)({- component: TaskEditPage,+ component: RouteComponent,});-function TaskEditPage() {- const { taskId, projectId, workspaceId } = Route.useParams();- const { data: project } = useGetTasks(projectId);- const { data: task, isLoading } = useGetTask(taskId);- const { setProject } = useProjectStore();- const router = useRouter();- const [isSaving, setIsSaving] = useState(false);+function toKebabCase(str: string | undefined) {+ return str?.replace(/ /g, "-").toLowerCase().replace(/^-|-$/g, "");+}++function toNormalCase(str: string | undefined) {+ if (!str) return str;+ return str+ .replace(/[-_]/g, " ")+ .split(" ")+ .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())+ .join(" ");+}++function RouteComponent() {+ const { projectId, workspaceId, taskId } = Route.useParams();+ const { data: task } = useGetTask(taskId);+ const { data: project } = useGetProject({ id: projectId, workspaceId });+ const { data: workspace } = useActiveWorkspace();+ const { data: workspaceUsers } = useGetActiveWorkspaceUsers(workspaceId);+ const { data: taskLabels = [] } = useGetLabelsByTask(taskId);+ const { data: activities = [] } = useGetActivitiesByTaskId(taskId);+ const { user } = useAuth();+ const workspaceName = workspace?.name;+ const projectSlug = project?.slug;+ const taskNumber = task?.number;- useEffect(() => {- if (project) {- setProject(project);- }- }, [project, setProject]);+ const assignee = workspaceUsers?.members?.find(+ (member) => member.userId === task?.userId,+ );++ const handleCopyTaskLink = () => {+ navigator.clipboard.writeText(+ `${window.location.origin}/workspace/${workspaceId}/project/${projectId}/task/${taskId}`,+ );+ toast.message("Task link copied to clipboard");+ };- if (isLoading) {- return <LoadingSkeleton />;- }+ const handleCopyTaskBranch = () => {+ navigator.clipboard.writeText(+ `${toKebabCase(workspaceName)}/${toKebabCase(projectSlug)}-${taskNumber}`,+ );+ toast.message("Task branch copied to clipboard");+ };return (- <ProjectLayout- title={`${project?.slug}-${task?.number}`}+ <TaskLayout+ taskId={taskId}projectId={projectId}workspaceId={workspaceId}- >- <PageTitle- title={`${project?.slug}-${task?.number} · ${task?.title || "Task"}`}- hideAppName- />- <motion.div- initial={{ opacity: 0 }}- animate={{ opacity: 1 }}- className="h-full flex flex-col bg-card overflow-hidden"- >- <header className="sticky top-0 z-10 flex items-center px-4 h-[65px] border-b border-zinc-200 dark:border-zinc-800">- <div className="flex items-center gap-2 flex-1 min-w-0">- <button- type="button"- onClick={() => router.history.back()}- className="p-1.5 rounded-md hover:bg-zinc-100 dark:hover:bg-zinc-800 transition-colors"- >- <X className="w-4 h-4 text-zinc-500 dark:text-zinc-400" />- </button>- <div className="flex-1 min-w-0">- <div className="text-xs font-mono text-zinc-500 dark:text-zinc-400 mb-0.5">- {project?.slug}-{task?.number}- </div>- <TaskTitle setIsSaving={setIsSaving} />- </div>+ rightSidebar={+ <div className="w-72 bg-sidebar border-l border-border flex flex-col gap-2 sticky top-0 right-0">+ <div className="flex gap-2 p-4 px-6">+ <p className="text-sm font-medium text-muted-foreground flex-1">+ Properties+ </p>+ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ className="text-muted-foreground"+ onClick={() => handleCopyTaskLink()}+ >+ <Copy className="size-4" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={["Ctrl", "Shift", "C"]}+ description="Copy task link"+ separator=""+ />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider>++ <TooltipProvider>+ <Tooltip>+ <TooltipTrigger asChild>+ <Button+ variant="ghost"+ size="xs"+ className="text-muted-foreground"+ onClick={() => handleCopyTaskBranch()}+ >+ <GitBranch className="size-4" />+ </Button>+ </TooltipTrigger>+ <TooltipContent>+ <KbdSequence+ keys={["Ctrl", "Shift", "G"]}+ description="Copy task branch"+ separator=""+ />+ </TooltipContent>+ </Tooltip>+ </TooltipProvider></div>- <div className="flex items-center gap-1.5 ml-4">- {isSaving && (- <span className="text-xs text-zinc-500 dark:text-zinc-400">- Saving...- </span>+ <div className="flex flex-col gap-2 items-start px-4">+ {task && (+ <TaskStatusPopover task={task}>+ <Button+ variant="ghost"+ size="sm"+ className="w-2/4 justify-start"+ >+ {getColumnIcon(task.status ?? "")}+ <span className="text-xs font-semibold">+ {toNormalCase(task.status)}+ </span>+ </Button>+ </TaskStatusPopover>+ )}+ {task && (+ <TaskPriorityPopover task={task}>+ <Button+ variant="ghost"+ size="sm"+ className="w-2/4 justify-start"+ >+ {getPriorityIcon(task.priority ?? "")}+ <span className="text-xs font-semibold">+ {toNormalCase(task.priority ?? "")}+ </span>+ </Button>+ </TaskPriorityPopover>+ )}+ {task && (+ <TaskAssigneePopover task={task} workspaceId={workspaceId}>+ <Button+ variant="ghost"+ size="sm"+ className="w-2/4 justify-start pl-3"+ >+ {task.userId ? (+ <Avatar className="h-[20px] w-[20px]">+ <AvatarImage+ src={assignee?.user?.image ?? ""}+ alt={assignee?.user?.name || ""}+ />+ <AvatarFallback className="text-xs font-medium border border-border/30 flex-shrink-0 h-[20px] w-[20px]">+ {assignee?.user?.name?.charAt(0).toUpperCase()}+ </AvatarFallback>+ </Avatar>+ ) : (+ <div+ className="w-[20px] h-[20px] rounded-full bg-muted border border-border flex items-center justify-center flex-shrink-0"+ title="Unassigned"+ >+ <span className="text-[10px] font-medium">?</span>+ </div>+ )}+ <span className="text-xs font-semibold flex-shrink-0">+ {assignee?.user?.name || task.assigneeName || "Unassigned"}+ </span>+ </Button>+ </TaskAssigneePopover>)}</div>- </header>-- <div className="flex-1 min-h-0 md:flex-row overflow-auto">- <div className="flex-1 min-w-0 overflow-y-auto border-r border-zinc-200 dark:border-zinc-800 flex flex-col-reverse md:flex-row h-full">- <div className="px-6 py-6 space-y-6 flex-1">- <div className="space-y-8">- <TaskDescription setIsSaving={setIsSaving} />- <TaskTimeTracking taskId={taskId} />-- <div className="space-y-4">- <div className="flex items-center justify-between">- <h2 className="text-base font-medium text-zinc-900 dark:text-zinc-100">- Comments & Activity- </h2>- <div className="flex items-center gap-2">- <button- type="button"- className="text-xs text-zinc-500 dark:text-zinc-400 hover:text-zinc-900 dark:hover:text-zinc-100"+ <div className="w-full h-[1px] bg-border my-2" />+ <div className="px-4 pb-4 flex flex-col gap-4">+ <div className="flex flex-col gap-1">+ <div className="flex items-center justify-between">+ <span className="text-xs font-medium text-muted-foreground pl-2">+ Due date+ </span>+ </div>+ {task && (+ <TaskDueDatePopover task={task}>+ <Button+ variant="ghost"+ size="sm"+ className="w-2/4 justify-start"+ >+ {task.dueDate ? (+ <>+ {getDueDateStatus(task.dueDate) === "overdue" && (+ <CalendarX+ className={`w-2 h-2 ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}+ />+ )}+ {getDueDateStatus(task.dueDate) === "due-soon" && (+ <CalendarClock+ className={`w-2 h-2 ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}+ />+ )}+ {(getDueDateStatus(task.dueDate) === "far-future" ||+ getDueDateStatus(task.dueDate) === "no-due-date") && (+ <Calendar+ className={`w-2 h-2 ${dueDateStatusColors[getDueDateStatus(task.dueDate)]}`}+ />+ )}+ <span className="text-xs font-semibold flex-shrink-0">+ {format(new Date(task.dueDate), "MMM d, yyyy")}+ </span>+ </>+ ) : (+ <span className="text-sm font-semibold">No due date</span>+ )}+ </Button>+ </TaskDueDatePopover>+ )}+ </div>+ <div className="flex flex-col gap-1">+ <div className="flex items-center justify-between">+ <span className="text-xs font-medium text-muted-foreground pl-2">+ Labels+ </span>+ </div>+ <div className="flex flex-wrap items-center gap-2 px-2">+ {task &&+ taskLabels.length > 0 &&+ taskLabels.map(+ (label: { id: string; name: string; color: string }) => (+ <TaskLabelsPopover+ key={`edit-${label.id}`}+ task={task}+ workspaceId={workspaceId}>- Show all- </button>- </div>- </div>- </div>+ <Badge+ key={label.id}+ variant="outline"+ className="flex items-center gap-1.5 px-2 py-1 cursor-pointer hover:bg-accent/50 transition-colors"+ >+ <span+ className="w-2 h-2 rounded-full flex-shrink-0"+ style={{+ backgroundColor:+ labelColors.find((c) => c.value === label.color)+ ?.color || "#94a3b8",+ }}+ />+ <span className="text-xs">{label.name}</span>+ </Badge>+ </TaskLabelsPopover>+ ),+ )}- <div className="space-y-6 pb-8">- <TaskComment />- <TaskActivities />- </div>+ {task && (+ <TaskLabelsPopover task={task} workspaceId={workspaceId}>+ <Button+ variant="ghost"+ size="sm"+ className="h-6 w-6 p-0 rounded-full border-border hover:border-solid"+ >+ <Plus className="h-3 w-3" />+ </Button>+ </TaskLabelsPopover>+ )}</div></div>- {task && <TaskInfo task={task} setIsSaving={setIsSaving} />}</div></div>- </motion.div>- </ProjectLayout>+ }+ >+ <PageTitle+ title={`${project?.slug}-${task?.number} ⎯ ${task?.title}`}+ hideAppName+ />+ <div className="flex flex-col h-full min-h-0 max-w-3xl mx-auto px-4 py-8 gap-2">+ <p className="text-xs font-semibold text-muted-foreground">+ {project?.slug}-{task?.number}+ </p>+ <TaskTitle taskId={taskId} />+ <TaskDescription taskId={taskId} />+ <span className="text-sm font-medium text-muted-foreground h-[1px] bg-border w-full" />+ <div className="flex flex-col gap-4 pt-8">+ <h1 className="text-md font-semibold">Activity</h1>+ {user?.id && <CommentInput taskId={taskId} userId={user.id} />}+ <div className="flex flex-col">+ {activities.length === 0 && (+ <p className="text-sm font-medium text-muted-foreground">+ No activity found+ </p>+ )}+ {activities.map((activity, index) => (+ <Activity+ key={activity.id}+ activity={activity}+ isLast={index === activities.length - 1}+ />+ ))}+ </div>+ </div>+ </div>+ </TaskLayout>);}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsxindex c151a69f8..a9c6588eb 100644--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/search.tsx@@ -1,9 +1,10 @@+import { createFileRoute, Link } from "@tanstack/react-router";+import { ArrowLeft, Search } from "lucide-react";+import { useState } from "react";import WorkspaceLayout from "@/components/common/workspace-layout";+import PageTitle from "@/components/page-title";import { Button } from "@/components/ui/button";import { Input } from "@/components/ui/input";-import { Link, createFileRoute } from "@tanstack/react-router";-import { ArrowLeft, Search } from "lucide-react";-import { useState } from "react";export const Route = createFileRoute("/_layout/_authenticated/dashboard/workspace/$workspaceId/search",@@ -26,111 +27,114 @@ function SearchComponent() {};return (- <WorkspaceLayout- title="Search"- headerActions={- <Link to="/dashboard/workspace/$workspaceId" params={{ workspaceId }}>- <Button variant="ghost" size="sm" className="gap-2">- <ArrowLeft className="w-4 h-4" />- Back to Dashboard- </Button>- </Link>- }- >- <div className="space-y-6">- <div>- <div className="relative">- <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" />- <Input- placeholder="Search projects, tasks, comments..."- value={searchQuery}- onChange={(e) => setSearchQuery(e.target.value)}- onKeyDown={(e) => {- if (e.key === "Enter") {- handleSearch(searchQuery);- }- }}- className="pl-10 h-12 text-lg"- autoFocus- />- <Button- onClick={() => handleSearch(searchQuery)}- disabled={!searchQuery.trim() || isSearching}- className="absolute right-2 top-1/2 transform -translate-y-1/2"- size="sm"- >- {isSearching ? "Searching..." : "Search"}+ <>+ <PageTitle title="Search" />+ <WorkspaceLayout+ title="Search"+ headerActions={+ <Link to="/dashboard/workspace/$workspaceId" params={{ workspaceId }}>+ <Button variant="ghost" size="sm" className="gap-2">+ <ArrowLeft className="w-4 h-4" />+ Back to Dashboard</Button>+ </Link>+ }+ >+ <div className="space-y-6">+ <div>+ <div className="relative">+ <Search className="absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground w-4 h-4" />+ <Input+ placeholder="Search projects, tasks, comments..."+ value={searchQuery}+ onChange={(e) => setSearchQuery(e.target.value)}+ onKeyDown={(e) => {+ if (e.key === "Enter") {+ handleSearch(searchQuery);+ }+ }}+ className="pl-10 h-12 text-lg"+ autoFocus+ />+ <Button+ onClick={() => handleSearch(searchQuery)}+ disabled={!searchQuery.trim() || isSearching}+ className="absolute right-2 top-1/2 transform -translate-y-1/2"+ size="sm"+ >+ {isSearching ? "Searching..." : "Search"}+ </Button>+ </div>+ <p className="text-sm text-muted-foreground mt-2">+ Search across all projects, tasks, and comments in this workspace+ </p></div>- <p className="text-sm text-muted-foreground mt-2">- Search across all projects, tasks, and comments in this workspace- </p>- </div>- {searchQuery ? (- <div>- <h2 className="text-xl font-semibold mb-4">- Search Results for "{searchQuery}"- </h2>+ {searchQuery ? (+ <div>+ <h2 className="text-xl font-semibold mb-4">+ Search Results for "{searchQuery}"+ </h2>- {isSearching ? (- <div className="flex items-center justify-center py-12">- <div className="text-center space-y-4">- <div className="w-16 h-16 bg-zinc-200 dark:bg-zinc-800 rounded-lg animate-pulse mx-auto" />- <div className="space-y-2">- <div className="w-48 h-4 bg-zinc-200 dark:bg-zinc-800 rounded animate-pulse mx-auto" />- <div className="w-64 h-3 bg-zinc-200 dark:bg-zinc-800 rounded animate-pulse mx-auto" />+ {isSearching ? (+ <div className="flex items-center justify-center py-12">+ <div className="text-center space-y-4">+ <div className="w-16 h-16 bg-zinc-200 dark:bg-zinc-800 rounded-lg animate-pulse mx-auto" />+ <div className="space-y-2">+ <div className="w-48 h-4 bg-zinc-200 dark:bg-zinc-800 rounded animate-pulse mx-auto" />+ <div className="w-64 h-3 bg-zinc-200 dark:bg-zinc-800 rounded animate-pulse mx-auto" />+ </div></div></div>- </div>- ) : (- <div className="text-center py-12">- <Search className="w-12 h-12 text-muted-foreground mx-auto mb-4" />- <p className="text-lg font-medium mb-2">No results found</p>- <p className="text-muted-foreground">- Try adjusting your search terms or search for something else- </p>- </div>- )}- </div>- ) : (- <div className="text-center py-12">- <Search className="w-16 h-16 text-muted-foreground mx-auto mb-4" />- <h2 className="text-xl font-semibold mb-2">Start Searching</h2>- <p className="text-muted-foreground mb-6">- Enter a search term to find projects, tasks, and comments- </p>-- <div className="space-y-2">- <p className="text-sm font-medium text-muted-foreground">- Quick searches:+ ) : (+ <div className="text-center py-12">+ <Search className="w-12 h-12 text-muted-foreground mx-auto mb-4" />+ <p className="text-lg font-medium mb-2">No results found</p>+ <p className="text-muted-foreground">+ Try adjusting your search terms or search for something else+ </p>+ </div>+ )}+ </div>+ ) : (+ <div className="text-center py-12">+ <Search className="w-16 h-16 text-muted-foreground mx-auto mb-4" />+ <h2 className="text-xl font-semibold mb-2">Start Searching</h2>+ <p className="text-muted-foreground mb-6">+ Enter a search term to find projects, tasks, and comments</p>- <div className="flex flex-wrap gap-2 justify-center">- {[- "High priority",- "Bug",- "Feature",- "In progress",- "Completed",- ].map((suggestion) => (- <Button- key={suggestion}- variant="outline"- size="sm"- onClick={() => {- setSearchQuery(suggestion);- handleSearch(suggestion);- }}- className="text-xs"- >- {suggestion}- </Button>- ))}++ <div className="space-y-2">+ <p className="text-sm font-medium text-muted-foreground">+ Quick searches:+ </p>+ <div className="flex flex-wrap gap-2 justify-center">+ {[+ "High priority",+ "Bug",+ "Feature",+ "In progress",+ "Completed",+ ].map((suggestion) => (+ <Button+ key={suggestion}+ variant="outline"+ size="sm"+ onClick={() => {+ setSearchQuery(suggestion);+ handleSearch(suggestion);+ }}+ className="text-xs"+ >+ {suggestion}+ </Button>+ ))}+ </div></div></div>- </div>- )}- </div>- </WorkspaceLayout>+ )}+ </div>+ </WorkspaceLayout>+ </>);}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsxdeleted file mode 100644index 6e4b7ef7e..000000000--- a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/$workspaceId/settings.tsx+++ /dev/null@@ -1,245 +0,0 @@-import { standardSchemaResolver } from "@hookform/resolvers/standard-schema";-import { createFileRoute, useNavigate } from "@tanstack/react-router";-import { AlertTriangle, Lock, Trash2 } from "lucide-react";-import { useState } from "react";-import { useForm } from "react-hook-form";-import { toast } from "sonner";-import { z } from "zod/v4";--import {- DangerZoneSection,- SettingsLayout,- SettingsSection,-} from "@/components/settings-layout";-import { Button } from "@/components/ui/button";-import {- Form,- FormControl,- FormField,- FormItem,- FormLabel,- FormMessage,-} from "@/components/ui/form";-import { Input } from "@/components/ui/input";-import useDeleteWorkspace from "@/hooks/mutations/workspace/use-delete-workspace";-import useUpdateWorkspace from "@/hooks/mutations/workspace/use-update-workspace";-import { useWorkspacePermission } from "@/hooks/useWorkspacePermission";-import queryClient from "@/query-client";-import useWorkspaceStore from "@/store/workspace";--const workspaceFormSchema = z.object({- name: z.string().min(1, "Workspace name is required"),- description: z.string().min(1, "Workspace description is required"),-});--type WorkspaceFormValues = z.infer<typeof workspaceFormSchema>;--export const Route = createFileRoute(- "/_layout/_authenticated/dashboard/workspace/$workspaceId/settings",-)({- component: SettingsComponent,-});--function SettingsComponent() {- const navigate = useNavigate();- const { workspace, setWorkspace } = useWorkspaceStore();- const [deleteConfirmText, setDeleteConfirmText] = useState("");- const { mutateAsync: updateWorkspace, isPending: isUpdating } =- useUpdateWorkspace();- const { mutateAsync: deleteWorkspace, isPending: isDeleting } =- useDeleteWorkspace();- const { isOwner } = useWorkspacePermission();-- const form = useForm<WorkspaceFormValues>({- resolver: standardSchemaResolver(workspaceFormSchema),- defaultValues: {- name: workspace?.name || "",- description: workspace?.description || "",- },- });-- const { isDirty } = form.formState;-- const onSubmit = async (values: WorkspaceFormValues) => {- if (!workspace?.id) return;- try {- const updatedWorkspace = await updateWorkspace({- id: workspace.id,- name: values.name,- description: values.description,- });- setWorkspace(updatedWorkspace);- toast.success("Workspace updated successfully");- await queryClient.invalidateQueries({ queryKey: ["workspaces"] });- form.reset(values);- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to update workspace",- );- }- };-- const handleDeleteWorkspace = async () => {- if (!workspace?.id || deleteConfirmText !== workspace.name) return;- try {- await deleteWorkspace({ id: workspace.id });- toast.success("Workspace deleted successfully");- await queryClient.invalidateQueries({ queryKey: ["workspaces"] });- navigate({ to: "/dashboard" });- } catch (error) {- toast.error(- error instanceof Error ? error.message : "Failed to delete workspace",- );- }- };-- if (!isOwner) {- return (- <div className="max-w-4xl mx-auto space-y-8 py-6">- <div className="space-y-1">- <p className="text-sm text-muted-foreground">- Manage your workspace configuration and settings- </p>- </div>- <div className="flex flex-col items-center justify-center py-24">- <div className="flex h-20 w-20 items-center justify-center rounded-full border border-amber-200 bg-amber-50 dark:border-amber-800/50 dark:bg-amber-900/20">- <Lock className="h-8 w-8 text-amber-600 dark:text-amber-500" />- </div>- <div className="mt-6 text-center">- <h2 className="text-xl font-semibold">Permission Required</h2>- <p className="mt-2 text-sm text-muted-foreground max-w-md">- Only workspace owners can modify workspace settings. Please- contact the workspace owner if you need to make changes.- </p>- </div>- </div>- </div>- );- }-- return (- <SettingsLayout- title="Workspace"- description="Manage your workspace details and settings"- className="pt-4 px-6 overflow-auto"- >- <div className="max-w-4xl mx-auto space-y-8">- {isDirty && (- <div className="rounded-lg border border-amber-200 bg-amber-50 p-4 dark:border-amber-800/50 dark:bg-amber-900/20">- <div className="flex items-center gap-2">- <AlertTriangle className="h-4 w-4 text-amber-600 dark:text-amber-500" />- <span className="text-sm font-medium text-amber-800 dark:text-amber-200">- You have unsaved changes- </span>- </div>- </div>- )}-- {workspace && (- <SettingsSection- title="General"- description="Basic workspace information and configuration"- >- <Form {...form}>- <form- onSubmit={form.handleSubmit(onSubmit)}- className="space-y-8"- >- <FormField- control={form.control}- name="name"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <FormLabel className="text-base font-medium">- Workspace Name- </FormLabel>- <FormControl>- <Input {...field} placeholder="Enter workspace name" />- </FormControl>- <FormMessage />- </FormItem>- )}- />- <FormField- control={form.control}- name="description"- render={({ field }) => (- <FormItem className="flex flex-col gap-2">- <FormLabel className="text-base font-medium">- Description- </FormLabel>- <FormControl>- <Input- {...field}- placeholder="Enter workspace description"- />- </FormControl>- <FormMessage />- </FormItem>- )}- />- <div className="flex justify-end">- <Button type="submit" disabled={isUpdating || !isDirty}>- {isUpdating ? "Saving..." : "Save Changes"}- </Button>- </div>- </form>- </Form>- </SettingsSection>- )}-- {workspace && (- <DangerZoneSection- title="Danger Zone"- description="Permanently delete your workspace. This action cannot be undone."- >- <div className="space-y-4">- <div className="rounded-md border border-destructive/20 bg-destructive/10 p-4">- <div className="flex items-start gap-3">- <AlertTriangle className="mt-0.5 h-4 w-4 text-destructive" />- <div className="space-y-1">- <p className="text-sm font-medium">- This action cannot be undone- </p>- <ul className="space-y-1 text-xs text-muted-foreground">- <li>- • All projects and tasks will be permanently deleted- </li>- <li>• All workspace settings will be erased</li>- </ul>- </div>- </div>- </div>- <div className="space-y-3">- <div>- <label- htmlFor="confirm-deletion"- className="text-sm font-medium"- >- Type "{workspace.name}" to confirm deletion- </label>- <Input- id="confirm-deletion"- value={deleteConfirmText}- onChange={(e) => setDeleteConfirmText(e.target.value)}- placeholder={workspace.name}- className="mt-1"- />- </div>- <Button- onClick={handleDeleteWorkspace}- disabled={deleteConfirmText !== workspace.name || isDeleting}- variant="destructive"- className="w-full gap-2"- >- <Trash2 className="h-4 w-4" />- {isDeleting ? "Deleting..." : "Delete Workspace"}- </Button>- </div>- </div>- </DangerZoneSection>- )}- </div>- </SettingsLayout>- );-}diff --git a/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsx b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsxnew file mode 100644index 000000000..eb1633070--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/dashboard/workspace/create.tsx@@ -0,0 +1,140 @@+import { useQueryClient } from "@tanstack/react-query";+import { createFileRoute, useNavigate } from "@tanstack/react-router";+import { Building2 } from "lucide-react";+import { useEffect, useRef, useState } from "react";+import { toast } from "sonner";++import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import { Card, CardContent } from "@/components/ui/card";+import { Input } from "@/components/ui/input";+import useCreateWorkspace from "@/hooks/queries/workspace/use-create-workspace";+import { useUserPreferencesStore } from "@/store/user-preferences";++export const Route = createFileRoute(+ "/_layout/_authenticated/dashboard/workspace/create",+)({+ component: RouteComponent,+});++function RouteComponent() {+ const [name, setName] = useState("");+ const [description, setDescription] = useState("");+ const inputRef = useRef<HTMLInputElement>(null);+ const queryClient = useQueryClient();+ const navigate = useNavigate();+ const { setActiveWorkspaceId } = useUserPreferencesStore();+ const { mutateAsync, isPending } = useCreateWorkspace();++ useEffect(() => {+ if (inputRef.current) {+ setTimeout(() => {+ inputRef.current?.focus();+ }, 100);+ }+ }, []);++ const handleSubmit = async (e: React.FormEvent) => {+ e.preventDefault();+ if (!name.trim()) return;++ try {+ const createdWorkspace = await mutateAsync({ name, description });+ toast.success("Workspace created successfully");+ await queryClient.invalidateQueries({ queryKey: ["workspaces"] });++ setActiveWorkspaceId(createdWorkspace.id);+ navigate({+ to: "/dashboard/workspace/$workspaceId",+ params: {+ workspaceId: createdWorkspace.id,+ },+ replace: true,+ });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to create workspace",+ );+ }+ };++ return (+ <>+ <PageTitle title="Create Workspace" />+ <div className="min-h-screen w-full bg-zinc-50 dark:bg-zinc-900 flex items-center justify-center p-4 overflow-y-auto">+ <div className="w-full max-w-md">+ <Card className="border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-800 shadow-sm">+ <CardContent className="p-8">+ <div className="text-center mb-8">+ <div className="flex justify-center mb-4">+ <div className="w-12 h-12 bg-zinc-100 dark:bg-zinc-700 rounded-lg flex items-center justify-center">+ <Building2 className="h-6 w-6 text-zinc-600 dark:text-zinc-400" />+ </div>+ </div>++ <h1 className="text-2xl font-semibold text-zinc-900 dark:text-white mb-2">+ Create a new workspace+ </h1>+ <p className="text-zinc-600 dark:text-zinc-400 text-sm">+ Workspaces are shared environments where teams can work on+ projects, cycles and issues.+ </p>+ </div>++ <form onSubmit={handleSubmit} className="space-y-6">+ <div className="space-y-4">+ <div>+ <label+ htmlFor="workspace-name"+ className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"+ >+ Workspace Name+ </label>+ <Input+ ref={inputRef}+ id="workspace-name"+ value={name}+ onChange={(e) => setName(e.target.value)}+ placeholder="Enter workspace name"+ className="h-12 text-lg font-medium border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"+ required+ />+ {!name.trim() && (+ <p className="text-red-500 text-sm mt-1">Required</p>+ )}+ </div>++ <div>+ <label+ htmlFor="workspace-description"+ className="block text-sm font-medium text-zinc-700 dark:text-zinc-300 mb-2"+ >+ Description (optional)+ </label>+ <Input+ id="workspace-description"+ value={description}+ onChange={(e) => setDescription(e.target.value)}+ placeholder="Add a description for your workspace"+ className="h-10 border-zinc-300 dark:border-zinc-600 focus:border-indigo-500 dark:focus:border-indigo-400 focus:ring-indigo-500 dark:focus:ring-indigo-400"+ />+ </div>+ </div>++ <div className="pt-4">+ <Button+ type="submit"+ disabled={!name.trim() || isPending}+ className="w-full h-12 bg-indigo-600 hover:bg-indigo-500 text-white font-medium disabled:opacity-50 disabled:cursor-not-allowed"+ >+ {isPending ? "Creating..." : "Create workspace"}+ </Button>+ </div>+ </form>+ </CardContent>+ </Card>+ </div>+ </div>+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/onboarding.tsx b/apps/web/src/routes/_layout/_authenticated/onboarding.tsxindex b4f56759e..d867fdadb 100644--- a/apps/web/src/routes/_layout/_authenticated/onboarding.tsx+++ b/apps/web/src/routes/_layout/_authenticated/onboarding.tsx@@ -1,6 +1,16 @@-import { OnboardingFlow } from "@/components/onboarding/onboarding-flow";import { createFileRoute } from "@tanstack/react-router";+import { OnboardingFlow } from "@/components/onboarding/onboarding-flow";+import PageTitle from "@/components/page-title";export const Route = createFileRoute("/_layout/_authenticated/onboarding")({- component: OnboardingFlow,+ component: RouteComponent,});++function RouteComponent() {+ return (+ <>+ <PageTitle title="Welcome to Kaneo" />+ <OnboardingFlow />+ </>+ );+}diff --git a/apps/web/src/routes/_layout/_authenticated/profile-setup.tsx b/apps/web/src/routes/_layout/_authenticated/profile-setup.tsxnew file mode 100644index 000000000..fc131c578--- /dev/null+++ b/apps/web/src/routes/_layout/_authenticated/profile-setup.tsx@@ -0,0 +1,13 @@+import { createFileRoute, redirect } from "@tanstack/react-router";+import { ProfileSetupFlow } from "@/components/profile-setup/profile-setup-flow";++export const Route = createFileRoute("/_layout/_authenticated/profile-setup")({+ component: ProfileSetupFlow,+ beforeLoad: async ({ context }) => {+ const user = context.user;++ if (user?.name) {+ throw redirect({ to: "/dashboard" });+ }+ },+});diff --git a/apps/web/src/routes/auth.tsx b/apps/web/src/routes/auth.tsxindex 622c28ec6..f64de56de 100644--- a/apps/web/src/routes/auth.tsx+++ b/apps/web/src/routes/auth.tsx@@ -1,5 +1,5 @@-import { authClient } from "@/lib/auth-client";import { createFileRoute, redirect } from "@tanstack/react-router";+import { authClient } from "@/lib/auth-client";export const Route = createFileRoute("/auth")({beforeLoad: async () => {diff --git a/apps/web/src/routes/auth/accept-invitation/$inviteId.tsx b/apps/web/src/routes/auth/accept-invitation/$inviteId.tsxnew file mode 100644index 000000000..f83dff1a3--- /dev/null+++ b/apps/web/src/routes/auth/accept-invitation/$inviteId.tsx@@ -0,0 +1,63 @@+import { createFileRoute, Link, useParams } from "@tanstack/react-router";+import { Mail, Users } from "lucide-react";+import { useEffect } from "react";+import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import { AuthLayout } from "../../../components/auth/layout";++export const Route = createFileRoute("/auth/accept-invitation/$inviteId")({+ component: AcceptInvitation,+});++function AcceptInvitation() {+ const { inviteId } = useParams({ from: "/auth/accept-invitation/$inviteId" });++ useEffect(() => {+ // biome-ignore lint/suspicious/noDocumentCookie: we need to set the cookie to the invite id+ document.cookie = `pending_invitation=${inviteId}; path=/; max-age=3600`;+ }, [inviteId]);++ return (+ <>+ <PageTitle title="Accept Invitation" />+ <AuthLayout title="You've been invited!">+ <div className="space-y-4 mt-4">+ <div className="flex items-center justify-center w-12 h-12 mx-auto bg-primary/10 rounded-full">+ <Users className="w-6 h-6 text-primary" />+ </div>++ <div className="space-y-3 text-center">+ <h2 className="text-lg font-semibold text-foreground">+ Join the team+ </h2>+ <div className="space-y-2">+ <p className="text-sm text-muted-foreground leading-relaxed">+ You've been invited to join an organization on Kaneo.+ </p>+ <p className="text-sm text-muted-foreground leading-relaxed">+ Please sign in or create an account to accept this invitation.+ </p>+ </div>+ </div>++ <div className="space-y-3 pt-2">+ <Button asChild className="w-full">+ <Link to="/auth/sign-in">+ <Mail className="w-4 h-4 mr-2" />+ Sign in to accept invitation+ </Link>+ </Button>+ </div>++ <div className="pt-4 border-t border-border">+ <div className="text-center">+ <p className="text-xs text-muted-foreground">+ Invitation ID: <span className="font-mono">{inviteId}</span>+ </p>+ </div>+ </div>+ </div>+ </AuthLayout>+ </>+ );+}diff --git a/apps/web/src/routes/auth/check-email.tsx b/apps/web/src/routes/auth/check-email.tsxnew file mode 100644index 000000000..c4dc1aa3f--- /dev/null+++ b/apps/web/src/routes/auth/check-email.tsx@@ -0,0 +1,44 @@+import { createFileRoute, Link, useSearch } from "@tanstack/react-router";+import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import { AuthLayout } from "../../components/auth/layout";++export const Route = createFileRoute("/auth/check-email")({+ component: CheckEmail,+ validateSearch: (search: Record<string, unknown>) => ({+ email: search.email as string | undefined,+ }),+});++function CheckEmail() {+ const { email } = useSearch({ from: "/auth/check-email" });++ return (+ <>+ <PageTitle title="Check Your Email" />+ <AuthLayout title="Check your email">+ <div className="space-y-4 mt-4">+ <div className="space-y-2">+ <p className="text-sm text-muted-foreground leading-relaxed">+ We've sent you a temporary login link. Please check your inbox at{" "}+ <span className="text-foreground font-medium">+ {email || "your email address"}+ </span>+ .+ </p>+ </div>++ <div className="space-y-3">+ <Button+ variant="ghost"+ asChild+ className="w-full h-8 text-xs text-muted-foreground hover:text-foreground"+ >+ <Link to="/auth/sign-in">Back to login</Link>+ </Button>+ </div>+ </div>+ </AuthLayout>+ </>+ );+}diff --git a/apps/web/src/routes/auth/sign-in.tsx b/apps/web/src/routes/auth/sign-in.tsxindex ab0b5db1a..921d22501 100644--- a/apps/web/src/routes/auth/sign-in.tsx+++ b/apps/web/src/routes/auth/sign-in.tsx@@ -1,12 +1,16 @@-import PageTitle from "@/components/page-title";-import { Button } from "@/components/ui/button";-import { authClient } from "@/lib/auth-client";import { createFileRoute, useNavigate } from "@tanstack/react-router";import { Github, UserCheck } from "lucide-react";import { useState } from "react";import { toast } from "sonner";+import PageTitle from "@/components/page-title";+import { Button } from "@/components/ui/button";+import useGetConfig from "@/hooks/queries/config/use-get-config";+import { authClient } from "@/lib/auth-client";+import { cn } from "@/lib/cn";import { AuthLayout } from "../../components/auth/layout";+import { MagicLinkSignInForm } from "../../components/auth/magic-link-sign-in-form";import { SignInForm } from "../../components/auth/sign-in-form";+import { SignInFormSkeleton } from "../../components/auth/sign-in-form-skeleton";import { AuthToggle } from "../../components/auth/toggle";export const Route = createFileRoute("/auth/sign-in")({@@ -17,6 +21,9 @@ function SignIn() {const navigate = useNavigate();const [isGuestLoading, setIsGuestLoading] = useState(false);const [isGithubLoading, setIsGithubLoading] = useState(false);+ const [isGoogleLoading, setIsGoogleLoading] = useState(false);+ const lastLoginMethod = authClient.getLastUsedLoginMethod();+ const { data: config, isLoading: isConfigLoading } = useGetConfig();const handleGuestAccess = async () => {setIsGuestLoading(true);@@ -36,13 +43,35 @@ function SignIn() {}};+ const handleSignInGoogle = async () => {+ setIsGoogleLoading(true);+ try {+ const result = await authClient.signIn.social({+ provider: "google",+ callbackURL: `${import.meta.env.VITE_CLIENT_URL}/dashboard`,+ errorCallbackURL: `${import.meta.env.VITE_CLIENT_URL}/auth/sign-in`,+ });+ if (result.error) {+ throw new Error(result.error.message);+ }+ toast.success("Signed in with Google");+ navigate({ to: "/dashboard" });+ } catch (error) {+ toast.error(+ error instanceof Error ? error.message : "Failed to sign in as guest",+ );+ } finally {+ setIsGuestLoading(false);+ }+ };+const handleSignInGithub = async () => {setIsGithubLoading(true);try {const result = await authClient.signIn.social({provider: "github",- callbackURL: `${window.location.origin}/api/auth/callback/github`,- errorCallbackURL: `${window.location.origin}/auth/sign-in`,+ callbackURL: `${import.meta.env.VITE_CLIENT_URL}/dashboard`,+ errorCallbackURL: `${import.meta.env.VITE_CLIENT_URL}/auth/sign-in`,});if (result.error) {throw new Error(result.error.message);@@ -61,6 +90,20 @@ function SignIn() {}};+ if (isConfigLoading) {+ return (+ <>+ <PageTitle title="Sign In" />+ <AuthLayout+ title="Welcome back"+ subtitle="Enter your credentials to access your workspace"+ >+ <SignInFormSkeleton />+ </AuthLayout>+ </>+ );+ }+return (<><PageTitle title="Sign In" />@@ -70,15 +113,52 @@ function SignIn() {><div className="space-y-4 mt-6"><div className="flex flex-col gap-2">- <Button- variant="outline"- onClick={handleSignInGithub}- disabled={isGithubLoading}- className="w-full"- >- <Github className="w-4 h-4 mr-2" />- {isGithubLoading ? "Signing in..." : "Continue with GitHub"}- </Button>+ <div className="relative">+ {config?.hasGoogleSignIn && (+ <Button+ variant="outline"+ onClick={handleSignInGoogle}+ disabled={isGoogleLoading}+ className={cn(+ "w-full mb-2",+ lastLoginMethod === "google" && "!border-primary/50",+ )}+ >+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">+ <title>Google</title>+ <path+ d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"+ fill="currentColor"+ />+ </svg>+ {isGoogleLoading ? "Signing in..." : "Continue with Google"}+ {lastLoginMethod === "google" && (+ <span className="absolute rounded-md -top-3 right-1 px-1.5 text-xs text-primary font-medium bg-sidebar border border-primary/50">+ Last used+ </span>+ )}+ </Button>+ )}+ {config?.hasGithubSignIn && (+ <Button+ variant="outline"+ onClick={handleSignInGithub}+ disabled={isGithubLoading}+ className={cn(+ "w-full",+ lastLoginMethod === "github" && "!border-primary/50",+ )}+ >+ <Github className="w-4 h-4 mr-2" />+ {isGithubLoading ? "Signing in..." : "Continue with GitHub"}+ {lastLoginMethod === "github" && (+ <span className="absolute rounded-md -top-3 right-1 px-1.5 text-xs text-primary font-medium bg-sidebar border border-primary/50">+ Last used+ </span>+ )}+ </Button>+ )}+ </div><Buttonvariant="outline"onClick={handleGuestAccess}@@ -91,11 +171,11 @@ function SignIn() {</Button></div><div className="flex items-center gap-4 my-4">- <div className="flex-1 h-px bg-zinc-200 dark:bg-zinc-800" />- <span className="text-sm text-zinc-500 dark:text-zinc-400">or</span>- <div className="flex-1 h-px bg-zinc-200 dark:bg-zinc-800" />+ <div className="flex-1 h-px bg-border" />+ <span className="text-sm text-muted-foreground">or</span>+ <div className="flex-1 h-px bg-border" /></div>- <SignInForm />+ {config?.hasSmtp ? <MagicLinkSignInForm /> : <SignInForm />}<AuthTogglemessage="Don't have an account?"linkText="Create account"diff --git a/apps/web/src/routes/auth/sign-up.tsx b/apps/web/src/routes/auth/sign-up.tsxindex 31f95de29..2d5f4e08b 100644--- a/apps/web/src/routes/auth/sign-up.tsx+++ b/apps/web/src/routes/auth/sign-up.tsx@@ -1,15 +1,14 @@+import { createFileRoute, redirect, useNavigate } from "@tanstack/react-router";+import { UserCheck } from "lucide-react";+import { useState } from "react";+import { toast } from "sonner";import { AuthLayout } from "@/components/auth/layout";import { SignUpForm } from "@/components/auth/sign-up-form";import { AuthToggle } from "@/components/auth/toggle";import PageTitle from "@/components/page-title";import { Button } from "@/components/ui/button";-import { getConfig } from "@/fetchers/config/get-config";import { authClient } from "@/lib/auth-client";-import { createFileRoute, redirect, useNavigate } from "@tanstack/react-router";-import { UserCheck } from "lucide-react";-import { useState } from "react";-import { toast } from "sonner";export const Route = createFileRoute("/auth/sign-up")({component: SignUp,@@ -56,7 +55,7 @@ function SignUp() {variant="outline"onClick={handleGuestAccess}disabled={isGuestLoading}- className="w-full"+ className="w-full mb-0"size="sm"><UserCheck className="w-4 h-4 mr-2" />diff --git a/apps/web/src/routes/public-project.$projectId.tsx b/apps/web/src/routes/public-project.$projectId.tsxindex 597a2ba25..4ad9b7ccc 100644--- a/apps/web/src/routes/public-project.$projectId.tsx+++ b/apps/web/src/routes/public-project.$projectId.tsx@@ -1,3 +1,7 @@+import { createFileRoute } from "@tanstack/react-router";+import { Grid3X3, Layout, List } from "lucide-react";+import { createElement, useState } from "react";+import PageTitle from "@/components/page-title";import { CopyUrlButton } from "@/components/public-project/copy-url-button";import { ErrorView } from "@/components/public-project/error-view";import { PublicKanbanView } from "@/components/public-project/kanban-view";@@ -10,9 +14,6 @@ import { Button } from "@/components/ui/button";import icons from "@/constants/project-icons";import useGetPublicProject from "@/hooks/queries/project/use-get-public-project";import type Task from "@/types/task";-import { createFileRoute } from "@tanstack/react-router";-import { Grid3X3, Layout, List } from "lucide-react";-import { createElement, useState } from "react";export const Route = createFileRoute("/public-project/$projectId")({component: RouteComponent,@@ -46,90 +47,93 @@ function RouteComponent() {}return (- <div className="min-h-screen bg-zinc-50 dark:bg-zinc-900 flex flex-col w-full">- <header className="bg-white dark:bg-zinc-900 border-b border-zinc-200 dark:border-zinc-800 sticky top-0 z-10 backdrop-blur-sm bg-white/95 dark:bg-zinc-900/95">- <div className="px-6 py-4">- <div className="flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4">- <div className="space-y-3 flex-1">- <div className="flex items-center gap-3 flex-wrap">- <div className="w-10 h-10 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center shadow-lg">- {createElement(- icons[project.icon as keyof typeof icons] || Layout,- {- className: "w-6 h-6 shrink-0",- },- )}- </div>+ <>+ <PageTitle title="Public View" />+ <div className="min-h-screen bg-zinc-50 dark:bg-zinc-900 flex flex-col w-full">+ <header className="bg-white dark:bg-zinc-900 border-b border-zinc-200 dark:border-zinc-800 sticky top-0 z-10 backdrop-blur-sm bg-white/95 dark:bg-zinc-900/95">+ <div className="px-6 py-4">+ <div className="flex flex-col lg:flex-row lg:items-start lg:justify-between gap-4">+ <div className="space-y-3 flex-1"><div className="flex items-center gap-3 flex-wrap">- <h1 className="text-2xl font-bold text-zinc-900 dark:text-zinc-100">- {project.name}- </h1>- <span className="px-3 py-1 text-sm bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 rounded-full font-medium border border-green-200 dark:border-green-800">- Public View- </span>+ <div className="w-10 h-10 rounded-xl bg-gradient-to-br from-indigo-500 to-purple-600 flex items-center justify-center shadow-lg">+ {createElement(+ icons[project.icon as keyof typeof icons] || Layout,+ {+ className: "w-6 h-6 shrink-0",+ },+ )}+ </div>+ <div className="flex items-center gap-3 flex-wrap">+ <h1 className="text-2xl font-bold text-zinc-900 dark:text-zinc-100">+ {project.name}+ </h1>+ <span className="px-3 py-1 text-sm bg-green-100 dark:bg-green-900/30 text-green-700 dark:text-green-400 rounded-full font-medium border border-green-200 dark:border-green-800">+ Public View+ </span>+ </div></div>+ {project.description && (+ <p className="text-zinc-600 dark:text-zinc-400 max-w-3xl leading-relaxed">+ {project.description}+ </p>+ )}</div>- {project.description && (- <p className="text-zinc-600 dark:text-zinc-400 max-w-3xl leading-relaxed">- {project.description}- </p>- )}- </div>- <div className="flex items-center gap-3 lg:flex-shrink-0">- <CopyUrlButton />- <ThemeToggle />- <div className="h-6 w-px bg-zinc-200 dark:bg-zinc-700" />- <div className="flex items-center gap-2">- <Button- variant={viewMode === "kanban" ? "default" : "outline"}- size="sm"- onClick={() => setViewMode("kanban")}- className="gap-2"- >- <Grid3X3 className="w-4 h-4" />- Board- </Button>- <Button- variant={viewMode === "list" ? "default" : "outline"}- size="sm"- onClick={() => setViewMode("list")}- className="gap-2"- >- <List className="w-4 h-4" />- List- </Button>+ <div className="flex items-center gap-3 lg:flex-shrink-0">+ <CopyUrlButton />+ <ThemeToggle />+ <div className="h-6 w-px bg-zinc-200 dark:bg-zinc-700" />+ <div className="flex items-center gap-2">+ <Button+ variant={viewMode === "kanban" ? "default" : "outline"}+ size="sm"+ onClick={() => setViewMode("kanban")}+ className="gap-2"+ >+ <Grid3X3 className="w-4 h-4" />+ Board+ </Button>+ <Button+ variant={viewMode === "list" ? "default" : "outline"}+ size="sm"+ onClick={() => setViewMode("list")}+ className="gap-2"+ >+ <List className="w-4 h-4" />+ List+ </Button>+ </div></div></div></div>- </div>- </header>+ </header>- <main className="flex-1 min-h-0 flex flex-col">- {viewMode === "kanban" ? (- <PublicKanbanView project={project} onTaskClick={handleTaskClick} />- ) : (- <PublicListView project={project} onTaskClick={handleTaskClick} />- )}- </main>+ <main className="flex-1 min-h-0 flex flex-col">+ {viewMode === "kanban" ? (+ <PublicKanbanView project={project} onTaskClick={handleTaskClick} />+ ) : (+ <PublicListView project={project} onTaskClick={handleTaskClick} />+ )}+ </main>- <footer className="bg-white dark:bg-zinc-900 border-t border-zinc-200 dark:border-zinc-800 py-4">- <div className="px-6">- <div className="flex flex-col md:flex-row items-center justify-between gap-4">- <KaneoBranding />- <p className="text-sm text-zinc-500 dark:text-zinc-400 text-center md:text-right">- This is a read-only public view of the project.- </p>+ <footer className="bg-white dark:bg-zinc-900 border-t border-zinc-200 dark:border-zinc-800 py-4">+ <div className="px-6">+ <div className="flex flex-col md:flex-row items-center justify-between gap-4">+ <KaneoBranding />+ <p className="text-sm text-zinc-500 dark:text-zinc-400 text-center md:text-right">+ This is a read-only public view of the project.+ </p>+ </div></div>- </div>- </footer>+ </footer>- <PublicTaskDetailModal- task={selectedTask}- projectSlug={project.slug}- open={isTaskModalOpen}- onOpenChange={handleTaskModalClose}- />- </div>+ <PublicTaskDetailModal+ task={selectedTask}+ projectSlug={project.slug}+ open={isTaskModalOpen}+ onOpenChange={handleTaskModalClose}+ />+ </div>+ </>);}diff --git a/apps/web/src/routes/test-error.tsx b/apps/web/src/routes/test-error.tsxindex bdf9535ed..9d13c3107 100644--- a/apps/web/src/routes/test-error.tsx+++ b/apps/web/src/routes/test-error.tsx@@ -1,5 +1,5 @@-import { ErrorTest } from "@/components/ui/error-test";import { createFileRoute } from "@tanstack/react-router";+import { ErrorTest } from "@/components/ui/error-test";export const Route = createFileRoute("/test-error")({component: TestErrorComponent,diff --git a/apps/web/src/store/project.ts b/apps/web/src/store/project.tsindex e3cd287be..b4b0a2557 100644--- a/apps/web/src/store/project.ts+++ b/apps/web/src/store/project.ts@@ -1,5 +1,5 @@-import type { ProjectWithTasks } from "@/types/project";import { create } from "zustand";+import type { ProjectWithTasks } from "@/types/project";const useProjectStore = create<{project: ProjectWithTasks | undefined;diff --git a/apps/web/src/store/workspace.ts b/apps/web/src/store/workspace.tsdeleted file mode 100644index 43c66a76d..000000000--- a/apps/web/src/store/workspace.ts+++ /dev/null@@ -1,13 +0,0 @@-import type { Workspace } from "@/types/workspace";-import { create } from "zustand";--const useWorkspaceStore = create<{- workspace: Workspace | undefined;- setWorkspace: (updatedWorkspace: Workspace | undefined) => void;-}>((set) => ({- workspace: undefined,- setWorkspace: (updatedWorkspace) =>- set(() => ({ workspace: updatedWorkspace })),-}));--export default useWorkspaceStore;diff --git a/apps/web/src/types/workspace-user/index.ts b/apps/web/src/types/workspace-user/index.tsindex a8d56c6f2..eb61f9ec9 100644--- a/apps/web/src/types/workspace-user/index.ts+++ b/apps/web/src/types/workspace-user/index.ts@@ -1,9 +1,23 @@-export type WorkspaceUser = {- userId: string | null;- userName: string | null;- joinedAt: string;- status: string;- role: string;-};+import type { authClient } from "@/lib/auth-client";++export type WorkspaceUser = NonNullable<+ Awaited<ReturnType<typeof authClient.organization.listMembers>>["data"]+>[number];++// Active workspace member (current user's membership)+export type ActiveWorkspaceUser = NonNullable<+ Awaited<ReturnType<typeof authClient.organization.getActiveMember>>["data"]+>;++// Workspace invitation types+export type WorkspaceUserInvitation = NonNullable<+ Awaited<ReturnType<typeof authClient.organization.listInvitations>>["data"]+>[number];++export type UserInvitation = NonNullable<+ Awaited<+ ReturnType<typeof authClient.organization.listUserInvitations>+ >["data"]+>[number];export default WorkspaceUser;diff --git a/apps/web/src/types/workspace/index.ts b/apps/web/src/types/workspace/index.tsindex bb9c317b6..d400d74b3 100644--- a/apps/web/src/types/workspace/index.ts+++ b/apps/web/src/types/workspace/index.ts@@ -1,9 +1,13 @@-import type { client } from "@kaneo/libs";-import type { InferResponseType } from "hono/client";+import type { authClient } from "@/lib/auth-client";-export type Workspace = Extract<- InferResponseType<(typeof client)["workspace"][":id"]["$get"]>,- { id: string }+export type Workspace = NonNullable<+ Awaited<+ ReturnType<typeof authClient.organization.getFullOrganization>+ >["data"]+>;++export type ActiveWorkspace = NonNullable<+ ReturnType<typeof authClient.useActiveOrganization>["data"]>;export default Workspace;diff --git a/apps/web/tsconfig.app.json b/apps/web/tsconfig.app.jsonindex 6093a3035..9c5082d35 100644--- a/apps/web/tsconfig.app.json+++ b/apps/web/tsconfig.app.json@@ -26,5 +26,6 @@}},"include": ["src"],+ "exclude": ["../api/**/*", "../docs/**/*", "../../packages/**/*"],"baseUrl": "."}diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.jsonindex 9bc6a8b36..29c26bfe0 100644--- a/apps/web/tsconfig.json+++ b/apps/web/tsconfig.json@@ -9,5 +9,6 @@"paths": {"@/*": ["./src/*"]}- }+ },+ "exclude": ["../api/**/*", "../docs/**/*", "../../packages/**/*"]}diff --git a/apps/web/vite.config.ts b/apps/web/vite.config.tsindex 89b20a62f..79bc0383a 100644--- a/apps/web/vite.config.ts+++ b/apps/web/vite.config.ts@@ -1,13 +1,14 @@import path from "node:path";+import tailwindcss from "@tailwindcss/vite";import { tanstackRouter } from "@tanstack/router-plugin/vite";import react from "@vitejs/plugin-react";import { defineConfig } from "vite";-// https://vite.dev/config/export default defineConfig({base: "/",plugins: [tanstackRouter({ autoCodeSplitting: true }),+ tailwindcss(),react({babel: {plugins: [["babel-plugin-react-compiler"]],@@ -19,6 +20,12 @@ export default defineConfig({hmr: true,port: 5173,},+ optimizeDeps: {+ exclude: ["better-auth"],+ },+ ssr: {+ noExternal: ["better-auth"],+ },resolve: {alias: {"@": path.resolve(__dirname, "./src"),@@ -30,5 +37,10 @@ export default defineConfig({manualChunks: undefined,},},+ commonjsOptions: {+ include: [/better-auth/, /node_modules/],+ transformMixedEsModules: true,+ },+ target: "esnext",},});diff --git a/biome.json b/biome.jsonindex 2a235c2c9..d92228a1a 100644--- a/biome.json+++ b/biome.json@@ -1,5 +1,5 @@{- "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",+ "$schema": "https://biomejs.dev/schemas/2.0.6/schema.json","vcs": {"enabled": false,"clientKind": "git",@@ -7,30 +7,42 @@},"files": {"ignoreUnknown": false,- "ignore": [- "**/tsconfig*.json",- "routeTree.gen.ts",- "dist",- "cache",- "*.css",- "package.json",- ".turbo",- ".source",- ".next",- "out"+ "includes": [+ "**",+ "!**/tsconfig*.json",+ "!**/routeTree.gen.ts",+ "!**/dist",+ "!**/cache",+ "!**/*.css",+ "!**/package.json",+ "!**/.turbo",+ "!**/.source",+ "!**/.next",+ "!**/out",+ "!**/.cache"]},"formatter": {"enabled": true,"indentStyle": "tab"},- "organizeImports": {- "enabled": true- },+ "assist": { "actions": { "source": { "organizeImports": "on" } } },"linter": {"enabled": true,"rules": {- "recommended": true+ "recommended": true,+ "style": {+ "noParameterAssign": "error",+ "useAsConstAssertion": "error",+ "useDefaultParameterLast": "error",+ "useEnumInitializers": "error",+ "useSelfClosingElements": "error",+ "useSingleVarDeclarator": "error",+ "noUnusedTemplateLiteral": "error",+ "useNumberNamespace": "error",+ "noInferrableTypes": "error",+ "noUselessElse": "error"+ }}},"javascript": {diff --git a/charts/kaneo/Chart.yaml b/charts/kaneo/Chart.yamlindex ed0430cab..839e71872 100644--- a/charts/kaneo/Chart.yaml+++ b/charts/kaneo/Chart.yaml@@ -1,6 +1,6 @@apiVersion: v2name: kaneo-description: A Helm chart for Kaneo - an open source project management platform focused on simplicity and efficiency+description: Kaneo - All you need. Nothing you don't. Open source project management that works for you.type: applicationversion: 0.1.0appVersion: "1.0.0"diff --git a/charts/kaneo/README.md b/charts/kaneo/README.mdindex 2d0c8e27e..e4ce58f07 100644--- a/charts/kaneo/README.md+++ b/charts/kaneo/README.md@@ -1,6 +1,6 @@# Kaneo Helm Chart-This Helm chart deploys [Kaneo](https://kaneo.app) - an open source project management platform focused on simplicity and efficiency.+This Helm chart deploys [Kaneo](https://kaneo.app) - open source project management that works for you, not against you.## Introduction@@ -12,6 +12,39 @@ This chart bootstraps a Kaneo deployment on a Kubernetes cluster using the Helm- Helm 3.2.0+- PV provisioner support in the underlying infrastructure (if persistence is enabled)+## Quick Start++### Basic Installation++Clone the repository and install with Helm:++```bash+# Clone the repo+git clone https://github.com/usekaneo/kaneo.git+cd kaneo++# Install with Helm+helm install kaneo ./charts/kaneo --namespace kaneo --create-namespace++# Access locally+kubectl port-forward svc/kaneo-web 5173:5173 -n kaneo+```++Open [http://localhost:5173](http://localhost:5173) and you're ready to go.++### Production Setup with Ingress++For real deployments, you'll want proper ingress:++```bash+helm install kaneo ./charts/kaneo \+ --namespace kaneo \+ --create-namespace \+ --set ingress.enabled=true \+ --set ingress.className=nginx \+ --set "ingress.hosts[0].host=pm.yourcompany.com"+```+## Installing the ChartTo install the chart with the release name `my-kaneo`:diff --git a/compose.local.yml b/compose.local.ymlindex 0111c6bba..bb13c2d09 100644--- a/compose.local.yml+++ b/compose.local.yml@@ -1,17 +1,15 @@services:postgres:image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password+ env_file:+ - .env.localports:- "5432:5432"volumes:- postgres_data:/var/lib/postgresql/datarestart: unless-stoppedhealthcheck:- test: ["CMD-SHELL", "pg_isready -U kaneo_user -d kaneo"]+ test: ["CMD-SHELL", "pg_isready -U kaneo -d kaneo"]interval: 10stimeout: 5sretries: 5@@ -22,9 +20,8 @@ services:dockerfile: apps/api/Dockerfileports:- "1337:1337"- environment:- - JWT_ACCESS=change-me- - DATABASE_URL=postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo+ env_file:+ - .env.localdepends_on:postgres:condition: service_healthy@@ -36,8 +33,8 @@ services:dockerfile: apps/web/Dockerfileports:- "5173:5173"- environment:- - KANEO_API_URL=http://localhost:1337+ env_file:+ - .env.localdepends_on:- apirestart: unless-stoppeddiff --git a/compose.yml b/compose.ymlindex d79f50956..0bbb1fbd7 100644--- a/compose.yml+++ b/compose.yml@@ -1,43 +1,36 @@services:postgres:image: postgres:16-alpine- environment:- POSTGRES_DB: kaneo- POSTGRES_USER: kaneo_user- POSTGRES_PASSWORD: kaneo_password+ env_file:+ - .envports:- "5432:5432"volumes:- postgres_data:/var/lib/postgresql/datarestart: unless-stoppedhealthcheck:- test: ["CMD-SHELL", "pg_isready -U kaneo_user -d kaneo"]+ test: ["CMD-SHELL", "pg_isready -U kaneo -d kaneo"]interval: 10stimeout: 5sretries: 5api:- build:- context: .- dockerfile: apps/api/Dockerfile+ image: ghcr.io/usekaneo/api:latestports:- "1337:1337"- environment:- - JWT_ACCESS=change-me- - DATABASE_URL=postgresql://kaneo_user:kaneo_password@postgres:5432/kaneo+ env_file:+ - .envdepends_on:postgres:condition: service_healthyrestart: unless-stoppedweb:- build:- context: .- dockerfile: apps/web/Dockerfile+ image: ghcr.io/usekaneo/web:latestports:- "5173:5173"- environment:- - KANEO_API_URL=http://localhost:1337+ env_file:+ - .envdepends_on:- apirestart: unless-stoppeddiff --git a/package.json b/package.jsonindex 8910a95a7..cc755da41 100644--- a/package.json+++ b/package.json@@ -5,22 +5,26 @@"scripts": {"build": "turbo build","dev": "turbo dev",+ "lint": "turbo lint","prepare": "husky"},"devDependencies": {- "@biomejs/biome": "1.9.4",+ "@biomejs/biome": "2.0.6","@commitlint/cli": "^19.6.1","@commitlint/config-conventional": "^19.6.0","esbuild": ">=0.25.0","husky": "^9.1.7","linkifyjs": ">=4.3.2","tar-fs": ">=2.1.3",- "turbo": "^2.4.2",+ "turbo": "^2.5.6","typescript": "5.8.3"},"engines": {"node": ">=18"},- "packageManager": "[email protected]",- "version": "1.2.4"+ "packageManager": "[email protected]",+ "version": "2.0.1-beta.2",+ "dependencies": {+ "dotenv-mono": "^1.5.1"+ }}diff --git a/packages/email/package.json b/packages/email/package.jsonnew file mode 100644index 000000000..1fd9c0e68--- /dev/null+++ b/packages/email/package.json@@ -0,0 +1,34 @@+{+ "name": "@kaneo/email",+ "version": "1.0.0",+ "private": true,+ "exports": {+ ".": {+ "types": "./dist/index.d.ts",+ "default": "./dist/index.js"+ }+ },+ "main": "./dist/index.js",+ "types": "./dist/index.d.ts",+ "scripts": {+ "build": "tsc",+ "dev": "email dev --port 3001 --dir src/templates",+ "export": "email export",+ "lint": "biome check .",+ "format": "biome format --write ."+ },+ "dependencies": {+ "@react-email/components": "0.5.2",+ "@types/node": "^24.3.1",+ "@types/nodemailer": "^7.0.1",+ "nodemailer": "^7.0.6",+ "react": "^19.0.0",+ "react-dom": "^19.0.0"+ },+ "devDependencies": {+ "@react-email/preview-server": "4.2.8",+ "@types/react": "^19.0.1",+ "@types/react-dom": "^19.0.1",+ "react-email": "4.2.8"+ }+}diff --git a/packages/email/src/index.tsx b/packages/email/src/index.tsxnew file mode 100644index 000000000..5c88c753c--- /dev/null+++ b/packages/email/src/index.tsx@@ -0,0 +1 @@+export { sendMagicLinkEmail, sendWorkspaceInvitationEmail } from "./send-email";diff --git a/packages/email/src/send-email.tsx b/packages/email/src/send-email.tsxnew file mode 100644index 000000000..b57bd4466--- /dev/null+++ b/packages/email/src/send-email.tsx@@ -0,0 +1,52 @@+import { render } from "@react-email/components";+import { config } from "dotenv-mono";+import * as nodemailer from "nodemailer";+import type { MagicLinkEmailProps } from "./templates/magic-link";+import MagicLinkEmail from "./templates/magic-link";+import WorkspaceInvitationEmail, {+ type WorkspaceInvitationEmailProps,+} from "./templates/workspace-invitation";++config();++const transporter = nodemailer.createTransport({+ host: process.env.SMTP_HOST,+ secure: process.env.SMTP_SECURE !== "false",+ port: Number(process.env.SMTP_PORT),+ auth: {+ user: process.env.SMTP_USER,+ pass: process.env.SMTP_PASSWORD,+ },+});++export const sendMagicLinkEmail = async (+ to: string,+ subject: string,+ data: MagicLinkEmailProps,+) => {+ const emailTemplate = await render(MagicLinkEmail(data));+ try {+ await transporter.sendMail({+ from: process.env.SMTP_FROM,+ to,+ subject,+ html: emailTemplate,+ });+ } catch (error) {+ console.error("Error sending magic link email", error);+ }+};++export const sendWorkspaceInvitationEmail = async (+ to: string,+ subject: string,+ data: WorkspaceInvitationEmailProps,+) => {+ const emailTemplate = await render(WorkspaceInvitationEmail({ ...data, to }));+ await transporter.sendMail({+ from: process.env.SMTP_FROM,+ to,+ subject,+ html: emailTemplate,+ });+};diff --git a/packages/email/src/templates/magic-link.tsx b/packages/email/src/templates/magic-link.tsxnew file mode 100644index 000000000..cf5534400--- /dev/null+++ b/packages/email/src/templates/magic-link.tsx@@ -0,0 +1,90 @@+import {+ Body,+ Container,+ Head,+ Heading,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Text,+} from "@react-email/components";+import React from "react";++void React;++export interface MagicLinkEmailProps {+ magicLink: string;+}++const MagicLinkEmail = ({ magicLink }: MagicLinkEmailProps) => (+ <Html>+ <Head />+ <Body style={main}>+ <Preview>Log in with this magic link.</Preview>+ <Container style={container}>+ <Heading style={heading}>🪄 Your magic link for Kaneo</Heading>+ <Section style={body}>+ <Text style={paragraph}>+ <Link style={link} href={magicLink}>+ 👉 Click here to sign in 👈+ </Link>+ </Text>+ <Text style={paragraph}>+ This link and code will only be valid for the next 5 minutes.+ </Text>+ <Text style={paragraph}>+ If you didn't request this, please ignore this email.+ </Text>+ <Hr />+ <Text style={footerParagraph}>Kaneo</Text>+ </Section>+ </Container>+ </Body>+ </Html>+);++MagicLinkEmail.PreviewProps = {+ magicLink: "https://kaneo.app",+} as MagicLinkEmailProps;++export default MagicLinkEmail;++const main = {+ fontFamily:+ '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',+};++const container = {+ margin: "0 auto",+ padding: "20px 25px 0px",+};++const _header = {+ display: "inline-block",+};++const heading = {+ fontSize: "28px",+ fontWeight: "bold",+};++const body = {+ margin: "24px 0",+};++const paragraph = {+ fontSize: "16px",+ lineHeight: "26px",+};++const link = {+ color: "#5463FF",+};++const footerParagraph = {+ fontSize: "14px",+ lineHeight: "20px",+ color: "#6B7280",+};diff --git a/packages/email/src/templates/workspace-invitation.tsx b/packages/email/src/templates/workspace-invitation.tsxnew file mode 100644index 000000000..580cb9193--- /dev/null+++ b/packages/email/src/templates/workspace-invitation.tsx@@ -0,0 +1,104 @@+import {+ Body,+ Container,+ Head,+ Heading,+ Hr,+ Html,+ Link,+ Preview,+ Section,+ Text,+} from "@react-email/components";+import React from "react";++void React;++export interface WorkspaceInvitationEmailProps {+ workspaceName: string;+ inviterName: string;+ inviterEmail: string;+ invitationLink: string;+ to: string;+}++const WorkspaceInvitationEmail = ({+ workspaceName,+ inviterName,+ inviterEmail,+ invitationLink,+ to,+}: WorkspaceInvitationEmailProps) => (+ <Html>+ <Head />+ <Body style={main}>+ <Preview>You've been invited to join {workspaceName} on Kaneo.</Preview>+ <Container style={container}>+ <Heading style={heading}>🎉 You're invited to {workspaceName}</Heading>+ <Section style={body}>+ <Text style={paragraph}>+ <strong>{inviterName}</strong> ({inviterEmail}) has invited you to+ join the <strong>{workspaceName}</strong> workspace on Kaneo.+ </Text>+ <Text style={paragraph}>+ <Link style={link} href={`${invitationLink}?email=${to}`}>+ 👉 Accept invitation 👈+ </Link>+ </Text>+ <Text style={paragraph}>+ If you didn't request this, please ignore this email.+ </Text>+ <Hr />+ <Text style={footerParagraph}>Kaneo</Text>+ </Section>+ </Container>+ </Body>+ </Html>+);++WorkspaceInvitationEmail.PreviewProps = {+ workspaceName: "Acme Inc",+ inviterName: "John Doe",+ inviterEmail: "[email protected]",+ invitationLink: "https://kaneo.app/invite/abc123",+} as WorkspaceInvitationEmailProps;++export default WorkspaceInvitationEmail;++const main = {+ fontFamily:+ '-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif',+};++const container = {+ margin: "0 auto",+ padding: "20px 25px 0px",+};++const _header = {+ display: "inline-block",+};++const heading = {+ fontSize: "28px",+ fontWeight: "bold",+};++const body = {+ margin: "24px 0",+};++const paragraph = {+ fontSize: "16px",+ lineHeight: "26px",+};++const link = {+ color: "#5463FF",+};++const footerParagraph = {+ fontSize: "14px",+ lineHeight: "20px",+ color: "#6B7280",+};diff --git a/packages/email/tsconfig.json b/packages/email/tsconfig.jsonnew file mode 100644index 000000000..a70ba3577--- /dev/null+++ b/packages/email/tsconfig.json@@ -0,0 +1,33 @@+{+ "$schema": "https://json.schemastore.org/tsconfig",+ "compilerOptions": {+ "declaration": true,+ "declarationMap": true,+ "emitDeclarationOnly": false,+ "noEmit": false,+ "outDir": "${configDir}/dist",+ "jsx": "react",+ "moduleResolution": "node",+ "module": "CommonJS",+ "esModuleInterop": true,+ "skipLibCheck": true,+ "target": "ES2022",+ "lib": ["ES2022"],+ "allowJs": true,+ "resolveJsonModule": true,+ "moduleDetection": "force",+ "isolatedModules": true,++ "incremental": true,+ "disableSourceOfProjectReferenceRedirect": true,+ "tsBuildInfoFile": "${configDir}/.cache/tsbuildinfo.json",++ "strict": true,+ "noUncheckedIndexedAccess": true,+ "checkJs": true,++ "noImplicitAny": true+ },+ "include": ["src"],+ "exclude": ["node_modules"]+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 4e5c0102e..90be2327f 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -7,19 +7,23 @@ settings:importers:.:+ dependencies:+ dotenv-mono:+ specifier: ^1.5.1+ version: 1.5.1devDependencies:'@biomejs/biome':- specifier: 1.9.4- version: 1.9.4+ specifier: 2.0.6+ version: 2.0.6'@commitlint/cli':specifier: ^19.6.1- version: 19.8.1(@types/[email protected])([email protected])+ version: 19.8.1(@types/[email protected])([email protected])'@commitlint/config-conventional':specifier: ^19.6.0version: 19.8.1esbuild:specifier: '>=0.25.0'- version: 0.25.8+ version: 0.25.9husky:specifier: ^9.1.7version: 9.1.7@@ -30,8 +34,8 @@ importers:specifier: '>=2.1.3'version: 3.1.0turbo:- specifier: ^2.4.2- version: 2.5.5+ specifier: ^2.5.6+ version: 2.5.6typescript:specifier: 5.8.3version: 5.8.3@@ -44,6 +48,9 @@ importers:'@hono/zod-validator':specifier: ^0.7.2version: 0.7.2([email protected])([email protected])+ '@kaneo/email':+ specifier: workspace:*+ version: link:../../packages/email'@octokit/webhooks':specifier: ^14.1.3version: 14.1.3@@ -60,14 +67,11 @@ importers:specifier: ^6.0.0version: 6.0.0better-auth:- specifier: ^1.3.7+ specifier: ^1.3.8croner:specifier: ^9.1.0version: 9.1.0- dotenv:- specifier: ^17.2.1- version: 17.2.1drizzle-kit:specifier: ^0.31.1version: 0.31.4@@ -92,7 +96,7 @@ importers:version: 6.0.0'@types/node':specifier: ^24.3.0- version: 24.3.0+ version: 24.3.1'@types/pg':specifier: ^8.15.4version: 8.15.5@@ -109,17 +113,32 @@ importers:apps/docs:dependencies:'@fumadocs/mdx-remote':- specifier: ^1.3.0- version: 1.4.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])+ specifier: ^1.4.0+ version: 1.4.0(@types/[email protected])([email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])+ '@radix-ui/react-hover-card':+ specifier: ^1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot':+ specifier: ^1.2.3+ version: 1.2.3(@types/[email protected])([email protected])+ class-variance-authority:+ specifier: ^0.7.1+ version: 0.7.1+ clsx:+ specifier: ^2.1.1+ version: 2.1.1fumadocs-core:- specifier: 15.2.8- version: 15.2.8(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ specifier: 15.8.4+ version: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])fumadocs-mdx:- specifier: 11.6.0- version: 11.6.0(@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected]))([email protected]))+ specifier: 12.0.3+ version: 12.0.3(@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]))([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))+ fumadocs-twoslash:+ specifier: ^3.1.8+ version: 3.1.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected])fumadocs-ui:- specifier: 15.2.8- version: 15.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ specifier: 15.8.4+ version: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])lucide-react:specifier: ^0.488.0version: 0.488.0([email protected])@@ -130,11 +149,17 @@ importers:specifier: 15.3.3react:- specifier: ^19.1.0+ specifier: ^19.1.1version: 19.1.1react-dom:specifier: ^19.1.0version: 19.1.1([email protected])+ tailwind-merge:+ specifier: ^3.3.1+ version: 3.3.1+ twoslash:+ specifier: ^0.3.4+ version: 0.3.4([email protected])devDependencies:'@tailwindcss/postcss':specifier: ^4.1.4@@ -147,22 +172,34 @@ importers:version: 22.14.1'@types/react':specifier: ^19.1.2- version: 19.1.9+ version: 19.1.12'@types/react-dom':specifier: ^19.1.2- version: 19.1.7(@types/[email protected])+ version: 19.1.9(@types/[email protected])postcss:specifier: ^8.5.3version: 8.5.6tailwindcss:specifier: ^4.1.4- version: 4.1.11+ version: 4.1.13+ tw-animate-css:+ specifier: ^1.3.8+ version: 1.3.8typescript:specifier: ^5.8.3version: 5.8.3apps/web:dependencies:+ '@blocknote/core':+ specifier: ^0.37.0+ version: 0.37.0(@types/[email protected])+ '@blocknote/react':+ specifier: ^0.37.0+ version: 0.37.0(@types/[email protected])([email protected]([email protected]))([email protected])+ '@blocknote/shadcn':+ specifier: ^0.37.0+ version: 0.37.0(@types/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])'@dnd-kit/core':specifier: ^6.3.1@@ -180,49 +217,61 @@ importers:version: 5.2.1([email protected]([email protected]))'@radix-ui/react-accordion':specifier: ^1.2.10- version: 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.2.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-alert-dialog':specifier: ^1.1.14- version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-avatar':specifier: ^1.1.10- version: 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-collapsible':specifier: ^1.1.11- version: 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-context-menu':- specifier: ^2.2.15- version: 2.2.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ specifier: ^2.2.16+ version: 2.2.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-dialog':specifier: ^1.1.14- version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-dropdown-menu':specifier: ^2.1.15- version: 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-hover-card':+ specifier: ^1.1.15+ version: 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-label':specifier: ^2.1.6- version: 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-menubar':+ specifier: ^1.1.16+ version: 1.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-popover':specifier: ^1.1.14- version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-progress':specifier: ^1.1.7- version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-select':specifier: ^2.2.2- version: 2.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 2.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-separator':specifier: ^1.1.7- version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-slot':specifier: ^1.2.3- version: 1.2.3(@types/[email protected])([email protected])+ version: 1.2.3(@types/[email protected])([email protected])'@radix-ui/react-switch':specifier: ^1.2.6- version: 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.2.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tabs':+ specifier: ^1.1.13+ version: 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])'@radix-ui/react-tooltip':specifier: ^1.2.7- version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@tailwindcss/vite':+ specifier: ^4.1.13+ version: 4.1.13([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))'@tanstack/react-query':specifier: ^5.83.3version: 5.85.3([email protected])@@ -237,43 +286,19 @@ importers:version: 1.131.28(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@tanstack/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])([email protected])'@tanstack/router-plugin':specifier: ^1.131.28- version: 1.131.28(@tanstack/[email protected]([email protected]([email protected]))([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))- '@tiptap/extension-highlight':- specifier: ^2.11.7- version: 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-link':- specifier: ^2.14.0- '@tiptap/extension-placeholder':- specifier: ^2.11.7- '@tiptap/extension-task-item':- specifier: ^2.11.7- '@tiptap/extension-task-list':- specifier: ^2.23.1- version: 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/pm':- specifier: ^2.12.0- version: 2.26.1- '@tiptap/react':- specifier: ^2.12.0- version: 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])([email protected]([email protected]))([email protected])- '@tiptap/starter-kit':- specifier: ^2.12.0- version: 2.26.1+ version: 1.131.28(@tanstack/[email protected]([email protected]([email protected]))([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))'@types/file-saver':specifier: ^2.0.7version: 2.0.7'@vitejs/plugin-react':specifier: ^4.7.0- version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected]))+ version: 4.7.0([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))babel-plugin-react-compiler:specifier: ^19.0.0-beta-714736e-20250131version: 19.0.0-beta-ebf51a3-20250411better-auth:- specifier: ^1.3.5+ specifier: ^1.3.8class-variance-authority:specifier: ^0.7.1version: 0.7.1@@ -282,7 +307,7 @@ importers:version: 2.1.1cmdk:specifier: ^1.1.1- version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])date-fns:specifier: ^4.1.0version: 4.1.0@@ -291,7 +316,7 @@ importers:version: 2.0.5framer-motion:specifier: ^12.23.6hono:specifier: ^4.9.5version: 4.9.5@@ -299,14 +324,14 @@ importers:specifier: ^10.1.1version: 10.1.1lucide-react:- specifier: ^0.513.0- version: 0.513.0([email protected])+ specifier: ^0.545.0+ version: 0.545.0([email protected])react:specifier: ^19.0.0version: 19.1.1react-day-picker:- specifier: 9.8.1- version: 9.8.1([email protected])+ specifier: 9.9.0+ version: 9.9.0([email protected])react-dom:specifier: ^19.0.0version: 19.1.1([email protected])@@ -319,21 +344,21 @@ importers:sonner:specifier: ^2.0.6+ tailwind-animate:+ specifier: ^0.2.10+ version: 0.2.10tailwind-merge:- specifier: ^3.3.0+ specifier: ^3.3.1version: 3.3.1tailwindcss-animate:specifier: ^1.0.7- version: 1.0.7([email protected])- tiptap-markdown:- specifier: ^0.8.10- version: 0.8.10(@tiptap/[email protected](@tiptap/[email protected]))+ version: 1.0.7([email protected])zod:specifier: ^4.0.17- version: 4.0.17+ version: 4.1.5zustand:specifier: ^5.0.4- version: 5.0.6(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))+ version: 5.0.6(@types/[email protected])([email protected])([email protected])([email protected]([email protected]))devDependencies:'@kaneo/libs':specifier: workspace:*@@ -343,13 +368,13 @@ importers:version: 4.1.11'@types/node':specifier: ^24.1.0- version: 24.1.0+ version: 24.3.1'@types/react':- specifier: ^19.1.3- version: 19.1.9+ specifier: ^19.1.12+ version: 19.1.12'@types/react-dom':- specifier: ^19.0.3- version: 19.1.7(@types/[email protected])+ specifier: ^19.1.9+ version: 19.1.9(@types/[email protected])globals:specifier: ^16.0.0version: 16.3.0@@ -357,14 +382,51 @@ importers:specifier: ^8.5.1version: 8.5.6tailwindcss:- specifier: ^4.0.0- version: 4.1.11+ specifier: ^4.1.11+ version: 4.1.13+ tw-animate-css:+ specifier: ^1.3.8+ version: 1.3.8typescript:specifier: ~5.8.3version: 5.8.3vite:specifier: ^6.3.5+ version: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])++ packages/email:+ dependencies:+ '@react-email/components':+ specifier: 0.5.2+ '@types/node':+ specifier: ^24.3.1+ version: 24.3.1+ '@types/nodemailer':+ specifier: ^7.0.1+ version: 7.0.1+ nodemailer:+ specifier: ^7.0.6+ version: 7.0.6+ react:+ specifier: ^19.0.0+ version: 19.1.1+ react-dom:+ specifier: ^19.0.0+ version: 19.1.1([email protected])+ devDependencies:+ '@react-email/preview-server':+ specifier: 4.2.8+ version: 4.2.8([email protected])+ '@types/react':+ specifier: ^19.0.1+ version: 19.1.12+ '@types/react-dom':+ specifier: ^19.0.1+ version: 19.1.9(@types/[email protected])+ react-email:+ specifier: 4.2.8+ version: 4.2.8packages/libs:devDependencies:@@ -379,7 +441,7 @@ importers:version: 19.1.12'@types/react-dom':specifier: ^19.1.6- version: 19.1.7(@types/[email protected])+ version: 19.1.9(@types/[email protected])hono:specifier: ^4.9.5version: 4.9.5@@ -391,7 +453,7 @@ importers:version: 5.9.2vite:specifier: ^7.1.3+ version: 7.1.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])packages/typescript-config: {}@@ -405,6 +467,127 @@ packages:resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==}engines: {node: '>=6.0.0'}+ '@aws-crypto/[email protected]':+ resolution: {integrity: sha512-AXfN/lGotSQwu6HNcEsIASo7kWXZ5HYWvfOmSNKDsEqC4OashTp8alTmaz+F7TC2L083SFv5RdB+qU3Vs1kZqw==}++ '@aws-crypto/[email protected]':+ resolution: {integrity: sha512-FFQQyu7edu4ufvIZ+OadFpHHOt+eSTBaYaki44c+akjg7qZg9oOQeLlk77F6tSYqjDAFClrHJk9tMf0HdVyOvA==}+ engines: {node: '>=16.0.0'}++ '@aws-crypto/[email protected]':+ resolution: {integrity: sha512-iAvUotm021kM33eCdNfwIN//F77/IADDSs58i+MDaOqFrVjZo9bAal0NK7HurRuWLLpF1iLX7gbWrjHjeo+YFg==}++ '@aws-crypto/[email protected]':+ resolution: {integrity: sha512-4RkU9EsI6ZpBve5fseQlGNUWKMa1RLPQ1dnjnQoe07ldfIzcsGb5hC5W0Dm7u423KWzawlrpbjXBrXCEv9zazQ==}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-3HVaYgOTk0WCGUKN26yb1OGMl7VIP5w+fjm5SKDupbP179KoFaG7UfzDspFrulYadIN+rOjAPIgNY9p128yAKQ==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-Ybjw76yPceEBO7+VLjy5+/Gr0A1UNymSDHda5w8tfsS2iHZt/vuD6wrYpHdLoUx4H5la8ZhwcSfK/+kmE+QLPw==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-FmkqnqBLkXi4YsBPbF6vzPa0m4XKUuvgKDbamfw4DZX2CzfBZH6UU4IwmjNV3ZM38m0xraHarK8KIbGSadN3wg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-Z6tPBXPCodfhIF1rvQKoeRGMkwL6TK0xdl1UoMIA1x4AfBpPICAF77JkFBExk/pdiFYq1d04Qzddd/IiujSlLg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-P589ug1lMOOEYLTaQJjSP+Gee34za8Kk2LfteNQfO9SpByHFgGj++Sg8VyIe30eZL8Q+i4qTt24WDCz1c+dgYg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-n6z9HTzuDEdugXvPiE/95VJXbF4/gBffdV/SRHDJKtDHaRuvp/gggbfmfVSTFouGVnlKPb2pQWQsW3Nr/Y3Lrw==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-QIUhsatsrwfB9ZsKpmi0EySSfexVP61wgN7hr493DOileh2QsKW4XATEfsWNmx0dj9323Vg1Mix7bXtRfl9cGg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-m1shbHY/Vppy4EdddG9r8x64TO/9FsCjokp5HbKcZvVoTOTgUJrdT8q2TAQJ89+zYIJDqsKbqfrmfwJ1zOdnGQ==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-37ve9Tult08HLXrJFHJM/sGB/vO7wzI6v1RUUfeTiShqx8ZQ5fTzCTNY/duO96jCtCexmFNSycpQzh7lDIf0aA==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-SL82K9Jb0vpuTadqTO4Fpdu7SKtebZ3Yo4LZvk/U0UauVMlJj5ZTos0mFx1QSMB9/4TpqifYrSZcdnxgYg8Eqw==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-KZ/W1uruWtMOs7D5j3KquOxzCnV79KQW9MjJFZM/M0l6KI8J6V3718MXxFHsTjUE4fpdV6SeCNLV1lwGygsjJA==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-cpWJhOuMSyz9oV25Z/CMHCBTgafDCbv7fHR80nlRrPdPZ8ETNsahwRgltXP1QJJ8r3X/c1kwpOR7tc+RabVzNA==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-OtgY8EXOzRdEWR//WfPkA/fXl0+WwE8hq0y9iw2caNyKPtca85dzrrZWnPqyBK/cpImosrpR1iKMYr41XshsCg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-i4sGOj9xhSN6/LkYj3AJ2SRWENnpN9JySwNqIoRqO1Uon8gfyNLJd1yV+s43vXQsU5wbKWVXK8l9SRo+vNTQwg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-q58uLYnGLg7hsnWpdj7Cd1Ulsq1/PUJOHvAfgcBuiDE/+Fwh0DZxZZyjrU+Cr+dbeowIdUaOO8BEDDJ0CUenJw==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-IhzDM+v0ga53GOOrZ9jmGNr7JU5OR6h6ZK9NgB7GXaa+gsDbqfUuXRwyKDYXldrTXf1sUR3vy1okWDXA7S2ejQ==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-q9sPoef+BBG6PJnc4x60vK/bfVwvRWsPgcoQyIra057S/QGjq5VkjvNk6H8xedf6vnKlXNBwq9BaANBXnldUJg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-86PO7+xhuQ48cD3xlZgEpRxVP1lBarWAJy23sB6zZLHgZSbnYXYjRFuyxX4PlFzqllM3PDKJvq3WnXeqSXeNsg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-tcj/Z5paGn9esxhmmkEW7gt39uNoIRbXG1UwJrfKu4zcTr89h86PDiIE2nxUO3CMQf1KgncPpr5WouPGzkh/QQ==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-Bei+RL0cDxxV+lW2UezLbCYYNeJm6Nzee0TpW0FfyTRBhH9C1XQh4+x+IClriXvgBnRquTMMYsmJfvx8iyLKrg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-qag+VTqnJWDn8zTAXX4wiVioa0hZDQMtbZcGRERVnLar4/3/VIKBhxX2XibNQXFu1ufgcRn4YntT/XEPecFWcg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-aVAJwGecYoEmbEFju3127TyJDF9qJsKDUUTRMDuS8tGn+QiWQFnfInmbt+el9GU1gEJupNTXV+E3e74y51fb7A==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-xcVhZF6svjM5Rj89T1WzkjQmrTF6dpR2UvIHPMTnSZoNe6CixejPZ6f0JJ2kAhO8H+dUHwNBlsUgOTIKiK/Syg==}+ engines: {node: '>=18.0.0'}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-AcRdbK6o19yehEcywI43blIBhOCSo6UgyWcuOJX5CFF8k39xm1ILCjQlRRjchLAxWrm0lU0Q7XV90RiMMFMZtA==}++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-28cQZqC+wsKUHGpTBr+afoIdjS6IoEJkMqcZsmo2Ag8LzmTa6BUWQenFYB0/9BmDy4PZFPUn+uX+rJgWKB+jzA==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ aws-crt: '>=1.0.0'+ peerDependenciesMeta:+ aws-crt:+ optional: true++ '@aws-sdk/[email protected]':+ resolution: {integrity: sha512-kLO7k7cGJ6KaHiExSJWojZurF7SnGMDHXRuQunFnEoD0n1yB6Lqy/S/zHiQ7oJnBhPr9q0TW9qFkrsZb1Uc54w==}+ engines: {node: '>=18.0.0'}+'@babel/[email protected]':resolution: {integrity: sha512-cjQ7ZlQ0Mv3b47hABuTevyTuYN4i+loJKGeV9flcCgIK37cCXRh+L1bd3iBHlynerhQ7BhCkn2BPbQUL+rGqFg==}engines: {node: '>=6.9.0'}@@ -413,6 +596,10 @@ packages:resolution: {integrity: sha512-60X7qkglvrap8mn1lh2ebxXdZYtUcpd7gsmy9kLaBJ4i/WdY8PqTSdxyA8qraikqKQK5C1KRBKXqznrVapyNaw==}engines: {node: '>=6.9.0'}+ '@babel/[email protected]':+ resolution: {integrity: sha512-vMqyb7XCDMPvJFFOaT9kxtiRh42GwlZEg1/uIgtZshS5a/8OaduUfCi7kynKgc3Tw/6Uo2D+db9qBttghhmxwQ==}+ engines: {node: '>=6.9.0'}+'@babel/[email protected]':resolution: {integrity: sha512-UlLAnTPrFdNGoFtbSXwcGFQBtQZJCNjaN6hQNP3UPvuNXT1i82N26KL3dZeIpNalWywr9IuQuncaAfUaS1g6sQ==}engines: {node: '>=6.9.0'}@@ -471,18 +658,10 @@ packages:resolution: {integrity: sha512-Tub4ZKEXqbPjXgWLl2+3JpQAYBJ8+ikpQ2Ocj/q/r0LwE3UhENh7EUabyHjz2kCEsrRY83ew2DQdHluuiDQFzg==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==}- engines: {node: '>=6.9.0'}-'@babel/[email protected]':resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}engines: {node: '>=6.9.0'}@@ -495,8 +674,8 @@ packages:resolution: {integrity: sha512-muE8Tt8M22638HU31A3CgfSUciwz1fhATfoVai05aPXGor//CdWDCbnlY1yvBPo07njuVOCNGCSp/GTt12lIug==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-OsQd175SxWkGlzbny8J3K8TnnDD0N3lrIUtB92xwyRpzaenGZhxDvxN/JgU00U3CDZNj9tPuDJ5H0WS4Nt3vKg==}+ '@babel/[email protected]':+ resolution: {integrity: sha512-iaepho73/2Pz7w2eMS0Q5f83+0RKI7i4xmiYeBmDzfRVbQtTOG7Ts0S4HzJVsTMGI9keU8rNfuZr8DKfSt7Yyg==}engines: {node: '>=6.0.0'}hasBin: true@@ -551,12 +730,12 @@ packages:resolution: {integrity: sha512-LPDZ85aEJyYSd18/DkjNh4/y1ntkE5KwUHWTiqgRxruuZL2F1yuHligVHLvcHY2vMHXttKFpJn6LwfI7cw7ODw==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==}+ '@babel/[email protected]':+ resolution: {integrity: sha512-19lYZFzYVQkkHkl4Cy4WrAVcqBkgvV2YM2TU3xG6DIwO7O3ecbDPfW3yM3bjAGcqcQHi+CCtjMR3dIEHxsd6bA==}engines: {node: '>=6.9.0'}- '@babel/[email protected]':- resolution: {integrity: sha512-H45s8fVLYjbhFH62dIJ3WtmJ6RSPt/3DRO0ZcT2SUiYiQyz3BLVb9ADEnLl91m74aQPS3AzzeajZHYOalWe3bg==}+ '@babel/[email protected]':+ resolution: {integrity: sha512-mGe7UK5wWyh0bKRfupsUchrQGqvDbZDbKJw+kcRGSmdHVYrv+ltd0pnpDTVpiTqnaBru9iEvA8pz8W46v0Amwg==}engines: {node: '>=6.9.0'}'@babel/[email protected]':@@ -569,59 +748,80 @@ packages:'@better-fetch/[email protected]':resolution: {integrity: sha512-rEFOE1MYIsBmoMJtQbl32PGHHXuG2hDxvEd7rUHE0vCBoFQVSDqaVs9hkZEtHCxRoY+CljXKFCOuJ8uxqw1LcA==}- '@biomejs/[email protected]':- resolution: {integrity: sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-RRP+9cdh5qwe2t0gORwXaa27oTOiQRQvrFf49x2PA1tnpsyU7FIHX4ZOFMtBC4QNtyWsN7Dqkf5EDbg4X+9iqA==}engines: {node: '>=14.21.3'}hasBin: true- '@biomejs/[email protected]':- resolution: {integrity: sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-AzdiNNjNzsE6LfqWyBvcL29uWoIuZUkndu+wwlXW13EKcBHbbKjNQEZIJKYDc6IL+p7bmWGx3v9ZtcRyIoIz5A==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-ngYBh/+bEedqkSevPVhLP4QfVPCpb+4BBe2p7Xs32dBgs7rh9nY2AIYUL6BgLw1JVXV8GlpKmb/hNiuIxfPfZg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-wJjjP4E7bO4WJmiQaLnsdXMa516dbtC6542qeRkyJg0MqMXP0fvs4gdsHhZ7p9XWTAmGIjZHFKXdsjBvKGIJJQ==}engines: {node: '>=14.21.3'}cpu: [x64]os: [darwin]- '@biomejs/[email protected]':- resolution: {integrity: sha512-v665Ct9WCRjGa8+kTr0CzApU0+XXtRgwmzIf1SeKSGAv+2scAlW6JR5PMFo6FzqqZ64Po79cKODKf3/AAmECqA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-CVPEMlin3bW49sBqLBg2x016Pws7eUXA27XYDFlEtponD0luYjg2zQaMJ2nOqlkKG9fqzzkamdYxHdMDc2gZFw==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-fJIW0+LYujdjUgJJuwesP4EjIBl/N/TcOX3IvIHJQNsAqvV2CHIogsmA94BPG6jZATS4Hi+xv4SkBBQSt1N4/g==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-ZSVf6TYo5rNMUHIW1tww+rs/krol7U5A1Is/yzWyHVZguuB0lBnIodqyFuwCNqG9aJGyk7xIMS8HG0qGUPz0SA==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-gEhi/jSBhZ2m6wjV530Yy8+fNqG8PAinM3oV7CyO+6c3CEh16Eizm21uHVsyVBEB6RIM8JHIl6AGYCv6Q6Q9Tg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-mKHE/e954hR/hSnAcJSjkf4xGqZc/53Kh39HVW1EgO5iFi0JutTN07TSjEMg616julRtfSNJi0KNyxvc30Y4rQ==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-lRCJv/Vi3Vlwmbd6K+oQ0KhLHMAysN8lXoCI7XeHlxaajk06u7G+UsFSO01NAs5iYuWKmVZjmiOzJ0OJmGsMwg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-geM1MkHTV1Kh2Cs/Xzot9BOF3WBacihw6bkEmxkz4nSga8B9/hWy5BDiOG3gHDGIBa8WxT0nzsJs2f/hPqQIQw==}engines: {node: '>=14.21.3'}cpu: [x64]os: [linux]- '@biomejs/[email protected]':- resolution: {integrity: sha512-tlbhLk+WXZmgwoIKwHIHEBZUwxml7bRJgk0X2sPyNR3S93cdRq6XulAZRQJ17FYGGzWne0fgrXBKpl7l4M87Hg==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-290V4oSFoKaprKE1zkYVsDfAdn0An5DowZ+GIABgjoq1ndhvNxkJcpxPsiYtT7slbVe3xmlT0ncdfOsN7KruzA==}engines: {node: '>=14.21.3'}cpu: [arm64]os: [win32]- '@biomejs/[email protected]':- resolution: {integrity: sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA==}+ '@biomejs/[email protected]':+ resolution: {integrity: sha512-bfM1Bce0d69Ao7pjTjUS+AWSZ02+5UHdiAP85Th8e9yV5xzw6JrHXbL5YWlcEKQ84FIZMdDc7ncuti1wd2sdbw==}engines: {node: '>=14.21.3'}cpu: [x64]os: [win32]+ '@blocknote/[email protected]':+ resolution: {integrity: sha512-OEi377PyRjmeM6hMlxxKJliC2W1YrwCtZSibJCfqe7n5Vh+NRaaGB8VafeIT53boW7l+siEVEq0K5P8qIdJQHw==}+ peerDependencies:+ '@hocuspocus/provider': ^2.15.2+ peerDependenciesMeta:+ '@hocuspocus/provider':+ optional: true++ '@blocknote/[email protected]':+ resolution: {integrity: sha512-ep0ZXErKC3AO5QJipU4uRXGiLHpF/qKfst4tbalp5RJBbeMzr2nSHGa88voQwg9noPTHCvEOXCAcSgykwnr/fA==}+ peerDependencies:+ react: ^18.0 || ^19.0 || >= 19.0.0-rc+ react-dom: ^18.0 || ^19.0 || >= 19.0.0-rc++ '@blocknote/[email protected]':+ resolution: {integrity: sha512-u6PD3o+v/yWgayvHb+edEmTs2i06bu7YUVLrcHPpTdEq4q03o6H7ITHH9cKUPvxNjvefmZWNh0hYCmVFacpgzA==}+ peerDependencies:+ react: ^18.0 || ^19.0 || >= 19.0.0-rc+ react-dom: ^18.0 || ^19.0 || >= 19.0.0-rc+ tailwindcss: ^4.1.12+'@commitlint/[email protected]':resolution: {integrity: sha512-LXUdNIkspyxrlV6VDHWBmCZRtkEVRpBKxi2Gtw3J54cGWhLCTouVD/Q6ZSaSvd2YaDObWK8mDjrz3TIKtaQMAA==}engines: {node: '>=v18'}@@ -691,8 +891,8 @@ packages:resolution: {integrity: sha512-/yCrWGCoA1SVKOks25EGadP9Pnj0oAIHGpl2wH2M2Y46dPM2ueb8wyCVOD7O3WCTkaJ0IkKvzhl1JY7+uCT2Dw==}engines: {node: '>=v18'}- '@date-fns/[email protected]':- resolution: {integrity: sha512-LBrd7MiJZ9McsOgxqWX7AaxrDjcFVjWH/tIKJd7pnR7McaslGYOP1QmmiBXdJH/H/yLCT+rcQ7FaPBUxRGUtrg==}+ '@date-fns/[email protected]':+ resolution: {integrity: sha512-P5LUNhtbj6YfI3iJjw5EL9eUAG6OitD0W3fWQcpQjDRc/QIsL0tRNuO1PcDvPccWL1fSTXXdE1ds+l95DV/OFA==}'@dnd-kit/[email protected]':resolution: {integrity: sha512-2P+YgaXF+gRsIihwwY1gCsQSYnu9Zyj2py8kY5fFvUM1qm2WA2u639R6YNVfU4GWr+ZM5mqEsfHZZLoRONbemw==}@@ -725,8 +925,11 @@ packages:'@drizzle-team/[email protected]':resolution: {integrity: sha512-z33Il7l5dKjUgGULTqBsQBQwckHh5AbIuxhdsIxDDiZAzBOrZO6q9ogcWC65kU382AfynTfgNumVcNIjuIua6w==}- '@emnapi/[email protected]':- resolution: {integrity: sha512-pBPWdu6MLKROBX05wSNKcNb++m5Er+KQ9QkB+WVM+pW2Kx9hoSrVTnu3BdkI5eBLZoKu/J6mW/B6i6bJB2ytXQ==}+ '@emnapi/[email protected]':+ resolution: {integrity: sha512-97/BJ3iXHww3djw6hYIfErCZFee7qCtrneuLa20UXFCOTCfBM2cvQHjWJ2EG0s0MtdNwInarqCTz35i4wWXHsQ==}++ '@emoji-mart/[email protected]':+ resolution: {integrity: sha512-no2pQMWiBy6gpBEiqGeU77/bFejDqUTRY7KX+0+iur13op3bqUsXdnwoZs6Xb1zbv0gAj5VvS1PWoUUckSr5Dw==}'@esbuild-kit/[email protected]':resolution: {integrity: sha512-sPRAnw9CdSsRmEtnsl2WXWdyquogVpB3yZ3dgwJfe8zrOzTsV7cJvmwrKVa+0ma5BoiGJ+BoqkMvawbayKUsqQ==}@@ -736,8 +939,14 @@ packages:resolution: {integrity: sha512-FxEMIkJKnodyA1OaCUoEvbYRkoZlLZ4d/eXFu9Fh8CbBBgP5EmZxrfTRyN0qpXZ4vOvqnE5YdRdcrmUUXuU+dA==}deprecated: 'Merged into tsx: https://tsx.is'- '@esbuild/[email protected]':- resolution: {integrity: sha512-urAvrUedIqEiFR3FYSLTWQgLu5tb+m0qZw0NBEasUeo6wuqatkMDaRT+1uABiGXEu5vqgPd7FGE1BhsAIy9QVA==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-O7vun9Sf8DFjH2UtqK8Ku3LkquL9SZL8OLY1T5NZkA34+wG3OQF7cl4Ql8vdNzM6fzBbYfLaiRLIOZ+2FOCgBQ==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [aix]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-0NFWnA+7l41irNuaSVlLfgNT12caWJVLzp5eAVhZ0z1qpxbockccEt3s+149rE64VUI3Ml2zt8Nv5JVc4QXTsw==}engines: {node: '>=18'}cpu: [ppc64]os: [aix]@@ -754,8 +963,14 @@ packages:cpu: [arm64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-OD3p7LYzWpLhZEyATcTSJ67qB5D+20vbtr6vHlHWSQYhKtzUYrETuWThmzFpZtFsBIxRvhO07+UgVA9m0i/O1w==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-grvv8WncGjDSyUBjN9yHXNt+cq0snxXbDxy5pJtzMKGmmpPxeAmAhWxXI+01lU5rwZomDgD3kJwulEnhTRUd6g==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-LSQa7eDahypv/VO6WKohZGPSJDq5OVOo3UoFR1E4t4Gj1W7zEQMUhI+lo81H+DtB+kP+tDgBp+M4oNCwp6kffg==}engines: {node: '>=18'}cpu: [arm64]os: [android]@@ -772,8 +987,14 @@ packages:cpu: [arm]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-RONsAvGCz5oWyePVnLdZY/HHwA++nxYWIX1atInlaW6SEkwq6XkP3+cb825EUcRs5Vss/lGh/2YxAb5xqc07Uw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-PTyWCYYiU0+1eJKmw21lWtC+d08JDZPQ5g+kFyxP0V+es6VPPSUhM6zk8iImp2jbV6GwjX4pap0JFbUQN65X1g==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-dQAxF1dW1C3zpeCDc5KqIYuZ1tgAdRXNoZP7vkBIRtKZPYe2xVr/d3SkirklCHudW1B45tGiUlz2pUWDfbDD4w==}engines: {node: '>=18'}cpu: [arm]os: [android]@@ -790,8 +1011,14 @@ packages:cpu: [x64]os: [android]- '@esbuild/[email protected]':- resolution: {integrity: sha512-yJAVPklM5+4+9dTeKwHOaA+LQkmrKFX96BM0A/2zQrbS6ENCmxc4OVoBs5dPkCCak2roAD+jKCdnmOqKszPkjA==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-m/ix7SfKG5buCnxasr52+LI78SQ+wgdENi9CqyCXwjVR2X4Jkz+BpC3le3AoBPYTC9NHklwngVXvbJ9/Akhrfg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [android]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-MiC9CWdPrfhibcXwr39p9ha1x0lZJ9KaVfvzA0Wxwz9ETX4v5CHfF09bx935nHlhi+MxhA63dKRRQLiVgSUtEg==}engines: {node: '>=18'}cpu: [x64]os: [android]@@ -808,8 +1035,14 @@ packages:cpu: [arm64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Jw0mxgIaYX6R8ODrdkLLPwBqHTtYHJSmzzd+QeytSugzQ0Vg4c5rDky5VgkoowbZQahCbsv1rT1KW72MPIkevw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-mVwdUb5SRkPayVadIOI78K7aAnPamoeFR2bT5nszFUZ9P8UpK4ratOdYbZZXYSqPKMHfS1wdHCJk1P1EZpRdvw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-JC74bdXcQEpW9KkV326WpZZjLguSZ3DfS8wrrvPMHgQOIEIG/sPXEN/V8IssoJhbefLRcRqw6RQH2NnpdprtMA==}engines: {node: '>=18'}cpu: [arm64]os: [darwin]@@ -826,8 +1059,14 @@ packages:cpu: [x64]os: [darwin]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Vh2gLxxHnuoQ+GjPNvDSDRpoBCUzY4Pu0kBqMBDlK4fuWbKgGtmDIeEC081xi26PPjn+1tct+Bh8FjyLlw1Zlg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-DgDaYsPWFTS4S3nWpFcMn/33ZZwAAeAFKNHNa1QN0rI4pUjgqf0f7ONmXf6d22tqTY+H9FNdgeaAa+YIFUn2Rg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [darwin]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-tguWg1olF6DGqzws97pKZ8G2L7Ig1vjDmGTwcTuYHbuU6TTjJe5FXbgs5C1BBzHbJ2bo1m3WkQDbWO2PvamRcg==}engines: {node: '>=18'}cpu: [x64]os: [darwin]@@ -844,8 +1083,14 @@ packages:cpu: [arm64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-YPJ7hDQ9DnNe5vxOm6jaie9QsTwcKedPvizTVlqWG9GBSq+BuyWEDazlGaDTC5NGU4QJd666V0yqCBL2oWKPfA==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-VN4ocxy6dxefN1MepBx/iD1dH5K8qNtNe227I0mnTRjry8tj5MRk4zprLEdG8WPyAPb93/e4pSgi1SoHdgOa4w==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-3ZioSQSg1HT2N05YxeJWYR+Libe3bREVSdWhEEgExWaDtyFbbXWb49QgPvFH8u03vUPX10JhJPcz7s9t9+boWg==}engines: {node: '>=18'}cpu: [arm64]os: [freebsd]@@ -862,8 +1107,14 @@ packages:cpu: [x64]os: [freebsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-MmaEXxQRdXNFsRN/KcIimLnSJrk2r5H8v+WVafRWz5xdSVmWLoITZQXcgehI2ZE6gioE6HirAEToM/RvFBeuhw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-mrSgt7lCh07FY+hDD1TxiTyIHyttn6vnjesnPoVDNmDfOmggTLXRv8Id5fNZey1gl/V2dyVK1VXXqVsQIiAk+A==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [freebsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-LLgJfHJk014Aa4anGDbh8bmI5Lk+QidDmGzuC2D+vP7mv/GeSN+H39zOf7pN5N8p059FcOfs2bVlrRr4SK9WxA==}engines: {node: '>=18'}cpu: [x64]os: [freebsd]@@ -880,8 +1131,14 @@ packages:cpu: [arm64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-WIgg00ARWv/uYLU7lsuDK00d/hHSfES5BzdWAdAig1ioV5kaFNrtK8EqGcUBJhYqotlUByUKz5Qo6u8tt7iD/w==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-9QAQjTWNDM/Vk2bgBl17yWuZxZNQIF0OUUuPZRKoDtqF2k4EtYbpyiG5/Dk7nqeK6kIJWPYldkOcBqjXjrUlmg==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-5luJWN6YKBsawd5f9i4+c+geYiVEw20FVW5x0v1kEMWNq8UctFjDiMATBxLvmmHA4bf7F6hTRaJgtghFr9iziQ==}engines: {node: '>=18'}cpu: [arm64]os: [linux]@@ -898,8 +1155,14 @@ packages:cpu: [arm]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-FuzEP9BixzZohl1kLf76KEVOsxtIBFwCaLupVuk4eFVnOZfU+Wsn+x5Ryam7nILV2pkq2TqQM9EZPsOBuMC+kg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-vkB3IYj2IDo3g9xX7HqhPYxVkNQe8qTK55fraQyTzTX/fxaDtXiEnavv9geOsonh2Fd2RMB+i5cbhu2zMNWJwg==}+ engines: {node: '>=18'}+ cpu: [arm]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-oR31GtBTFYCqEBALI9r6WxoU/ZofZl962pouZRTEYECvNF/dtXKku8YXcJkhgK/beU+zedXfIzHijSRapJY3vg==}engines: {node: '>=18'}cpu: [arm]os: [linux]@@ -916,8 +1179,14 @@ packages:cpu: [ia32]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-A1D9YzRX1i+1AJZuFFUMP1E9fMaYY+GnSQil9Tlw05utlE86EKTUA7RjwHDkEitmLYiFsRd9HwKBPEftNdBfjg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-43ET5bHbphBegyeqLb7I1eYn2P/JYGNmzzdidq/w0T8E2SsYL1U6un2NFROFRg1JZLTzdCoRomg8Rvf9M6W6Gg==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-NrSCx2Kim3EnnWgS4Txn0QGt0Xipoumb6z6sUtl5bOEZIVKhzfyp/Lyw4C1DIYvzeW/5mWYPBFJU3a/8Yr75DQ==}engines: {node: '>=18'}cpu: [ia32]os: [linux]@@ -934,8 +1203,14 @@ packages:cpu: [loong64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-O7k1J/dwHkY1RMVvglFHl1HzutGEFFZ3kNiDMSOyUrB7WcoHGf96Sh+64nTRT26l3GMbCW01Ekh/ThKM5iI7hQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-fC95c/xyNFueMhClxJmeRIj2yrSMdDfmqJnyOY4ZqsALkDrrKJfIg5NTMSzVBr5YW1jf+l7/cndBfP3MSDpoHw==}+ engines: {node: '>=18'}+ cpu: [loong64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-xoSphrd4AZda8+rUDDfD9J6FUMjrkTz8itpTITM4/xgerAZZcFW7Dv+sun7333IfKxGG8gAq+3NbfEMJfiY+Eg==}engines: {node: '>=18'}cpu: [loong64]os: [linux]@@ -952,8 +1227,14 @@ packages:cpu: [mips64el]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-uv+dqfRazte3BzfMp8PAQXmdGHQt2oC/y2ovwpTteqrMx2lwaksiFZ/bdkXJC19ttTvNXBuWH53zy/aTj1FgGw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-nkAMFju7KDW73T1DdH7glcyIptm95a7Le8irTQNO/qtkoyypZAnjchQgooFUDQhNAy4iu08N79W4T4pMBwhPwQ==}+ engines: {node: '>=18'}+ cpu: [mips64el]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-ab6eiuCwoMmYDyTnyptoKkVS3k8fy/1Uvq7Dj5czXI6DF2GqD2ToInBI0SHOp5/X1BdZ26RKc5+qjQNGRBelRA==}engines: {node: '>=18'}cpu: [mips64el]os: [linux]@@ -970,8 +1251,14 @@ packages:cpu: [ppc64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-GyG0KcMi1GBavP5JgAkkstMGyMholMDybAf8wF5A70CALlDM2p/f7YFE7H92eDeH/VBtFJA5MT4nRPDGg4JuzQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-NhyOejdhRGS8Iwv+KKR2zTq2PpysF9XqY+Zk77vQHqNbo/PwZCzB5/h7VGuREZm1fixhs4Q/qWRSi5zmAiO4Fw==}+ engines: {node: '>=18'}+ cpu: [ppc64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-NLinzzOgZQsGpsTkEbdJTCanwA5/wozN9dSgEl12haXJBzMTpssebuXR42bthOF3z7zXFWH1AmvWunUCkBE4EA==}engines: {node: '>=18'}cpu: [ppc64]os: [linux]@@ -988,8 +1275,14 @@ packages:cpu: [riscv64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-rAqDYFv3yzMrq7GIcen3XP7TUEG/4LK86LUPMIz6RT8A6pRIDn0sDcvjudVZBiiTcZCY9y2SgYX2lgK3AF+1eg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-5S/rbP5OY+GHLC5qXp1y/Mx//e92L1YDqkiBbO9TQOvuFXM+iDqUNG5XopAnXoRH3FjIUDkeGcY1cgNvnXp/kA==}+ engines: {node: '>=18'}+ cpu: [riscv64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-FE557XdZDrtX8NMIeA8LBJX3dC2M8VGXwfrQWU7LB5SLOajfJIxmSdyL/gU1m64Zs9CBKvm4UAuBp5aJ8OgnrA==}engines: {node: '>=18'}cpu: [riscv64]os: [linux]@@ -1006,8 +1299,14 @@ packages:cpu: [s390x]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-Xutvh6VjlbcHpsIIbwY8GVRbwoviWT19tFhgdA7DlenLGC/mbc3lBoVb7jxj9Z+eyGqvcnSyIltYUrkKzWqSvg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-XM2BFsEBz0Fw37V0zU4CXfcfuACMrppsMFKdYY2WuTS3yi8O1nFOhil/xhKTmE1nPmVyvQJjJivgDT+xh8pXJA==}+ engines: {node: '>=18'}+ cpu: [s390x]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-3BBSbgzuB9ajLoVZk0mGu+EHlBwkusRmeNYdqmznmMc9zGASFjSsxgkNsqmXugpPk00gJ0JNKh/97nxmjctdew==}engines: {node: '>=18'}cpu: [s390x]os: [linux]@@ -1024,8 +1323,14 @@ packages:cpu: [x64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-ASFQhgY4ElXh3nDcOMTkQero4b1lgubskNlhIfJrsH5OKZXDpUAKBlNS0Kx81jwOBp+HCeZqmoJuihTv57/jvQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-9yl91rHw/cpwMCNytUDxwj2XjFpxML0y9HAOH9pNVQDpQrBxHy01Dx+vaMu0N1CKa/RzBD2hB4u//nfc+Sd3Cw==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [linux]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-QSX81KhFoZGwenVyPoberggdW1nrQZSvfVDAIUXr3WqLRZGZqWk/P4T8p2SP+de2Sr5HPcvjhcJzEiulKgnxtA==}engines: {node: '>=18'}cpu: [x64]os: [linux]@@ -1036,8 +1341,14 @@ packages:cpu: [x64]os: [linux]- '@esbuild/[email protected]':- resolution: {integrity: sha512-d1KfruIeohqAi6SA+gENMuObDbEjn22olAR7egqnkCD9DGBG0wsEARotkLgXDu6c4ncgWTZJtN5vcgxzWRMzcw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-RuG4PSMPFfrkH6UwCAqBzauBWTygTvb1nxWasEJooGSJ/NwRw7b2HOwyRTQIU97Hq37l3npXoZGYMy3b3xYvPw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-AKQM3gfYfSW8XRk8DdMCzaLUFB15dTrZfnX8WXQoOUpUBQ+NaAFCP1kPS/ykbbGYz7rxn0WS48/81l9hFl3u4A==}engines: {node: '>=18'}cpu: [arm64]os: [netbsd]@@ -1054,8 +1365,14 @@ packages:cpu: [x64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-nVDCkrvx2ua+XQNyfrujIG38+YGyuy2Ru9kKVNyh5jAys6n+l44tTtToqHjino2My8VAY6Lw9H7RI73XFi66Cg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-jl+qisSB5jk01N5f7sPCsBENCOlPiS/xptD5yxOx2oqQfyourJwIKLRA2yqWdifj3owQZCL2sn6o08dBzZGQzA==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [netbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-7RTytDPGU6fek/hWuN9qQpeGPBZFfB4zZgcz2VK2Z5VpdUxEI8JKYsg3JfO0n/Z1E/6l05n0unDCNc4HnhQGig==}engines: {node: '>=18'}cpu: [x64]os: [netbsd]@@ -1066,8 +1383,14 @@ packages:cpu: [x64]os: [netbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-j8HgrDuSJFAujkivSMSfPQSAa5Fxbvk4rgNAS5i3K+r8s1X0p1uOO2Hl2xNsGFppOeHOLAVgYwDVlmxhq5h+SQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-21sUNbq2r84YE+SJDfaQRvdgznTD8Xc0oc3p3iW/a1EVWeNj/SdUCbm5U0itZPQYRuRTW20fPMWMpcrciH2EJw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-5Se0VM9Wtq797YFn+dLimf2Zx6McttsH2olUBsDml+lm0GOCRVebRWUvDtkY4BWYv/3NgzS8b/UM3jQNh5hYyw==}engines: {node: '>=18'}cpu: [arm64]os: [openbsd]@@ -1084,8 +1407,14 @@ packages:cpu: [x64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-1h8MUAwa0VhNCDp6Af0HToI2TJFAn1uqT9Al6DJVzdIBAd21m/G0Yfc77KDM3uF3T/YaOgQq3qTJHPbTOInaIQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-2gwwriSMPcCFRlPlKx3zLQhfN/2WjJ2NSlg5TKLQOJdV0mSxIcYNTMhk3H3ulL/cak+Xj0lY1Ym9ysDV1igceg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [openbsd]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-XkA4frq1TLj4bEMB+2HnI0+4RnjbuGZfet2gs/LNs5Hc7D89ZQBHQ0gL2ND6Lzu1+QVkjp3x1gIcPKzRNP8bXw==}engines: {node: '>=18'}cpu: [x64]os: [openbsd]@@ -1096,8 +1425,8 @@ packages:cpu: [x64]os: [openbsd]- '@esbuild/[email protected]':- resolution: {integrity: sha512-r2nVa5SIK9tSWd0kJd9HCffnDHKchTGikb//9c7HX+r+wHYCpQrSgxhlY6KWV1nFo1l4KFbsMlHk+L6fekLsUg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-AVTSBhTX8Y/Fz6OmIVBip9tJzZEUcY8WLh7I59+upa5/GPhh2/aM6bvOMQySspnCCHvFi79kMtdJS1w0DXAeag==}engines: {node: '>=18'}cpu: [arm64]os: [openharmony]@@ -1114,8 +1443,14 @@ packages:cpu: [x64]os: [sunos]- '@esbuild/[email protected]':- resolution: {integrity: sha512-zUlaP2S12YhQ2UzUfcCuMDHQFJyKABkAjvO5YSndMiIkMimPmxA+BYSBikWgsRpvyxuRnow4nS5NPnf9fpv41w==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-bxI7ThgLzPrPz484/S9jLlvUAHYMzy6I0XiU1ZMeAEOBcS0VePBFxh1JjTQt3Xiat5b6Oh4x7UC7IwKQKIJRIg==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [sunos]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-fswk3XT0Uf2pGJmOpDB7yknqhVkJQkAQOcW/ccVOtfx05LkbWOaRAtn5SaqXypeKQra1QaEa841PgrSL9ubSPQ==}engines: {node: '>=18'}cpu: [x64]os: [sunos]@@ -1132,8 +1467,14 @@ packages:cpu: [arm64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-YEGFFWESlPva8hGL+zvj2z/SaK+pH0SwOM0Nc/d+rVnW7GSTFlLBGzZkuSU9kFIGIo8q9X3ucpZhu8PDN5A2sQ==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-ZUAc2YK6JW89xTbXvftxdnYy3m4iHIkDtK3CLce8wg8M2L+YZhIvO1DKpxrd0Yr59AeNNkTiic9YLf6FTtXWMw==}+ engines: {node: '>=18'}+ cpu: [arm64]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-ah+9b59KDTSfpaCg6VdJoOQvKjI33nTaQr4UluQwW7aEwZQsbMCfTmfEO4VyewOxx4RaDT/xCy9ra2GPWmO7Kw==}engines: {node: '>=18'}cpu: [arm64]os: [win32]@@ -1150,8 +1491,14 @@ packages:cpu: [ia32]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-hiGgGC6KZ5LZz58OL/+qVVoZiuZlUYlYHNAmczOm7bs2oE1XriPFi5ZHHrS8ACpV5EjySrnoCKmcbQMN+ojnHg==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-eSNxISBu8XweVEWG31/JzjkIGbGIJN/TrRoiSVZwZ6pkC6VX4Im/WV2cz559/TXLcYbcrDN8JtKgd9DJVIo8GA==}+ engines: {node: '>=18'}+ cpu: [ia32]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-QHPDbKkrGO8/cz9LKVnJU22HOi4pxZnZhhA2HYHez5Pz4JeffhDjf85E57Oyco163GnzNCVkZK0b/n4Y0UHcSw==}engines: {node: '>=18'}cpu: [ia32]os: [win32]@@ -1168,8 +1515,14 @@ packages:cpu: [x64]os: [win32]- '@esbuild/[email protected]':- resolution: {integrity: sha512-cn3Yr7+OaaZq1c+2pe+8yxC8E144SReCQjN6/2ynubzYjvyqZjTXfQJpAcQpsdJq3My7XADANiYGHoFC69pLQw==}+ '@esbuild/[email protected]':+ resolution: {integrity: sha512-ZENoHJBxA20C2zFzh6AI4fT6RraMzjYw4xKWemRTRmRVtN9c5DcH9r/f2ihEkMjOW5eGgrwCslG/+Y/3bL+DHQ==}+ engines: {node: '>=18'}+ cpu: [x64]+ os: [win32]++ '@esbuild/[email protected]':+ resolution: {integrity: sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw==}engines: {node: '>=18'}cpu: [x64]os: [win32]@@ -1180,26 +1533,20 @@ packages:cpu: [x64]os: [win32]- '@floating-ui/[email protected]':- resolution: {integrity: sha512-uMXCuQ3BItDUbAMhIXw7UPXRfAlOAvZzdK9BWpE60MCn+Svt3aLn9jsPTi/WNGlRUu2uI0v5S7JiIUsbsvh3fw==}-'@floating-ui/[email protected]':resolution: {integrity: sha512-azI0DrjMMfIug/ExbBaeDVJXcY0a7EPvPjb2xAJPa4HeimBX+Z18HK8QQR3jb6356SnDDdxx+hinMLcJEDdOjw==}- '@floating-ui/[email protected]':- resolution: {integrity: sha512-umqzocjDgNRGTuO7Q8CU32dkHkECqI8ZdMZ5Swb6QAM0t5rnlrN3lGo1hdpscRd3WS8T6DKYK4ephgIH9iRh3w==}-'@floating-ui/[email protected]':resolution: {integrity: sha512-cwsmW/zyw5ltYTUeeYJ60CnQuPqmGwuGVhG9w0PRaRKkAyi38BT5CKrpIbb+jtahSwUl04cWzSx9ZOIxeS6RsQ==}- '@floating-ui/[email protected]':- resolution: {integrity: sha512-06okr5cgPzMNBy+Ycse2A6udMi4bqwW/zgBF/rwjcNqWkyr82Mcg8b0vjX8OJpZFy/FKjJmw6wV7t44kK6kW7A==}+ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-huMBfiU9UnQ2oBwIhgzyIiSpVgvlDstU8CX0AF+wS+KzmYMs0J2a3GwuFHV1Lz+jlrQGeC1fF+Nv0QoumyV0bA==}peerDependencies:react: '>=16.8.0'react-dom: '>=16.8.0'- '@floating-ui/[email protected]':- resolution: {integrity: sha512-huMBfiU9UnQ2oBwIhgzyIiSpVgvlDstU8CX0AF+wS+KzmYMs0J2a3GwuFHV1Lz+jlrQGeC1fF+Nv0QoumyV0bA==}+ '@floating-ui/[email protected]':+ resolution: {integrity: sha512-yORQuuAtVpiRjpMhdc0wJj06b9JFjrYF4qp96j++v2NBpbi6SEGF7donUJ3TMieerQ6qVkAv1tgr7L4r5roTqw==}peerDependencies:react: '>=16.8.0'react-dom: '>=16.8.0'@@ -1207,8 +1554,8 @@ packages:'@floating-ui/[email protected]':resolution: {integrity: sha512-MDWhGtE+eHw5JW7lq4qhc5yRLS11ERl1c7Z6Xd0a58DozHES6EnNNwUWbMiG4J9Cgj053Bhk8zvlhFYKVhULwg==}- '@formatjs/[email protected]':- resolution: {integrity: sha512-ePEgLgVCqi2BBFnTMWPfIghu6FkbZnnBVhO2sSxvLfrdFw7wCHAHiDoM2h4NRgjbaY7+B7HgOLZGkK187pZTZg==}+ '@formatjs/[email protected]':+ resolution: {integrity: sha512-XOMO2Hupl0wdd172Y06h6kLpBz6Dv+J4okPLl4LPtzbr8f66WbIoy4ev98EBuZ6ZK4h5ydTN6XneT4QVpD7cdA==}'@fumadocs/[email protected]':resolution: {integrity: sha512-0aECFvjlpCMeDopjXKBndP/7FbzchNOJu0m3qPsKFtZl+/1QvGsrKPYVVnIY5lwvHL7+E9wGhl6MUHrvcqvWCw==}@@ -1235,19 +1582,36 @@ packages:hono: '>=3.9.0'zod: ^3.25.0 || ^4.0.0+ '@hookform/[email protected]':+ resolution: {integrity: sha512-79Dv+3mDF7i+2ajj7SkypSKHhl1cbln1OGavqrsF7p6mbUv11xpqpacPsGDCTRvCSjEEIez2ef1NveSVL3b0Ag==}+ peerDependencies:+ react-hook-form: ^7.0.0+'@hookform/[email protected]':resolution: {integrity: sha512-u0+6X58gkjMcxur1wRWokA7XsiiBJ6aK17aPZxhkoYiK5J+HcTx0Vhu9ovXe6H+dVpO6cjrn2FkJTryXEMlryQ==}peerDependencies:react-hook-form: ^7.55.0- '@img/[email protected]':- resolution: {integrity: sha512-OfXHZPppddivUJnqyKoi5YVeHRkkNE2zUFT2gbpKxp/JZCFYEYubnMg+gOp6lWfasPrTS+KPosKqdI+ELYVDtg==}+ '@img/[email protected]':+ resolution: {integrity: sha512-pn44xgBtgpEbZsu+lWf2KNb6OAf70X68k+yk69Ic2Xz11zHR/w24/U49XT7AeRwJ0Px+mhALhU5LPci1Aymk7A==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-ryFMfvxxpQRsgZJqBd4wsttYQbCxsJksrv9Lw/v798JcQ8+w84mBWuXwl+TT0WJ/WrYOLaYpwQXi3sA9nTIaIg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [darwin]- '@img/[email protected]':- resolution: {integrity: sha512-dYvWqmjU9VxqXmjEtjmvHnGqF8GrVjM2Epj9rJ6BUIXvk8slvNDJbhGFvIoXzkDhrJC2jUxNLz/GUjjvSzfw+g==}+ '@img/[email protected]':+ resolution: {integrity: sha512-VfuYgG2r8BpYiOUN+BfYeFo69nP/MIwAtSJ7/Zpxc5QF3KS22z8Pvg3FkrSFJBPNQ7mmcUcYQFBmEQp7eu1F8Q==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [darwin]++ '@img/[email protected]':+ resolution: {integrity: sha512-yHpJYynROAj12TA6qil58hmPmAwxKKC7reUqtGLzsOHfP7/rniNGTL8tjWX6L3CTV4+5P4ypcS7Pp+7OB+8ihA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [darwin]@@ -1257,105 +1621,221 @@ packages:cpu: [arm64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-sBZmpwmxqwlqG9ueWFXtockhsxefaV6O84BMOrhtg/YqbTaRdqDE7hxraVE3y6gVM4eExmfzW4a8el9ArLeEiQ==}+ cpu: [arm64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-Xzc2ToEmHN+hfvsl9wja0RlnXEgpKNmftriQp6XzY/RaSfwD9th+MSh0WQKzUreLKKINb3afirxW7A0fz2YWuQ==}cpu: [x64]os: [darwin]+ '@img/[email protected]':+ resolution: {integrity: sha512-M64XVuL94OgiNHa5/m2YvEQI5q2cl9d/wk0qFTDVXcYzi43lxuiFTftMR1tOnFQovVXNZJ5TURSDK2pNe9Yzqg==}+ cpu: [x64]+ os: [darwin]+'@img/[email protected]':resolution: {integrity: sha512-IVfGJa7gjChDET1dK9SekxFFdflarnUB8PwW8aGwEoF3oAsSDuNUTYS+SKDOyOJxQyDC1aPFMuRYLoDInyV9Ew==}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-RXwd0CgG+uPRX5YYrkzKyalt2OJYRiJQ8ED/fi1tq9WQW2jsQIn0tqrlR5l5dr/rjqq6AHAxURhj2DVjyQWSOA==}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-s8BAd0lwUIvYCJyRdFqvsj+BJIpDBSxs6ivrOPm/R7piTs5UIwY5OjXrP2bqXC9/moGsyRa37eYWYCOGVXxVrA==}cpu: [arm]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-mWd2uWvDtL/nvIzThLq3fr2nnGfyr/XMXlq8ZJ9WMR6PXijHlC3ksp0IpuhK6bougvQrchUAfzRLnbsen0Cqvw==}+ cpu: [arm]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-tiXxFZFbhnkWE2LA8oQj7KYR+bWBkiV2nilRldT7bqoEZ4HiDOcePr9wVDAZPi/Id5fT1oY9iGnDq20cwUz8lQ==}cpu: [ppc64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-Xod/7KaDDHkYu2phxxfeEPXfVXFKx70EAFZ0qyUdOjCcxbjqyJOEUpDe6RIyaunGxT34Anf9ue/wuWOqBW2WcQ==}+ cpu: [ppc64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-xukSwvhguw7COyzvmjydRb3x/09+21HykyapcZchiCUkTThEQEOMtBj9UhkaBRLuBrgLFzQ2wbxdeCCJW/jgJA==}cpu: [s390x]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-eMKfzDxLGT8mnmPJTNMcjfO33fLiTDsrMlUVcp6b96ETbnJmd4uvZxVJSKPQfS+odwfVaGifhsB07J1LynFehw==}+ cpu: [s390x]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-yRj2+reB8iMg9W5sULM3S74jVS7zqSzHG3Ol/twnAAkAhnGQnpjj6e4ayUz7V+FpKypwgs82xbRdYtchTTUB+Q==}cpu: [x64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-ZW3FPWIc7K1sH9E3nxIGB3y3dZkpJlMnkk7z5tu1nSkBoCgw2nSRTFHI5pB/3CQaJM0pdzMF3paf9ckKMSE9Tg==}+ cpu: [x64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-jYZdG+whg0MDK+q2COKbYidaqW/WTz0cc1E+tMAusiDygrM4ypmSCjOJPmFTvHHJ8j/6cAGyeDWZOsK06tP33w==}cpu: [arm64]os: [linux]+ '@img/[email protected]':+ resolution: {integrity: sha512-UG+LqQJbf5VJ8NWJ5Z3tdIe/HXjuIdo4JeVNADXBFuG7z9zjoegpzzGIyV5zQKi4zaJjnAd2+g2nna8TZvuW9Q==}+ cpu: [arm64]+ os: [linux]+'@img/[email protected]':resolution: {integrity: sha512-wK7SBdwrAiycjXdkPnGCPLjYb9lD4l6Ze2gSdAGVZrEL05AOUJESWU2lhlC+Ffn5/G+VKuSm6zzbQSzFX/P65A==}cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-D8n8wgWmPDakc83LORcfJepdOSN6MvWNzzz2ux0MnIbOqdieRZwVYY32zxVx+IFUT8er5KPcyU3XXsn+GzG/0Q==}+ '@img/[email protected]':+ resolution: {integrity: sha512-SRYOLR7CXPgNze8akZwjoGBoN1ThNZoqpOgfnOxmWsklTGVfJiGJoC/Lod7aNMGA1jSsKWM1+HRX43OP6p9+6Q==}+ cpu: [x64]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-kX2c+vbvaXC6vly1RDf/IWNXxrlxLNpBVWkdpRq5Ka7OOKj6nr66etKy2IENf6FtOgklkg9ZdGpEu9kwdlcwOQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-0DZzkvuEOqQUP9mo2kjjKNok5AmnOr1jB2XYjkaoNRwpAYMDzRmAqUIa1nRi58S2WswqSfPOWLNOr0FDT3H5RQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-QdrKe3EvQrqwkDrtuTIjI0bu6YEJHTgEeqdzI3uWJOH6G1O8Nl1iEeVYRGdj1h5I21CqxSvQp1Yv7xeU3ZewbA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [arm]+ cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-EGZ1xwhBI7dNISwxjChqBGELCWMGDvmxZXKjQRuqMrakhO8QoMgqCrdjnAqJq/CScxfRn+Bb7suXBElKQpPDiw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-anKiszvACti2sGy9CirTlNyk7BjjZPiML1jt2ZkTdcvpLU1YH6CXwRAZCA2UmRXnhiIftXQ7+Oh62Ji25W72jA==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}- cpu: [s390x]+ cpu: [arm]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-oBK9l+h6KBN0i3dC8rYntLiVfW8D8wH+NPNT3O/WBHeW0OQWCjfWksLUaPidsrDKpJgXp3G3/hkmhptAW0I3+A==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-GLtbLQMCNC5nxuImPR2+RgrviwKwVql28FWZIW1zWruy6zLgA5/x2ZXk3mxj58X/tszVF69KK0Is83V8YgWhLA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ppc64]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-7s0KX2tI9mZI2buRipKIw2X1ufdTeaRgwmRabt5bi9chYfhur+/C1OXg3TKg/eag1W+6CCWLVmSauV1owmRPxA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [s390x]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-3gahT+A6c4cdc2edhsLHmIOXMb17ltffJlxR0aC2VPZfwKoTGZec6u5GrFgdR7ciJSsHT27BD3TIuGcuRT0KmQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [s390x]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-wExv7SH9nmoBW3Wr2gvQopX1k8q2g5V5Iag8Zk6AVENsjwd+3adjwxtp3Dcu2QhOXr8W9NusBU6XcQUohBZ5MA==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-sD7J+h5nFLMMmOXYH4DD9UtSNBD05tWSSdWAcEyzqW8Cn5UxXvsHAxmxSesYUsTOBmUnjtxghKDl15EvfqLFbQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-8kYso8d806ypnSq3/Ly0QEw90V5ZoHh10yH0HnrzOCr6DKAPI6QVHvwleqMkVQ0m+fc7EH8ah0BB0QPuWY6zJQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-NEE2vQ6wcxYav1/A22OOxoSOGiKnNmDzCYFOZ949xFmrWZOVII1Bp3NqVVpvj+3UeHMFyN5eP/V5hzViQ5CZNA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-DfvyxzHxw4WGdPiTF0SOHnm11Xv4aQexvqhRDAoD00MzHekAj9a/jADXeXYCDFH/DzYruwHbXU7uz+H+nWmSOQ==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [arm64]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-vAjbHDlr4izEiXM1OTggpCcPg9tn4YriK5vAjowJsHwdBIdx0fYRsURkxLG2RLm9gyBq66gwtWI8Gx0/ov+JKQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-DOYMrDm5E6/8bm/yQLCWyuDJwUnlevR8xtF8bs+gjZ7cyUNYXiSf/E8Kp0Ss5xasIaXSHzb888V1BE4i1hFhAA==}+ '@img/[email protected]':+ resolution: {integrity: sha512-pax/kTR407vNb9qaSIiWVnQplPcGU8LRIJpDT5o8PdAx5aAA7AS3X9PS8Isw1/WfqgQorPotjrZL3Pqh6C5EBg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [linux]++ '@img/[email protected]':+ resolution: {integrity: sha512-gCWUn9547K5bwvOn9l5XGAEjVTTRji4aPTqLzGXHvIr6bIDZKNTA34seMPgM0WmSf+RYBH411VavCejp3PkOeQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [linux]- '@img/[email protected]':- resolution: {integrity: sha512-/VI4mdlJ9zkaq53MbIG6rZY+QRN3MLbR6usYlgITEzi4Rpx5S6LFKsycOQjkOGmqTNmkIdLjEvooFKwww6OpdQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-YDybQnYrLQfEpzGOQe7OKcyLUCML4YOXl428gOOzBgN6Gw0rv8dpsJ7PqTHxBnXnwXr8S1mYFSLSa727tpz0xg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [wasm32]++ '@img/[email protected]':+ resolution: {integrity: sha512-+CyRcpagHMGteySaWos8IbnXcHgfDn7pO2fiC2slJxvNq9gDipYBN42/RagzctVRKgxATmfqOSulgZv5e1RdMg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [wasm32]- '@img/[email protected]':- resolution: {integrity: sha512-cfP/r9FdS63VA5k0xiqaNaEoGxBg9k7uE+RQGzuK9fHt7jib4zAVVseR9LsE4gJcNWgT6APKMNnCcnyOtmSEUQ==}+ '@img/[email protected]':+ resolution: {integrity: sha512-MjnHPnbqMXNC2UgeLJtX4XqoVHHlZNd+nPt1kRPmj63wURegwBhZlApELdtxM2OIZDRv/DFtLcNhVbd1z8GYXQ==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [arm64]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-QLjGGvAbj0X/FXl8n1WbtQ6iVBpWU7JO94u/P2M4a8CFYsvQi4GW2mRy/JqkRx0qpBzaOdKJKw8uc930EX2AHw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-WKf/NAZITnonBf3U1LfdjoMgNO5JYRSlhovhRhMxXVdvWYveM4kM3L8m35onYIdh75cOMCo1BexgVQcCDzyoWw==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [ia32]os: [win32]- '@img/[email protected]':- resolution: {integrity: sha512-aUdT6zEYtDKCaxkofmmJDJYGCf0+pJg3eU9/oBuqvEeoB9dKI6ZLc/1iLJCTuJQDO4ptntAlkUmHgGjyuobZbw==}+ '@img/[email protected]':+ resolution: {integrity: sha512-xuCdhH44WxuXgOM714hn4amodJMZl3OEvf0GVTm0BEyMeA2to+8HEdRPShH0SLYptJY1uBw+SCFP9WVQi1Q/cw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [ia32]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-hw1iIAHpNE8q3uMIRCgGOeDoz9KtFNarFLQclLxr/LK1VBkj8nby18RjFvr6aP7USRYAjTZW6yisnBWMX571Tw==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}+ cpu: [x64]+ os: [win32]++ '@img/[email protected]':+ resolution: {integrity: sha512-OWwz05d++TxzLEv4VnsTz5CmZ6mI6S05sfQGEMrNrQcOEERbX46332IvE7pO/EUiw7jUrrS40z/M7kPyjfl04g==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}cpu: [x64]os: [win32]+ '@isaacs/[email protected]':+ resolution: {integrity: sha512-yzMTt9lEb8Gv7zRioUilSglI0c0smZ9k5D65677DLWLtWJaXIS3CqcGyUFByYKlnUj6TkjLVs54fBl6+TiGQDQ==}+ engines: {node: 20 || >=22}++ '@isaacs/[email protected]':+ resolution: {integrity: sha512-ZT55BDLV0yv0RBm2czMiZ+SqCGO7AvmOM3G/w2xhVPH+te0aKgFjmBvGlL1dH+ql2tgGO3MVrbb3jCKyvpgnxA==}+ engines: {node: 20 || >=22}++ '@isaacs/[email protected]':+ resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==}+ engines: {node: '>=12'}+'@isaacs/[email protected]':resolution: {integrity: sha512-wgm9Ehl2jpeqP3zw/7mo3kRHFp5MEDhqAdwy1fTGkHAwnkGOVsgpvQhL8B5n1qlb01jV3n/bI0ZfZp5lWA1k4w==}engines: {node: '>=18.0.0'}@@ -1363,12 +1843,18 @@ packages:'@jridgewell/[email protected]':resolution: {integrity: sha512-OuLGC46TjB5BbN1dH8JULVVZY4WTdkF7tV9Ys6wLL1rubZnCMstOhNHueU5bLCrnRuDhKPDM4g6sw4Bel5Gzqg==}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==}+'@jridgewell/[email protected]':resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==}engines: {node: '>=6.0.0'}- '@jridgewell/[email protected]':- resolution: {integrity: sha512-VT2+G1VQs/9oz078bLrYbecdZKs912zQlkelYpuf+SXF+QvZDYJlbx/LSx+meSAwdDFnF8FVXW92AVjjkVmgFw==}+ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-ZMp1V8ZFcPG5dIWnQLr3NSI1MiCU7UETdS/A0G8V/XWHvJv3ZsFqutJn1Y5RPmAPX6F3BiE397OqveU/9NCuIA==}++ '@jridgewell/[email protected]':+ resolution: {integrity: sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==}'@jridgewell/[email protected]':resolution: {integrity: sha512-uw6guiW/gcAGPDhLmd77/6lW8QLeiV5RUTsAX46Db6oLhGaVj4lhnPwb184s1bkc8kdVg/+h988dro8GRDpmYQ==}@@ -1376,67 +1862,125 @@ packages:'@levischuck/[email protected]':resolution: {integrity: sha512-llBRm4dT4Z89aRsm6u2oEZ8tfwL/2l6BwpZ7JcyieouniDECM5AqNgr/y08zalEIvW3RSK4upYyybDcmjXqAow==}+ '@lottiefiles/[email protected]':+ resolution: {integrity: sha512-V4FfdYlqzjBUX7f0KV6vfQOOI0Cp+3XeG/ZqSDFSEVg5P7fpROpDv5/I9aTM8sOCESK1SWT96Fem+QVUnBV1wQ==}+ peerDependencies:+ react: ^17 || ^18 || ^19++ '@lottiefiles/[email protected]':+ resolution: {integrity: sha512-Zr2LCaOAoPCsdAQgeLyCSiQ1+xrAJtRCyuEYDj0qR5heUwpc+Pxbb88JyTVumcXFfKOBMOMmrlsTScLz2mrvQQ==}+'@mdx-js/[email protected]':resolution: {integrity: sha512-/QxEhPAvGwbQmy1Px8F899L5Uc2KZ6JtXwlCgJmjSTBedwOZkByYcBG4GceIGPXRDsmfxhHazuS+hlOShRLeDw==}+ '@mdx-js/[email protected]':+ resolution: {integrity: sha512-f6ZO2ifpwAQIpzGWaBQT2TXxPv6z3RBzQKpVftEWN78Vl/YweF1uwussDx8ECAXVtr3Rs89fKyG9YlzUs9DyGQ==}+'@next/[email protected]':resolution: {integrity: sha512-OdiMrzCl2Xi0VTjiQQUK0Xh7bJHnOuET2s+3V+Y40WJBAXrJeGA3f+I8MZJ/YQ3mVGi5XGR1L66oFlgqXhQ4Vw==}+ '@next/[email protected]':+ resolution: {integrity: sha512-DXQwFGAE2VH+f2TJsKepRXpODPU+scf5fDbKOME8MMyeyswe4XwgRdiiIYmBfkXU+2ssliLYznajTrOQdnLR5A==}+'@next/[email protected]':resolution: {integrity: sha512-WRJERLuH+O3oYB4yZNVahSVFmtxRNjNF1I1c34tYMoJb0Pve+7/RaLAJJizyYiFhjYNGHRAE1Ri2Fd23zgDqhg==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]+ '@next/[email protected]':+ resolution: {integrity: sha512-L+81yMsiHq82VRXS2RVq6OgDwjvA4kDksGU8hfiDHEXP+ncKIUhUsadAVB+MRIp2FErs/5hpXR0u2eluWPAhig==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [darwin]+'@next/[email protected]':resolution: {integrity: sha512-XHdzH/yBc55lu78k/XwtuFR/ZXUTcflpRXcsu0nKmF45U96jt1tsOZhVrn5YH+paw66zOANpOnFQ9i6/j+UYvw==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]+ '@next/[email protected]':+ resolution: {integrity: sha512-jfz1RXu6SzL14lFl05/MNkcN35lTLMJWPbqt7Xaj35+ZWAX342aePIJrN6xBdGeKl6jPXJm0Yqo3Xvh3Gpo3Uw==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [darwin]+'@next/[email protected]':resolution: {integrity: sha512-VZ3sYL2LXB8znNGcjhocikEkag/8xiLgnvQts41tq6i+wql63SMS1Q6N8RVXHw5pEUjiof+II3HkDd7GFcgkzw==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ '@next/[email protected]':+ resolution: {integrity: sha512-k0tOFn3dsnkaGfs6iQz8Ms6f1CyQe4GacXF979sL8PNQxjYS1swx9VsOyUQYaPoGV8nAZ7OX8cYaeiXGq9ahPQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+'@next/[email protected]':resolution: {integrity: sha512-h6Y1fLU4RWAp1HPNJWDYBQ+e3G7sLckyBXhmH9ajn8l/RSMnhbuPBV/fXmy3muMcVwoJdHL+UtzRzs0nXOf9SA==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ '@next/[email protected]':+ resolution: {integrity: sha512-4ogGQ/3qDzbbK3IwV88ltihHFbQVq6Qr+uEapzXHXBH1KsVBZOB50sn6BWHPcFjwSoMX2Tj9eH/fZvQnSIgc3g==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+'@next/[email protected]':resolution: {integrity: sha512-jJ8HRiF3N8Zw6hGlytCj5BiHyG/K+fnTKVDEKvUCyiQ/0r5tgwO7OgaRiOjjRoIx2vwLR+Rz8hQoPrnmFbJdfw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ '@next/[email protected]':+ resolution: {integrity: sha512-Jj0Rfw3wIgp+eahMz/tOGwlcYYEFjlBPKU7NqoOkTX0LY45i5W0WcDpgiDWSLrN8KFQq/LW7fZq46gxGCiOYlQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+'@next/[email protected]':resolution: {integrity: sha512-HrUcTr4N+RgiiGn3jjeT6Oo208UT/7BuTr7K0mdKRBtTbT4v9zJqCDKO97DUqqoBK1qyzP1RwvrWTvU6EPh/Cw==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ '@next/[email protected]':+ resolution: {integrity: sha512-9WlEZfnw1vFqkWsTMzZDgNL7AUI1aiBHi0S2m8jvycPyCq/fbZjtE/nDkhJRYbSjXbtRHYLDBlmP95kpjEmJbw==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+'@next/[email protected]':resolution: {integrity: sha512-SxorONgi6K7ZUysMtRF3mIeHC5aA3IQLmKFQzU0OuhuUYwpOBc1ypaLJLP5Bf3M9k53KUUUj4vTPwzGvl/NwlQ==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]+ '@next/[email protected]':+ resolution: {integrity: sha512-WodRbZ9g6CQLRZsG3gtrA9w7Qfa9BwDzhFVdlI6sV0OCPq9JrOrJSp9/ioLsezbV8w9RCJ8v55uzJuJ5RgWLZg==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [win32]+'@next/[email protected]':resolution: {integrity: sha512-4QZG6F8enl9/S2+yIiOiju0iCTFd93d8VC1q9LZS4p/Xuk81W2QDjCFeoogmrWWkAD59z8ZxepBQap2dKS5ruw==}engines: {node: '>= 10'}cpu: [x64]os: [win32]+ '@next/[email protected]':+ resolution: {integrity: sha512-y+wTBxelk2xiNofmDOVU7O5WxTHcvOoL3srOM0kxTzKDjQ57kPU0tpnPJ/BWrRnsOwXEv0+3QSbGR7hY4n9LkQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [win32]+'@noble/[email protected]':resolution: {integrity: sha512-mIbq/R9QXk5/cTfESb1OKtyFnk7oc1Om/8onA1158K9/OZUQFDEVy55jVTato+xmp3XX6F6Qh0zz0Nc1AxAlRQ==}- '@noble/[email protected]':- resolution: {integrity: sha512-B8XBPsn4vT/KJAGqDzbwztd+6Yte3P4V7iafm24bxgDe/mlRuK6xmWPuCNrKt2vDafZ8MfJLlchDG/vYafQEjQ==}- engines: {node: ^14.21.3 || >=16}-'@noble/[email protected]':resolution: {integrity: sha512-jCs9ldd7NwzpgXDIf6P3+NrHh9/sD6CQdxHyjQI+h/6rDNo88ypBxxz45UDuZHz9r3tNz7N/VInSVoVdtXEI4A==}engines: {node: ^14.21.3 || >=16}@@ -1560,9 +2104,9 @@ packages:resolution: {integrity: sha512-gcK4FNaROM9NjA0mvyfXl0KPusk7a1BeA8ITlYEZVQCXF5gcETTd4yhAU0Kjzd8mXwYHppzJBWgdBVpIR9wUcQ==}engines: {node: '>= 20'}- '@orama/[email protected]':- resolution: {integrity: sha512-qtSrqCqRU93SjEBedz987tvWao1YQSELjBhGkHYGVP7Dg0lBWP6d+uZEIt5gxTAYio/YWWlhivmRABvRfPLmnQ==}- engines: {node: '>= 16.0.0'}+ '@orama/[email protected]':+ resolution: {integrity: sha512-Iq4RxYC7y0pA/hLgcUGpYYs5Vze4qNmJk0Qi1uIrg2bHGpm6A06nbjWcH9h4HQsddkDFFlanLj/zYBH3Sxdb4w==}+ engines: {node: '>= 20.0.0'}'@oslojs/[email protected]':resolution: {integrity: sha512-zw/wn0sj0j0QKbIXfIlnEcTviaCzYOY3V5rAyjR6YtOByFtJiT574+8p9Wlach0lZH9fddD4yb9laEAIl4vXQA==}@@ -1594,9 +2138,16 @@ packages:'@peculiar/[email protected]':resolution: {integrity: sha512-F7mIZY2Eao2TaoVqigGMLv+NDdpwuBKU1fucHPONfzaBS4JXXCNCmfO0Z3dsy7JzKGqtDcYC1mr9JjaZQZNiuw==}+ '@pkgjs/[email protected]':+ resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}+ engines: {node: '>=14'}+'@popperjs/[email protected]':resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-FUOsGBkHrYJwCSEtWRCIfQbZG7q1e6DgxCIOe1SUQzDe/7rXXeA47s8yCn6fuTNQAj1Zq4oTFi9Yjp3wzElcxg==}+'@radix-ui/[email protected]':resolution: {integrity: sha512-MkKCwxlXTgz6CFoJx3pCwn07GKp36+aZyu/u2Ln2VrA5DcdyCZkASEDBTd8x5whTQQL5CiYf4prXKLcgQdv29g==}@@ -1619,8 +2170,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-stDPylBV/3kFHBAFQK/GeyIFaN7q60zWaXthA5/p6egu8AclIN79zG+bv+Ps+exB4JE5rtW/u3Z7SDvmFuTzgA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-T4nygeh9YE9dLRPhAHSeOZi7HBXo+0kYIPJXayZfvWOWA0+n3dESrZbjfDPUABkUNym6Hd+f2IR113To8D2GPA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1697,8 +2248,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-zGFsPcFJNdQa/UNd6MOgF40BS054FIGj32oOWBllixz42f+AkQg3QJ1YT9pw7vs+Ai+EgWkh839h69GEK8oH2A==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Uu+mSh4agx2ib1uIGPP4/CKNULyajb3p92LsVXmH2EHVMTfZWpll88XJ0j4W0z3f8NK1eYl1+Mf/szHPmcHzyA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1710,8 +2261,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-cv4vSf7HttqXilDnAnvINd53OTl1/bjUYVZrkFnA7nwmY9Ob2POUy0WY0sfqBAe1s5FyKsyceQlqiEGPYNTadg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-zGFsPcFJNdQa/UNd6MOgF40BS054FIGj32oOWBllixz42f+AkQg3QJ1YT9pw7vs+Ai+EgWkh839h69GEK8oH2A==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1723,8 +2274,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-cv4vSf7HttqXilDnAnvINd53OTl1/bjUYVZrkFnA7nwmY9Ob2POUy0WY0sfqBAe1s5FyKsyceQlqiEGPYNTadg==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1736,14 +2287,18 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Y9VzoRDSJtgFMUCoiZBDVo084VQ5hfpXxVE+NgkdNsjiDBByiImMZKKhxMwCbdHvhlENG6a833CbFkOQvTricw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Fh9rGN0MoI4ZFUNyfFVNU4y9LUz93u9/0K+yLgA2bwRojxM8JU1DyvvMBabnZPBgMWREAJvU2jjVzq+LrFUglw==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true'@radix-ui/[email protected]':resolution: {integrity: sha512-z4eqJvfiNnFMHIIvXP3CY57y2WJs5g2v3X0zm9mEJkrkNv4rDxu+sg9Jh8EkXyeqBkB7SOcboo9dMVqhyrACIg==}@@ -1754,8 +2309,8 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-UsQUMjcYTsBjTSXw0P3GO0werEQvUY2plgRQuKoCTtkNr45q1DiL51j4m7gxhABzZ0BadoXNsIbg7F3KwiUBbw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-O8morBEW+HsVG28gYDZPTrT9UUovQUlJue5YO836tiTJhuIWBm/zQHc7j388sHWtdH/xUZurK9olD2+pcqx5ww==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1776,8 +2331,8 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-m6pZb0gEM5uHPSb+i2nKKGQi/HMSVjARMsLMWQfKDP+eJ6B+uqryHnXhpnohTWElw+vEcMk/o4wJODtdRKHwqg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-+CpweKjqpzTmwRwcYECQcNYbI8V9VSQt0SNFKeEBLgfucbsLssU6Ppq7wUdNXEGb573bMjFhVjKVll8rmV6zMw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1789,8 +2344,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-+CpweKjqpzTmwRwcYECQcNYbI8V9VSQt0SNFKeEBLgfucbsLssU6Ppq7wUdNXEGb573bMjFhVjKVll8rmV6zMw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-TCglVRtzlffRNxRMEyR36DGBLJpeusFcgMVD9PZEzAKnUs1lKCgX5u9BmC2Yg+LL9MgZDugFFs1Vl+Jp4t/PGw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1824,6 +2379,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Nqcp+t5cTB8BinFkZgXiMJniQH0PsUt2k51FUhbdfeKvc4ACcG2uQniY/8+h1Yv6Kza4Q7lD7PQV0z0oicE0Mg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-j5+WBUdhccJsmH5/H0K6RncjDtoALSEr6jbkaZu+bjw6hOPOhHycr6vEUujl+HBK8kjUfWcoCJXxP6e4lUlMZw==}peerDependencies:@@ -1837,6 +2405,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-8qnILty92BmXbxKugWX3jgEeFeMoxtdggeCCxb/aB7l34QFAKB23IhJfnwyVMbRnAUJiT5LOay4kUS22+AWuRg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-mIBnOjgwo9AH3FyKaSWoSu/dYj6VdhJ7frEPiGTeXCdUFHjl9h3mFh2wwhEtINOmYXWhdpf1rY2minFsmaNgVQ==}peerDependencies:@@ -1859,6 +2440,15 @@ packages:'@types/react':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0rFg/Rj2Q62NCm62jZw0QX7a3sz6QCQU0LpZdNrJX8byRGaGVTqbrW9jAoIAHyMQqsNpeZ81YgSizOt5WXq0Pw==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-r2annK27lIW5w9Ho5NyQgqs0MmgZSTIKXWpVCJaLC1q2kZrZkcqnmHkCHMEmv8XLvsLlurKMPT+kbKkRkm/xVA==}peerDependencies:@@ -1885,14 +2475,18 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-EJUrI8yYh7WOjNOqpoJaf1jlFIH2LvtgAl+YcFqNCa+4hj64ZXmPkAKOFs/ukjz3byN6bdb/AVUqHkI8/uWWMA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-qgTkjNT1CfKMoP0rcasmlH2r1DAiYicWsDsufxl940sT2wHNEWWv6FMWIQXWhVdmC1d/HYfbhQx60KYyAtKxjg==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true'@radix-ui/[email protected]':resolution: {integrity: sha512-kGkGegYIdQsOb4XjsfM97rXsiHaBwco+hFI66oO4s9LU+PLAC5oJ7khdOVFxkhsmlbpUqDAvXw11CluXP+jkHg==}@@ -1916,6 +2510,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-OupA+1PrVf2H0K4jIwkDyA+rsJ7vF1y/VxLEO43dmZ68GtCjvx9K1/B/QscPZM3jIeFNK/wPd0HmiLjT36hVcA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-tVlmA3Vb9n8SZSd+YSbuFR66l87Wiy4du+YE+0hzKQEANA+7cWKH1WgqcEX4pXqxUFQKrWQGHdvEfw00TjFiew==}peerDependencies:@@ -1929,8 +2536,34 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Z7lefjA5VAmEB5ZClxeHGWGQAqhGWgEc6u0MYviUmIVrgGCVLv5mv/jsfUY3tJWI71cVhpQ7dnf/Q6RtM3ylVA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-72F2T+PLlphrqLcAotYPp0uJMr5SjP5SL01wfEspJbru5Zs5vQaSHb4VB3ZMJPimgHHCHG7gMOeOB9H3Hdmtxg==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-EB1FktTz5xRRi2Er974AUQZWg2yVBb1yjip38/lgwtCVRd3a+maUoGHN/xs9Yv8SY8QwbSEb+YrxGadVWbEutA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-YB9mTFQvCOAQMHU+C/jVl96WmuWeltyUEpRJJky51huhds5W2FQr1J8D/16sQlf0ozxkPK8uF3niQMdUwZPv5w==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -1968,6 +2601,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-kr0X2+6Yy/vJzLYJUPCZEc8SfQcf+1COFoAqauJm74umQhta9M7lNJHP7QQS3vkvcGLQUbWpMzwrXYwrYztHKA==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-3p2Rgm/a1cK0r/UVkx5F/K9v/EplfjAeIFCGOPYPO4lZ0jtg4iSQXt/YGTSLWaf4x7NG6Z4+uKFcylcTZjeqDA==}peerDependencies:@@ -1994,6 +2640,19 @@ packages:'@types/react-dom':optional: true+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0NJQ4LFFUuWkE7Oxf0htBKS6zLkkjBH+hM1uk7Ng705ReR8m/uelduy1DBo0PyBXPKVnBA6YBlU94MBGXrSBCw==}+ peerDependencies:+ '@types/react': '*'+ '@types/react-dom': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true+ '@types/react-dom':+ optional: true+'@radix-ui/[email protected]':resolution: {integrity: sha512-XmsIl2z1n/TsYFLIdYam2rmFwf9OC/Sh2avkbmVMDuBZIe7hSpM0cYnWPAo7nHOVx8zTuwDZGByfcqLdnzp3Vw==}peerDependencies:@@ -2046,8 +2705,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Ec/0d38EIuvDF+GZjcMU/Ze6MxntVJYO/fRlCPhCaVUyPY9WTalHJw54tp9sXeJo3tlShWpy41vQRgLRGOuz+w==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-/jfEwNDdQVBCNvjkGit4h6pMOzq8bHkopq458dPt2lMjx+eBQUohZNG9A7DtO/O5ukSbxuaNGXMjHicgwy6rQQ==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2111,8 +2770,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-D2ReXCuIueKf5L2f1ks/wTj3bWck1SvK1pjLmEHPbwksS1nOHBsvgY0b9Hypt81FczqBqSyLHQxn/vbsQ0gDHw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7A6S9jSgm/S+7MdtNDSb+IU859vQqJ/QAtcYQcfFC6W8RS4IxIZDldLR0xqCFZ6DCyrQLjLPsxtTNch5jVA4lA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2124,8 +2783,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-VyLjxI8/gXYn+Wij1FLpXjZp6Z/uNklUFQQ75tOpJNESeNaZ2kCRfjiEDmHgWmLeUPeJGwrqbgRmcdFjtYEkMA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-D2ReXCuIueKf5L2f1ks/wTj3bWck1SvK1pjLmEHPbwksS1nOHBsvgY0b9Hypt81FczqBqSyLHQxn/vbsQ0gDHw==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2137,8 +2796,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-HnMTdXEVuuyzx63ME0ut4+sEMYW6oouHWNGUZc7ddvUWIcfCva/AMoqEW/3wnEllriMWBa0RHspCYnfCWJQYmA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-tAXIa1g3sM5CGpVT0uIbUx/U3Gs5N8T52IICuCtObaos1S8fzsrPXG5WObkQN3S6NVl6wKgPhAIiBGbWnvc97A==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2150,8 +2809,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-HnMTdXEVuuyzx63ME0ut4+sEMYW6oouHWNGUZc7ddvUWIcfCva/AMoqEW/3wnEllriMWBa0RHspCYnfCWJQYmA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2163,14 +2822,18 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-YAKxaiGsSQJ38VzKH86/BPRC4rh+b1Jpa+JneA5LRE7skmLPNAyeG8kPJj/oo4STLvlrs8vkf/iYyc3A5stYCQ==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0HEb8R9E8A+jZjvmFCy/J4xhbXy3TV+9XSnGJ3KvTtjlIUy/YQ/p6UYZvi7YbeoeXdyU9+Y3scizK6hkY37baA==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true'@radix-ui/[email protected]':resolution: {integrity: sha512-ujc+V6r0HNDviYqIK3rW4ffgYiZ8g5DEHrGJVk4x7kTlLXRDILnKX9vAUYeIsLOoDpDJ0ujpqMkjH4w2ofuo6w==}@@ -2203,8 +2866,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-sawt4HkD+6haVGjYOC3BMIiCumBpqTK6o407n6zN/6yReed2EN7bXyykNrpqg+xCfudpBUZg7Y2cJBd/x/iybA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-7xdcatg7/U+7+Udyoj2zodtI9H/IIopqo+YOIcZOq1nJwXWBZ9p8xiu5llXlekDbZkca79a/fozEYQXIA4sW6A==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2216,8 +2879,8 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Ap+fNYwKTYJ9pzqW+Xe2HtMRbQ/EeWkj2qykZ6SuEV4iS/o1bZI5ssJbk4D2r8XuDuOBVz/tIx2JObtuqU+5Zw==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-sawt4HkD+6haVGjYOC3BMIiCumBpqTK6o407n6zN/6yReed2EN7bXyykNrpqg+xCfudpBUZg7Y2cJBd/x/iybA==}peerDependencies:'@types/react': '*''@types/react-dom': '*'@@ -2229,44 +2892,60 @@ packages:'@types/react-dom':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-XOBq9VqC+mIn5hzjGdJLhQbvQeiOpV5ExNE6qMQQPvFsCT44QUcxFzYytTWVoyWg9XKfgrleKmTeEyu6aoTPhg==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-3SeJxKeO3TO1zVw1Nl++Cp0krYk6zHDHMCUXXVkosIzl6Nxcvb07EerQpyD2wXQSJ5RZajrYAmPaydU8Hk1IyQ==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-0KX7jUYFA02np01Y11NWkk6Ip6TqMNmD4ijLelYAzeIndl2aVeltjJFJ2gwjNa1P8U/dgjQ+8cr9Y3Ni+ZNoRA==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Ap+fNYwKTYJ9pzqW+Xe2HtMRbQ/EeWkj2qykZ6SuEV4iS/o1bZI5ssJbk4D2r8XuDuOBVz/tIx2JObtuqU+5Zw==}peerDependencies:'@types/react': '*'+ '@types/react-dom': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:'@types/react':optional: true+ '@types/react-dom':+ optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-FkBMwD+qbGQeMu1cOHnuGB6x4yzPjho8ap5WtbEJ26umhgqVXbhekKUQO+hZEL1vU92a3wHwdp0HAcqAUF5iDg==}peerDependencies:'@types/react': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc@@ -2274,8 +2953,8 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-+FPE0rOdziWSrH9athwI1R0HDVbWlEhd+FR+aSDk4uWGmSJ9Z54sdZVDQPZAinJhJXwfT+qnj969mCsT2gfm5w==}+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-BjasUjixPFdS+NKkypcyyN5Pmg83Olst0+c6vGov0diwTEo6mgdqVR6hxcEgFuh4QrAs7Rc+9KuGJ9TVCj0Zzg==}peerDependencies:'@types/react': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc@@ -2283,9 +2962,36 @@ packages:'@types/react':optional: true- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}- peerDependencies:+ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Qp8WbZOBe+blgpuUT+lw2xheLP8q0oatc9UpmiemEICxGvFLYmHm9QowVZGHtJlGbS6A6yJ3iViad/2cVjnOiA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-Il0+boE7w/XebUHyBjroE+DbByORGR9KKmITzbR7MyQ4akpORYP/ZmbhAr0DG7RmmBqoOnZdy2QlvajJ2QA59g==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-U+UORVEq+cTnRIaostJv9AGdV3G6Y+zbVd+12e18jQ5A3c0xL03IhnHuiU4UV69wolOQp5GfR58NW/EgdQhwOA==}+ peerDependencies:+ '@types/react': '*'+ react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc+ peerDependenciesMeta:+ '@types/react':+ optional: true++ '@radix-ui/[email protected]':+ resolution: {integrity: sha512-RbJRS4UWQFkzHTTwVymMTUv8EqYhOp8dOOviLj2ugtTiXRaRQS7GLGxZTLL1jWhMeoSCf5zmcZkqTl9IiYfXcQ==}+ peerDependencies:'@types/react': '*'react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rcpeerDependenciesMeta:@@ -2348,235 +3054,274 @@ packages:'@radix-ui/[email protected]':resolution: {integrity: sha512-HPwpGIzkl28mWyZqG52jiqDJ12waP11Pa1lGoiyUkIEuMLBP0oeK/C89esbXrxsky5we7dfd8U58nm0SgAWpVw==}+ '@react-email/[email protected]':+ resolution: {integrity: sha512-o1bcSAmDYNNHECbkeyceCVPGmVsYvT+O3sSO/Ct7apKUu3JphTi31hu+0Nwqr/pgV5QFqdoT5vdS3SW5DJFHgQ==}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-8i+v6cMxr2emz4ihCrRiYJPp2/sdYsNNsBzXStlcA+/B9Umpm5Jj3WJKYpgTPM+aeyiqlG/MMI1AucnBm4f1oQ==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-jSpHFsgqnQXxDIssE4gvmdtFncaFQz5D6e22BnVjcCPk/udK+0A9jRwGFEG8JD2si9ZXBmU4WsuqQEczuZn4ww==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-MmAsOzdJpzsnY2cZoPHFPk6uDO/Ncpb4Kh1hAt9UZc1xOW3fIzpe1Pi9y9p6wwUmpaeeDalJxAxH6/fnTquinA==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-Lqq17l7ShzJG/d3b1w/+lVO+gp2FM05ZUo/nW0rjxB8xBICXOVv6PqjDnn3FXKssvhO5qAV20lHM6S+spRhEwQ==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-P0HHIWWMaBZaou0dB3AhSfIgQm2wWkx/+7etg1t8r6IwIbT8Vygjl01j23GvxfL5Ncs5JpjxGP/n2A1ALRgc4g==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-Qo2IQo0ru2kZq47REmHW3iXjAQaKu4tpeq/M8m1zHIVwKduL2vYOBQWbC2oDnMtWPmkBjej6XxgtZByxM6cCFg==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-4zjq23oT9APXkerqeslPH3OZWuh5X4crHK6nx82mVHV2SrLba8+8dPEnWbaACWTNjOCbcLIzaC9unk7Wq2MIXw==}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-X2Ii6dDFMF+D4niNwMAHbTkeCjlYYnMsd7edXOsi0JByxt9wNyZ9EnhFiBoQdqkE+SMDcu8TlNNttMrf5sJeMA==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-xF2GqsvBrp/HbRHWEfOgSfRFX+Q8I5KBEIG5+Lv3Vb2R/NYr0s8A5JhHHGf2pWBMJdbP4B2WHgj/VUrhy8dkIg==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-S1gZHVhwOsd1Iad5IFhpfICwNPMGPJidG/Uysy1AwmspyoAP5a4Iw3OWEpINFdgh9MHladbxcLKO2AJO+cA9Lw==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-qJhbOQy5VW5qzU74AimjAR9FRFQfrMa7dn4gkEXKMB/S9xZN8e1yC1uA9C15jkXI/PzmJ0muDIWmFwatm5/+VA==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-aGc8Y6U5C3igoMaqAJKsCpkbm1XjguQ09Acd+YcTKwjnC2+0w3yGUJkjWB2vTx4tN8dCqQCXO8FmdJpMfOA9EQ==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-vF+xxQk2fGS1CN7UPQDbzvcBGfffr+GjTPNiWM38fhBfsLv6A/YUfaqxWlmL7zLzVmo0K2cvvV9wxlSyNba1aQ==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-UQA9pVm5sbflgtg3EX3FquUP4aMBzmLReLbGJ6DZQZnAskBF36aI56cRykDq1o+1jT+CKIK1CducPYziaXliag==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-q/Y4VQtFsrOiTYAAh84M+acu04OROz1Ay2RQCWX6+5GlM+gZkq4tXiE7TXfTj4dFdPkPvU3mCr6LP6Y2yPnXNg==}++ '@react-email/[email protected]':+ resolution: {integrity: sha512-F7j9FJ0JN/A4d7yr+aw28p4uX7VLWs7hTHtLo7WRyw4G+Lit6Zucq4UWKRxJC8lpsUdzVmG7aBJnKOT+urqs/w==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-9MOMX7bGUvb3a7hNtoPguxyQUg38PuL88jhXmAgpWlF93yn0spj6pmVHkngLDlJYwYeBEQusPsQyyBv622Kdnw==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc+ react-dom: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-HkCdnEjvK3o+n0y0tZKXYhIXUNPDx+2vq1dJTmqappVHXS5tXS6W5JOPZr5j+eoZ8gY3PShI2LWj5rWF7ZEtIQ==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-FjqF9xQ8FoeUZYKSdt8sMIKvoT9XF8BrzhT3xiFKdEMwYNbsDflcjfErJe3jb7Wj/es/lKTbV5QR1dnLzGpL3w==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-heO9Khaqxm6Ulm6p7HQ9h01oiiLRrZuuEQuYds/O7Iyp3c58sMVHZGIxiRXO/kSs857NZQycpjewEVKF3jhNTw==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc++ '@react-email/[email protected]':+ resolution: {integrity: sha512-o5PNHFSE085VMXayxH+SJ1LSOtGsTv+RpNKnTiJDrJUwoBu77G3PlKOsZZQHCNyD28WsQpl9v2WcJLbQudqwPg==}+ engines: {node: '>=18.0.0'}+ peerDependencies:+ react: ^18.0 || ^19.0 || ^19.0.0-rc+'@remirror/[email protected]':resolution: {integrity: sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==}'@rolldown/[email protected]':resolution: {integrity: sha512-+d0F4MKMCbeVUJwG96uQ4SgAznZNSq93I3V+9NHA4OpvqG8mRCpGdKmK8l/dl02h2CCDHwW2FqilnTyDcAnqjA==}- '@rollup/[email protected]':- resolution: {integrity: sha512-kxz0YeeCrRUHz3zyqvd7n+TVRlNyTifBsmnmNPtk3hQURUyG9eAB+usz6DAwagMusjx/zb3AjvDUvhFGDAexGw==}- cpu: [arm]- os: [android]-'@rollup/[email protected]':resolution: {integrity: sha512-Zj3Hl6sN34xJtMv7Anwb5Gu01yujyE/cLBDB2gnHTAHaWS1Z38L7kuSG+oAh0giZMqG060f/YBStXtMH6FvPMA==}cpu: [arm]os: [android]- '@rollup/[email protected]':- resolution: {integrity: sha512-PPkxTOisoNC6TpnDKatjKkjRMsdaWIhyuMkA4UsBXT9WEZY4uHezBTjs6Vl4PbqQQeu6oION1w2voYZv9yquCw==}- cpu: [arm64]- os: [android]-'@rollup/[email protected]':resolution: {integrity: sha512-nTeCWY83kN64oQ5MGz3CgtPx8NSOhC5lWtsjTs+8JAJNLcP3QbLCtDDgUKQc/Ro/frpMq4SHUaHN6AMltcEoLQ==}cpu: [arm64]os: [android]- '@rollup/[email protected]':- resolution: {integrity: sha512-VWXGISWFY18v/0JyNUy4A46KCFCb9NVsH+1100XP31lud+TzlezBbz24CYzbnA4x6w4hx+NYCXDfnvDVO6lcAA==}- cpu: [arm64]- os: [darwin]-'@rollup/[email protected]':resolution: {integrity: sha512-HV7bW2Fb/F5KPdM/9bApunQh68YVDU8sO8BvcW9OngQVN3HHHkw99wFupuUJfGR9pYLLAjcAOA6iO+evsbBaPQ==}cpu: [arm64]os: [darwin]- '@rollup/[email protected]':- resolution: {integrity: sha512-nIwkXafAI1/QCS7pxSpv/ZtFW6TXcNUEHAIA9EIyw5OzxJZQ1YDrX+CL6JAIQgZ33CInl1R6mHet9Y/UZTg2Bw==}- cpu: [x64]- os: [darwin]-'@rollup/[email protected]':resolution: {integrity: sha512-SSj8TlYV5nJixSsm/y3QXfhspSiLYP11zpfwp6G/YDXctf3Xkdnk4woJIF5VQe0of2OjzTt8EsxnJDCdHd2xMA==}cpu: [x64]os: [darwin]- '@rollup/[email protected]':- resolution: {integrity: sha512-BdrLJ2mHTrIYdaS2I99mriyJfGGenSaP+UwGi1kB9BLOCu9SR8ZpbkmmalKIALnRw24kM7qCN0IOm6L0S44iWw==}- cpu: [arm64]- os: [freebsd]-'@rollup/[email protected]':resolution: {integrity: sha512-ZyrsG4TIT9xnOlLsSSi9w/X29tCbK1yegE49RYm3tu3wF1L/B6LVMqnEWyDB26d9Ecx9zrmXCiPmIabVuLmNSg==}cpu: [arm64]os: [freebsd]- '@rollup/[email protected]':- resolution: {integrity: sha512-VXeo/puqvCG8JBPNZXZf5Dqq7BzElNJzHRRw3vjBE27WujdzuOPecDPc/+1DcdcTptNBep3861jNq0mYkT8Z6Q==}- cpu: [x64]- os: [freebsd]-'@rollup/[email protected]':resolution: {integrity: sha512-pCgHFoOECwVCJ5GFq8+gR8SBKnMO+xe5UEqbemxBpCKYQddRQMgomv1104RnLSg7nNvgKy05sLsY51+OVRyiVw==}cpu: [x64]os: [freebsd]- '@rollup/[email protected]':- resolution: {integrity: sha512-ehSKrewwsESPt1TgSE/na9nIhWCosfGSFqv7vwEtjyAqZcvbGIg4JAcV7ZEh2tfj/IlfBeZjgOXm35iOOjadcg==}- cpu: [arm]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-EtP8aquZ0xQg0ETFcxUbU71MZlHaw9MChwrQzatiE8U/bvi5uv/oChExXC4mWhjiqK7azGJBqU0tt5H123SzVA==}cpu: [arm]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-m39iO/aaurh5FVIu/F4/Zsl8xppd76S4qoID8E+dSRQvTyZTOI2gVk3T4oqzfq1PtcvOfAVlwLMK3KRQMaR8lg==}- cpu: [arm]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-qO7F7U3u1nfxYRPM8HqFtLd+raev2K137dsV08q/LRKRLEc7RsiDWihUnrINdsWQxPR9jqZ8DIIZ1zJJAm5PjQ==}cpu: [arm]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-Y+GHnGaku4aVLSgrT0uWe2o2Rq8te9hi+MwqGF9r9ORgXhmHK5Q71N757u0F8yU1OIwUIFy6YiJtKjtyktk5hg==}- cpu: [arm64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-3dRaqLfcOXYsfvw5xMrxAk9Lb1f395gkoBYzSFcc/scgRFptRXL9DOaDpMiehf9CO8ZDRJW2z45b6fpU5nwjng==}cpu: [arm64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-jEwjn3jCA+tQGswK3aEWcD09/7M5wGwc6+flhva7dsQNRZZTe30vkalgIzV4tjkopsTS9Jd7Y1Bsj6a4lzz8gQ==}- cpu: [arm64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-fhHFTutA7SM+IrR6lIfiHskxmpmPTJUXpWIsBXpeEwNgZzZZSg/q4i6FU4J8qOGyJ0TR+wXBwx/L7Ho9z0+uDg==}cpu: [arm64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-ySyWikVhNzv+BV/IDCsrraOAZ3UaC8SZB67FZlqVwXwnFhPihOso9rPOxzZbjp81suB1O2Topw+6Ug3JNegejQ==}- cpu: [loong64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-i7wfGFXu8x4+FRqPymzjD+Hyav8l95UIZ773j7J7zRYc3Xsxy2wIn4x+llpunexXe6laaO72iEjeeGyUFmjKeA==}cpu: [loong64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-BvvA64QxZlh7WZWqDPPdt0GH4bznuL6uOO1pmgPnnv86rpUpc8ZxgZwcEgXvo02GRIZX1hQ0j0pAnhwkhwPqWg==}- cpu: [ppc64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-B/l0dFcHVUnqcGZWKcWBSV2PF01YUt0Rvlurci5P+neqY/yMKchGU8ullZvIv5e8Y1C6wOn+U03mrDylP5q9Yw==}cpu: [ppc64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-EQSP+8+1VuSulm9RKSMKitTav89fKbHymTf25n5+Yr6gAPZxYWpj3DzAsQqoaHAk9YX2lwEyAf9S4W8F4l3VBQ==}- cpu: [riscv64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-32k4ENb5ygtkMwPMucAb8MtV8olkPT03oiTxJbgkJa7lJ7dZMr0GCFJlyvy+K8iq7F/iuOr41ZdUHaOiqyR3iQ==}cpu: [riscv64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-n/vQ4xRZXKuIpqukkMXZt9RWdl+2zgGNx7Uda8NtmLJ06NL8jiHxUawbwC+hdSq1rrw/9CghCpEONor+l1e2gA==}- cpu: [riscv64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-t5B2loThlFEauloaQkZg9gxV05BYeITLvLkWOkRXogP4qHXLkWSbSHKM9S6H1schf/0YGP/qNKtiISlxvfmmZw==}cpu: [riscv64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-h8d28xzYb98fMQKUz0w2fMc1XuGzLLjdyxVIbhbil4ELfk5/orZlSTpF/xdI9C8K0I8lCkq+1En2RJsawZekkg==}- cpu: [s390x]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-YKjekwTEKgbB7n17gmODSmJVUIvj8CX7q5442/CK80L8nqOUbMtf8b01QkG3jOqyr1rotrAnW6B/qiHwfcuWQA==}cpu: [s390x]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-XiK5z70PEFEFqcNj3/zRSz/qX4bp4QIraTy9QjwJAb/Z8GM7kVUsD0Uk8maIPeTyPCP03ChdI+VVmJriKYbRHQ==}- cpu: [x64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-Jj5a9RUoe5ra+MEyERkDKLwTXVu6s3aACP51nkfnK9wJTraCC8IMe3snOfALkrjTYd2G1ViE1hICj0fZ7ALBPA==}cpu: [x64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-2BRORitq5rQ4Da9blVovzNCMaUlyKrzMSvkVR0D4qPuOy/+pMCrh1d7o01RATwVy+6Fa1WBw+da7QPeLWU/1mQ==}- cpu: [x64]- os: [linux]-'@rollup/[email protected]':resolution: {integrity: sha512-7kX69DIrBeD7yNp4A5b81izs8BqoZkCIaxQaOpumcJ1S/kmqNFjPhDu1LHeVXv0SexfHQv5cqHsxLOjETuqDuA==}cpu: [x64]os: [linux]- '@rollup/[email protected]':- resolution: {integrity: sha512-b2bcNm9Kbde03H+q+Jjw9tSfhYkzrDUf2d5MAd1bOJuVplXvFhWz7tRtWvD8/ORZi7qSCy0idW6tf2HgxSXQSg==}- cpu: [arm64]- os: [win32]-'@rollup/[email protected]':resolution: {integrity: sha512-wiJWMIpeaak/jsbaq2HMh/rzZxHVW1rU6coyeNNpMwk5isiPjSTx0a4YLSlYDwBH/WBvLz+EtsNqQScZTLJy3g==}cpu: [arm64]os: [win32]- '@rollup/[email protected]':- resolution: {integrity: sha512-DfcogW8N7Zg7llVEfpqWMZcaErKfsj9VvmfSyRjCyo4BI3wPEfrzTtJkZG6gKP/Z92wFm6rz2aDO7/JfiR/whA==}- cpu: [ia32]- os: [win32]-'@rollup/[email protected]':resolution: {integrity: sha512-gBgaUDESVzMgWZhcyjfs9QFK16D8K6QZpwAaVNJxYDLHWayOta4ZMjGm/vsAEy3hvlS2GosVFlBlP9/Wb85DqQ==}cpu: [ia32]os: [win32]- '@rollup/[email protected]':- resolution: {integrity: sha512-ECyOuDeH3C1I8jH2MK1RtBJW+YPMvSfT0a5NN0nHfQYnDSJ6tUiZH3gzwVP5/Kfh/+Tt7tpWVF9LXNTnhTJ3kA==}- cpu: [x64]- os: [win32]-'@rollup/[email protected]':resolution: {integrity: sha512-CvUo2ixeIQGtF6WvuB87XWqPQkoFAFqW+HUo/WzHwuHDvIwZCtjdWXoYCcr06iKGydiqTclC4jU/TNObC/xKZg==}cpu: [x64]os: [win32]- '@shikijs/[email protected]':- resolution: {integrity: sha512-yvlSKVMLjddAGBa2Yu+vUZxuu3sClOWW1AG+UtJkvejYuGM5BVL35s6Ijiwb75O9QdEx6IkMxinHZSi8ZyrBaA==}+ '@selderee/[email protected]':+ resolution: {integrity: sha512-P33hHGdldxGabLFjPPpaTxVolMrzrcegejx+0GxjrIb9Zv48D8yAIA/QTDR2dFl7Uz7urX8aX6+5bCZslr+gWQ==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-tlDKfhWpF4jKLUyVAnmL+ggIC+0VyteNsUpBzh1iwWLZu4i+PelIRr0TNur6pRRo5UZIv3ss/PLMuwahg9S2hg==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-3P8rGsg2Eh2qIHekwuQjzWhKI4jV97PhvYjYUzGqjvJfqdQPz+nMlfWahU24GZAyW1FxFI1sYjyhfh5CoLmIUA==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-vyXRnWVCSvokwbaUD/8uPn6Gqsf5Hv7XwcW4AgiU4Z2qwy19sdr6VGzMdheKKN58tJOOe5MIKiNb901bgcUXYQ==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-Ty7xv32XCp8u0eQt8rItpMs6rU9Ki6LJ1dQOW3V/56PKDcpvfHPnYFbsx5FFUP2Yim34m/UkazidamMNVR4vKg==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-NY0Urg2dV9ETt3JIOWoMPuoDNwte3geLZ4M1nrPHbkDS8dWMpKcEwlqiEIGqtwZNmt5gKyWpR26ln2Bg2ecPgw==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-O42rBGr4UDSlhT2ZFMxqM7QzIU+IcpoTMzb3W7AlziI1ZF7R8eS2M0yt5Ry35nnnTX/LTLXFPUjRFCIW+Operg==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-Z/1crAoWBpQoUx/KSjiUM2eT91cjAhxMiInQ8gbgtWm2l2qQEIAWdSk6RJAINq+kl0+KO59QvcKWZHpKhCfXvw==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-672c3WAETDYHwrRP0yLy3W1QYB89Hbpj+pO4KhxK6FzIrDI2FoEXNiNCut6BQmEApYLfuYfpgOZaqbY+E9b8wQ==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-Zuq4lgAxVKkb0FFdhHSdDkALuRpsj1so1JdihjKNQfgM78EHxV2JhO10qPsMrm01FkE3mDRTdF68wfmsqjt6HA==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-dxvB5gXEpiTI3beGwOPEwxFxQNmUWM4cwOWbvUmL6DnQJGl18/+cCjVHZK2OnasmU0v7SvM39Zh3iliWdwfBDA==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-DQvrPdygc6NNdbfeOZoO1+KiRnnjUQuuPLwsAbUuSKq4QFLD0Ik15FbHojmot5NbgCQRbVr8ufRg8U6X5rGWuQ==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-Vxw1Nm1/Od8jyA7QuAenaV78BG2nSr3/gCGdBkLpfLscddCkzkL36Q5b67SrLLfvAJTOUzW39x4FHVCFriPVgg==}- '@shikijs/[email protected]':- resolution: {integrity: sha512-a5TiHk7EH5Lso8sHcLHbVNNhWKP0Wi3yVnXnu73g86n3WoDgEra7n3KszyeCGuyoagspQ2fzvy4cpSc8pKhb0A==}+ '@shikijs/[email protected]':+ resolution: {integrity: sha512-833lcuVzcRiG+fXvgslWsM2f4gHpjEgui1ipIknSizRuTgMkNZupiXE5/TVJ6eSYfhNBFhBZKkReKWO2GgYmqA==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-OmNKNoZ8Hevt4VKQHfJL+hrsrqLSnW/Nz7RMutuBqXBCIYZWk80HnF9pcXEwRmy9MN0MGRmZCW2rDDP8K7Bxkw==}+ peerDependencies:+ typescript: '>=5.5.0'++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-oM9P+NCFri/mmQ8LoFGVfVyemm5Hi27330zuOBp0annwJdKH1kOLndw3zCtAVDehPLg9fKqoEx3Ht/wNZxolfw==}++ '@shikijs/[email protected]':+ resolution: {integrity: sha512-/NTWAk4KE2M8uac0RhOsIhYQf4pdU0OywQuYDGIGAJ6Mjunxl2cGiuLkvu4HLCMn+OTTLRWkjZITp+aYJv60yA==}'@shikijs/[email protected]':resolution: {integrity: sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==}@@ -2588,6 +3333,177 @@ packages:resolution: {integrity: sha512-VwoDfvLXSCaRiD+xCIuyslU0HLxVggeE5BL06+GbsP2l1fGf5op8e0c3ZtKoi+vSg1q4ikjtAghC23ze2Q3H9g==}engines: {node: '>=20.0.0'}+ '@smithy/[email protected]':+ resolution: {integrity: sha512-wEhSYznxOmx7EdwK1tYEWJF5+/wmSFsff9BfTOn8oO/+KPl3gsmThrb6MJlWbOC391+Ya31s5JuHiC2RlT80Zg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-FA10YhPFLy23uxeWu7pOM2ctlw+gzbPMTZQwrZ8FRIfyJ/p8YIVz7AVTB5jjLD+QIerydyKcVMZur8qzzDILAQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-bXyD3Ij6b1qDymEYlEcF+QIjwb9gObwZNaRjETJsUEvSIzxFdynSQ3E4ysY7lUFSBzeWBNaFvX+5A0smbC2q6A==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-iVwNhxTsCQTPdp++4C/d9xvaDmuEWhXi55qJobMp9QMaEHRGH3kErU4F8gohtdsawRqnUy/ANylCjKuhcR2mPw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-VZenjDdVaUGiy3hwQtxm75nhXZrhFG+3xyL93qCQAlYDyhT/jeDWM8/3r5uCFMlTmmyrIjiDyiOynVFchb0BSg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-mXkJQ/6lAXTuoSsEH+d/fHa4ms4qV5LqYoPLYhmhCRTNcMMdg+4Ya8cMgU1W8+OR40eX0kzsExT7fAILqtTl2w==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-4/FcV6aCMzgpM4YyA/GRzTtG28G0RQJcWK722MmpIgzOyfSceWcI9T9c8matpHU9qYYLaWtk8pSGNCLn5kzDRw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-GGP3O9QFD24uGeAXYUjwSTXARoqpZykHadOmA8G5vfJPK0/DC67qa//0qvqrJzL1xc8WQWX7/yc7fwudjPHPhA==}+ engines: {node: '>=14.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-ePTYUOV54wMogio+he4pBybe8fwg4sDvEVDBU8ZlHOZXbXK3/C0XfJgUCu6qAZcawv05ZhZzODGUerFBPsPUDQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-x3dgLFubk/ClKVniJu+ELeZGk4mq7Iv0HgCRUlxNUIcerHTLVmq7Q5eGJL0tOnUltY6KFw5YOKaYxwdcMwox/w==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-J1eCF7pPDwgv7fGwRd2+Y+H9hlIolF3OZ2PjptonzzyOXXGh/1KGJAHpEcY1EX+WLlclKu2yC5k+9jWXdUG4YQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-raL5oWYf5ALl3jCJrajE8enKJEnV/2wZkKS6mb3ZRY2tg3nj66ssdWy5Ps8E6Yu8Wqh3Tt+Sb9LozjvwZupq+A==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-CtLFYlHt7c2VcztyVRc+25JLV4aGpmaSv9F1sPB0AGFL6S+RPythkqpGDa2XBQLJQooKkjLA1g7Xe4450knShg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-91Fuw4IKp0eK8PNhMXrHRcYA1jvbZ9BJGT91wwPy3bTQT8mHTcQNius/EhSQTlT9QUI3Ki1wjHeNXbWK0tO8YQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-8/fpilqKurQ+f8nFvoFkJ0lrymoMJ+5/CQV5IcTv/MyKhk2Q/EFYCAgTSWHD4nMi9ux9NyBBynkyE9SLg2uSLA==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-G4NV70B4hF9vBrUkkvNfWO6+QR4jYjeO4tc+4XrKCb4nPYj49V9Hu8Ftio7Mb0/0IlFyEOORudHrm+isY29nCA==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-eksMjMHUlG5PwOUWO3k+rfLNOPVPJ70mUzyYNKb5lvyIuAwS4zpWGsxGiuT74DFWonW0xRNy+jgzGauUzX7SyA==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-bwjlh5JwdOQnA01be+5UvHK4HQz4iaRKlVG46hHSJuqi0Ribt3K06Z1oQ29i35Np4G9MCDgkOGcHVyLMreMcbg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-JqTWmVIq4AF8R8OK/2cCCiQo5ZJ0SRPsDkDgLO5/3z8xxuUp1oMIBBjfuueEe+11hGTZ6rRebzYikpKc6yQV9Q==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-VgdHhr8YTRsjOl4hnKFm7xEMOCRTnKw3FJ1nU+dlWNhdt/7eEtxtkdrJdx7PlRTabdANTmvyjE4umUl9cK4awg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-UBpNFzBNmS20jJomuYn++Y+soF8rOK9AvIGjS9yGP6uRXF5rP18h4FDUsoNpWTlSsmiJ87e2DpZo9ywzSMH7PQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-W0VMlz9yGdQ/0ZAgWICFjFHTVU0YSfGoCVpKaExRM/FDkTeP/yz8OKvjtGjs6oFokCRm0srgj/g4Cg0xuHu8Rw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-ObX1ZqG2DdZQlXx9mLD7yAR8AGb7yXurGm+iWx9x4l1fBZ8CZN2BRT09aSbcXVPZXWGdn5VtMuupjxhOTI2EjA==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-TvlIshqx5PIi0I0AiR+PluCpJ8olVG++xbYkAIGCUkByaMUlfOXLgjQTmYbr46k4wuDe8eHiTIlUflnjK2drPQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-4jY91NgZz+ZnSFcVzWwngOW6VuK3gR/ihTwSU1R/0NENe9Jd8SfWgbhDCAGUWL3bI7DiDSW7XF6Ui6bBBjrqXw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-/LYEIOuO5B2u++tKr1NxNxhZTrr3A63jW8N73YTwVeUyAlbB/YM+hkftsvtKAcMt3ADYo0FsF1GY3anehffSVQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-RUGd4wNb8GeW7xk+AY5ghGnIwM96V0l2uzvs/uVHf+tIuVX2WSvynk5CxNoBCsM2rQRSZElAo9rt3G5mJ/gktQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-V2E2Iez+bo6bUMOTENPr6eEmepdY8Hbs+Uc1vkDKgKNA/brTJqOW/ai3JO1BGj9GbCeLqw90pbbH7HFQyFotGQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-BOI5dYjheZdgR9XiEM3HJcEMCXSoqbzu7CzIgYrx0UtmvtC3tC2iDGpJLsSRFffUpy8ymsg2ARMP5fR8mtuUQQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-IJdWBbTcMQ6DA0gdNhh/BwrLkDR+ADW5Kr1aZmd4k3DIF6ezMV4R2NIAmT08wQJ3yUK82thHWmC/TnK/wpMMIA==}+ engines: {node: '>=14.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-N6yXcjfe/E+xKEccWEKzK6M+crMrlwaCepKja0pNnlSkm6SjAeLKKA++er5Ba0I17gvKfN/ThV+ZOx/CntKTVw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-swXz2vMjrP1ZusZWVTB/ai5gK+J8U0BWvP10v9fpcFvg+Xi/87LHvHfst2IgCs1i0v4qFZfGwCmeD/KNCdJZbQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-D27cLtJtC4EEeERJXS+JPoogz2tE5zeE3zhWSSu6ER5/wJ5gihUxIzoarDX6K1U27IFTHit5YfHqU4Y9RSGE0w==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-gnZo3u5dP1o87plKupg39alsbeIY1oFFnCyV2nI/++pL19vTtBLgOyftLEjPjuXmoKn2B2rskX8b7wtC/+3Okg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-5LFg48KkunBVGrNs3dnQgLlMXJLVo7k9sdZV5su3rjO3c3DmQ2LwUZI0Zr49p89JWK6sB7KmzyI2fVcDsZkwuw==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-1LcueNN5GYC4tr8mo14yVYbh/Ur8jHhWOxniZXii+1+ePiIbsLZ5fEI0QQGtbRRP5mOhmooos+rLmVASGGoq5w==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-612onNcKyxhP7/YOTKFTb2F6sPYtMRddlT5mZvYf1zduzaGzkYhpYIPxIeeEwBZFjnvEqe53Ijl2cYEfJ9d6/Q==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-5AGoBHb207xAKSVwaUnaER+L55WFY8o2RhlafELZR3mB0J91fpL+Qn+zgRkPzns3kccGaF2vy0HmNVBMWmN6dA==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-ZOYS94jksDwvsCJtppHprUhsIscRnCKGr6FXCo3SxgQ31ECbza3wqDBqSy6IsAak+h/oAXb1+UYEBmDdseAjUQ==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-b0EFQkq35K5NHUYxU72JuoheM6+pytEVUGlTwiFxWFpmddA+Bpz3LgsPRIpBk8lnPE47yT7AF2Egc3jVnKLuPg==}+ engines: {node: '>=18.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-R8Rdn8Hy72KKcebgLiv8jQcQkXoLMOGGv5uI1/k0l+snqkOzQ1R0ChUBCxWMlBsFMekWjq0wRudIweFs7sKT5A==}+ engines: {node: '>=14.0.0'}++ '@smithy/[email protected]':+ resolution: {integrity: sha512-mEu1/UIXAdNYuBcyEPbjScKi/+MQVXNIuY/7Cm5XLIWe319kDrT5SizBE95jqtmEXoDbGoZxKLCMttdZdqTZKQ==}+ engines: {node: '>=18.0.0'}++ '@socket.io/[email protected]':+ resolution: {integrity: sha512-9BCxFwvbGg/RsZK9tjXd8s4UcwR0MWeFQ1XEKIQVVvAGJyINdrqKMcTRyLoK8Rse1GjzLV9cwjWV1olXRWEXVA==}+'@standard-schema/[email protected]':resolution: {integrity: sha512-m2bOd0f2RT9k8QJx1JN85cZYyH1RqFBdlwtkSlf4tBDYLCiiZnv1fIIwacK6cqwXavOydf0NPToMQgpKq+dVlA==}@@ -2603,32 +3519,65 @@ packages:'@tailwindcss/[email protected]':resolution: {integrity: sha512-yzhzuGRmv5QyU9qLNg4GTlYI6STedBWRE7NjxP45CsFYYq9taI0zJXZBMqIC/c8fViNLhmrbpSFS57EoxUmD6Q==}+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-eq3ouolC1oEFOAvOMOBAmfCIqZBJuvWvvYWh5h5iOYfe1HFC6+GZ6EIL0JdM3/niGRJmnrOc+8gl9/HGUaaptw==}+'@tailwindcss/[email protected]':resolution: {integrity: sha512-3IfFuATVRUMZZprEIx9OGDjG3Ou3jG4xQzNTvjDoKmU9JdmoCohQJ83MYd0GPnQIu89YoJqvMM0G3uqLRFtetg==}engines: {node: '>= 10'}cpu: [arm64]os: [android]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-BrpTrVYyejbgGo57yc8ieE+D6VT9GOgnNdmh5Sac6+t0m+v+sKQevpFVpwX3pBrM2qKrQwJ0c5eDbtjouY/+ew==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [android]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-ESgStEOEsyg8J5YcMb1xl8WFOXfeBmrhAwGsFxxB2CxY9evy63+AtpbDLAyRkJnxLy2WsD1qF13E97uQyP1lfQ==}engines: {node: '>= 10'}cpu: [arm64]os: [darwin]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-YP+Jksc4U0KHcu76UhRDHq9bx4qtBftp9ShK/7UGfq0wpaP96YVnnjFnj3ZFrUAjc5iECzODl/Ts0AN7ZPOANQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [darwin]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-EgnK8kRchgmgzG6jE10UQNaH9Mwi2n+yw1jWmof9Vyg2lpKNX2ioe7CJdf9M5f8V9uaQxInenZkOxnTVL3fhAw==}engines: {node: '>= 10'}cpu: [x64]os: [darwin]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-aAJ3bbwrn/PQHDxCto9sxwQfT30PzyYJFG0u/BWZGeVXi5Hx6uuUOQEI2Fa43qvmUjTRQNZnGqe9t0Zntexeuw==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [darwin]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-xdqKtbpHs7pQhIKmqVpxStnY1skuNh4CtbcyOHeX1YBE0hArj2romsFGb6yUmzkq/6M24nkxDqU8GYrKrz+UcA==}engines: {node: '>= 10'}cpu: [x64]os: [freebsd]- '@tailwindcss/[email protected]':- resolution: {integrity: sha512-ryHQK2eyDYYMwB5wZL46uoxz2zzDZsFBwfjssgB7pzytAeCCa6glsiJGjhTEddq/4OsIjsLNMAiMlHNYnkEEeg==}+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-Wt8KvASHwSXhKE/dJLCCWcTSVmBj3xhVhp/aF3RpAhGeZ3sVo7+NTfgiN8Vey/Fi8prRClDs6/f0KXPDTZE6nQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [freebsd]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-ryHQK2eyDYYMwB5wZL46uoxz2zzDZsFBwfjssgB7pzytAeCCa6glsiJGjhTEddq/4OsIjsLNMAiMlHNYnkEEeg==}+ engines: {node: '>= 10'}+ cpu: [arm]+ os: [linux]++ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-mbVbcAsW3Gkm2MGwA93eLtWrwajz91aXZCNSkGTx/R5eb6KpKD5q8Ueckkh9YNboU8RH7jiv+ol/I7ZyQ9H7Bw==}engines: {node: '>= 10'}cpu: [arm]os: [linux]@@ -2639,24 +3588,48 @@ packages:cpu: [arm64]os: [linux]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-wdtfkmpXiwej/yoAkrCP2DNzRXCALq9NVLgLELgLim1QpSfhQM5+ZxQQF8fkOiEpuNoKLp4nKZ6RC4kmeFH0HQ==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-m/NVRFNGlEHJrNVk3O6I9ggVuNjXHIPoD6bqay/pubtYC9QIdAMpS+cswZQPBLvVvEF6GtSNONbDkZrjWZXYNQ==}engines: {node: '>= 10'}cpu: [arm64]os: [linux]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-hZQrmtLdhyqzXHB7mkXfq0IYbxegaqTmfa1p9MBj72WPoDD3oNOh1Lnxf6xZLY9C3OV6qiCYkO1i/LrzEdW2mg==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [linux]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-YW6sblI7xukSD2TdbbaeQVDysIm/UPJtObHJHKxDEcW2exAtY47j52f8jZXkqE1krdnkhCMGqP3dbniu1Te2Fg==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-uaZTYWxSXyMWDJZNY1Ul7XkJTCBRFZ5Fo6wtjrgBKzZLoJNrG+WderJwAjPzuNZOnmdrVg260DKwXCFtJ/hWRQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-e3C/RRhGunWYNC3aSF7exsQkdXzQ/M+aYuZHKnw4U7KQwTJotnWsGOIVih0s2qQzmEzOFIJ3+xt7iq67K/p56Q==}engines: {node: '>= 10'}cpu: [x64]os: [linux]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-oXiPj5mi4Hdn50v5RdnuuIms0PVPI/EG4fxAfFiIKQh5TgQgX7oSuDWntHW7WNIi/yVLAiS+CRGW4RkoGSSgVQ==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [linux]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-Xo1+/GU0JEN/C/dvcammKHzeM6NqKovG+6921MR6oadee5XPBaKOumrJCXvopJ/Qb5TH7LX/UAywbqrP4lax0g==}engines: {node: '>=14.0.0'}@@ -2669,25 +3642,58 @@ packages:- '@emnapi/wasi-threads'- tslib+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-+LC2nNtPovtrDwBc/nqnIKYh/W2+R69FA0hgoeOn64BdCX522u19ryLh3Vf3F8W49XBcMIxSe665kwy21FkhvA==}+ engines: {node: '>=14.0.0'}+ cpu: [wasm32]+ bundledDependencies:+ - '@napi-rs/wasm-runtime'+ - '@emnapi/core'+ - '@emnapi/runtime'+ - '@tybys/wasm-util'+ - '@emnapi/wasi-threads'+ - tslib+'@tailwindcss/[email protected]':resolution: {integrity: sha512-UgKYx5PwEKrac3GPNPf6HVMNhUIGuUh4wlDFR2jYYdkX6pL/rn73zTq/4pzUm8fOjAn5L8zDeHp9iXmUGOXZ+w==}engines: {node: '>= 10'}cpu: [arm64]os: [win32]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-dziTNeQXtoQ2KBXmrjCxsuPk3F3CQ/yb7ZNZNA+UkNTeiTGgfeh+gH5Pi7mRncVgcPD2xgHvkFCh/MhZWSgyQg==}+ engines: {node: '>= 10'}+ cpu: [arm64]+ os: [win32]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-YfHoggn1j0LK7wR82TOucWc5LDCguHnoS879idHekmmiR7g9HUtMw9MI0NHatS28u/Xlkfi9w5RJWgz2Dl+5Qg==}engines: {node: '>= 10'}cpu: [x64]os: [win32]+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-3+LKesjXydTkHk5zXX01b5KMzLV1xl2mcktBJkje7rhFUpUlYJy7IMOLqjIRQncLTa1WZZiFY/foAeB5nmaiTw==}+ engines: {node: '>= 10'}+ cpu: [x64]+ os: [win32]+'@tailwindcss/[email protected]':resolution: {integrity: sha512-Q69XzrtAhuyfHo+5/HMgr1lAiPP/G40OMFAnws7xcFEYqcypZmdW8eGXaOUIeOl1dzPJBPENXgbjsOyhg2nkrg==}engines: {node: '>= 10'}+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-CPgsM1IpGRa880sMbYmG1s4xhAy3xEt1QULgTJGQmZUeNgXFR7s1YxYygmJyBGtou4SyEosGAGEeYqY7R53bIA==}+ engines: {node: '>= 10'}+'@tailwindcss/[email protected]':resolution: {integrity: sha512-q/EAIIpF6WpLhKEuQSEVMZNMIY8KhWoAemZ9eylNAih9jxMGAYPPWBn3I9QL/2jZ+e7OEz/tZkX5HwbBR4HohA==}+ '@tailwindcss/[email protected]':+ resolution: {integrity: sha512-0PmqLQ010N58SbMTJ7BVJ4I2xopiQn/5i6nlb4JmxzQf8zcS5+m2Cv6tqh+sfDwtIdjoEnOvwsGQ1hkUi8QEHQ==}+ peerDependencies:+ vite: ^5.2.0 || ^6 || ^7+'@tanstack/[email protected]':resolution: {integrity: sha512-cs1WKawpXIe+vSTeiZUuSBy8JFjEuDgdMKZFRLKwQysKo8y2q6Q1HvS74Yw+m5IhOW1nTZooa6rlgdfXcgFAaw==}engines: {node: '>=12'}@@ -2802,11 +3808,6 @@ packages:peerDependencies:'@tiptap/pm': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-viQ6AHRhjCYYipKK6ZepBzwZpkuMvO9yhRHeUZDvlSOAh8rvsUTSre0y74nu8QRYUt4a44lJJ6BpphJK7bEgYA==}- peerDependencies:- '@tiptap/core': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-zCce9PRuTNhadFir71luLo99HERDpGJ0EEflGm7RN8I1SnNi9gD5ooK42BOIQtejGCJqg3hTPZiYDJC2hXvckQ==}peerDependencies:@@ -2818,33 +3819,11 @@ packages:'@tiptap/core': ^2.7.0'@tiptap/pm': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-HHakuV4ckYCDOnBbne088FvCEP4YICw+wgPBz/V2dfpiFYQ4WzT0LPK9s7OFMCN+ROraoug+1ryN1Z1KdIgujQ==}- peerDependencies:- '@tiptap/core': ^2.7.0-- '@tiptap/[email protected]':- resolution: {integrity: sha512-/TDDOwONl0qEUc4+B6V9NnWtSjz95eg7/8uCb8Y8iRbGvI9vT4/znRKofFxstvKmW4URu/H74/g0ywV57h0B+A==}- peerDependencies:- '@tiptap/core': ^2.7.0- '@tiptap/pm': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-GU9deB1A/Tr4FMPu71CvlcjGKwRhGYz60wQ8m4aM+ELZcVIcZRa1ebR8bExRIEWnvRztQuyRiCQzw2N0xQJ1QQ==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-2P2IZp1NRAE+21mRuFBiP3X2WKfZ6kUC23NJKpn8bcOamY3obYqCt0ltGPhE4eR8n8QAl2fI/3jIgjR07dC8ow==}- peerDependencies:- '@tiptap/core': ^2.7.0-- '@tiptap/[email protected]':- resolution: {integrity: sha512-JkDQU2ZYFOuT5mNYb8OiWGwD1HcjbtmX8tLNugQbToECmz9WvVPqJmn7V/q8VGpP81iEECz/IsyRmuf2kSD4uA==}- peerDependencies:- '@tiptap/core': ^2.7.0- '@tiptap/pm': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-OJF+H6qhQogVTMedAGSWuoL1RPe3LZYXONuFCVyzHnvvMpK+BP1vm180E2zDNFnn/DVA+FOrzNGpZW7YjoFH1w==}peerDependencies:@@ -2857,21 +3836,6 @@ packages:'@tiptap/core': ^2.7.0'@tiptap/pm': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-d6uStdNKi8kjPlHAyO59M6KGWATNwhLCD7dng0NXfwGndc22fthzIk/6j9F6ltQx30huy5qQram6j3JXwNACoA==}- peerDependencies:- '@tiptap/core': ^2.7.0-- '@tiptap/[email protected]':- resolution: {integrity: sha512-KSzL8WZV3pjJG9ke4RaU70+B5UlYR2S6olNt5UCAawM+fi11mobVztiBoC19xtpSVqIXC1AmXOqUgnuSvmE4ZA==}- peerDependencies:- '@tiptap/core': ^2.7.0-- '@tiptap/[email protected]':- resolution: {integrity: sha512-9eW2UqDqeAKSDIiL6SqcPSDCQAdU5qQmRMsJlShOM7Fu1aU71b1ewhUP9YioUCanciR99tqNsk/n3LAe0w5XdA==}- peerDependencies:- '@tiptap/core': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-m6YR1gkkauIDo3PRl0gP+7Oc4n5OqDzcjVh6LvWREmZP8nmi94hfseYbqOXUb6RPHIc0JKF02eiRifT4MSd2nw==}peerDependencies:@@ -2895,50 +3859,33 @@ packages:'@tiptap/core': ^2.7.0'@tiptap/pm': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-quOXckC73Luc3x+Dcm88YAEBW+Crh3x5uvtQOQtn2GEG91AshrvbnhGRiYnfvEN7UhWIS+FYI5liHFcRKSUKrQ==}- peerDependencies:- '@tiptap/core': ^2.7.0-- '@tiptap/[email protected]':- resolution: {integrity: sha512-UHKNRxq6TBnXMGFSq91knD6QaHsyyOwLOsXMzupmKM5Su0s+CRXEjfav3qKlbb9e4m7D7S/a0aPm8nC9KIXNhQ==}- peerDependencies:- '@tiptap/core': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-UezvM9VDRAVJlX1tykgHWSD1g3MKfVMWWZ+Tg+PE4+kizOwoYkRWznVPgCAxjmyHajxpCKRXgqTZkOxjJ9Kjzg==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-MBlqbkd+63btY7Qu+SqrXvWjPwooGZDsLTtl7jp52BczBl61cq9yygglt9XpM11TFMBdySgdLHBrLtQ0B7fBlw==}- peerDependencies:- '@tiptap/core': ^2.7.0- '@tiptap/pm': ^2.7.0-'@tiptap/[email protected]':resolution: {integrity: sha512-CkoRH+pAi6MgdCh7K0cVZl4N2uR4pZdabXAnFSoLZRSg6imLvEUmWHfSi1dl3Z7JOvd3a4yZ4NxerQn5MWbJ7g==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-b7JNeOsBqEd1p2oQ5N6Msz9fr2o73WR1WsYDC0WhECg07Goud2gQEkwWkQaLsvfcwuS746eMJK/nrT2pVEngYA==}+ '@tiptap/[email protected]':+ resolution: {integrity: sha512-0P5zY+WGFnULggJkX6+CevmFoBmVv1aUiBBXfcFuLG2mnUsS3QALQTowFtz/0/VbtbjzcOSStaGDHRJxPbk9XQ==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/pm': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-xR4LMpMPZ6bpkZNmFvIojmNGtdGKNlKFbpvyIOgs4qhlWskbFQQVevglHjV1R8xJLic5c+byJQaAmQdQudqGng==}+ '@tiptap/[email protected]':+ resolution: {integrity: sha512-SAwTW9H+sjVYjoeU5z8pVDMHn3r3FCi+zp2KAxsEsmujcd7qrQdY0cAjQtWjckCq6H3sQkbICa+xlCCd7C8ZAQ==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-t9Nc/UkrbCfnSHEUi1gvUQ2ZPzvfdYFT5TExoV2DTiUCkhG6+mecT5bTVFGW3QkPmbToL+nFhGn4ZRMDD0SP3Q==}+ '@tiptap/[email protected]':+ resolution: {integrity: sha512-p2n8WVMd/2vckdJlol24acaTDIZAhI7qle5cM75bn01sOEZoFlSw6SwINOULrUCzNJsYb43qrLEibZb4j2LeQw==}peerDependencies:'@tiptap/core': ^2.7.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-p2n8WVMd/2vckdJlol24acaTDIZAhI7qle5cM75bn01sOEZoFlSw6SwINOULrUCzNJsYb43qrLEibZb4j2LeQw==}+ '@tiptap/[email protected]':+ resolution: {integrity: sha512-/fufv41WDMdf0a4xmFAxONoAz08TonJXX6NEoSJmuGKO59M/Y0Pz8DTK1g32Wk44kn7dyScDiPlvvndl+UOv0A==}peerDependencies:'@tiptap/core': ^2.7.0@@ -2953,9 +3900,6 @@ packages:react: ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0- '@tiptap/[email protected]':- resolution: {integrity: sha512-oziMGCds8SVQ3s5dRpBxVdEKZAmO/O//BjZ69mhA3q4vJdR0rnfLb5fTxSeQvHiqB878HBNn76kNaJrHrV35GA==}-'@types/[email protected]':resolution: {integrity: sha512-AX+AbjH/rH5ezX1fbK8onC/a+HyQHo7QGmvoxAE42n22OsciAxvZoZNEr22tbXs8WfP1nIsBjKDpgPm3HjOZbA==}@@ -2980,15 +3924,21 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-7uz5EHdzz2TqoMfV7ee61Egf5y6NkcO4FB/1iCCQnbeiI1F3xzv3vK5dBCXUCLQgGYS+mUeigK1iKQzvED+QnQ==}+ '@types/[email protected]':+ resolution: {integrity: sha512-mFNylyeyqN93lfe/9CSxOGREz8cpzAhH+E93xJ4xWQf62V8sQ/24reV2nyzUWM6H6Xji+GGHpkbLe7pVoUEskg==}+'@types/[email protected]':resolution: {integrity: sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==}+ '@types/[email protected]':+ resolution: {integrity: sha512-MzMFlSLBqNF2gcHWO0G1vP/YQyfvrxZ0bF+u7mzUdZ1/xK4A4sru+nraZz5i3iEIk1l1uyicaDVTB4QbbEkAYg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-FXx2pKgId/WyYo2jXw63kk7/+TY7u7AziEJxJAnSFzHlqTAS3Ync6SvgYAN/k4/PQpnnVuzoMuVnByKK2qp0ag==}+'@types/[email protected]':resolution: {integrity: sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==}- '@types/[email protected]':- resolution: {integrity: sha512-w28IoSUCJpidD/TGviZwwMJckNESJZXFu7NBZ5YJ4mEUnNraUn9Pm8HSZm/jDF1pDWYKspWE7oVphigUPRakIQ==}-'@types/[email protected]':resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}@@ -2998,24 +3948,18 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-WPs+bbQw5aCj+x6laNGWLH3wviHtoCv/P3+otBhbOhJgG8qtpdAMlTCxLtsTWA7LH1Oh/bFCHsBn0TPS5m30EQ==}- '@types/[email protected]':- resolution: {integrity: sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==}'@types/[email protected]':resolution: {integrity: sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==}- '@types/[email protected]':- resolution: {integrity: sha512-1XPwR0+MgXLWfTn9gCsZ55AHOKW1WN+P9vr0PaQh5aerR9LLQXUbjfEAFhjmEmyoYFWAyuN2Mqkn40MZ4ukjBw==}-'@types/[email protected]':resolution: {integrity: sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==}'@types/[email protected]':resolution: {integrity: sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==}- '@types/[email protected]':- resolution: {integrity: sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA==}-'@types/[email protected]':resolution: {integrity: sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==}@@ -3028,26 +3972,37 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-u0HuPQwe/dHrItgHHpmw3N2fYCR6x4ivMNbPHRkBVP4CvN+kiRrKHWk3i8tXiO/joPwXLMYvF9TTF0eqgHIuOw==}- '@types/[email protected]':- resolution: {integrity: sha512-ut5FthK5moxFKH2T1CUOC6ctR67rQRvvHdFLCD2Ql6KXmMuCrjsSsRI9UsLCm9M18BMwClv4pn327UvB7eeO1w==}+ '@types/[email protected]':+ resolution: {integrity: sha512-3vXmQDXy+woz+gnrTvuvNrPzekOi+Ds0ReMxw0LzBiK3a+1k0kQn9f2NWk+lgD4rJehFUmYy2gMhJ2ZI+7YP9g==}- '@types/[email protected]':- resolution: {integrity: sha512-aPTXCrfwnDLj4VvXrm+UUCQjNEvJgNA8s5F1cvwQU+3KNltTOkBm1j30uNLyqqPNe7gE3KFzImYoZEfLhp4Yow==}+ '@types/[email protected]':+ resolution: {integrity: sha512-UfHAghPmGZVzaL8x9y+mKZMWyHC399+iq0MOmya5tIyenWX3lcdSb60vOmp0DocR6gCDTYTozv/ULQnREyyjkg==}++ '@types/[email protected]':+ resolution: {integrity: sha512-DO++toKYPaFn0Z8hQ7Tx+3iT9t77IJo/nDiqTXilgEP+kPNIYdpS9kh3fXuc53ugqwp9pxC1PVjCpV1tQDyqMA==}'@types/[email protected]':resolution: {integrity: sha512-LF7lF6zWEKxuT3/OR8wAZGzkg4ENGXFNyiV/JeOt9z5B+0ZVwbql9McqX5c/WStFq1GaGso7H1AzP/qSzmlCKQ==}- '@types/[email protected]':- resolution: {integrity: sha512-i5ZzwYpqjmrKenzkoLM2Ibzt6mAsM7pxB6BCIouEVVmgiqaMj1TjaK7hnA36hbW5aZv20kx7Lw6hWzPWg0Rurw==}+ '@types/[email protected]':+ resolution: {integrity: sha512-AUZTa7hQ2KY5L7AmtSiqxlhWxb4ina0yd8hNbl4TWuqnv/pFP0nDMb3YrfSBf4hJVGLh2YEIBfKaBW/9UEl6IQ==}++ '@types/[email protected]':+ resolution: {integrity: sha512-4fSQ8vWFkg+TGhePfUzVmat3eC14TXYSsiiDSLI0dVLsrm9gZFABjPy/Qu6TKgl1tq1Bu1yDsuQgY3A3DOjCcg==}+ peerDependencies:+ '@types/react': ^19.0.0++ '@types/[email protected]':+ resolution: {integrity: sha512-qXRuZaOsAdXKFyOhRBg6Lqqc0yay13vN7KrIg4L7N4aaHN68ma9OK3NE1BoDFgFOTfM7zg+3/8+2n8rLUH3OKQ==}peerDependencies:'@types/react': ^19.0.0+ '@types/[email protected]':+ resolution: {integrity: sha512-JuRQ9KXLEjaUNjTWpzuR231Z2WpIwczOkBEIvbHNCzQefFIT0L8IqE6NV6ULLyC1SI/i234JnDoMkfg+RjQj2g==}+'@types/[email protected]':resolution: {integrity: sha512-cMoR+FoAf/Jyq6+Df2/Z41jISvGZZ2eTlnsaJRptmZ76Caldwy1odD4xTr/gNV9VLj0AWgg/nmkevIyUfIIq5w==}- '@types/[email protected]':- resolution: {integrity: sha512-WmdoynAX8Stew/36uTSVMcLJJ1KRh6L3IZRx1PZ7qJtBqT3dYTgyDTx8H1qoRghErydW7xw9mSJ3wS//tCRpFA==}-'@types/[email protected]':resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==}@@ -3057,9 +4012,20 @@ packages:'@types/[email protected]':resolution: {integrity: sha512-zFDAD+tlpf2r4asuHEj0XH6pY6i0g5NeAHPn+15wk3BV6JA69eERFXC1gyGThDkVa1zCyKr5jox1+2LbV/AMLg==}+ '@types/[email protected]':+ resolution: {integrity: sha512-jg+97EGIcY9AGHJJRaaPVgetKDsrTgbRjQ5Msgjh/DQKEFl0DtyRr/VCOyD1T2R1MNeWPK/u7JoGhlDZnKBAfA==}++ '@types/[email protected]':+ resolution: {integrity: sha512-wR87cgvxj3p6D0Crt1r5avwqffqPXUkNlnQ1mjU93G7gCuFjufZR4I6j8cz5g1F1tTYpfOOFvly+cmIQwL9wvw==}+'@types/[email protected]':resolution: {integrity: sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg==}+ '@typescript/[email protected]':+ resolution: {integrity: sha512-JwoxboBh7Oz1v38tPbkrZ62ZXNHAk9bJ7c9x0eI5zBfBnBYGhURdbnh7Z4smN/MV48Y5OCcZb58n972UtbazsA==}+ peerDependencies:+ typescript: '*'+'@ungap/[email protected]':resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}@@ -3069,20 +4035,94 @@ packages:peerDependencies:vite: ^4.2.0 || ^5.0.0 || ^6.0.0 || ^7.0.0+ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-nuBEDgQfm1ccRp/8bCQrx1frohyufl4JlbMMZ4P1wpeOfDhF6FQkxZJ1b/e+PLwr6X1Nhw6OLme5usuBWYBvuQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-6oXyTOzbKxGH4steLbLNOu71Oj+C8Lg34n6CqRvqfS2O71BxY6ByfMDRhBytzknj9yGUPVJ1qIKhRlAwO1AovA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-U56GMYxy4ZQCbDZd6JuvvNV/WFildOjsaWD3Tzzvmw/mas3cXzRJPMjP83JqEsgSbyrmaGjBfDtV7KDXV9UzFQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-jyH7wtcHiKssDtFPRB+iQdxlDf96m0E39yb0k5uJVhFGleZFoNw1c4aeIcVUPPbXUVJ94wwnMOAqUHyzoEPVMA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-FE8aCmS5Q6eQYcV3gI35O4J789wlQA+7JrqTTpJqn5emA4U2hvwJmvFRC0HODS+3Ye6WioDklgd6scJ3+PLnEA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-3QbLKy93F0EAIXLh0ogEVR6rOubA9AoZ+WRYhNbFyuB70j3dRdwH9g+qXhLAO0kiYGlg3TxDV+I4rQTr/YNXkA==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-ds5mXEqTJ6oxRoqjhWDU83OgzAYjwsCV8Lo/N+oRsNDmx/ZDpqalmrtgOMkHwxsG0iI//3BwWAErYRHtgn0dZw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-4LtOzh58S/5lX4ITKxnAK2USuNEvpdVV9AlgGQb8rJDHaLeHciwG4zlGr0j/SNWlr7x3vO1lDEsuePvtcDNCkw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-Lde1oNoIdzVzdkNEAWZ1dZ5orIbff80YPdHx20mrHwHrVNNTjNr8E3xz9BdpcGqRQbAEa+fkrCb+fRFTl/6sQw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-3NQWGjKTASY1xV5m7Hr0iPeXD9+RDobLll3T9d2AO+g3my8xy5peVyjSag4I50mR1bBSN/Ct12lo+R9tJk0NZQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-RNJUIQH/J8iA/1NzlE4N7KtyZNHi3w7at7hDjvRNm5rcUXa00z1vRz3glZoULfJ5mpvYhLybmVcwcjGrC1pRrQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-AmomSIjP8ZbfGQhumkNvgC33AY7qtMCXnN6bL2u2Js4gVCg8fp735aEiMSBbDR7UQIj90n4wKAFUSEd0QN2Ukg==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-PTcKLUNvBqnY2U6E5bdOQcSM+oVP/PmrDY9NzowJjislEjwP/C4an2303MCVS2Mg9d3AJpIGdUFIQQWbPds0Sw==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-JLBl+KZ0R5qB7mCnud/yyX08jWFw5MsoalJ1pQ4EdFlgj9VdXKGuENGsiCIjegI1W7p91rUlcB/LB5yRJKNTcQ==}++ '@webassemblyjs/[email protected]':+ resolution: {integrity: sha512-kPSSXE6De1XOR820C90RIo2ogvZG+c3KiHzqUoO/F34Y2shGzesfqv7o57xrxovZJH/MetF5UjroJ/R/3isoiw==}++ '@xtuc/[email protected]':+ resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==}++ '@xtuc/[email protected]':+ resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==}+resolution: {integrity: sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==}hasBin: true+ resolution: {integrity: sha512-PYAthTa2m2VKxuvSD3DPC/Gy+U+sOA1LAuT8mkmRuvw+NACSaeXEQ+NHcVF7rONl6qcaxV3Uuemwawk+7+SJLw==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-wKmbr/DDiIXzEOiWrTTUcDm24kQ2vGfZQvM2fwg2vXqR5uW6aapr7ObPtj1th32b9u90/Pf4AItvdTh42fBmVQ==}+ engines: {node: '>=10.13.0'}+ peerDependencies:+ acorn: ^8.14.0+resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}peerDependencies:acorn: ^6.0.0 || ^7.0.0 || ^8.0.0- resolution: {integrity: sha512-OvQ/2pUDKmgfCg++xsTX1wGxfTaszcHVcTctW4UJB4hibJx2HXxxO5UmVgyjMa+ZDsiaf5wWLXYpRWMmBI0QHg==}+ resolution: {integrity: sha512-NZyJarBfL7nWwIq+FDL6Zp/yHEhePMNnnJ0y3qfieCrmNvYct8uvtiV41UvlSe6apAfk0fY1FbWx+NwfmpvtTg==}engines: {node: '>=0.4.0'}hasBin: true+ resolution: {integrity: sha512-Wx0Kx52hxE7C18hkMEggYlEifqWZtYaRgouJor+WMdPnQyEK13vgEWyVNup7SoeeoLMsr4kf5h6dOW11I15MUA==}+ peerDependencies:+ ajv: ^8.0.0+ peerDependenciesMeta:+ ajv:+ optional: true++ resolution: {integrity: sha512-YCS/JNFAUyr5vAuhk1DWm1CBxRHW9LbJ2ozWeemrIqpbsqKjHVxYPyi5GC0rjZIT5JxJ3virVTS8wk4i/Z+krw==}+ peerDependencies:+ ajv: ^8.8.2+resolution: {integrity: sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==}@@ -3090,28 +4130,38 @@ packages:resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==}engines: {node: '>=8'}+ resolution: {integrity: sha512-TKY5pyBkHyADOPYlRT9Lx6F544mPl0vS5Ew7BJ45hA08Q+t3GjbueLliBWN3sMICk6+y7HdyxSzC4bWS8baBdg==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-BGcItUBWSMRgOCe+SVZJ+S7yTRG0eGt9cXAHev72yuGcY23hnLA7Bky5L/xLyPINoSN95geovfBkqoTlNZYa7w==}engines: {node: '>=14'}+ resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}+resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==}+resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==}resolution: {integrity: sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==}- resolution: {integrity: sha512-y+CcFFwelSXpLZk/7fMB2mUbGtX9lKycf1MWJ7CaTIERyitVlyQx6C+sxcROU2BAJ24OiZyK+8wj2i8AlBoS3A==}- engines: {node: '>=10'}-resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}engines: {node: '>=10'}@@ -3131,6 +4181,13 @@ packages:resolution: {integrity: sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg==}hasBin: true+ resolution: {integrity: sha512-O+A6LWV5LDHSJD3LjHYoNi4VLsj/Whi7k6zG12xTYaU4cQ8oxQGckXNX8cRHK5yOZ/ppVHe0ZBXGzSV9jXdVbQ==}+ engines: {node: ^10 || ^12 || >=14}+ hasBin: true+ peerDependencies:+ postcss: ^8.1.0+resolution: {integrity: sha512-OnAYlL5b7LEkALw87fUVafQw5rVR9RjwGd4KUwNQ6DrrNmaVaUCgLipfVlzrPQ4tWOR9P0IXGNOx50jYCCdSJg==}@@ -3143,6 +4200,9 @@ packages:resolution: {integrity: sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==}+ resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==}+resolution: {integrity: sha512-+gFfDkR8pj4/TrWCGUGWmJIkBwuxPS5F+a5yWjOHQt2hHvNZd5YLzadjmDUtFmMM4y429bnKLa8bYBMHcYdnQA==}@@ -3176,6 +4236,10 @@ packages:resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==}+ resolution: {integrity: sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog==}+ engines: {node: ^4.5.0 || >= 5.9}+resolution: {integrity: sha512-cU8v/EGSrnH+HnxV2z0J7/blxH8gq7Xh2JFT6Aroax7UohdmiJJlxApMxtKfuI7z68NvvVcmR78k2LbT6efhRg==}engines: {node: '>= 18'}@@ -3183,32 +4247,19 @@ packages:resolution: {integrity: sha512-q6tR3RPqIB1pMiTRMFcZwuG5T8vwp+vUvEG0vuI6B+Rikh5BfPp2fQ82c925FOs+b0lcFQ8CFrL+KbilfZFhOQ==}- resolution: {integrity: sha512-jo4WTqvco7vjWNodxZyKVky9i6A7RqOb2DgS4uKwIAVucrXDv5OPxnoNE2iuEMD4Bm6l2UHRqYeqnsvsi2F23g==}- peerDependencies:- react: ^18.0.0 || ^19.0.0- react-dom: ^18.0.0 || ^19.0.0- zod: ^3.25.0 || ^4.0.0- peerDependenciesMeta:- react:- optional: true- react-dom:- optional: true-- resolution: {integrity: sha512-/1fEyx2SGgJQM5ujozDCh9eJksnVkNU/J7Fk/tG5Y390l8nKbrPvqiFlCjlMM+scR+UABJbQzA6An7HT50LHyQ==}+ resolution: {integrity: sha512-uRFzHbWkhr8eWNy+BJwyMnrZPOvQjwrcLND3nc6jusRteYA9cjeRGElgCPTWTIyWUfzaQ708Lb5Mdq9Gv41Qpw==}peerDependencies:react: ^18.0.0 || ^19.0.0react-dom: ^18.0.0 || ^19.0.0- zod: ^3.25.0 || ^4.0.0peerDependenciesMeta:react:optional: truereact-dom:optional: true- resolution: {integrity: sha512-auqdP9lnNOli9tKpZIiv0nEIwmmyaD/RotM3Mucql+Ef88etoZi/t7Ph5LjlmZt/hiSahhNTt6YVnx6++rziXA==}+ resolution: {integrity: sha512-42dgJ1rOtc0anOoxjXPOWuel/Z/4aeO7EJ2SiXNwvlkySSgjXhNjAjTMWa8DL1nt6EXS3jl3VKC3mPsU/lUgVA==}resolution: {integrity: sha512-EwhOpyXiOEL/lKzHz9AW1msWFNzGc/z+LzeB3/jnFJpxu+th2yqvzsSWas1v9jgs9+xiXJcD5A8CJxAG2TaghQ==}@@ -3223,9 +4274,18 @@ packages:resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==}+ resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==}+resolution: {integrity: sha512-VHiNCbI1lKdl44tGrhNfU3lup0Tj/ZBMJB5/2ZbNXRCPuRCO7ed2mgcK4r17y+KB2EfuYuRaVlwNbAeaWGSpbw==}+ resolution: {integrity: sha512-z4rE2Gxh7tvshQ4hluIT7XcFrgLIQaw9X3A+kTTRdovCz5PMukm/0QC/BKSYPj3omF5Qfypn9O/c5kgpmvYUCw==}++ resolution: {integrity: sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==}+resolution: {integrity: sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==}engines: {node: '>=8'}@@ -3252,12 +4312,20 @@ packages:resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}engines: {node: '>=6'}+ resolution: {integrity: sha512-QOSvevhslijgYwRx6Rv7zKdMF8lbRmx+uQGx2+vDc+KI/eBnsy9kit5aj23AgGu3pa4t9AgwbnXWqS+iOY+2aA==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-VQAUIUzBiZ/UnlM28fSp2CRF3ivUn1BWEvxMcVTNwpw91Py1pGbPIyIKtd+tzct9C3ouceCVdGAXxZOpZAsgdw==}resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}+ resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==}+ engines: {node: '>=10'}+resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==}engines: {node: ^12.17.0 || ^14.13 || >=16.0.0}@@ -3289,9 +4357,28 @@ packages:resolution: {integrity: sha512-+IxzY9BZOQd/XuYPRmrvEVjF/nqj5kgT4kEq7VofrDoM1MxoRjEWkrCC3EtLi59TVawxTAn+orJwFQcrqEN1+g==}engines: {node: '>=18'}+ resolution: {integrity: sha512-rNjApaLzuwaOTjCiT8lSDdGN1APCiqkChLMJxJPWLunPAt5fy8xgU9/jNOchV84wfIxrA0lRQB7oCT8jrn/wrQ==}+ engines: {node: '>=6.0'}++ resolution: {integrity: sha512-tskPPKEs8D2KPafUypv2gxwJP8h/OaJmC82QQGGDQcHvXX43xF2VDACcJVmZ0EuSxkpO9Kc4MlrA3q0+FG58AQ==}+resolution: {integrity: sha512-Ka+9Trutv7G8M6WT6SeiRWz792K5qEqIGEGzXKhAE6xOWAY6pPH8U+9IY3oCMv6kqTmLsv7Xh/2w2RigkePMsg==}+ resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-ywqV+5MmyL4E7ybXgKys4DugZbX0FC6LnwrhjuykIjnK9k8OQacQ7axGKnjDXWNhns0xot3bZI5h55H8yo9cJg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-IV3Ou0jSMzZrd3pZ48nLkT9DA7Ag1pnPzaiQhpW7c3RbcqqzvzzVu+L8gfqMp/8IM2MQtSiqaCxrrcfu8I8rMA==}@@ -3299,6 +4386,10 @@ packages:resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==}engines: {node: '>=12'}+ resolution: {integrity: sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==}+ engines: {node: '>=0.8'}+resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}engines: {node: '>=6'}@@ -3329,12 +4420,30 @@ packages:resolution: {integrity: sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==}+ resolution: {integrity: sha512-/rFeCpNJQbhSZjGVwO9RFV3xPqbnERS8MmIQzCtD/zl6gpJuV/bMLuN92oG3F7d8oDEHHRrujSXNUr8fpjntKw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==}++ resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-zHig5N+tPWARooBnb0Zx1MFcdfpyJrfTJ3Y5L+IFvUm8rM74hHz66z0gw0x4tijh5CorKkKUCnW82R2vmpeCRA==}resolution: {integrity: sha512-VRhuHOLoKYOy4UbilLbUzbYg93XLjv2PncJC50EuTWPA3gaja1UjBsUP/D/9/juV3vQFr6XBEzn9KCAHdUvOHw==}+ resolution: {integrity: sha512-1NB+BKqhtNipMsov4xI/NnhCKp9XG9NamYp5PVm9klAT0fsrNPjaFICsCFhNhwZJKNh7zB/3q8qXz0E9oaMNtQ==}++ resolution: {integrity: sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==}+ engines: {node: ^14.18.0 || >=16.10.0}+resolution: {integrity: sha512-ROjNchA9LgfNMTTFSIWPzebCwOGFdgkEq45EnvvrmSLvCtAw0HSmrCs7/ty+wAeYUZyNay0YMUNYFTRL72PkBQ==}engines: {node: '>=16'}@@ -3354,6 +4463,14 @@ packages:resolution: {integrity: sha512-+W7VmiVINB+ywl1HGXJXmrqkOhpKrIiVZV6tQuV54ZyQC7MMuBt81Vc336GMLoHBq5hV/F9eXgt5Mnx0Rha5Fg==}+ resolution: {integrity: sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-KIHbLJqu73RGr/hnbrO9uBeixNGuvSQjul/jdFvS/KFSIH1hWVd1ng7zOHx+YrEfInLG7q4n6GHQ9cDtxv/P6g==}+ engines: {node: '>= 0.10'}+resolution: {integrity: sha512-tJ1w35ZRUiM5FeTzT7DtYWAFFv37ZLqSRkGi2oeCK1gPhvaWjkAtfXvLmvE1pRfxxp9aQo6ba/Pvg1dKj05D4g==}engines: {node: '>=v18'}@@ -3382,6 +4499,13 @@ packages:resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}engines: {node: '>= 8'}+ resolution: {integrity: sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw==}++ resolution: {integrity: sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg==}engines: {node: '>=4'}@@ -3400,8 +4524,12 @@ packages:resolution: {integrity: sha512-Ukq0owbQXxa/U3EGtsdVBkR1w7KOQ5gIBqdH2hkvknzZPYvBxb/aa6E8L7tmjFtkwZBu3UXBbjIgPo/Ez4xaNg==}- resolution: {integrity: sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==}+ resolution: {integrity: sha512-Xks6RUDLZFdz8LIdR6q0MTH44k7FikOmnh5xkSjMig6ch45afc8sjTjRQf3P6ax8dMgcQrYO/AR2RGWURrruqw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==}engines: {node: '>=6.0'}peerDependencies:supports-color: '*'@@ -3429,6 +4557,13 @@ packages:resolution: {integrity: sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==}engines: {node: '>=4.0.0'}+ resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-eFuaLoy/Rxalv2kr+lqMlUnrDWV+3j4pljOIJgLIhI058IQfWJ7vXhyEIHu+HtC738klGALYxOKDO0bQP3tg8A==}+resolution: {integrity: sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg==}@@ -3446,14 +4581,45 @@ packages:resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}+ resolution: {integrity: sha512-gxtyfqMg7GKyhQmb056K7M3xszy/myH8w+B4RT+QXBQsvAOdc3XymqDDPHx1BgPgsdAA5SIifona89YtRATDzw==}+resolution: {integrity: sha512-sSuxWU5j5SR9QQji/o2qMvqRNYRDOcBTgsJ/DeCf4iSN4gW+gNMXM7wFIP+fdXZxoNiAnHUTGjCr+TSWXdRDKg==}engines: {node: '>=0.3.1'}+ resolution: {integrity: sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA==}++ resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==}++ resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==}++ resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==}+ engines: {node: '>= 4'}++ resolution: {integrity: sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==}+resolution: {integrity: sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==}engines: {node: '>=8'}+ resolution: {integrity: sha512-uc47g4b+4k/M/SeaW1y4OApx+mtLWl92l5LMPP0GNXctZqELk+YGgOPIIC5elYmUH4OuoK3JLhuRUYegeySiFA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-dt7bK/WKQvL0gcdTxjI7wD4MhVR5F4bCk70XMAgnrbWN3fdhpyhWCypYbZalr/vjLURLA7Ib9/VCzazRLJnp1Q==}+ hasBin: true++ resolution: {integrity: sha512-uBq4egWHTcTt33a72vpSG0z3HnPuIl6NqYcTrKEg2azoEyl2hpW0zqlxysq2pK9HlDIHyHyakeYaYnSAwd8bow==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-kQhDYKZecqnM0fCnzI5eIv5L4cAe/iRI+HqMbO/hbRdTAeXDG+M9FjipUxNfbARuEg4iHIbhnhs78BCHNbSxEQ==}engines: {node: '>=12'}@@ -3554,29 +4720,50 @@ packages:sqlite3:optional: true+ resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==}+resolution: {integrity: sha512-UWKi/EbBopgfFsc5k61wFpV7WrnnSlSzW/e2XcBmS6qKYTivZlLtoll5/rdqRTxGglGHkmkW0j0pFNJG10EUIQ==}- resolution: {integrity: sha512-LRlerrMYoIDrT6jgpeZ2YYl/L8EulRTt5hQcYjy5AInh7HWXKimpqx68aknBFpGL2+/IcogTcaydJEgaTmOpDg==}+ resolution: {integrity: sha512-eJp3QRe79pjwa+duv+n7+5YsNhRcMl812EcFVwrnRvYKoNPoQb5qxU8DG6Bgwji0akHdp6D4Ln6tYLG58MFSow==}++ resolution: {integrity: sha512-lb49vf1Xzfx080OKA0o6l8DQQpV+6Vg95zyCJX9VB/BqKYlhG7N4wgROUUHRA+ZPUefLnteQOad7z1kT2bV7bg==}resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==}- resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==}+ resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}resolution: {integrity: sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg==}- resolution: {integrity: sha512-6Jw4sE1maoRJo3q8MsSIn2onJFbLTOjY9hlx4DZXmOKvLRd1Ok2kXmAGXaafL2+ijsJZ1ClYbl/pmqr9+k4iUQ==}+ resolution: {integrity: sha512-T0iLjnyNWahNyv/lcjS2y4oE358tVS/SYQNxYXGAJ9/GLgH4VCvOQ/mhTjqU88mLZCQgiG8RIegFHYCdVC+j5w==}++ resolution: {integrity: sha512-HqD3yTBfnBxIrbnM1DoD6Pcq8NECnh8d4As1Qgh0z5Gg3jRRIqijury0CL3ghu/edArpUYiYqQiDUQBIs4np3Q==}+ engines: {node: '>=10.0.0'}++ resolution: {integrity: sha512-ZCkIjSYNDyGn0R6ewHDtXgns/Zre/NT6Agvq1/WobF7JXgFff4SeDroKiCO3fNJreU9YG429Sc81o4w5ok/W5g==}+ engines: {node: '>=10.2.0'}++ resolution: {integrity: sha512-d4lC8xfavMeBjzGr2vECC3fsGXziXZQyJxD868h2M/mBI3PwAuODxAkLkq5HYuvrPYcUtiLzsTo8U3PgX3Ocww==}engines: {node: '>=10.13.0'}resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==}engines: {node: '>=0.12'}+ resolution: {integrity: sha512-aN97NXWF6AWBTahfVOIrB/NShkzi5H7F9r1s9mD3cDj4Ko5f2qhhVoYMibXF7GlLveb/D2ioWay8lxI97Ven3g==}+ engines: {node: '>=0.12'}+resolution: {integrity: sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==}engines: {node: '>=6'}@@ -3584,6 +4771,9 @@ packages:resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==}+ resolution: {integrity: sha512-jEQoCwk8hyb2AZziIOLhDqpm5+2ww5uIE6lkO/6jcOCusfk6LhMHpXXfBLXTZ7Ydyt0j4VoUQv6uGNYbdW+kBA==}+resolution: {integrity: sha512-4CyanoAudUSBAn5K13H4JhsMH6L9ZP7XbLVe/dKybkxMO7eDyLsT8UHl9TRNrU2Gr9nz+FovfSIjuXWJ81uVwQ==}@@ -3600,8 +4790,13 @@ packages:engines: {node: '>=12'}hasBin: true- resolution: {integrity: sha512-vVC0USHGtMi8+R4Kz8rt6JhEWLxsv9Rnu/lGYbPR8u47B+DCBksq9JarW0zOO7bs37hyOK1l2/oqtbciutL5+Q==}+ resolution: {integrity: sha512-BXq5mqc8ltbaN34cDqWuYKyNhX8D/Z0J1xdtdQ8UcIIIyJyz+ZMKUt58tF3SrZ85jcfN/PZYhjR5uDQAYNVbuw==}+ engines: {node: '>=18'}+ hasBin: true++ resolution: {integrity: sha512-9RiGKvCwaqxO2owP61uQ4BgNborAQskMR6QusfWzQqv7AZOg5oGehdY2pRJMTKuwxd1IDBP4rSbI5lHzU7SMsQ==}engines: {node: '>=18'}hasBin: true@@ -3622,11 +4817,27 @@ packages:resolution: {integrity: sha512-/veY75JbMK4j1yjvuUxuVsiS/hr/4iHs9FTT6cgTexxdE0Ly/glccBAkloH/DofkjRbZU3bnoj38mOmhkZ0lHw==}engines: {node: '>=12'}+ resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==}+ engines: {node: '>=8.0.0'}+resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==}engines: {node: '>=4'}hasBin: true+ resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==}+ engines: {node: '>=4.0'}++ resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==}+ engines: {node: '>=4.0'}++ resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==}+ engines: {node: '>=4.0'}+resolution: {integrity: sha512-cKUwm/HUcTDsYh/9FgnuFqpfquUbwIqwKM26BVCGDPVgvaCl/nDCCjUfiLlx6lsEZ3Z4RFxNbOQ60pkaEwFxGw==}@@ -3642,8 +4853,8 @@ packages:resolution: {integrity: sha512-WDF+xj5rRWmD5tj6bIqRi6CkLIXbbNQUcxQHzGysQzvHmdYG2G7p/Tf0J0gpxGgkeMZNTIjT/AoSvC9Xehcgdg==}- resolution: {integrity: sha512-Db+m1WSD4+mUO7UgMeKkAwdbfNWwIxLt48XF2oFU9emPfXkIu+k5/nlOj313v7wqtAPo0f9REhUvznFrPkG8CQ==}+ resolution: {integrity: sha512-Zlp+gxis+gCfK12d3Srl2PdX2ybsEA8ZYy6vQGVQTNNYLEGRQQ56XB64bjemN8kxIKXP1nC9ip4Z+ILy9LGzvQ==}resolution: {integrity: sha512-m5KgiH85xAhhW8Wta0vShLcUvOsh3LLPI2YVwcbio1l7E09NTLL1EyMZFM1OyWowoH0skScNbhOPl4kcBgzTww==}@@ -3651,10 +4862,17 @@ packages:resolution: {integrity: sha512-7RUKfXgSMMkzt6ZuXmqapOurLGPPfgj6l9uRZ7lRGolvk0y2yocc35LdcxKC5PQZdn2DMqioAQ2NoWcrTKmm6g==}+ resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==}+ engines: {node: '>=0.8.x'}+resolution: {integrity: sha512-XYfuKMvj4O35f/pOXLObndIRvyQ+/+6AhODh+OKWj9S9498pHHn/IMszH+gt0fBCRWMNfk1ZSp5x3AifmnI2vg==}engines: {node: '>=6'}+ resolution: {integrity: sha512-VO5fQUzZtI6C+vx4w/4BWJpg3s/5l+6pRQEHzFRM8WFi4XffSP1Z+4qi7GbjWbvRQEbdIco5mIMq+zX4rPuLrw==}+resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==}engines: {node: '>=0.10.0'}@@ -3665,6 +4883,9 @@ packages:resolution: {integrity: sha512-ZvLdcY8P+N8mGQJahJV5G4U88CSvT1rP8ApL6uETe88MBXrBHAkZlSEySdUlyztF7ccb+Znos3TFqaepHxdhBg==}+ resolution: {integrity: sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w==}+resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==}@@ -3678,17 +4899,13 @@ packages:resolution: {integrity: sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw==}+ resolution: {integrity: sha512-pfX9uG9Ki0yekDHx2SiuRIyFdyAr1kMIMitPvb0YBo8SUfKvia7w7FIyd/l6av85pFYRhZscS75MwMnbvY+hcQ==}+ hasBin: true+resolution: {integrity: sha512-GwLTyxkCXjXbxqIhTsMI2Nui8huMPtnxg7krajPJAjnEG/iiOS7i+zCtWGZR9G0NBKbXKh6X9m9UIsYX/N6vvQ==}- resolution: {integrity: sha512-1NZP+GK4GfuAv3PqKvxQRDMjdSRZjnkq7KfhlNrCNNlZ0ygQFpebfrnfnq/W7fpUnAv9aGWmY1zKx7FYL3gwhg==}- peerDependencies:- picomatch: ^3 || ^4- peerDependenciesMeta:- picomatch:- optional: true-resolution: {integrity: sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==}engines: {node: '>=12.0.0'}@@ -3712,8 +4929,15 @@ packages:resolution: {integrity: sha512-YyZM99iHrqLKjmt4LJDj58KI+fYyufRLBSYcqycxf//KpBk9FoewoGX0450m9nB44qrZnovzC2oeP5hUibxc/g==}engines: {node: '>=18'}- resolution: {integrity: sha512-VzNi+exyI3bn7Pzvz1Fjap1VO9gQu8mxrsSsNamMidsZ8AA8W2kQsR+YQOciEUbMtkKAWIbPHPttfn5e9jqqJQ==}+ resolution: {integrity: sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==}+ engines: {node: '>=14'}++ resolution: {integrity: sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew==}++ resolution: {integrity: sha512-6e78rdVtnBvlEVgu6eFEAgG9v3wLnYEboM8I5O5EXvfKC8gxGQB8wXJdhkMy10iVcn05jl6CNw7/HTsTCfwcWg==}peerDependencies:'@emotion/is-prop-valid': '*'react: ^18.0.0 || ^19.0.0@@ -3734,48 +4958,92 @@ packages:engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}os: [darwin]- resolution: {integrity: sha512-+ySqGximB5/6Tu2/g+r0muAN9DJUfScBhTqxdlpFyie2K5sprYbak0aMWXHzHoGDOVu/IbYpSGwe6r7XkdYAsA==}+ resolution: {integrity: sha512-KrUtFzca+Y9g/Bu4j5SOsIIwAF7wgsx7qcSmECEEjc2jru5QMuOAmOjVE0jlzAfuT795u2S37bFZ7MqxLGN32A==}peerDependencies:+ '@mixedbread/sdk': ^0.19.0'@oramacloud/client': 1.x.x || 2.x.x- algoliasearch: 4.24.0+ '@tanstack/react-router': 1.x.x+ '@types/react': '*'+ algoliasearch: 5.x.x+ lucide-react: '*'next: 14.x.x || 15.x.xreact: 18.x.x || 19.x.xreact-dom: 18.x.x || 19.x.x+ react-router: 7.x.x+ waku: ^0.26.0peerDependenciesMeta:+ '@mixedbread/sdk':+ optional: true'@oramacloud/client':optional: true+ '@tanstack/react-router':+ optional: true+ '@types/react':+ optional: truealgoliasearch:optional: true+ lucide-react:+ optional: truenext:optional: truereact:optional: truereact-dom:optional: true+ react-router:+ optional: true+ waku:+ optional: true- resolution: {integrity: sha512-g0mArgliPBcZgi4691lwTCIw52y2BbxwIila7a6fQ6AEcu236uiBsDHWT4dm+xyjR3S84MlYkty9z2BWVTTNhg==}+ resolution: {integrity: sha512-OYqbHSmzkejG+iUMlZJJOitaVbCgBdo/REc/9Sq1WaZ1vq6bH9PCFU0cKJlRdHbQSGRfVg5EJJy5uKy5+iNFGQ==}hasBin: truepeerDependencies:- '@fumadocs/mdx-remote': ^1.2.0+ '@fumadocs/mdx-remote': ^1.4.0fumadocs-core: ^14.0.0 || ^15.0.0next: ^15.3.0+ react: '*'+ vite: 6.x.x || 7.x.xpeerDependenciesMeta:'@fumadocs/mdx-remote':optional: true+ next:+ optional: true+ react:+ optional: true+ vite:+ optional: true- resolution: {integrity: sha512-N70PXNbzWMKAEvImiTXLJIXLUiS2QGdiVwKBp7RLEZgn/WA3lrLVb7ug0S72p2RtmiADTb1yEbmJrIGwRWlrQQ==}+ resolution: {integrity: sha512-ghwmXw0YeoP4Prd3xdRxsRzoYMvHMVYO2Lsvi80xK5eZNrNdaBIxojVhUnaFQBiuegUBBxk58YuvyKmP/4GOPw==}peerDependencies:- next: 14.x.x || 15.x.x+ '@types/react': '*'+ fumadocs-ui: ^15.0.0+ react: 18.x.x || 19.x.x+ peerDependenciesMeta:+ '@types/react':+ optional: true++ resolution: {integrity: sha512-l71pOaHH4mDzd7rPfbh30MemwV5tvyysQbtxRci/wHKfxTw+TW1VFQIr4XEzIJQo7Uk7paeuzav70NDeRy+GxQ==}+ peerDependencies:+ '@types/react': '*'+ next: 14.x.x || 15.x.xreact: 18.x.x || 19.x.xreact-dom: 18.x.x || 19.x.xtailwindcss: ^3.4.14 || ^4.0.0peerDependenciesMeta:+ '@types/react':+ optional: true+ next:+ optional: truetailwindcss:optional: true+ resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==}+resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==}engines: {node: '>=6.9.0'}@@ -3784,6 +5052,10 @@ packages:resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==}engines: {node: 6.* || 8.* || >= 10.*}+ resolution: {integrity: sha512-R1QfovbPsKmosqTnPoRFiJ7CF9MLRgb53ChvMZm+r4p76/+8yKDy17qLL2PKInORy2RkZZekuK0efYgmzTkXyQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}engines: {node: '>=6'}@@ -3806,10 +5078,30 @@ packages:resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==}engines: {node: '>= 6'}+ resolution: {integrity: sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==}+ engines: {node: '>=10.13.0'}++ resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==}++ resolution: {integrity: sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==}+ hasBin: true++ resolution: {integrity: sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==}+ engines: {node: 20 || >=22}+ hasBin: true+resolution: {integrity: sha512-wHTUcDUoZ1H5/0iVqEudYW4/kAlN5cZ3j/bXn0Dpbizl9iaUVeWSHqiOjsgk6OW2bkLclbBjzewBz6weQ1zA2Q==}engines: {node: '>=18'}+ resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==}+ engines: {node: '>=4'}+resolution: {integrity: sha512-bqWEnJ1Nt3neqx2q5SFfGS8r/ahumIakg3HcwtNlrVlwXIeNumWn/c7Pn/wKzGhf6SaW6H6uWXLqC30STCMchQ==}engines: {node: '>=18'}@@ -3826,6 +5118,47 @@ packages:resolution: {integrity: sha512-5v6yZd4JK3eMI3FqqCouswVqwugaA9r4dNZB1wwcmrD02QkV5H0y7XBQW8QwQqEaZY1pM9aqORSORhJRdNK44Q==}engines: {node: '>=6.0'}+ resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-naH8sld4Pe2ep03qqULEtvYr7EjrLK2QHY8KJR6RJkTUjPGObe1vnx585uzem2hGra+s1q08DZZpfgDVYRbaXA==}++ resolution: {integrity: sha512-yY1UDz6bC9rDvCWHpx12aIBGRG7krurX0p0Fm6pT547LwDIZZiNr8a+IHDogorAdreULSEzP82Nlv5SZkHZcjA==}++ resolution: {integrity: sha512-N+LqofjR2zuzTjCPzyDUdSshy4Ma6li7p/c3pA78uTwzFgENbgbUrm2ugwsOdcjI1muO+o6Dgzp9p8WHtn/39Q==}++ resolution: {integrity: sha512-CUSRHXyKjzHov8yKsQjGOElXy/3EKpyX56ELnkHH34vDVw1N1XSQ1ZcAvTyAPtGqLTuKP/uxM+aLkSPqF/EtMw==}++ resolution: {integrity: sha512-3kxEVkEKt0zvcZ3hCRYI8rqrgwtlIOFMWkbclACvjlDw8Li9S2hk/d51OI0nr/gIpdMHNepwgOKqZ/sy0Clpyg==}++ resolution: {integrity: sha512-MNilsvEKLFpV604hwfhVStK0usFY/QmM5zX16bo7EjnAEGofr5YyI37kzopBlZJkHD4t887i+q/C8/tr5Q94cA==}++ resolution: {integrity: sha512-0qpnzOBLztXHbHQenVB8uNuxTnm/QBFUOmdOSsEn7GnBtyY07+ENTWVFBAnXd/zEgd9/SUG3lRY7hSIBWRgGpQ==}++ resolution: {integrity: sha512-Val9mnv2IWpLbNPqc/pUem+a7Ipj2aHacCwgNfTiK0vJKl0LF+4Ba4+v1oPHFpf3bLYmreq0/l3Gud9S5OH42g==}++ resolution: {integrity: sha512-L96fPOVpnclQE0xzdWb/D12VT5FabA7SnZOUMtL1DbXmYiHJMXZvFkIZfiMmTCNJHUeO2K9UYNXoVyfz+QHuOw==}++ resolution: {integrity: sha512-wkQCkSYoOGCRKERFWcxMVMOcYE2K1AaNLU8DXS9arxnLOUEWbOXKXiJUNzEpqZ3JOKpnha3jkFrumEjVliDe7A==}++ resolution: {integrity: sha512-6h60VfI3uBQUxHqTyMymMZnEbNl1XmEGtOxxKYL7stY2o601COo62AWAYBQR9lZbYXYSBoxag8UpPRXK+9fqSQ==}+resolution: {integrity: sha512-48+B/rJWAp0jamNbAAf9M7Uf//UVqAoMmgXhBdxTDJLGKY+LRnZ99qcG+Qjl5HfMpYNzS5v4EAwVEF34LeAj7w==}@@ -3835,19 +5168,42 @@ packages:resolution: {integrity: sha512-zl6s8LwNyo1P9uw+XJGvZtdFF1GdAkOg8ujOw+4Pyb76874fLps4ueHXDhXWdk6YHQ6OgUtinliG7RsYvCbbBg==}+ resolution: {integrity: sha512-FiCRI7NmOvM4y+f5w32jPRzcxDIz+PUqDwEqn1A+1q2cdp3B8Gx7aVrXORdOKjMNDQsD1ogOr896+0jJHW1EFQ==}+resolution: {integrity: sha512-XelQVTDWvqcl3axRfI0xSeoVKzyIFPwsAGSLIsKdJKQMXDYJS4WYrBNF/8J7RdhIcFI2BOHgAifggsvsxp/3+A==}+ resolution: {integrity: sha512-KK6y/BN8lbaq654j7JgBydev7wuNMcID54lkRav1P0CaE1e47P72AWWPiGKXTJU271ooYzcvTAn/Zt0REnvc7A==}+resolution: {integrity: sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==}+ resolution: {integrity: sha512-g7df9rMFX/SPi34tyGCyUBREQoKkapwdY/T04Qn9TDWfHhAYt4/I0gMVirzK5wEzeUqIjEB+LXC/ypb7Aqno5w==}++ resolution: {integrity: sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==}+ hasBin: true+resolution: {integrity: sha512-aLAVl5/67ifNnoFVxnhR89dpmSLsgwBprw/PT671ASwUpJqmd7Ne8KPTQo37DbRZfgpHaHeZ4bPVUvbOkeedMw==}engines: {node: '>=16.9.0'}+ resolution: {integrity: sha512-qY60FjREgVZL03vJU6IfMV4GDjGBIoOyvuFdpBDIX9yTlDw0TjxVBQp+P8NvpdIXNJvfWBTNul7fsAQJq2FNpg==}+ engines: {node: '>=14'}+resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}+ resolution: {integrity: sha512-q+310vW8zmymYHALr1da4HyXUQ0zgiIwIicEfotYPWGN0OJVEN/58IJ3A4GBYcEq3LGAZqKb+ugvP0GNB9CEAA==}++ resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==}+resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}engines: {node: '>=18'}@@ -3900,6 +5256,10 @@ packages:resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}engines: {node: '>=8'}+ resolution: {integrity: sha512-UfoeMA6fIJ8wTYFEUjelnaGI67v6+N7qXJEvQuIGa99l4xsCruSYOVSQ0uPANn4dAzm8lkYPaKLrrijLq7x23w==}+ engines: {node: '>= 0.4'}+resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}@@ -3922,6 +5282,14 @@ packages:resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}+ resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==}engines: {node: '>=0.12.0'}@@ -3938,6 +5306,18 @@ packages:resolution: {integrity: sha512-+oDTluR6WEjdXEJMnC2z6A4FRwFoYuvShVVEGsS7ewc0UTi2QtAKMDJuL4BDEVt+5T7MjFo12RP8ghOM75oKJw==}engines: {node: '>=8'}+ resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-43r2mRvz+8JRIKnWJ+3j8JtjRKZ6GmjzfaE/qiBJnikNnYv/6bagRJ1kUhNk8R5EX/GkobD+r+sfxCPJsiKBLQ==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-mE00Gnza5EEB3Ds0HfMyllZzbBrmLOX3vfWoj9A9PEnTfratQ/BcaJOuMhnkhjXvb2+FkY3VuHqtAGpTPmglFQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-qrOp4g3xj8YNse4biorv6O5ZShwsJM0trsoda4y7j/Su7ZtTTfVXFzbKkpgcSoDrHS8FcTuUwcU04YimZlZOxw==}engines: {node: '>=18'}@@ -3945,10 +5325,32 @@ packages:resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==}+ resolution: {integrity: sha512-PIeMbHqMt4DnUP3MA/Flc0HElYjMXArsw1qwJZcm9sqR8mq3l8NYizFMty0pWwE/tzIGH3EKK5+jes5mAr85yw==}++ resolution: {integrity: sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==}++ resolution: {integrity: sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==}+ engines: {node: 20 || >=22}++ resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==}+ engines: {node: '>= 10.13.0'}++ resolution: {integrity: sha512-/imKNG4EbWNrVjoNC/1H5/9GFy+tqjGBHCaSsN+P2RnPqjsLmv6UD3Ej+Kj8nBWaRAwyk7kK5ZUc+OEatnTR3A==}+ hasBin: true+resolution: {integrity: sha512-rg9zJN+G4n2nfJl5MW3BMygZX56zKPNVEYYqq7adpmMh4Jn2QNEwhvQlFy6jPVdcod7txZtKHWnyZiA3a0zP7A==}hasBin: true+ resolution: {integrity: sha512-twQoecYPiVA5K/h6SxtORw/Bs3ar+mLUtoPSc7iMXzQzK8d7eJ/R09wmTwAjiamETn1cXYPGfNnu7DMoHgu12w==}+ hasBin: true+resolution: {integrity: sha512-s+3Al/p9g32Iq+oqXxkW//7jk2Vig6FF1CFqzVXoTUXt2qz89YWbL+OwS17NFYEvxC35n0FKeGO2LGYSxeM2Gg==}@@ -3987,10 +5389,22 @@ packages:resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-rlB0I/c6FBDWPcQoDtkxi9zIvpmnV5xoIalfCMSMCa7nuA6VGA3F54TW9mEgX4DVf10sXAWCF5fDbamI/5ZpKA==}engines: {node: '>=20.0.0'}+ resolution: {integrity: sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==}++ resolution: {integrity: sha512-gcxmNFzA4hv8UYi8j43uPlQ7CGcyMJ2KQb5kZASw6SnAKAf10hK12i2fjrS3Cl/ugZa5Ui6WwIu1/6MIXiHttQ==}+ engines: {node: '>=16'}+ hasBin: true+resolution: {integrity: sha512-c8JK7hyE65X1MHMN+Viq9n11RRC7hgin3HhYKhrMyaXflk5GVplZ60IxyoVtzILeKr+xAJwg6zK6sjTBJ0FKYQ==}engines: {node: '>= 12.0.0'}@@ -4055,18 +5469,27 @@ packages:resolution: {integrity: sha512-xi6IyHML+c9+Q3W0S4fCQJOym42pyurFiJUHEcEyHS0CeKzia4yZDEsLlqOFykxOdHpNy0NmvVO31vcSqAxJCg==}engines: {node: '>= 12.0.0'}+ resolution: {integrity: sha512-utWOt/GHzuUxnLKxB6dk81RoOeoNeHgbrXiuGk4yyF5qlRz+iIVWu56E2fqGHFrXz0QNUhLB/8nKqvRH66JKGQ==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==}+ engines: {node: '>=14'}+resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==}resolution: {integrity: sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==}- resolution: {integrity: sha512-DRSlB9DKVW04c4SUdGvKK5FR6be45lTU9M76JnngqPeeGDqPwYc0zdUErtsNVMtxPXgUWV4HbXbnC4sNyBxkYg==}-resolution: {integrity: sha512-NT1CJtq3hHIreOianA8aSXn6Cw0JzYOuDQbOrSPe7gqFnCpKP++MQe3ODgO3oh2GJFORkAAdqredOa60z63GbA==}+ resolution: {integrity: sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==}+ engines: {node: '>=6.11.5'}+resolution: {integrity: sha512-gvVijfZvn7R+2qyPX8mAuKcFGDf6Nc61GdvGafQsHL0sBIxfKzA+usWn4GFC/bk+QdwPUD4kWFJLhElipq+0VA==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}@@ -4098,13 +5521,32 @@ packages:resolution: {integrity: sha512-sReKOYJIJf74dhJONhU4e0/shzi1trVbSWDOhKYE5XV2O+H7Sb2Dihwuc7xWxVl+DgFPyTqIN3zMfT9cq5iWDg==}+ resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-i24m8rpwhmPIS4zscNzK6MSEhk0DUWa/8iYQWxhffV8jkI4Phvs3F+quL5xvS0gdQR0FyTCMMH33Y78dDTzzIw==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-9Ri+o0JYgehTaVBBDoMqIl8GXtbWg711O3srftcHhZ0dqnETqLaoIK0x17fUw9rFSlK/0NlsKe0Ahhyl5pXE2g==}+ resolution: {integrity: sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==}+resolution: {integrity: sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==}engines: {node: 20 || >=22}+ resolution: {integrity: sha512-F9ODfyqML2coTIsQpSkRHnLSZMtkU8Q+mSfcaIyKwy58u+8k5nvAYeiNhsyMARvzNcXJ9QfWVrcPsC9e9rAxtg==}+ engines: {node: 20 || >=22}+resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==}@@ -4113,21 +5555,23 @@ packages:peerDependencies:react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0- resolution: {integrity: sha512-CJZKq2g8Y8yN4Aq002GahSXbG2JpFv9kXwyiOAMvUBv7pxeOFHUWKB0mO7MiY4ZVFCV4aNjv2BJFq/z3DgKPQg==}+ resolution: {integrity: sha512-Tm1txJ2OkymCGkvwoHt33Y2JpN5xucVq1slHcgE6Lk0WjDfjgKWor5CdVER8U6DvcfMwh4M8XxmpTiyzfmfDYQ==}+ peerDependencies:+ react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0++ resolution: {integrity: sha512-7r1/yUuflQDSt4f1bpn5ZAocyIxcTyVyBBChSVtBKn5M+392cPmI5YJMWOJKk/HUWGm5wg83chlAZtCcGbEZtw==}peerDependencies:react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0- resolution: {integrity: sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==}+ resolution: {integrity: sha512-yi8swmWbO17qHhwIBNeeZxTceJMeBvWJaId6dyvTSOwTipqeHhMhOrz6513r1sOKnpvQ7zkhlG8tPrpilwTxHQ==}resolution: {integrity: sha512-o5vL7aDWatOTX8LzaS1WMoaoxIiLRQJuIKKe2wAw6IeULDHaqbiqiggmx+pKvZDb1Sj+pE46Sn1T7lCqfFtg1Q==}engines: {node: '>=16'}- resolution: {integrity: sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA==}-resolution: {integrity: sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==}hasBin: true@@ -4135,6 +5579,16 @@ packages:resolution: {integrity: sha512-wiYz4+JrLyb/DqW2hkFJxP7Vd7JuTDm77fvbM8VfEQdmSMqcImWeeRbHwZjBjIFki/VaMK2BhFi7oUUZeM5bqw==}+ resolution: {integrity: sha512-t8eP0dXRJMtMvBojtkcsA7n48BkauktUKzfkPSCq85ZMTJ0v76Rke4DYz01omYpPTUh4p/f7HePgRo3ebG8+QQ==}+ engines: {node: '>= 16'}+ hasBin: true++ resolution: {integrity: sha512-OvAXqwq57uOk+WZqFFNCMZz8yDp8BD3WazW1wAKHUrPbbdr89K9DWS6JXY09vd9xNdPNeurI8DU/X4flcfaD8A==}+ peerDependencies:+ react: ^18.0 || ^19.0+resolution: {integrity: sha512-Tmd1Vg/m3Xz43afeNxDIhWRtFZgM2VLyaf4vSTYwudTyeuTneoL3qtWMA5jeLyz/O1vDJmmV4QuScFCA2tBPwg==}@@ -4190,6 +5644,9 @@ packages:resolution: {integrity: sha512-BhXM0Au22RwUneMPwSCnyhTOizdWoIEPU9sp0Aqa1PnDMR5Wv2FGXYDjuzJEIX+Eo2Rb8xuYe5jrnm5QowQFkw==}engines: {node: '>=16.10'}+ resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==}+resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}engines: {node: '>= 8'}@@ -4303,10 +5760,42 @@ packages:resolution: {integrity: sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==}engines: {node: '>=8.6'}+ resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-aU5EJuIN2WDemCcAp2vFBfp/m4EAhWJnUNSSw0ixs7/kXbd6Pg64EmwJkNdFhB8aWt1sH2CTXrLxo/iAGV3oPQ==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-xRc4oEhT6eaBpU1XF7AjpOFD+xQmXNB5OVKwp4tqCuBpHLS/ZbBDrc07mYTDqVMg6PfxUjjNp85O6Cd2Z/5HWA==}+ engines: {node: '>= 0.6'}++ resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-VP79XUPxV2CigYP3jWwAUFSku2aKqBH7uTAapFWCBqutsbmDo96KY5o8uh6U+/YSIn5OxJnXp73beVkpqMIGhA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-z0yWI+4FDrrweS8Zmt4Ej5HdJmky15+L2e6Wgn3+iK5fWzb6T3fhNFq2+MeTRb064c6Wr4N/wv0DzQTjNzHNGQ==}engines: {node: '>=10'}+ resolution: {integrity: sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==}+ engines: {node: 20 || >=22}++ resolution: {integrity: sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==}+ engines: {node: '>=16 || 14 >=14.17'}+resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==}@@ -4326,8 +5815,8 @@ packages:engines: {node: '>=10'}hasBin: true- resolution: {integrity: sha512-6Sv++iWS8XMFCgU1qwKj9l4xuC47Hp4+2jvPfyTXkqDg2tTzSgX6nWKD4kNFXk0k7llO59LZTPuJigza4A2K1A==}+ resolution: {integrity: sha512-RcR4fvMCTESQBD/uKQe49D5RUeDOokkGRmz4ceaJKDBgHYtZtntC/s2vLvY38gqGaytinij/yi3hMcWVcEF5Kw==}resolution: {integrity: sha512-eAWoPgr4eFEOFfg2WjIsMoqJTW6Z8MTUCgn/GZ3VRpClWBdnbjryiA3ZSNLyxCTmCQx4RmYX6jX1iWHbenUPNQ==}@@ -4349,6 +5838,9 @@ packages:resolution: {integrity: sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==}+ resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==}+resolution: {integrity: sha512-N8SpfPUnUp1bK+PMYW8qSWdl9U+wwNWI4QKxOYDy9JAro3WMX7p2OeVRF9v+347pnakNevPmiHhNmZ2HbFA76w==}engines: {node: ^10 || ^12 || ^13.7 || ^14 || >=15.0.1}@@ -4361,10 +5853,17 @@ packages:resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==}+ resolution: {integrity: sha512-+EUsqGPLsM+j/zdChZjsnX51g4XrHFOIXwfnCVPGlQk/k5giakcKsuxCObBRu6DSm9opw/O6slWbJdghQM4bBg==}+ engines: {node: '>= 0.6'}+resolution: {integrity: sha512-8Ofs/AUQh8MaEcrlq5xOX0CQ9ypTF5dl78mjlMNfOK08fzpgTHQRQPBxcPlEtIw0yRpws+Zo/3r+5WRby7u3Gg==}engines: {node: '>= 0.6'}+ resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==}+resolution: {integrity: sha512-pZvgD5L0IEvX5/9GWyHMf3m8BKiVQwsCMHfoFosXtXBMnaS0ZnIJ9ST4b4NqLVKDEm8QBxoNNGNaBv2JNF6XNA==}peerDependencies:@@ -4392,6 +5891,27 @@ packages:sass:optional: true+ resolution: {integrity: sha512-eNKB1q8C7o9zXF8+jgJs2CzSLIU3T6bQtX6DcTnCq1sIR1CJ0GlSyRs1BubQi3/JgCnr9Vr+rS5mOMI38FFyQw==}+ engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}+ hasBin: true+ peerDependencies:+ '@opentelemetry/api': ^1.1.0+ '@playwright/test': ^1.51.1+ babel-plugin-react-compiler: '*'+ react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0+ react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0+ sass: ^1.3.0+ peerDependenciesMeta:+ '@opentelemetry/api':+ optional: true+ '@playwright/test':+ optional: true+ babel-plugin-react-compiler:+ optional: true+ sass:+ optional: true+resolution: {integrity: sha512-OhYaY5sDsIka7H7AtijtI9jwGYLyl29eQn/W623DiN/MIv5sUqc4g7BIDThX+gb7di9f6xK02nkp8sdfFWZLTg==}engines: {node: '>=10'}@@ -4404,13 +5924,44 @@ packages:resolution: {integrity: sha512-LA4ZjwlnUblHVgq0oBF3Jl/6h/Nvs5fzBLwdEF4nuxnFdsfajde4WfxtJr3CaiH+F6ewcIB/q4jQ4UzPyid+CQ==}hasBin: true+ resolution: {integrity: sha512-KGtmPY2kS0thCWGK0VuPyOS+pBKhhe8gXztzA2ilAOhbUbxa9homF1bOyKvhGzMLXUoRds9IOmr/v5lr/lqNmA==}+resolution: {integrity: sha512-xxOWJsBKtzAq7DY0J+DTzuz58K8e7sJbdgwkbMWQe8UYB6ekmsQ45q0M/tJDsGaZmbC+l7n57UV8Hl5tHxO9uw==}+ resolution: {integrity: sha512-F44uVzgwo49xboqbFgBGkRaiMgtoBrBEWCVincJPK9+S9Adkzt/wXCLKbf7dxucmxfTI5gHGB+bEmdyzN6QKjw==}+ engines: {node: '>=6.0.0'}+resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-bdok/XvKII3nUpklnV6P2hxtMNrCboOjAcyBuQnWEhO665FwrSNRxU+AqpsyvO6LgGYPspN+lu5CLtw4jPRKNA==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-tt6PvKu4WyzPwWUzy/hvPFqn+uwXO0K1ZHka8az3NnrhWJDmSqI8ncWq0fkL0k/lmmi5tAC11FXwXuh0rFbt1A==}+ engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}++ resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==}++ resolution: {integrity: sha512-mn8wBFV9G9+UFHIrq+pZ2r2zL4aPau/by3kJb3cM7+5tQHMt6HGQB8FDIeKFYp8o0D2pnH6nVsO88N4AmUxIWg==}+ engines: {node: ^14.16.0 || >=16.10.0}+ hasBin: true++ resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-+bwYsAIRmYv30NTmBysPIlgH23ekVDriB07oRxlPIAH5PI0yTMSxg5i5Xy0OetcnZw+nk/caD4szD7a9YZ3QyQ==}engines: {node: '>= 20'}@@ -4418,11 +5969,27 @@ packages:resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==}- resolution: {integrity: sha512-F7Ld4oDZJCI5/wCZ8AOffQbqjSzIRpKH7I/iuSs1SkhZeCj0wS6PMZ4W6VA16TWHrAo0Y9bBKEJOe7tvwcTXnw==}+ resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-8Unqkvk1RYc6yq2WBYRj4hdnsAxVze8i7iPfQr8e4uSP3tRv0rpZcbGUDvxfQQcdwHt/e9PrMvGCsa8OqG9X3w==}++ resolution: {integrity: sha512-rPiZhzC3wXwE59YQMRDodUwwT9FZ9nNBwQQfsd1wfdtlKEyCdRV0avrTcSZ5xlIvGRVPd/cx6ZN45ECmS39xvg==}++ resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==}+ engines: {node: '>=10'}- resolution: {integrity: sha512-MDPs6KSOLS0tKQ7joqg44dRIRZUyotfTy0r+7oEEs6VwWWP0+E2PPDYWMFN0aqOjRyWHBYq7RfKw9GQk2S2z5g==}+ resolution: {integrity: sha512-weP+BZ8MVNnlCm8c0Qdc1WSWq4Qn7I+9CJGm7Qali6g44e/PUzbjNqJX5NJ9ljlNMosfJvg1fKEGILklK9cwnw==}+ engines: {node: '>=18'}resolution: {integrity: sha512-TvAWxi0nDe1j/rtMcWcIj94+Ffe6n7zhow33h40SKxmsmozs6dz/e+EajymfoFcHd7sxNn8yHM8839uixMOV6g==}@@ -4435,6 +6002,9 @@ packages:resolution: {integrity: sha512-wPrq66Llhl7/4AGC6I+cqxT07LhXvWL08LNXz1fENOw0Ap4sRZZ/gZpTTJ5jpurzzzfS2W/Ge9BY3LgLjCShcw==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}+ resolution: {integrity: sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==}+resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==}engines: {node: '>=6'}@@ -4446,6 +6016,12 @@ packages:resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==}engines: {node: '>=8'}+ resolution: {integrity: sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw==}++ resolution: {integrity: sha512-e6qHKe3a9HWr0oMRVDTRhKce+bRO8VGQR3NyVwcjwrbhMmFCX9KszEV35+rn4AdilFAq9VPxP/Fe1wC9Qjd2lw==}+resolution: {integrity: sha512-RjhtfwJOxzcFmNOi6ltcbcu4Iu+FL3zEj83dk4kAS+fVpTxXLO1b38RvJgT/0QwvV/L3aY9TAnyv0EOqW4GoMQ==}engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}@@ -4454,6 +6030,26 @@ packages:resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==}engines: {node: '>=8'}+ resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}++ resolution: {integrity: sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==}+ engines: {node: '>=16 || 14 >=14.18'}++ resolution: {integrity: sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==}+ engines: {node: 20 || >=22}++ resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==}++ resolution: {integrity: sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==}++ resolution: {integrity: sha512-XIxfHpEuSJbITd1H3EeQwpcZbTLHc+VVr8ANI9t5sit565tsI4/xK3KWTUFE2e6QiangUkh3B0jihzmGnNrRsQ==}+resolution: {integrity: sha512-YgCtzMH0ptvZJslLM1ffsY4EuGaU0cx4XSdXLRFae8bPP4dS5xL1tNB3k2o/N64cHJpwU7dxKli/nZ2lUa5fLg==}@@ -4469,9 +6065,6 @@ packages:peerDependencies:pg: '>=8.0'- resolution: {integrity: sha512-IpdytjudNuLv8nhlHs/UrVBhU0e78J0oIS/0AVdTbWxSOkFUVdsHC/NrorO6nXsQNDTT1kzDSOMJubBQviX18Q==}-resolution: {integrity: sha512-6DIBgBQaTKDJyxnXaLiLR8wBpQQcGWuAESkRBX/t6OwA8YsqP+iVSiond2EDy6Y/dsGk8rh/jtax3js5NeV7JQ==}@@ -4498,18 +6091,62 @@ packages:resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}engines: {node: '>=8.6'}- resolution: {integrity: sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==}- engines: {node: '>=12'}-resolution: {integrity: sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==}engines: {node: '>=12'}+ resolution: {integrity: sha512-udgsAY+fTnvv7kI7aaxbqwWNb0AHiB0qBO89PZKPkoTmGOgdbrHDKD+0B2X4uTfJ/FT1R09r9gTsjUjNJotuog==}+ engines: {node: '>=0.10.0'}++ resolution: {integrity: sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==}+ engines: {node: '>= 6'}++ resolution: {integrity: sha512-SIqCzDRg0s9npO5XQ3tNZioRY1uK06lA41ynBC1YmFTmnY6FjUjVt6s4LoADmwoig1qqD0oK8h1p/8mlMx8Oig==}++ resolution: {integrity: sha512-hpr+J05B2FVYUAXHeK1YyI267J/dDDhMU6B6civm8hSY1jYJnBXxzKDKDswzJmtLHryrjhnDjqqp/49t8FALew==}+ engines: {node: '>=14.0.0'}+ peerDependencies:+ postcss: ^8.0.0++ resolution: {integrity: sha512-dDLF8pEO191hJMtlHFPRa8xsizHaM82MLfNkUHdUtVEV3tgTp5oj+8qbEqYM57SLfc74KSbw//4SeJma2LRVIw==}+ engines: {node: ^12 || ^14 || >= 16}+ peerDependencies:+ postcss: ^8.4.21++ resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==}+ engines: {node: '>= 14'}+ peerDependencies:+ postcss: '>=8.0.9'+ ts-node: '>=9.0.0'+ peerDependenciesMeta:+ postcss:+ optional: true+ ts-node:+ optional: true++ resolution: {integrity: sha512-HQbt28KulC5AJzG+cZtj9kvKB93CFCdLvog1WFLf1D+xmMvPGlBstkpTEZfK5+AN9hfJocyBFCNiqyS48bpgzQ==}+ engines: {node: '>=12.0'}+ peerDependencies:+ postcss: ^8.2.14++ resolution: {integrity: sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg==}+ engines: {node: '>=4'}+resolution: {integrity: sha512-8sLjZwK0R+JlxlYcTuVnyT2v+htpdrjDOKuMcOVdYjt52Lh8hWRYpxBPoKx/Zg+bcjc3wx6fmQevMmUztS/ccA==}engines: {node: '>=4'}+ resolution: {integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==}+resolution: {integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==}engines: {node: ^10 || ^12 || >=14}@@ -4544,6 +6181,23 @@ packages:engines: {node: '>=14'}hasBin: true+ resolution: {integrity: sha512-mQUvGU6aUFQ+rNvTIAcZuWGRT9a6f6Yrg9bHs4ImKF+HZCEK+plBvnAZYSIQztknZF2qnzNtr6F8s0+IuptdlQ==}+ engines: {node: ^14.13.1 || >=16.0.0}++ resolution: {integrity: sha512-ey8Ls/+Di31eqzUxC46h8MksNuGx/n0AAC8uKpwFau4RPDYLuE3EXTp8N8G2vX2N7UC/+IXeNUnlWBGGcAG+Ig==}+ peerDependencies:+ react: '>=16.0.0'++ resolution: {integrity: sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}+ engines: {node: '>= 6'}+resolution: {integrity: sha512-7D/qOz/+Y4X/rzSB6jKxKUsQnphO046ei8qxG59mtM3RG3DHgTK81HrxrmoDVINJb8NKT5ZsRbwHvQ6B68Iyhg==}@@ -4556,12 +6210,47 @@ packages:resolution: {integrity: sha512-6toodS4R/Aah5pdsrIwnTYPEjW70SlO5a66oo5Kk+CIrgJz3ukOoS+FYDGqvQlAX5PxoGWDX1oD++tn5X3pyRA==}- resolution: {integrity: sha512-M30WJdJZLyXHi3N8vxN6Zh5O8ZBbQCz0gURTfPmTIBNQ5pxrdU7A58QkNqfa98YEjSAL1HUyyU34f6Pm5xBSGw==}+ resolution: {integrity: sha512-CCk6Gyx9+Tt2sbYk5NK0nB1ukHi2ryaRgadV/LvyNuO3ena1payM2z6Cg0vO1ebK8cxbzo41ku2DE5Axj1Zuiw==}resolution: {integrity: sha512-wtjswVBd2vaQRrnYZaBCbyDqr232Ed4p2QPtRIUK5FuqHYKGWkEwl08oQM4Tw7DOR0FsasARV5uJFvMZWxdNxQ==}+ resolution: {integrity: sha512-GIC2VCTUnukNdsEGLQWWOVpYPl/7/KrVp4xs7XMB48/4rhUrHK8hp8TEog4Irmv+2kmjx24RLnaisGOCP6U8jw==}+ peerDependencies:+ '@shikijs/types': ^1.29.2 || ^2.0.0 || ^3.0.0+ '@types/hast': ^3.0.0+ highlight.js: ^11.9.0+ lowlight: ^3.1.0+ prosemirror-model: ^1.19.3+ prosemirror-state: ^1.4.3+ prosemirror-transform: ^1.8.0+ prosemirror-view: ^1.32.4+ refractor: ^5.0.0+ sugar-high: ^0.6.1 || ^0.7.0 || ^0.8.0 || ^0.9.0+ peerDependenciesMeta:+ '@shikijs/types':+ optional: true+ '@types/hast':+ optional: true+ highlight.js:+ optional: true+ lowlight:+ optional: true+ prosemirror-model:+ optional: true+ prosemirror-state:+ optional: true+ prosemirror-transform:+ optional: true+ prosemirror-view:+ optional: true+ refractor:+ optional: true+ sugar-high:+ optional: true+resolution: {integrity: sha512-2JZD8z2JviJrboD9cPuX/Sv/1ChFng+xh2tChQ2X4bB2HeK+rra/bmJ3xGntCcjhOqIzSDG6Id7e8RJ9QPXLEQ==}@@ -4577,8 +6266,8 @@ packages:resolution: {integrity: sha512-S/bXlc0ODQup6aiBbWVsX/eM+xJgCTAfMq/nLqaO5ID/am4wS0tTCIkzwytmao7ypEtjj39i7YbJjAgO20mIqA==}- resolution: {integrity: sha512-/8XUmxWf0pkj2BmtqZHYJipTBMHIdVjuvFzMvEoxrtyGNmfvdhBiRwYt/eFwy2wA9DtBW3RLqvZnjurEkHaFCw==}+ resolution: {integrity: sha512-dY2HdaNXlARknJbrManZ1WyUtos+AP97AmvqdOQtWtrrC5g4mohVX5DTi9rXNFSk09eczLq9GuNTtq3EfMeMGA==}resolution: {integrity: sha512-ELxP4TlX3yr2v5rM7Sb70SqStq5NvI15c0j9j/gjsrO5vaw+fnnpovCLEGIcpeGfifkuqJwl4fon6b+KdrODYQ==}@@ -4599,15 +6288,12 @@ packages:prosemirror-state: ^1.4.2prosemirror-view: ^1.33.8- resolution: {integrity: sha512-Nhh/+1kZGRINbEHmVu39oynhcap4hWTs/BlU7NnxWj3+l0qi8I1mu67v6mMdEe/ltD8hHvU4FV6PHiCw2VSpMw==}+ resolution: {integrity: sha512-pwDy22nAnGqNR1feOQKHxoFkkUtepoFAd3r2hbEDsnf4wp57kKA36hXsB3njA9FtONBEwSDnDeCiJe+ItD+ykw==}resolution: {integrity: sha512-4FH/uM1A4PNyrxXbD+RAbAsf0d/mM0D/wAKSVVWK7o0A9Q/oOXJBrw786mBf2Vnrs/Edly6dH6Z2gsb7zWwaUw==}- resolution: {integrity: sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==}-resolution: {integrity: sha512-todwxLMY7/heScKmntwQG8CXVkWUOdYxIvY2s0VWAAMh/nd8SoYiRaKjlr7+iCs984f2P8zvrfWcDDYVb73NfA==}@@ -4615,6 +6301,10 @@ packages:resolution: {integrity: sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==}engines: {node: '>=6'}+ resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-PLgQXQ6H2FWCaeRak8vvk1GW462lMxB5s3Jm673N82zI4vqtVUPuZdffdZbPDFRoU8kAhItWFtPCWiPpp4/EDg==}@@ -4625,33 +6315,54 @@ packages:resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==}+ resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==}+resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==}hasBin: true- resolution: {integrity: sha512-kMcLrp3PfN/asVJayVv82IjF3iLOOxuH5TNFWezX6lS/T8iVRFPTETpHl3TUSTH99IDMZLubdNPJr++rQctkEw==}+ resolution: {integrity: sha512-NtkJbuX6cl/VaGNb3sVVhmMA6LSMnL5G3xNL+61IyoZj0mUZFWTg4hmj7PHjIQ8MXN9dHWhUHFoJWG6y60DKSg==}engines: {node: '>=18'}peerDependencies:react: '>=16.8.0'+ resolution: {integrity: sha512-4GV5sHFG0e/0AD4X+ySy6UJd3jVl1iNsNHdpad0qhABJ11twS3TTBnseqsKurKcsNqCEFeGL3uLpVChpIO3QfQ==}+ peerDependencies:+ react: ^19.0.0+resolution: {integrity: sha512-Dlq/5LAZgF0Gaz6yiqZCf6VCcZs1ghAJyrsu84Q/GT0gV+mCxbfmKNoGRKBYMJ8IEdGPqu49YWXD02GCknEDkw==}peerDependencies:react: ^19.1.1+ resolution: {integrity: sha512-Eqzs/xZnS881oghPO/4CQ1cULyESuUhEjfYboXmYNOokXnJ6QP5GKKJZ6zjkg9SnKXxSrIxSo5PxzCI5jReJMA==}+ engines: {node: '>=18.0.0'}+ hasBin: true+resolution: {integrity: sha512-2vbXUFDYgqEgM2RcXcAT2PwDW/80QARi+PKmHy5q2KhuKvOlG8iIYgf7eIlIANR5trW9fJbP4r5aub3a4egsew==}engines: {node: '>=18.0.0'}peerDependencies:react: ^16.8.0 || ^17 || ^18 || ^19- resolution: {integrity: sha512-nfTVYcAUnBzXQpPDcZL+cG/e6UceYUIG+zDcnemL7jtAqbJjVVkA85RgneGtJeni12dTyiRPZVM6Szkmwd/o8w==}+ resolution: {integrity: sha512-MEFcXdkP3dLo8uumGI5xN3lDFNsRtrjbOEKDLD7yv76v4wpnEq2Lt2qeHaQOr34I/wPN3s3+N08WkQ+CW37Xiw==}+ peerDependencies:+ react: '*'++ resolution: {integrity: sha512-BsE+EnFVQzFIlyuuQrZ9iTwyKpKkqdFZV1ImEQN573QPqGrIUuNni7aF+sZwDcxlsuOMayCr6oO/PZR/yJnbRg==}peerDependencies:react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0+ resolution: {integrity: sha512-I42jl7L3Ze6kZaq+7zXWSunBa3b1on5yfvUW6Eo/3fFOj6dZ5Bqmcd264nJbTK/gn1HjjILAjSwnZbV4RpSaNQ==}+resolution: {integrity: sha512-z6F7K9bV85EfseRCp2bzrpyQ0Gkw1uLoCel9XBVWPg/TjRj94SkJzUTGfOa4bs7iJvBWtQG0Wq7wnI0syw3EBQ==}engines: {node: '>=0.10.0'}@@ -4666,16 +6377,6 @@ packages:'@types/react':optional: true- resolution: {integrity: sha512-pnAi91oOk8g8ABQKGF5/M9qxmmOPxaAnopyTHYfqYEwJhyFrbbBtHuSgtKEoH0jpcxx5o3hXqH1mNd9/Oi+8iQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-HpMh8+oahmIdOuS5aFKKY6Pyog+FNaZV/XyJOq7b4YFwsFHe5yYfdbIalI4k3vU2nSDql7YskmUseHsRrJqIPA==}engines: {node: '>=10'}@@ -4699,10 +6400,17 @@ packages:resolution: {integrity: sha512-anMuVoV//g2N76Wxqvqjjo1X48r9Np3y1/gMl7arX84tAPXdy5R7sB5lO5hvCzQRYjqXwV8XMAiEBOUbyrZFrw==}+ resolution: {integrity: sha512-V8AVnmPIICiWpGfm6GLzCR/W5FXLchHop40W4nXBmdlEceh16rCN8O8LNWm5bh5XUX91fh7KpA+W0TgMKmgTpQ==}+ engines: {node: '>=0.10.0'}+resolution: {integrity: sha512-w8nqGImo45dmMIfljjMwOGtbmC/mk4CMYhWIicdSflH91J9TyCyczcPFXJzrZ/ZXcgGRFeP6BU0BEJTw6tZdfQ==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==}+resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==}engines: {node: '>= 6'}@@ -4740,15 +6448,33 @@ packages:resolution: {integrity: sha512-uorlqlzAKjKQZ5P+kTJr3eeJGSVroLKoHmquUj4zHWuR+hEyNqlXsSKlYYF5F4NI6nl7tWCs0apKJ0lmfsXAPA==}+ resolution: {integrity: sha512-zvmVru9uB0josBVpr946OR8ui7nJEdzZobwLOOqHb/OOD88W0Vk2SqLwoVOj0fM6IPCCO6TaV9CvQvJMWwukFQ==}++ resolution: {integrity: sha512-Zk0pyQ06A3Lyxhe9vGtOtzz3Z0+qZ5+7icZ/PL/2x1SHPbKao5oB/g/rlc6BCTajqBb33JcOe71Ye1oFsuYbnw==}++ resolution: {integrity: sha512-ksCzCD0Fgfh7trPDxr2rSylbwq9iYDkSn8TCDmEJ49ljEUBxDVCzCHv7QNzZOfODanX4+bWQ4WZqLCRWYLfhag==}+resolution: {integrity: sha512-lqA4rGUf1JmacCNWWZx0Wv1dHqMwxzsDWYMTowuplHF3xH0N/MmrZ/G3BDZnzAkRmxDadujCjaKM2hqYdCBOGw==}+ resolution: {integrity: sha512-EmDndlb5NVwXGfUa4c9GPK+lXeItTilLhE6ADSaQuHr4JUlKw9MidzGzx4HpqZrNCt6vnHmEifXQiiA+CEnjYQ==}++ resolution: {integrity: sha512-k9ecfXHmIPuFVI61B9DeLPN0qFHfawM6RsuX48hoqlaKSF61RskNjSm1lI8PhBEM0MRdLxVVm4WmTqJQccH9mA==}+resolution: {integrity: sha512-1quofZ2RQ9EWdeN34S79+KExV1764+wCUGop5CPL1WGdD0ocPpu91lzPGbwWMECpEpd42kJGQwzRfyov9j4yNg==}resolution: {integrity: sha512-Ngl/H3YXyBV9RcRNdlYsZujAmhsxwzxpDzpDEhFBVAGthS4GDgnctpDjgFl/ULx5UEDzqtW1cyBSNKqYYrqLBA==}+ resolution: {integrity: sha512-Pjj2IYlUY3+D8x00UJsIOg5BEvfMyeI+2uLPn9VO9Wg4MEtN/VTIq2NEJQfde9PnX15KgtHyl9S0BcTnWrIuWg==}+resolution: {integrity: sha512-FCxlKLNGknS5ba/1lmpYijMUzX2esxW5xQqjWxw2eHFfS2MSdaHVINFmhjo+qN1WhZhNimq0dZATN9pH0IDrpA==}@@ -4780,15 +6506,23 @@ packages:resolution: {integrity: sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==}+ resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}+ engines: {node: '>= 0.4'}+ hasBin: true++ resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==}engines: {iojs: '>=1.0.0', node: '>=0.10.0'}- resolution: {integrity: sha512-C5VvvgCCyfyotVITIAv+4efVytl5F7wt+/I2i9q9GZcEXW9BP52YYOXC58igUi+LFZVHukErIIqQSWwv/M3WRw==}- engines: {node: '>=18.0.0', npm: '>=8.0.0'}- hasBin: true-resolution: {integrity: sha512-WMmLFI+Boh6xbop+OAGo9cQ3OgX9MIg7xOQjn+pTCwOkk+FNDAeAemXkJ3HzDJrVXleLOFVa1ipuc1AmEx1Dwg==}engines: {node: '>=18.0.0', npm: '>=8.0.0'}@@ -4806,9 +6540,16 @@ packages:resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==}+ resolution: {integrity: sha512-xFVuu11jh+xcO7JOAGJNOXld8/TcEHK/4CituBUeUb5hqxJLj9YuemAEuvm9gQ/+pgXYfbQuqAkiYu+u7YEsNA==}+resolution: {integrity: sha512-NlHwttCI/l5gCPR3D1nNXtWABUmBwvZpEQiD4IXSbIDq8BzLIK/7Ir5gTFSGZDUu37K5cMNp0hFtzO38sC7gWA==}+ resolution: {integrity: sha512-Gn/JaSk/Mt9gYubxTtSn/QCV4em9mpAPiR1rqy/Ocu19u/G9J5WWdNoUT4SiV6mFC3y6cxyFcFwdzPM3FgxGAQ==}+ engines: {node: '>= 10.13.0'}+resolution: {integrity: sha512-49oNpRjWRvnU8NyGVmUaYG4jtTkNonFZI86MmGRDqBphEK2EXT9gdEUoQPZhuBM8yWHxCWbobltqYO5M4XrUvQ==}@@ -4816,6 +6557,9 @@ packages:resolution: {integrity: sha512-vfD3pmTzGpufjScBh50YHKzEu2lxBWhVEHsNGoEXmCmn2hKGfeNLYMzCJpe8cD7gqX7TJluOVpBkAequ6dgMmA==}engines: {node: '>=4'}+ resolution: {integrity: sha512-5TF+l7p4+OsnP8BCCvSyZiSPc4x4//p5uPwK8TCnVPJYRmU2aYKMpOXvw8zM5a5JvuuCGN1jmsMwuU2W02ukfA==}+resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==}hasBin: true@@ -4825,6 +6569,9 @@ packages:engines: {node: '>=10'}hasBin: true+ resolution: {integrity: sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g==}+resolution: {integrity: sha512-0QvCV2lM3aj/U3YozDiVwx9zpH0q8A60CTWIv4Jszj/givcudPb48B+rkU5D51NJ0pTpweGMttHjboPa9/zoIQ==}engines: {node: '>=10'}@@ -4838,8 +6585,12 @@ packages:resolution: {integrity: sha512-IOc8uWeOZgnb3ptbCURJWNjWUPcO3ZnTTdzsurqERrP6nPyv+paC55vJM0LpOlT2ne+Ix+9+CRG1MNLlyZ4GjQ==}- resolution: {integrity: sha512-lszvBmB9QURERtyKT2bNmsgxXK0ShJrL/fvqlonCo7e6xBF8nT8xU6pW+PMIbLsz0RxQk3rgH9kd8UmvOzlMJg==}+ resolution: {integrity: sha512-1j0w61+eVxu7DawFJtnfYcvSv6qPFvfTaqzTQ2BLknVhHTwGS8sc63ZBF4rzkWMBVKybo4S5OBtDdZahh2A1xg==}+ engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}++ resolution: {integrity: sha512-eX2IQ6nFohW4DbvHIOLRB3MHFpYqaqvXd3Tp5e/T/dSH83fxaNJQRvDMhASmkNTsNTVF2/OOopzRCt7xokgPfg==}engines: {node: ^18.17.0 || ^20.3.0 || >=21.0.0}@@ -4850,11 +6601,18 @@ packages:resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==}engines: {node: '>=8'}- resolution: {integrity: sha512-0qWBkM2t/0NXPRcVgtLhtHv6Ak3Q5yI4K/ggMqcgLRKm4+pCs3namgZlhlat/7u2CuqNtlShNs9lENOG6n7UaQ==}+ resolution: {integrity: sha512-aZW4l8Og16CokuCLf8CF8kq+KK2yOygapU5m3+hoGw0Mdosc6fPitjM+ujYarppj5ZIKGyPDPP1vqmQhr+5/0g==}- resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==}+ resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==}++ resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==}+ engines: {node: '>=14'}++ resolution: {integrity: sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==}resolution: {integrity: sha512-brv7p5WgH0jmQJr1ZDDfKDOSeWWg+OVypG99A/5vYGPqJ6pxiaHLy8nxtFjBA7oMa01ebA9gfh1uMCFqOuXxvA==}@@ -4862,9 +6620,33 @@ packages:resolution: {integrity: sha512-JA//kQgZtbuY83m+xT+tXJkmJncGMTFT+C+g2h2R9uxkYIrE2yy9sgmcLhCnw57/WSD+Eh3J97FPEDFnbXnDUg==}+ resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}++ resolution: {integrity: sha512-eLDQas5dzPgOWCk9GuuJC2lBqItuhKI4uxGgo9aIV7MYbk2h9Q6uULEh8WBzThoI7l+qU9Ast9fVUmkqPP9wYg==}++ resolution: {integrity: sha512-hJVXfu3E28NmzGk8o1sHhN3om52tRvwYeidbj7xKy2eIIse5IoKX3USlS6Tqt3BHAtflLIkCQBkzVrEEfWUyYQ==}+ engines: {node: '>=10.0.0'}++ resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==}+ engines: {node: '>=10.0.0'}++ resolution: {integrity: sha512-oZ7iUCxph8WYRHHcjBEc9unw3adt5CmSNlppj/5Q4k2RIrhl8Z5yY2Xr4j9zj0+wzVZ0bxmYoGSzKJnRl6A4yg==}+ engines: {node: '>=10.2.0'}+resolution: {integrity: sha512-ogI3DaFcyn6UhYhrgcyRAMbu/buBJitYQASZz5WzfQVPP10RD2AbCoRZ517psnezrasyCbWzIxZ6kVqet768xw==}+ resolution: {integrity: sha512-njQ4Hht92m0sMqqHVDL32V2Oun9W1+PHO9NDv9FHfJjT3JT22IG4Jpo3FPQy+mouRKCXFWO+r67v6MrHX2zeIA==}+ peerDependencies:+ react: ^18.0.0 || ^19.0.0 || ^19.0.0-rc+ react-dom: ^18.0.0 || ^19.0.0 || ^19.0.0-rc+resolution: {integrity: sha512-yHFhk8T/DK3YxjFQXIrcHT1rGEeTLliVzWbO0xN8GberVun2RiBnxAjXAYpZrqwEVHBG9asI/Li8TAAhN9m59Q==}peerDependencies:@@ -4882,10 +6664,6 @@ packages:resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==}engines: {node: '>=0.10.0'}- resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==}- engines: {node: '>= 8'}-resolution: {integrity: sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==}engines: {node: '>= 12'}@@ -4893,6 +6671,9 @@ packages:resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}+ resolution: {integrity: sha512-jYXItuZuiWZyG9fIdvgTUbp2MNRuyhuSwvvhhpPJd4JK/9oSZxkD7zAj53GJtowSlXwCJzLg6sCKAoE9wXsKgg==}+resolution: {integrity: sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==}engines: {node: '>= 10.x'}@@ -4900,6 +6681,14 @@ packages:resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==}+ resolution: {integrity: sha512-WjlahMgHmCJpqzU8bIBy4qtsZdU9lRlcZE3Lvyej6t4tuOuv1vk57OW3MBrj6hXBFx/nNoC9MPMTcr5YA7NQbg==}+ engines: {node: '>=6'}++ resolution: {integrity: sha512-UhDfHmA92YAlNnCfhmq0VeNL5bDbiZGg7sZ2IvPsXubGkiNa9EC+tUTsjBRsYUAz87btI6/1wf4XoVvQ3uRnmQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==}engines: {node: '>=10.0.0'}@@ -4911,6 +6700,14 @@ packages:resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==}engines: {node: '>=8'}+ resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==}+ engines: {node: '>=12'}++ resolution: {integrity: sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==}+ engines: {node: '>=18'}+resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==}@@ -4921,14 +6718,25 @@ packages:resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==}engines: {node: '>=8'}+ resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-vavAMRXOgBVNF6nyEEmL3DBK19iRpDcoIwW+swQ+CbGiu7lju6t+JklA1MHweoWtadgt4ISVUsXLyDq34ddcwA==}+ engines: {node: '>=4'}+resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==}engines: {node: '>=0.10.0'}+ resolution: {integrity: sha512-7ZvoFTiCnGxBtDqJ//Cu6fWtZtc7Y3x+QOirG15wztbdngGSkht27o2pyGWrVy0b4WAy3jbKmnoK6g5VlVNUUw==}+resolution: {integrity: sha512-/Q6ld50hKYPH3d/r6nr117TZkHR0w0kGGIVfpG9N6D8NymRPM9RqCUv4pRpJ62E5DqOYx2AFpbZMyCPnjQCnOw==}@@ -4948,6 +6756,32 @@ packages:babel-plugin-macros:optional: true+ resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==}+ engines: {node: '>=16 || 14 >=14.17'}+ hasBin: true++ resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==}+ engines: {node: '>=8'}++ resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==}+ engines: {node: '>=10'}++ resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}+ engines: {node: '>= 0.4'}++ resolution: {integrity: sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==}++ resolution: {integrity: sha512-9vczT78R9O7HIrydvGJNz4/19ogjSQSFlYpwleAxcxIT1m9pvAIGQr/+f6qG9sB5gq3JLB6IRKmw9RGJUrLeXQ==}++ resolution: {integrity: sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==}+resolution: {integrity: sha512-FQT/OVqCD+7edmmJpsgCsY820RTD5AkBryuG5IUqR5YQZSdj5xlH5nLgH7YPths7WsLPSpSBNneJdM8aS8aeFA==}@@ -4959,9 +6793,17 @@ packages:peerDependencies:tailwindcss: '>=3.0.0 || insiders'+ resolution: {integrity: sha512-VigzymniH77knD1dryXbyxR+ePHihHociZbXnLZHUyzf2MMs2ZVqlUrZ3FvpXP8pno9JzmILt1sZPD19M3IxtA==}+ engines: {node: '>=14.0.0'}+ hasBin: true+resolution: {integrity: sha512-2E9TBm6MDD/xKYe+dvJZAmg3yxIEDNRc0jwlNyDg/4Fil2QcSLjFKGVff0lAf1jjeaArlG/M75Ey/EYr/OJtBA==}+ resolution: {integrity: sha512-i+zidfmTqtwquj4hMEwdjshYYgMbOrPzb9a0M3ZgNa0JMoZeFC6bxZvO8yr8ozS6ix2SDz0+mvryPeBs2TFE+w==}+resolution: {integrity: sha512-Re10+NauLTMCudc7T5WLFLAwDhQ0JWdrMK+9B2M8zR5hRExKmsRDCBA7/aV/pNJFltmBFO5BAMlQFi/vq3nKOg==}engines: {node: '>=6'}@@ -4983,6 +6825,27 @@ packages:resolution: {integrity: sha512-5S7Va8hKfV7W5U6g3aYxXmlPoZVAwUMy9AOKyF2fVuZa2UD3qZjg578OrLRt8PcNN1PleVaL/5/yYATNL0ICUw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-vkZjpUjb6OMS7dhV+tILUW6BhpDR7P2L/aQSAv+Uwk+m8KATX9EccViHTJR2qDtACKPIYndLGCyl3FMo+r2LMw==}+ engines: {node: '>= 10.13.0'}+ peerDependencies:+ '@swc/core': '*'+ esbuild: '*'+ uglify-js: '*'+ webpack: ^5.1.0+ peerDependenciesMeta:+ '@swc/core':+ optional: true+ esbuild:+ optional: true+ uglify-js:+ optional: true++ resolution: {integrity: sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==}+ engines: {node: '>=10'}+ hasBin: true+resolution: {integrity: sha512-3/o9z3X0X0fTupwsYvR03pJ/DjWuqqrfwBgTQzdWDiQSm9KitAyz/9WqsT2JQW7KV2m+bC2ol/zqpW37NHxLaA==}@@ -4990,6 +6853,13 @@ packages:resolution: {integrity: sha512-te/NtwBwfiNRLf9Ijqx3T0nlqZiQ2XrrtBvu+cLL8ZRrGkO0NHTug8MYFKyoSrv/sHTaSKfilUkizV6XhxMJ3g==}engines: {node: '>=8'}+ resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==}+ engines: {node: '>=0.8'}++ resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==}+resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==}@@ -4999,25 +6869,23 @@ packages:resolution: {integrity: sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==}+ resolution: {integrity: sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==}+resolution: {integrity: sha512-5uC6DDlmeqiOwCPmK9jMSdOuZTh8bU39Ys6yidB+UTt5hfZUPGAypSgFRiEp+jbi9qH40BLDvy85jIU88wKSqw==}- resolution: {integrity: sha512-mEwzpUgrLySlveBwEVDMKk5B57bhLPYovRfPAXD5gA/98Opn0rCDj3GtLwFvCvH5RK9uPCExUROW5NjDwvqkxw==}- engines: {node: '>=12.0.0'}-resolution: {integrity: sha512-tX5e7OM1HnYr2+a2C/4V0htOcSQcoSTH9KgJnVvNm5zm/cyEWKJ7j7YutsH9CxMdtOkkLFy2AHrMci9IM8IPZQ==}engines: {node: '>=12.0.0'}+ resolution: {integrity: sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==}+ engines: {node: '>=12.0.0'}+resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==}- resolution: {integrity: sha512-iDVkR2BjAqkTDtFX0h94yVvE2AihCXlF0Q7RIXSJPRSR5I0PA1TMuAg6FHFpmqTn4tPxJ0by0CK7PUMlnFLGEQ==}- peerDependencies:- '@tiptap/core': ^2.0.3-resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==}engines: {node: '>=8.0'}@@ -5029,9 +6897,19 @@ packages:resolution: {integrity: sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==}+ resolution: {integrity: sha512-5UR5Biq4VlVOtzqkm2AZlgvSlDJtME46uV0br0gENbwN4l5+mMKT4b9gJKqWtuL2zAIqajGJGuvbCbcAJUZqBg==}+resolution: {integrity: sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==}+ resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==}++ resolution: {integrity: sha512-NoZ4roiN7LnbKn9QqE1amc9DJfzvZXxF4xDavcOWt1BPkdx+m+0gJuPM+S0vCe7zTJMYUP0R8pO2XMr+Y8oLIg==}+ engines: {node: '>=6'}+resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==}@@ -5043,40 +6921,55 @@ packages:resolution: {integrity: sha512-McnNiV1l8RYeY8tBgEpuodCC1mLUdbSN+CYBL7kJsJNInOP8UjDDEwdk6Mw60vdLLrr5NHKZhMAOSrR2NZuQ+w==}- resolution: {integrity: sha512-RYnTz49u4F5tDD2SUwwtlynABNBAfbyT2uU/brJcyh5k6lDLyNfYKdKmqd3K2ls4AaiALWrFKVSBsiVwhdFNzQ==}+ resolution: {integrity: sha512-3C1xEdo4aFwMJAPvtlPqz1Sw/+cddWIOmsalHFMrsqqydcptwBfu26WW2cDm3u93bUzMbBJ8k3zNKFqxJ9ei2A==}cpu: [x64]os: [darwin]- resolution: {integrity: sha512-Tk+ZeSNdBobZiMw9aFypQt0DlLsWSFWu1ymqsAdJLuPoAH05qCfYtRxE1pJuYHcJB5pqI+/HOxtJoQ40726Btw==}+ resolution: {integrity: sha512-LyiG+rD7JhMfYwLqB6k3LZQtYn8CQQUePbpA8mF/hMLPAekXdJo1g0bUPw8RZLwQXUIU/3BU7tXENvhSGz5DPA==}cpu: [arm64]os: [darwin]- resolution: {integrity: sha512-2/XvMGykD7VgsvWesZZYIIVXMlgBcQy+ZAryjugoTcvJv8TZzSU/B1nShcA7IAjZ0q7OsZ45uP2cOb8EgKT30w==}+ resolution: {integrity: sha512-GOcUTT0xiT/pSnHL4YD6Yr3HreUhU8pUcGqcI2ksIF9b2/r/kRHwGFcsHgpG3+vtZF/kwsP0MV8FTlTObxsYIA==}cpu: [x64]os: [linux]- resolution: {integrity: sha512-DW+8CjCjybu0d7TFm9dovTTVg1VRnlkZ1rceO4zqsaLrit3DgHnN4to4uwyuf9s2V/BwS3IYcRy+HG9BL596Iw==}+ resolution: {integrity: sha512-10Tm15bruJEA3m0V7iZcnQBpObGBcOgUcO+sY7/2vk1bweW34LMhkWi8svjV9iDF68+KJDThnYDlYE/bc7/zzQ==}cpu: [arm64]os: [linux]- resolution: {integrity: sha512-q5p1BOy8ChtSZfULuF1BhFMYIx6bevXu4fJ+TE/hyNfyHJIfjl90Z6jWdqAlyaFLmn99X/uw+7d6T/Y/dr5JwQ==}+ resolution: {integrity: sha512-FyRsVpgaj76It0ludwZsNN40ytHN+17E4PFJyeliBEbxrGTc5BexlXVpufB7XlAaoaZVxbS6KT8RofLfDRyEPg==}cpu: [x64]os: [win32]- resolution: {integrity: sha512-AXbF1KmpHUq3PKQwddMGoKMYhHsy5t1YBQO8HZ04HLMR0rWv9adYlQ8kaeQJTko1Ay1anOBFTqaxfVOOsu7+1Q==}+ resolution: {integrity: sha512-j/tWu8cMeQ7HPpKri6jvKtyXg9K1gRyhdK4tKrrchH8GNHscPX/F71zax58yYtLRWTiK04zNzPcUJuoS0+v/+Q==}cpu: [arm64]os: [win32]- resolution: {integrity: sha512-eZ7wI6KjtT1eBqCnh2JPXWNUAxtoxxfi6VdBdZFvil0ychCOTxbm7YLRBi1JSt7U3c+u3CLxpoPxLdvr/Npr3A==}+ resolution: {integrity: sha512-gxToHmi9oTBNB05UjUsrWf0OyN5ZXtD0apOarC1KIx232Vp3WimRNy3810QzeNSgyD5rsaIDXlxlbnOzlouo+w==}hasBin: true+ resolution: {integrity: sha512-Qrk3PZ7l7wUcGYhwZloqfkWCmaXZAoqjkdbIDvzfGshwGtexa/DAs9koXxIkrpEasyevandomzCBAV1Yyop5rw==}++ resolution: {integrity: sha512-HHd7lzZNLUvjPzG/IE6js502gEzLC1x7HaO1up/f72d8G8ScWAs9Yfa97igelQRDl5h9tGcdFsRp+lNVre1EeQ==}++ resolution: {integrity: sha512-RtJURJlGRxrkJmTcZMjpr7jdYly1rfgpujJr1sBM9ch7SKVht/SjFk23IOAyvwT1NLCk+SJiMrvW4rIAUM2Wug==}+ peerDependencies:+ typescript: ^5.5.0++ resolution: {integrity: sha512-Ne2YiiGN8bmrmJJEuTWTLJR32nh/JdL1+PSicowtNb0WFpn59GK8/lfD61bVtzguz7b3PBt74nxpv/Pw5po5Rg==}+ engines: {node: '>=8'}+resolution: {integrity: sha512-p1diW6TqL9L07nNxvRMM7hMMw4c5XOo/1ibL4aAIGmSAt9slTE1Xgw5KWuof2uTOvCg9BY7ZRi+GaF+7sfgPeQ==}engines: {node: '>=14.17'}@@ -5099,9 +6992,6 @@ packages:resolution: {integrity: sha512-t5Fy/nfn+14LuOc2KNYg75vZqClpAiqscVvMygNnlsHBFpSXdJaYtXMcdNLpl/Qvc3P2cB3s6lOV51nqsFq4ag==}- resolution: {integrity: sha512-9UJ2xGDvQ43tYyVMpuHlsgApydB8ZKfVYTsLDhXkFL/6gfkp+U8xTGdh8pMJv1SpZna0zxG1DwsKZsreLbXBxw==}-resolution: {integrity: sha512-lRfVq8fE8gz6QMBuDM6a+LO3IAzTi05H6gCVaUpir2E1Rwpo4ZUog45KpNXKC/Mn3Yb9UDuHumeFTo9iV/D9FQ==}engines: {node: '>=18'}@@ -5109,6 +6999,9 @@ packages:resolution: {integrity: sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==}+ resolution: {integrity: sha512-amQa0Ep2m6hE2g72AugUItjbuM8X8cGQnFoHk0pGfrFeT9GZhzN5SW8nRsiGKK7Aif4CrACPENkA6P/Lw6fHGQ==}+resolution: {integrity: sha512-2qCTHimwdxLfz+YzdGfkqNlH0tLi9xjTnHddPmJwtIG9MGsdbutfTc4P+haPD7l7Cjxf/WZj+we5qfVPvvxfYw==}@@ -5153,6 +7046,12 @@ packages:'@types/react':optional: true+ resolution: {integrity: sha512-6Cf7Yr7Wk7Kdv77nnJMf6de4HuDE4dTxKij+RqE9rufDsI6zsbjyAxcH5y2ueJCQAnfgKbzXbZHYlkFwmBlWkw==}+ engines: {node: '>= 16.0.0'}+ peerDependencies:+ react: '*'+resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}engines: {node: '>=10'}@@ -5171,6 +7070,21 @@ packages:resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==}+ resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}+ hasBin: true++ resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}+ hasBin: true++ resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==}+ engines: {node: '>= 0.8'}++ resolution: {integrity: sha512-5yXvWDEgqeiYiBe1lbxYF7UMAIm/IcopxMHrMQDq3nvKcjPKIhZklUKL+AE7J7uApI4kwe2snsK+eI6UTj9EHg==}+resolution: {integrity: sha512-jRDZ1IMLttGj41KcZvlrYAaI3CfqpLpfpf+Mfig13viT6NKvRzWZ+lXz0Y5D60w6uJIBAOGq9mSHf0gktF0duw==}@@ -5260,9 +7174,33 @@ packages:resolution: {integrity: sha512-dpojBhNsCNN7T82Tm7k26A6G9ML3NkhDsnw9n/eoxSRlVBB4CEtIQ/KTCLI2Fwf3ataSXRhYFkQi3SlnFwPvPQ==}+ resolution: {integrity: sha512-c5EGNOiyxxV5qmTtAB7rbiXxi1ooX1pQKMLX/MIabJjRA0SJBQOjKF+KSVfHkr9U1cADPon0mRiVe/riyaiDUA==}+ engines: {node: '>=10.13.0'}++ resolution: {integrity: sha512-XHPEwS0q6TaxcvG85+8EYkbiCux2XtWG2mkc47Ng2A77BQu9+DqIOJldST4HgPkuea7dvKSj5VgX3P1d4rW8Tg==}++ resolution: {integrity: sha512-bKr1DkiNa2krS7qxNtdrtHAmzuYGFQLiQ13TsorsdT6ULTkPLKuu5+GsFpDlg6JFjUTwX2DyhMPG2be8uPrqsQ==}++ resolution: {integrity: sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==}+ engines: {node: '>=10.13.0'}+resolution: {integrity: sha512-66/V2i5hQanC51vBQKPH4aI8NMAcBW59FVBs+rC7eGHupMyfn34q7rZIE+ETlJ+XTevqfUhVVBgSUNSW2flEUQ==}+ resolution: {integrity: sha512-7b0dTKR3Ed//AD/6kkx/o7duS8H3f1a4w3BYpIriX4BzIhjkn4teo05cptsxvLesHFKK5KObnadmCHBwGc+51A==}+ engines: {node: '>=10.13.0'}+ hasBin: true+ peerDependencies:+ webpack-cli: '*'+ peerDependenciesMeta:+ webpack-cli:+ optional: true+resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==}engines: {node: '>= 8'}@@ -5272,13 +7210,49 @@ packages:resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==}engines: {node: '>=10'}+ resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==}+ engines: {node: '>=12'}+resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==}+ resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==}+ engines: {node: '>=10.0.0'}+ peerDependencies:+ bufferutil: ^4.0.1+ utf-8-validate: '>=5.0.2'+ peerDependenciesMeta:+ bufferutil:+ optional: true+ utf-8-validate:+ optional: true++ resolution: {integrity: sha512-TEU+nJVUUnA4CYJFLvK5X9AOeH4KvDvhIfm0vV1GaQRtchnG0hgK5p8hw/xjv8cunWYCsiPCSDzObPyhEwq3KQ==}+ engines: {node: '>=0.4.0'}+resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==}engines: {node: '>=0.4'}+ resolution: {integrity: sha512-NpM99WSdD4Fx4if5xOMDpPtU3oAmTSjlzh5U4353ABbRHl1HtAFUx6HlebLZfyFxXN9jzKMDkVbcRjqOZVkYQg==}+ engines: {node: '>=16.0.0', npm: '>=8.0.0'}+ peerDependencies:+ prosemirror-model: ^1.7.1+ prosemirror-state: ^1.2.3+ prosemirror-view: ^1.9.10+ y-protocols: ^1.0.1+ yjs: ^13.5.38++ resolution: {integrity: sha512-vHRF2L6iT3rwj1jub/K5tYcTT/mEYDUppgNPXwp8fmLpui9f7Yeq3OEtTLVF012j39QnV+KEQpNqoN7CWU7Y9Q==}+ engines: {node: '>=16.0.0', npm: '>=8.0.0'}+ peerDependencies:+ yjs: ^13.0.0+resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==}engines: {node: '>=10'}@@ -5290,6 +7264,11 @@ packages:resolution: {integrity: sha512-YgvUTfwqyc7UXVMrB+SImsVYSmTS8X/tSrtdNZMImM+n7+QTriRXyXim0mBrTXNeqzVF0KWGgHPeiyViFFrNDw==}engines: {node: '>=18'}+ resolution: {integrity: sha512-lcYcMxX2PO9XMGvAJkJ3OsNMw+/7FKes7/hgerGUYWIoWu5j/+YQqcZr5JnPZWzOsEBgMbSbiSTn/dv/69Mkpw==}+ engines: {node: '>= 14.6'}+ hasBin: true+resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==}engines: {node: '>=12'}@@ -5298,15 +7277,26 @@ packages:resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==}engines: {node: '>=12'}+ resolution: {integrity: sha512-OIDwaflOaq4wC6YlPBy2L6ceKeKuF7DeTxx+jPzv1FHn9tCZ0ZwSRnUBxD05E3yed46fv/FWJbvR+Ud7x0L7zw==}+ engines: {node: '>=16.0.0', npm: '>=8.0.0'}+resolution: {integrity: sha512-AyeEbWOu/TAXdxlV9wmGcR0+yh2j3vYPGOECcIj2S7MkrLyC7ne+oye2BKTItt0ii2PHk4cDy+95+LshzbXnGg==}engines: {node: '>=12.20'}+ resolution: {integrity: sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug==}+ engines: {node: '>=18'}++ resolution: {integrity: sha512-HhY1oqzWCQWuUqvBFnsyrtZRhyPeR7SUGv+C4+MsisMuVfSPx8HpwWqH8tRahSlt6M3PiFAcoeFhZAqIXTxoSg==}+resolution: {integrity: sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==}- resolution: {integrity: sha512-1PHjlYRevNxxdy2JZ8JcNAw7rX8V9P1AKkP+x/xZfxB0K5FYfuV+Ug6P/6NVSR2jHQ+FzDDoDHS04nYUsOIyLQ==}+ resolution: {integrity: sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==}resolution: {integrity: sha512-rcUUZqlLJgBC33IT3PNMgsCq6TzLQEG/Ei/KTCU0PedSWRMAXoOUN+4t/0H+Q8bdnLPdqUYnvboJT0bn/229qg==}@@ -5341,6 +7331,388 @@ snapshots:'@jridgewell/gen-mapping': 0.3.12'@jridgewell/trace-mapping': 0.3.29+ '@aws-crypto/[email protected]':+ dependencies:+ '@aws-crypto/sha256-js': 5.2.0+ '@aws-crypto/supports-web-crypto': 5.2.0+ '@aws-crypto/util': 5.2.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-locate-window': 3.873.0+ '@smithy/util-utf8': 2.3.0+ tslib: 2.8.1++ '@aws-crypto/[email protected]':+ dependencies:+ '@aws-crypto/util': 5.2.0+ '@aws-sdk/types': 3.862.0+ tslib: 2.8.1++ '@aws-crypto/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@aws-crypto/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/util-utf8': 2.3.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-crypto/sha256-browser': 5.2.0+ '@aws-crypto/sha256-js': 5.2.0+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/credential-provider-node': 3.883.0+ '@aws-sdk/middleware-host-header': 3.873.0+ '@aws-sdk/middleware-logger': 3.876.0+ '@aws-sdk/middleware-recursion-detection': 3.873.0+ '@aws-sdk/middleware-user-agent': 3.883.0+ '@aws-sdk/region-config-resolver': 3.873.0+ '@aws-sdk/signature-v4-multi-region': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-endpoints': 3.879.0+ '@aws-sdk/util-user-agent-browser': 3.873.0+ '@aws-sdk/util-user-agent-node': 3.883.0+ '@smithy/config-resolver': 4.2.0+ '@smithy/core': 3.10.0+ '@smithy/fetch-http-handler': 5.2.0+ '@smithy/hash-node': 4.1.0+ '@smithy/invalid-dependency': 4.1.0+ '@smithy/middleware-content-length': 4.1.0+ '@smithy/middleware-endpoint': 4.2.0+ '@smithy/middleware-retry': 4.2.0+ '@smithy/middleware-serde': 4.1.0+ '@smithy/middleware-stack': 4.1.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/node-http-handler': 4.2.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-body-length-browser': 4.1.0+ '@smithy/util-body-length-node': 4.1.0+ '@smithy/util-defaults-mode-browser': 4.1.0+ '@smithy/util-defaults-mode-node': 4.1.0+ '@smithy/util-endpoints': 3.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-retry': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-crypto/sha256-browser': 5.2.0+ '@aws-crypto/sha256-js': 5.2.0+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/middleware-host-header': 3.873.0+ '@aws-sdk/middleware-logger': 3.876.0+ '@aws-sdk/middleware-recursion-detection': 3.873.0+ '@aws-sdk/middleware-user-agent': 3.883.0+ '@aws-sdk/region-config-resolver': 3.873.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-endpoints': 3.879.0+ '@aws-sdk/util-user-agent-browser': 3.873.0+ '@aws-sdk/util-user-agent-node': 3.883.0+ '@smithy/config-resolver': 4.2.0+ '@smithy/core': 3.10.0+ '@smithy/fetch-http-handler': 5.2.0+ '@smithy/hash-node': 4.1.0+ '@smithy/invalid-dependency': 4.1.0+ '@smithy/middleware-content-length': 4.1.0+ '@smithy/middleware-endpoint': 4.2.0+ '@smithy/middleware-retry': 4.2.0+ '@smithy/middleware-serde': 4.1.0+ '@smithy/middleware-stack': 4.1.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/node-http-handler': 4.2.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-body-length-browser': 4.1.0+ '@smithy/util-body-length-node': 4.1.0+ '@smithy/util-defaults-mode-browser': 4.1.0+ '@smithy/util-defaults-mode-node': 4.1.0+ '@smithy/util-endpoints': 3.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-retry': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/xml-builder': 3.873.0+ '@smithy/core': 3.10.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/property-provider': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/signature-v4': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-body-length-browser': 4.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-utf8': 4.1.0+ fast-xml-parser: 5.2.5+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/property-provider': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/fetch-http-handler': 5.2.0+ '@smithy/node-http-handler': 4.2.0+ '@smithy/property-provider': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/util-stream': 4.3.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/credential-provider-env': 3.883.0+ '@aws-sdk/credential-provider-http': 3.883.0+ '@aws-sdk/credential-provider-process': 3.883.0+ '@aws-sdk/credential-provider-sso': 3.883.0+ '@aws-sdk/credential-provider-web-identity': 3.883.0+ '@aws-sdk/nested-clients': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/credential-provider-imds': 4.1.0+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/credential-provider-env': 3.883.0+ '@aws-sdk/credential-provider-http': 3.883.0+ '@aws-sdk/credential-provider-ini': 3.883.0+ '@aws-sdk/credential-provider-process': 3.883.0+ '@aws-sdk/credential-provider-sso': 3.883.0+ '@aws-sdk/credential-provider-web-identity': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/credential-provider-imds': 4.1.0+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/client-sso': 3.883.0+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/token-providers': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/nested-clients': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/property-provider': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-arn-parser': 3.873.0+ '@smithy/core': 3.10.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/signature-v4': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/util-config-provider': 4.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-stream': 4.3.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-endpoints': 3.879.0+ '@smithy/core': 3.10.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-crypto/sha256-browser': 5.2.0+ '@aws-crypto/sha256-js': 5.2.0+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/middleware-host-header': 3.873.0+ '@aws-sdk/middleware-logger': 3.876.0+ '@aws-sdk/middleware-recursion-detection': 3.873.0+ '@aws-sdk/middleware-user-agent': 3.883.0+ '@aws-sdk/region-config-resolver': 3.873.0+ '@aws-sdk/types': 3.862.0+ '@aws-sdk/util-endpoints': 3.879.0+ '@aws-sdk/util-user-agent-browser': 3.873.0+ '@aws-sdk/util-user-agent-node': 3.883.0+ '@smithy/config-resolver': 4.2.0+ '@smithy/core': 3.10.0+ '@smithy/fetch-http-handler': 5.2.0+ '@smithy/hash-node': 4.1.0+ '@smithy/invalid-dependency': 4.1.0+ '@smithy/middleware-content-length': 4.1.0+ '@smithy/middleware-endpoint': 4.2.0+ '@smithy/middleware-retry': 4.2.0+ '@smithy/middleware-serde': 4.1.0+ '@smithy/middleware-stack': 4.1.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/node-http-handler': 4.2.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-body-length-browser': 4.1.0+ '@smithy/util-body-length-node': 4.1.0+ '@smithy/util-defaults-mode-browser': 4.1.0+ '@smithy/util-defaults-mode-node': 4.1.0+ '@smithy/util-endpoints': 3.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-retry': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-config-provider': 4.1.0+ '@smithy/util-middleware': 4.1.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/middleware-sdk-s3': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/signature-v4': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/core': 3.883.0+ '@aws-sdk/nested-clients': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1+ transitivePeerDependencies:+ - aws-crt++ '@aws-sdk/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ '@smithy/util-endpoints': 3.1.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/types': 3.862.0+ '@smithy/types': 4.4.0+ bowser: 2.12.1+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@aws-sdk/middleware-user-agent': 3.883.0+ '@aws-sdk/types': 3.862.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@aws-sdk/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1+'@babel/[email protected]':dependencies:'@babel/helper-validator-identifier': 7.27.1@@ -5349,6 +7721,26 @@ snapshots:'@babel/[email protected]': {}+ '@babel/[email protected]':+ dependencies:+ '@ampproject/remapping': 2.3.0+ '@babel/code-frame': 7.27.1+ '@babel/generator': 7.28.0+ '@babel/helper-compilation-targets': 7.27.2+ '@babel/helper-module-transforms': 7.27.3(@babel/[email protected])+ '@babel/helpers': 7.27.6+ '@babel/parser': 7.28.0+ '@babel/template': 7.27.2+ '@babel/traverse': 7.28.0+ '@babel/types': 7.28.0+ convert-source-map: 2.0.0+ debug: 4.4.1+ gensync: 1.0.0-beta.2+ json5: 2.2.3+ semver: 6.3.1+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected]':dependencies:'@ampproject/remapping': 2.3.0@@ -5418,6 +7810,15 @@ snapshots:transitivePeerDependencies:- supports-color+ '@babel/[email protected](@babel/[email protected])':+ dependencies:+ '@babel/core': 7.26.10+ '@babel/helper-module-imports': 7.27.1+ '@babel/helper-validator-identifier': 7.27.1+ '@babel/traverse': 7.28.0+ transitivePeerDependencies:+ - supports-color+'@babel/[email protected](@babel/[email protected])':dependencies:'@babel/core': 7.28.0@@ -5449,12 +7850,8 @@ snapshots:transitivePeerDependencies:- supports-color- '@babel/[email protected]': {}-'@babel/[email protected]': {}- '@babel/[email protected]': {}-'@babel/[email protected]': {}'@babel/[email protected]': {}@@ -5464,7 +7861,7 @@ snapshots:'@babel/template': 7.27.2'@babel/types': 7.28.0- '@babel/[email protected]':+ '@babel/[email protected]':dependencies:'@babel/types': 7.28.0@@ -5525,25 +7922,32 @@ snapshots:'@babel/[email protected]':dependencies:'@babel/code-frame': 7.27.1- '@babel/parser': 7.27.5+ '@babel/parser': 7.28.0'@babel/types': 7.28.0- '@babel/[email protected]':+ '@babel/[email protected]':dependencies:'@babel/code-frame': 7.27.1'@babel/generator': 7.28.0- '@babel/helper-globals': 7.28.0'@babel/parser': 7.28.0'@babel/template': 7.27.2'@babel/types': 7.28.0debug: 4.4.1+ globals: 11.12.0transitivePeerDependencies:- supports-color- '@babel/[email protected]':+ '@babel/[email protected]':dependencies:- '@babel/helper-string-parser': 7.25.9- '@babel/helper-validator-identifier': 7.25.9+ '@babel/code-frame': 7.27.1+ '@babel/generator': 7.28.0+ '@babel/helper-globals': 7.28.0+ '@babel/parser': 7.28.0+ '@babel/template': 7.27.2+ '@babel/types': 7.28.0+ debug: 4.4.1+ transitivePeerDependencies:+ - supports-color'@babel/[email protected]':dependencies:@@ -5556,54 +7960,162 @@ snapshots:'@better-fetch/[email protected]': {}- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optionalDependencies:- '@biomejs/cli-darwin-arm64': 1.9.4- '@biomejs/cli-darwin-x64': 1.9.4- '@biomejs/cli-linux-arm64': 1.9.4- '@biomejs/cli-linux-arm64-musl': 1.9.4- '@biomejs/cli-linux-x64': 1.9.4- '@biomejs/cli-linux-x64-musl': 1.9.4- '@biomejs/cli-win32-arm64': 1.9.4- '@biomejs/cli-win32-x64': 1.9.4+ '@biomejs/cli-darwin-arm64': 2.0.6+ '@biomejs/cli-darwin-x64': 2.0.6+ '@biomejs/cli-linux-arm64': 2.0.6+ '@biomejs/cli-linux-arm64-musl': 2.0.6+ '@biomejs/cli-linux-x64': 2.0.6+ '@biomejs/cli-linux-x64-musl': 2.0.6+ '@biomejs/cli-win32-arm64': 2.0.6+ '@biomejs/cli-win32-x64': 2.0.6- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true- '@biomejs/[email protected]':+ '@biomejs/[email protected]':optional: true+ '@blocknote/[email protected](@types/[email protected])':dependencies:- '@commitlint/format': 19.8.1- '@commitlint/lint': 19.8.1- '@commitlint/load': 19.8.1(@types/[email protected])([email protected])- '@commitlint/read': 19.8.1- '@commitlint/types': 19.8.1- tinyexec: 1.0.1- yargs: 17.7.2- transitivePeerDependencies:- - '@types/node'- - typescript-+ '@emoji-mart/data': 1.2.1+ '@shikijs/types': 3.2.1+ '@tiptap/core': 2.26.1(@tiptap/[email protected])+ '@tiptap/extension-bold': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-code': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-gapcursor': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])+ '@tiptap/extension-history': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])+ '@tiptap/extension-horizontal-rule': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])+ '@tiptap/extension-italic': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-link': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])+ '@tiptap/extension-paragraph': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-strike': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-table-cell': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-table-header': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-text': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/extension-underline': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))+ '@tiptap/pm': 2.26.1+ emoji-mart: 5.6.0+ fast-deep-equal: 3.1.3+ hast-util-from-dom: 5.0.1+ prosemirror-dropcursor: 1.8.2+ prosemirror-highlight: 0.13.0(@shikijs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected])+ prosemirror-model: 1.25.3+ prosemirror-state: 1.4.3+ prosemirror-tables: 1.6.4+ prosemirror-transform: 1.10.4+ prosemirror-view: 1.38.1+ rehype-format: 5.0.1+ rehype-parse: 9.0.1+ rehype-remark: 10.0.1+ rehype-stringify: 10.0.1+ remark-gfm: 4.0.1+ remark-parse: 11.0.0+ remark-rehype: 11.1.2+ remark-stringify: 11.0.0+ unified: 11.0.5+ uuid: 8.3.2+ y-prosemirror: 1.3.7([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected])+ y-protocols: 1.0.6([email protected])+ yjs: 13.6.27+ transitivePeerDependencies:+ - '@types/hast'+ - highlight.js+ - lowlight+ - refractor+ - sugar-high+ - supports-color++ '@blocknote/[email protected](@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@blocknote/core': 0.37.0(@types/[email protected])+ '@emoji-mart/data': 1.2.1+ '@tiptap/core': 2.26.1(@tiptap/[email protected])+ '@tiptap/pm': 2.26.1+ '@tiptap/react': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])([email protected]([email protected]))([email protected])+ emoji-mart: 5.6.0+ lodash.merge: 4.6.2+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-icons: 5.5.0([email protected])+ transitivePeerDependencies:+ - '@hocuspocus/provider'+ - '@types/hast'+ - highlight.js+ - lowlight+ - refractor+ - sugar-high+ - supports-color++ '@blocknote/[email protected](@types/[email protected])(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected])([email protected]([email protected]))([email protected])([email protected])':+ dependencies:+ '@blocknote/core': 0.37.0(@types/[email protected])+ '@blocknote/react': 0.37.0(@types/[email protected])([email protected]([email protected]))([email protected])+ '@hookform/resolvers': 3.10.0([email protected]([email protected]))+ '@radix-ui/react-avatar': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dropdown-menu': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-label': 2.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover': 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-select': 2.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-tabs': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ autoprefixer: 10.4.21([email protected])+ class-variance-authority: 0.7.1+ clsx: 2.1.1+ lucide-react: 0.525.0([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-hook-form: 7.61.1([email protected])+ tailwind-merge: 2.6.0+ tailwindcss: 4.1.13+ zod: 3.25.76+ transitivePeerDependencies:+ - '@hocuspocus/provider'+ - '@types/hast'+ - '@types/react'+ - '@types/react-dom'+ - highlight.js+ - lowlight+ - postcss+ - refractor+ - sugar-high+ - supports-color++ dependencies:+ '@commitlint/format': 19.8.1+ '@commitlint/lint': 19.8.1+ '@commitlint/load': 19.8.1(@types/[email protected])([email protected])+ '@commitlint/read': 19.8.1+ '@commitlint/types': 19.8.1+ tinyexec: 1.0.1+ yargs: 17.7.2+ transitivePeerDependencies:+ - '@types/node'+ - typescript+'@commitlint/[email protected]':dependencies:'@commitlint/types': 19.8.1@@ -5642,7 +8154,7 @@ snapshots:'@commitlint/rules': 19.8.1'@commitlint/types': 19.8.1dependencies:'@commitlint/config-validator': 19.8.1'@commitlint/execute-rule': 19.8.1@@ -5650,7 +8162,7 @@ snapshots:'@commitlint/types': 19.8.1chalk: 5.4.1cosmiconfig: 9.0.0([email protected])- cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])+ cosmiconfig-typescript-loader: 6.1.0(@types/[email protected])([email protected]([email protected]))([email protected])lodash.isplainobject: 4.0.6lodash.merge: 4.6.2lodash.uniq: 4.5.0@@ -5701,7 +8213,7 @@ snapshots:'@types/conventional-commits-parser': 5.0.1chalk: 5.4.1- '@date-fns/[email protected]': {}+ '@date-fns/[email protected]': {}'@dnd-kit/[email protected]([email protected])':dependencies:@@ -5737,11 +8249,13 @@ snapshots:'@drizzle-team/[email protected]': {}- '@emnapi/[email protected]':+ '@emnapi/[email protected]':dependencies:tslib: 2.8.1optional: true+ '@emoji-mart/[email protected]': {}+'@esbuild-kit/[email protected]':dependencies:esbuild: 0.18.20@@ -5752,7 +8266,10 @@ snapshots:'@esbuild-kit/core-utils': 3.3.2get-tsconfig: 4.10.0- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5761,7 +8278,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5770,7 +8290,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5779,7 +8302,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5788,7 +8314,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5797,7 +8326,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5806,7 +8338,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5815,7 +8350,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5824,7 +8362,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5833,7 +8374,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5842,7 +8386,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5851,7 +8398,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5860,7 +8410,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5869,7 +8422,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5878,7 +8434,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5887,7 +8446,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5896,13 +8458,19 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5911,13 +8479,19 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5926,13 +8500,16 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5941,7 +8518,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5950,7 +8530,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5959,7 +8542,10 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':+ optional: true++ '@esbuild/[email protected]':optional: true'@esbuild/[email protected]':@@ -5968,35 +8554,29 @@ snapshots:'@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':optional: true- '@esbuild/[email protected]':+ '@esbuild/[email protected]':optional: true- '@floating-ui/[email protected]':- dependencies:- '@floating-ui/utils': 0.2.9+ '@esbuild/[email protected]':+ optional: true'@floating-ui/[email protected]':dependencies:'@floating-ui/utils': 0.2.9- '@floating-ui/[email protected]':- dependencies:- '@floating-ui/core': 1.6.9- '@floating-ui/utils': 0.2.9-'@floating-ui/[email protected]':dependencies:'@floating-ui/core': 1.7.1'@floating-ui/utils': 0.2.9dependencies:- '@floating-ui/dom': 1.6.13- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@floating-ui/dom': 1.7.1+ react: 19.0.0+ react-dom: 19.0.0([email protected])dependencies:@@ -6004,21 +8584,29 @@ snapshots:react: 19.1.1react-dom: 19.1.1([email protected])+ dependencies:+ '@floating-ui/utils': 0.2.9+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ tabbable: 6.2.0+'@floating-ui/[email protected]': {}- '@formatjs/[email protected]':+ '@formatjs/[email protected]':dependencies:tslib: 2.8.1- '@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])':+ '@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])':dependencies:- '@mdx-js/mdx': 3.1.0([email protected])- fumadocs-core: 15.2.8(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ '@mdx-js/mdx': 3.1.0([email protected])+ fumadocs-core: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])gray-matter: 4.0.3react: 19.1.1zod: 4.1.5optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12transitivePeerDependencies:- acorn- supports-color@@ -6034,115 +8622,234 @@ snapshots:hono: 4.9.5zod: 4.1.5+ dependencies:+ react-hook-form: 7.61.1([email protected])+dependencies:'@standard-schema/utils': 0.3.0react-hook-form: 7.61.1([email protected])- '@img/[email protected]':+ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-darwin-arm64': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-arm64': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-darwin-x64': 1.1.0optional: true+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-darwin-x64': 1.2.0+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true+ '@img/[email protected]':+ optional: true+'@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-arm64': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm64': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-arm': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-arm': 1.2.0+ optional: true++ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-ppc64': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-s390x': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-s390x': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linux-x64': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linux-x64': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linuxmusl-arm64': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.0+ optional: true++ '@img/[email protected]':optionalDependencies:'@img/sharp-libvips-linuxmusl-x64': 1.1.0optional: true- '@img/[email protected]':+ '@img/[email protected]':+ optionalDependencies:+ '@img/sharp-libvips-linuxmusl-x64': 1.2.0+ optional: true++ '@img/[email protected]':+ dependencies:+ '@emnapi/runtime': 1.5.0+ optional: true++ '@img/[email protected]':dependencies:- '@emnapi/runtime': 1.4.3+ '@emnapi/runtime': 1.5.0+ optional: true++ '@img/[email protected]':+ optional: true++ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true- '@img/[email protected]':+ '@img/[email protected]':optional: true+ '@isaacs/[email protected]': {}++ '@isaacs/[email protected]':+ dependencies:+ '@isaacs/balanced-match': 4.0.1++ '@isaacs/[email protected]':+ dependencies:+ string-width: 5.1.2+ string-width-cjs: [email protected]+ strip-ansi: 7.1.0+ strip-ansi-cjs: [email protected]+ wrap-ansi: 8.1.0+ wrap-ansi-cjs: [email protected]+'@isaacs/[email protected]':dependencies:minipass: 7.1.2'@jridgewell/[email protected]':dependencies:- '@jridgewell/sourcemap-codec': 1.5.4+ '@jridgewell/sourcemap-codec': 1.5.5+ '@jridgewell/trace-mapping': 0.3.29++ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/gen-mapping': 0.3.12'@jridgewell/trace-mapping': 0.3.29'@jridgewell/[email protected]': {}- '@jridgewell/[email protected]': {}+ '@jridgewell/[email protected]':+ dependencies:+ '@jridgewell/gen-mapping': 0.3.12+ '@jridgewell/trace-mapping': 0.3.29++ '@jridgewell/[email protected]': {}'@jridgewell/[email protected]':dependencies:'@jridgewell/resolve-uri': 3.1.2- '@jridgewell/sourcemap-codec': 1.5.4+ '@jridgewell/sourcemap-codec': 1.5.5'@levischuck/[email protected]': {}- '@mdx-js/[email protected]([email protected])':+ '@lottiefiles/[email protected]([email protected])':+ dependencies:+ '@lottiefiles/dotlottie-web': 0.42.0+ react: 19.0.0++ '@lottiefiles/[email protected]': {}++ '@mdx-js/[email protected]([email protected])':dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8'@types/estree-jsx': 1.0.5'@types/hast': 3.0.4'@types/mdx': 2.0.13@@ -6154,13 +8861,13 @@ snapshots:hast-util-to-jsx-runtime: 2.3.6markdown-extensions: 2.0.0recma-build-jsx: 1.0.0- recma-jsx: 1.0.0([email protected])+ recma-jsx: 1.0.0([email protected])recma-stringify: 1.0.0rehype-recma: 1.0.0remark-mdx: 3.1.0remark-parse: 11.0.0remark-rehype: 11.1.2- source-map: 0.7.4+ source-map: 0.7.6unified: 11.0.5unist-util-position-from-estree: 2.0.0unist-util-stringify-position: 4.0.0@@ -6170,35 +8877,89 @@ snapshots:- acorn- supports-color+ '@mdx-js/[email protected]':+ dependencies:+ '@types/estree': 1.0.8+ '@types/estree-jsx': 1.0.5+ '@types/hast': 3.0.4+ '@types/mdx': 2.0.13+ acorn: 8.15.0+ collapse-white-space: 2.1.0+ devlop: 1.1.0+ estree-util-is-identifier-name: 3.0.0+ estree-util-scope: 1.0.0+ estree-walker: 3.0.3+ hast-util-to-jsx-runtime: 2.3.6+ markdown-extensions: 2.0.0+ recma-build-jsx: 1.0.0+ recma-jsx: 1.0.0([email protected])+ recma-stringify: 1.0.0+ rehype-recma: 1.0.0+ remark-mdx: 3.1.1+ remark-parse: 11.0.0+ remark-rehype: 11.1.2+ source-map: 0.7.6+ unified: 11.0.5+ unist-util-position-from-estree: 2.0.0+ unist-util-stringify-position: 4.0.0+ unist-util-visit: 5.0.0+ vfile: 6.0.3+ transitivePeerDependencies:+ - supports-color+'@next/[email protected]': {}+ '@next/[email protected]': {}+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true+ '@next/[email protected]':+ optional: true+'@next/[email protected]':optional: true- '@noble/[email protected]': {}+ '@next/[email protected]':+ optional: true- '@noble/[email protected]': {}+ '@noble/[email protected]': {}'@noble/[email protected]': {}@@ -6361,7 +9122,7 @@ snapshots:'@octokit/request-error': 7.0.0'@octokit/webhooks-methods': 6.0.0- '@orama/[email protected]': {}+ '@orama/[email protected]': {}'@oslojs/[email protected]':dependencies:@@ -6378,7 +9139,7 @@ snapshots:'@paralleldrive/[email protected]':dependencies:- '@noble/hashes': 1.7.1+ '@noble/hashes': 1.8.0'@peculiar/[email protected]':dependencies:@@ -6413,960 +9174,1708 @@ snapshots:pvtsutils: 1.3.6tslib: 2.8.1+ '@pkgjs/[email protected]':+ optional: true+'@popperjs/[email protected]': {}+ '@radix-ui/[email protected]': {}+'@radix-ui/[email protected]': {}'@radix-ui/[email protected]': {}'@radix-ui/[email protected]': {}- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-collapsible': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-collapsible': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collapsible': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collection': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dialog': 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-is-hydrated': 0.1.0(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ dependencies:+ react: 19.0.0+ optionalDependencies:+ '@types/react': 19.0.10++ dependencies:+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ dependencies:+ react: 19.0.0+ optionalDependencies:+ '@types/react': 19.0.10++ dependencies:+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ dependencies:+ react: 19.0.0+ optionalDependencies:+ '@types/react': 19.0.10++ dependencies:+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ dependencies:+ react: 19.0.0+ optionalDependencies:+ '@types/react': 19.0.10++ dependencies:+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ dependencies:+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ optionalDependencies:+ '@types/react': 19.0.10++ dependencies:+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ optionalDependencies:+ '@types/react': 19.1.12++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-menu': 2.1.16(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.3(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.8(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ aria-hidden: 1.2.6+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.1.1+ react-dom: 19.1.1([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-collection': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ optionalDependencies:+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])++ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ dependencies:+ '@radix-ui/number': 1.1.1+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:+ '@radix-ui/number': 1.1.1'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ aria-hidden: 1.2.6react: 19.1.1react-dom: 19.1.1([email protected])+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])react: 19.1.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12dependencies:+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])react: 19.1.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:+ '@radix-ui/primitive': 1.1.3+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1+ react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- aria-hidden: 1.2.4- react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- aria-hidden: 1.2.4- react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-roving-focus': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- react: 19.1.1+ '@radix-ui/primitive': 1.1.2+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-escape-keydown': 1.1.1(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:'@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-menu': 2.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])+ '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])-- dependencies:- react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12dependencies:- '@radix-ui/react-use-layout-effect': 1.1.0(@types/[email protected])([email protected])- react: 19.1.1+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.0.10dependencies:- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- aria-hidden: 1.2.6+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collection': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- aria-hidden: 1.2.4+ '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- aria-hidden: 1.2.4react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-arrow': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/rect': 1.1.1- react: 19.1.1- react-dom: 19.1.1([email protected])+ use-sync-external-store: 1.5.0([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-arrow': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-rect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/rect': 1.1.1- react: 19.1.1- react-dom: 19.1.1([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/rect': 1.1.1+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/rect': 1.1.1react: 19.1.1- react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.1.2(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])+ react: 19.0.0optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])+ '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':dependencies:- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1react-dom: 19.1.1([email protected])optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@types/react': 19.1.12+ '@types/react-dom': 19.1.9(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@radix-ui/[email protected]': {}- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collection': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/number': 1.1.1- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/number': 1.1.1- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-collection': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- aria-hidden: 1.2.6+ prismjs: 1.30.0react: 19.1.1- react-dom: 19.1.1([email protected])- react-remove-scroll: 2.7.1(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9- dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ dependencies:+ '@react-email/body': 0.1.0([email protected])+ '@react-email/button': 0.2.0([email protected])+ '@react-email/code-block': 0.1.0([email protected])+ '@react-email/code-inline': 0.0.5([email protected])+ '@react-email/column': 0.0.13([email protected])+ '@react-email/container': 0.0.15([email protected])+ '@react-email/font': 0.0.9([email protected])+ '@react-email/head': 0.0.12([email protected])+ '@react-email/heading': 0.0.15([email protected])+ '@react-email/hr': 0.0.11([email protected])+ '@react-email/html': 0.0.11([email protected])+ '@react-email/img': 0.0.11([email protected])+ '@react-email/link': 0.0.12([email protected])+ '@react-email/markdown': 0.0.15([email protected])+ '@react-email/preview': 0.0.13([email protected])+ '@react-email/row': 0.0.12([email protected])+ '@react-email/section': 0.0.16([email protected])+ '@react-email/tailwind': 1.2.2([email protected])+ '@react-email/text': 0.1.5([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ transitivePeerDependencies:+ - react-dom+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/primitive': 1.1.3- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-use-previous': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-use-size': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-presence': 1.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-roving-focus': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/primitive': 1.1.2- '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.1.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-popper': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-portal': 1.1.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.4(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-visually-hidden': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])+ '@react-email/[email protected]([email protected])':dependencies:react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-use-effect-event': 0.0.2(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-use-callback-ref': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':dependencies:+ md-to-react-email: 5.0.5([email protected])react: 19.1.1- use-sync-external-store: 1.5.0([email protected])- optionalDependencies:- '@types/react': 19.1.9- dependencies:- react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':+ dependencies:+ '@babel/core': 7.26.10+ '@babel/parser': 7.27.0+ '@babel/traverse': 7.27.0+ '@lottiefiles/dotlottie-react': 0.13.3([email protected])+ '@radix-ui/colors': 3.0.0+ '@radix-ui/react-collapsible': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dropdown-menu': 2.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])+ '@radix-ui/react-tabs': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-toggle-group': 1.1.6(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-tooltip': 1.2.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@types/node': 22.14.1+ '@types/normalize-path': 3.0.2+ '@types/react': 19.0.10+ '@types/react-dom': 19.0.4(@types/[email protected])+ '@types/webpack': 5.28.5([email protected])+ autoprefixer: 10.4.21([email protected])+ chalk: 4.1.2+ clsx: 2.1.1+ esbuild: 0.25.0+ json5: 2.2.3+ log-symbols: 4.1.0+ module-punycode: [email protected]+ node-html-parser: 7.0.1+ ora: 5.4.1+ pretty-bytes: 6.1.1+ prism-react-renderer: 2.4.1([email protected])+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ sharp: 0.34.1+ socket.io-client: 4.8.1+ source-map-js: 1.2.1+ spamc: 0.0.5+ stacktrace-parser: 0.1.11+ tailwind-merge: 3.2.0+ tailwindcss: 3.4.0+ use-debounce: 10.0.4([email protected])+ zod: 3.24.3+ transitivePeerDependencies:+ - '@emotion/is-prop-valid'+ - '@opentelemetry/api'+ - '@playwright/test'+ - '@swc/core'+ - babel-plugin-macros+ - babel-plugin-react-compiler+ - bufferutil+ - postcss+ - sass+ - supports-color+ - ts-node+ - uglify-js+ - utf-8-validate+ - webpack-cli+ '@react-email/[email protected]([email protected])':dependencies:react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9dependencies:+ html-to-text: 9.0.5+ prettier: 3.6.2react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ react-dom: 19.1.1([email protected])+ react-promise-suspense: 0.3.4+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/rect': 1.1.1react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-use-layout-effect': 1.1.1(@types/[email protected])([email protected])react: 19.1.1- optionalDependencies:- '@types/react': 19.1.9- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':+ '@react-email/[email protected]([email protected])':dependencies:- '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1- react-dom: 19.1.1([email protected])- optionalDependencies:- '@types/react': 19.1.9- '@types/react-dom': 19.1.7(@types/[email protected])-- '@radix-ui/[email protected]': {}'@remirror/[email protected]': {}'@rolldown/[email protected]': {}- '@rollup/[email protected]':- optional: true-'@rollup/[email protected]':optional: true- '@rollup/[email protected]':- optional: true-'@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':+ '@rollup/[email protected]':optional: true- '@rollup/[email protected]':- optional: true+ '@selderee/[email protected]':+ dependencies:+ domhandler: 5.0.3+ selderee: 0.11.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4+ hast-util-to-html: 9.0.5++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2+ oniguruma-to-es: 4.3.3++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@shikijs/vscode-textmate': 10.0.2++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0+ '@types/hast': 3.0.4+ hast-util-to-string: 3.0.1+ shiki: 3.13.0+ unified: 11.0.5+ unist-util-visit: 5.0.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/types': 3.13.0++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/core': 3.13.0+ '@shikijs/types': 3.13.0++ '@shikijs/[email protected]([email protected])':+ dependencies:+ '@shikijs/core': 3.13.0+ '@shikijs/types': 3.13.0+ twoslash: 0.3.4([email protected])+ typescript: 5.8.3+ transitivePeerDependencies:+ - supports-color++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4++ '@shikijs/[email protected]':+ dependencies:+ '@shikijs/vscode-textmate': 10.0.2+ '@types/hast': 3.0.4++ '@shikijs/[email protected]': {}++ '@simplewebauthn/[email protected]': {}++ '@simplewebauthn/[email protected]':+ dependencies:+ '@hexagon/base64': 1.1.28+ '@levischuck/tiny-cbor': 0.2.11+ '@peculiar/asn1-android': 2.4.0+ '@peculiar/asn1-ecc': 2.4.0+ '@peculiar/asn1-rsa': 2.4.0+ '@peculiar/asn1-schema': 2.4.0+ '@peculiar/asn1-x509': 2.4.0++ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/node-config-provider': 4.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-config-provider': 4.1.0+ '@smithy/util-middleware': 4.1.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/middleware-serde': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-body-length-browser': 4.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-stream': 4.3.0+ '@smithy/util-utf8': 4.1.0+ '@types/uuid': 9.0.8+ tslib: 2.8.1+ uuid: 9.0.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/node-config-provider': 4.2.0+ '@smithy/property-provider': 4.1.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/protocol-http': 5.2.0+ '@smithy/querystring-builder': 4.1.0+ '@smithy/types': 4.4.0+ '@smithy/util-base64': 4.1.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ '@smithy/util-buffer-from': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/core': 3.10.0+ '@smithy/middleware-serde': 4.1.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ '@smithy/url-parser': 4.1.0+ '@smithy/util-middleware': 4.1.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/node-config-provider': 4.2.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/service-error-classification': 4.1.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-retry': 4.1.0+ '@types/uuid': 9.0.8+ tslib: 2.8.1+ uuid: 9.0.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/property-provider': 4.1.0+ '@smithy/shared-ini-file-loader': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/abort-controller': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/querystring-builder': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ '@smithy/util-uri-escape': 4.1.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/is-array-buffer': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-hex-encoding': 4.1.0+ '@smithy/util-middleware': 4.1.0+ '@smithy/util-uri-escape': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/core': 3.10.0+ '@smithy/middleware-endpoint': 4.2.0+ '@smithy/middleware-stack': 4.1.0+ '@smithy/protocol-http': 5.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-stream': 4.3.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/querystring-parser': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/util-buffer-from': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1- '@rollup/[email protected]':- optional: true+ '@smithy/[email protected]':+ dependencies:+ '@smithy/is-array-buffer': 2.2.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2- '@shikijs/vscode-textmate': 10.0.2- '@types/hast': 3.0.4- hast-util-to-html: 9.0.5+ '@smithy/is-array-buffer': 4.1.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2- '@shikijs/vscode-textmate': 10.0.2- oniguruma-to-es: 4.2.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2- '@shikijs/vscode-textmate': 10.0.2+ '@smithy/property-provider': 4.1.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ bowser: 2.12.1+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2+ '@smithy/config-resolver': 4.2.0+ '@smithy/credential-provider-imds': 4.1.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/property-provider': 4.1.0+ '@smithy/smithy-client': 4.6.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2- '@types/hast': 3.0.4- hast-util-to-string: 3.0.1- shiki: 3.2.2- unified: 11.0.5- unist-util-visit: 5.0.0+ '@smithy/node-config-provider': 4.2.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/types': 3.2.2+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/core': 3.2.2- '@shikijs/types': 3.2.2+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@shikijs/[email protected]':+ '@smithy/[email protected]':dependencies:- '@shikijs/vscode-textmate': 10.0.2- '@types/hast': 3.0.4+ '@smithy/service-error-classification': 4.1.0+ '@smithy/types': 4.4.0+ tslib: 2.8.1- '@shikijs/[email protected]': {}+ '@smithy/[email protected]':+ dependencies:+ '@smithy/fetch-http-handler': 5.2.0+ '@smithy/node-http-handler': 4.2.0+ '@smithy/types': 4.4.0+ '@smithy/util-base64': 4.1.0+ '@smithy/util-buffer-from': 4.1.0+ '@smithy/util-hex-encoding': 4.1.0+ '@smithy/util-utf8': 4.1.0+ tslib: 2.8.1- '@simplewebauthn/[email protected]': {}+ '@smithy/[email protected]':+ dependencies:+ tslib: 2.8.1- '@simplewebauthn/[email protected]':+ '@smithy/[email protected]':dependencies:- '@hexagon/base64': 1.1.28- '@levischuck/tiny-cbor': 0.2.11- '@peculiar/asn1-android': 2.4.0- '@peculiar/asn1-ecc': 2.4.0- '@peculiar/asn1-rsa': 2.4.0- '@peculiar/asn1-schema': 2.4.0- '@peculiar/asn1-x509': 2.4.0+ '@smithy/util-buffer-from': 2.2.0+ tslib: 2.8.1++ '@smithy/[email protected]':+ dependencies:+ '@smithy/util-buffer-from': 4.1.0+ tslib: 2.8.1++ '@socket.io/[email protected]': {}'@standard-schema/[email protected]': {}@@ -7381,49 +10890,95 @@ snapshots:'@tailwindcss/[email protected]':dependencies:'@ampproject/remapping': 2.3.0- enhanced-resolve: 5.18.2- jiti: 2.4.2+ enhanced-resolve: 5.18.3+ jiti: 2.5.1lightningcss: 1.30.1- magic-string: 0.30.17+ magic-string: 0.30.18source-map-js: 1.2.1tailwindcss: 4.1.11+ '@tailwindcss/[email protected]':+ dependencies:+ '@jridgewell/remapping': 2.3.5+ enhanced-resolve: 5.18.3+ jiti: 2.5.1+ lightningcss: 1.30.1+ magic-string: 0.30.18+ source-map-js: 1.2.1+ tailwindcss: 4.1.13+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':optional: true+ '@tailwindcss/[email protected]':+ optional: true+'@tailwindcss/[email protected]':dependencies:detect-libc: 2.0.4@@ -7442,6 +10997,24 @@ snapshots:'@tailwindcss/oxide-win32-arm64-msvc': 4.1.11'@tailwindcss/oxide-win32-x64-msvc': 4.1.11+ '@tailwindcss/[email protected]':+ dependencies:+ detect-libc: 2.0.4+ tar: 7.4.3+ optionalDependencies:+ '@tailwindcss/oxide-android-arm64': 4.1.13+ '@tailwindcss/oxide-darwin-arm64': 4.1.13+ '@tailwindcss/oxide-darwin-x64': 4.1.13+ '@tailwindcss/oxide-freebsd-x64': 4.1.13+ '@tailwindcss/oxide-linux-arm-gnueabihf': 4.1.13+ '@tailwindcss/oxide-linux-arm64-gnu': 4.1.13+ '@tailwindcss/oxide-linux-arm64-musl': 4.1.13+ '@tailwindcss/oxide-linux-x64-gnu': 4.1.13+ '@tailwindcss/oxide-linux-x64-musl': 4.1.13+ '@tailwindcss/oxide-wasm32-wasi': 4.1.13+ '@tailwindcss/oxide-win32-arm64-msvc': 4.1.13+ '@tailwindcss/oxide-win32-x64-msvc': 4.1.13+'@tailwindcss/[email protected]':dependencies:'@alloc/quick-lru': 5.2.0@@ -7450,6 +11023,13 @@ snapshots:postcss: 8.5.6tailwindcss: 4.1.11+ '@tailwindcss/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ dependencies:+ '@tailwindcss/node': 4.1.13+ '@tailwindcss/oxide': 4.1.13+ tailwindcss: 4.1.13+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+'@tanstack/[email protected]': {}'@tanstack/[email protected]': {}@@ -7545,7 +11125,7 @@ snapshots:transitivePeerDependencies:- supports-color- '@tanstack/[email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@tanstack/[email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))([email protected]([email protected]))':dependencies:'@babel/core': 7.28.0'@babel/plugin-syntax-jsx': 7.27.1(@babel/[email protected])@@ -7563,7 +11143,8 @@ snapshots:zod: 3.25.76optionalDependencies:+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ webpack: 5.101.3([email protected])transitivePeerDependencies:- supports-color@@ -7588,10 +11169,6 @@ snapshots:dependencies:'@tiptap/pm': 2.26.1- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])@@ -7602,28 +11179,10 @@ snapshots:'@tiptap/pm': 2.26.1tippy.js: 6.3.7- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-- '@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/pm': 2.26.1-dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-- '@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/pm': 2.26.1-'@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])@@ -7635,18 +11194,6 @@ snapshots:'@tiptap/core': 2.26.1(@tiptap/[email protected])'@tiptap/pm': 2.26.1- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-'@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])@@ -7665,43 +11212,29 @@ snapshots:dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])'@tiptap/pm': 2.26.1- linkifyjs: 4.3.1-- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])-- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])+ linkifyjs: 4.3.2dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/pm': 2.26.1-dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])':dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/pm': 2.26.1dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])dependencies:'@tiptap/core': 2.26.1(@tiptap/[email protected])@@ -7710,20 +11243,20 @@ snapshots:prosemirror-changeset: 2.3.0prosemirror-collab: 1.3.1prosemirror-commands: 1.7.0- prosemirror-dropcursor: 1.8.1+ prosemirror-dropcursor: 1.8.2prosemirror-gapcursor: 1.3.2prosemirror-history: 1.4.1prosemirror-inputrules: 1.5.0prosemirror-keymap: 1.2.2prosemirror-markdown: 1.13.2prosemirror-menu: 1.2.4- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-schema-basic: 1.2.4prosemirror-schema-list: 1.5.1prosemirror-state: 1.4.3prosemirror-tables: 1.6.4- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1'@tiptap/[email protected](@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])([email protected]([email protected]))([email protected])':@@ -7738,30 +11271,6 @@ snapshots:react-dom: 19.1.1([email protected])use-sync-external-store: 1.5.0([email protected])- '@tiptap/[email protected]':- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])- '@tiptap/extension-blockquote': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-bold': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-bullet-list': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-code': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-code-block': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])- '@tiptap/extension-document': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-dropcursor': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])- '@tiptap/extension-gapcursor': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])- '@tiptap/extension-hard-break': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-heading': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-history': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])- '@tiptap/extension-horizontal-rule': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))(@tiptap/[email protected])- '@tiptap/extension-italic': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-list-item': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-ordered-list': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-paragraph': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-strike': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-text': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/extension-text-style': 2.26.1(@tiptap/[email protected](@tiptap/[email protected]))- '@tiptap/pm': 2.26.1-'@types/[email protected]': {}'@types/[email protected]':@@ -7787,26 +11296,38 @@ snapshots:'@types/[email protected]':dependencies:- '@types/node': 24.3.0+ '@types/node': 24.3.1'@types/[email protected]':dependencies:- '@types/node': 24.3.0+ '@types/node': 24.3.1optional: true'@types/[email protected]':dependencies:- '@types/node': 24.3.0+ '@types/node': 24.3.1++ '@types/[email protected]':+ dependencies:+ '@types/node': 24.3.1'@types/[email protected]':dependencies:'@types/ms': 2.1.0- '@types/[email protected]':+ '@types/[email protected]':+ dependencies:+ '@types/eslint': 9.6.1+ '@types/estree': 1.0.8++ '@types/[email protected]':dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8+ '@types/json-schema': 7.0.15- '@types/[email protected]': {}+ '@types/[email protected]':+ dependencies:+ '@types/estree': 1.0.8'@types/[email protected]': {}@@ -7816,15 +11337,10 @@ snapshots:dependencies:'@types/unist': 3.0.3- '@types/[email protected]': {}+ '@types/[email protected]': {}'@types/[email protected]': {}- '@types/[email protected]':- dependencies:- '@types/linkify-it': 3.0.5- '@types/mdurl': 1.0.5-'@types/[email protected]':dependencies:'@types/linkify-it': 5.0.0@@ -7834,8 +11350,6 @@ snapshots:dependencies:'@types/unist': 3.0.3- '@types/[email protected]': {}-'@types/[email protected]': {}'@types/[email protected]': {}@@ -7846,33 +11360,40 @@ snapshots:dependencies:undici-types: 6.21.0- '@types/[email protected]':+ '@types/[email protected]':dependencies:- undici-types: 7.8.0+ undici-types: 7.10.0- '@types/[email protected]':+ '@types/[email protected]':dependencies:- undici-types: 7.10.0+ '@aws-sdk/client-sesv2': 3.883.0+ '@types/node': 24.3.1+ transitivePeerDependencies:+ - aws-crt++ '@types/[email protected]': {}'@types/[email protected]':dependencies:- '@types/node': 24.3.0- pg-protocol: 1.10.0+ '@types/node': 24.3.1+ pg-protocol: 1.10.3pg-types: 2.2.0- '@types/[email protected](@types/[email protected])':+ '@types/[email protected]': {}++ '@types/[email protected](@types/[email protected])':dependencies:- '@types/react': 19.1.12+ '@types/react': 19.0.10- '@types/[email protected](@types/[email protected])':+ '@types/[email protected](@types/[email protected])':dependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12- '@types/[email protected]':+ '@types/[email protected]':dependencies:csstype: 3.1.3- '@types/[email protected]':+ '@types/[email protected]':dependencies:csstype: 3.1.3@@ -7882,35 +11403,153 @@ snapshots:'@types/[email protected]': {}- '@types/[email protected]':+ '@types/[email protected]': {}++ '@types/[email protected]([email protected])':+ dependencies:+ '@types/node': 24.3.1+ tapable: 2.2.2+ webpack: 5.101.3([email protected])+ transitivePeerDependencies:+ - '@swc/core'+ - esbuild+ - uglify-js+ - webpack-cli++ '@types/[email protected]':+ dependencies:+ '@types/node': 24.3.1+ optional: true++ '@typescript/[email protected]([email protected])':+ dependencies:+ debug: 4.4.1+ typescript: 5.8.3+ transitivePeerDependencies:+ - supports-color++ '@ungap/[email protected]': {}++ '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]))':+ dependencies:+ '@babel/core': 7.28.0+ '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])+ '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])+ '@rolldown/pluginutils': 1.0.0-beta.27+ '@types/babel__core': 7.20.5+ react-refresh: 0.17.0+ vite: 6.3.5(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])+ transitivePeerDependencies:+ - supports-color++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/helper-numbers': 1.13.2+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/floating-point-hex-parser': 1.13.2+ '@webassemblyjs/helper-api-error': 1.13.2+ '@xtuc/long': 4.2.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/wasm-gen': 1.14.1++ '@webassemblyjs/[email protected]':+ dependencies:+ '@xtuc/ieee754': 1.2.0++ '@webassemblyjs/[email protected]':+ dependencies:+ '@xtuc/long': 4.2.2++ '@webassemblyjs/[email protected]': {}++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/helper-wasm-section': 1.14.1+ '@webassemblyjs/wasm-gen': 1.14.1+ '@webassemblyjs/wasm-opt': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1+ '@webassemblyjs/wast-printer': 1.14.1++ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/ieee754': 1.13.2+ '@webassemblyjs/leb128': 1.13.2+ '@webassemblyjs/utf8': 1.13.2++ '@webassemblyjs/[email protected]':dependencies:- '@types/node': 24.3.0- optional: true+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-buffer': 1.14.1+ '@webassemblyjs/wasm-gen': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1- '@ungap/[email protected]': {}+ '@webassemblyjs/[email protected]':+ dependencies:+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/helper-api-error': 1.13.2+ '@webassemblyjs/helper-wasm-bytecode': 1.13.2+ '@webassemblyjs/ieee754': 1.13.2+ '@webassemblyjs/leb128': 1.13.2+ '@webassemblyjs/utf8': 1.13.2- '@vitejs/[email protected]([email protected](@types/[email protected])([email protected])([email protected])([email protected]))':+ '@webassemblyjs/[email protected]':dependencies:- '@babel/core': 7.28.0- '@babel/plugin-transform-react-jsx-self': 7.27.1(@babel/[email protected])- '@babel/plugin-transform-react-jsx-source': 7.27.1(@babel/[email protected])- '@rolldown/pluginutils': 1.0.0-beta.27- '@types/babel__core': 7.20.5- react-refresh: 0.17.0- transitivePeerDependencies:- - supports-color+ '@webassemblyjs/ast': 1.14.1+ '@xtuc/long': 4.2.2++ '@xtuc/[email protected]': {}++ '@xtuc/[email protected]': {}dependencies:jsonparse: 1.3.1through: 2.3.8+ dependencies:+ mime-types: 2.1.35+ negotiator: 0.6.3++ dependencies:+ acorn: 8.15.0+dependencies:- acorn: 8.14.1+ acorn: 8.15.0++ [email protected]: {}- [email protected]: {}+ optionalDependencies:+ ajv: 8.17.1++ dependencies:+ ajv: 8.17.1+ fast-deep-equal: 3.1.3dependencies:@@ -7921,27 +11560,31 @@ snapshots:+ [email protected]: {}+dependencies:color-convert: 2.0.1+ [email protected]: {}++ [email protected]: {}+dependencies:normalize-path: 3.0.0picomatch: 2.3.1+ [email protected]: {}+dependencies:sprintf-js: 1.0.3- dependencies:- tslib: 2.8.1-dependencies:tslib: 2.8.1@@ -7960,6 +11603,16 @@ snapshots:+ dependencies:+ browserslist: 4.25.1+ caniuse-lite: 1.0.30001726+ fraction.js: 4.3.7+ normalize-range: 0.1.2+ picocolors: 1.1.1+ postcss: 8.5.6+ postcss-value-parser: 4.2.0+@@ -7973,10 +11626,12 @@ snapshots:dependencies:- '@babel/types': 7.27.0+ '@babel/types': 7.28.0+ [email protected]: {}+optional: true@@ -8002,8 +11657,9 @@ snapshots:bare-events: 2.5.4optional: true- optional: true+ [email protected]: {}++ [email protected]: {}dependencies:@@ -8012,25 +11668,7 @@ snapshots:- dependencies:- '@better-auth/utils': 0.2.6- '@better-fetch/fetch': 1.1.18- '@noble/ciphers': 0.6.0- '@noble/hashes': 1.8.0- '@simplewebauthn/browser': 13.1.2- '@simplewebauthn/server': 13.1.2- better-call: 1.0.13- defu: 6.1.4- jose: 5.10.0- kysely: 0.28.5- nanostores: 0.11.4- zod: 4.0.17- optionalDependencies:- react: 19.1.1- react-dom: 19.1.1([email protected])-dependencies:'@better-auth/utils': 0.2.6'@better-fetch/fetch': 1.1.18@@ -8038,7 +11676,7 @@ snapshots:'@noble/hashes': 1.8.0'@simplewebauthn/browser': 13.1.2'@simplewebauthn/server': 13.1.2- better-call: 1.0.13+ better-call: 1.0.16defu: 6.1.4jose: 5.10.0kysely: 0.28.5@@ -8048,7 +11686,7 @@ snapshots:react: 19.1.1react-dom: 19.1.1([email protected])dependencies:'@better-fetch/fetch': 1.1.18rou3: 0.5.1@@ -8073,10 +11711,17 @@ snapshots:buffer: 5.7.1inherits: 2.0.4readable-stream: 3.6.2- optional: true++ [email protected]: {}+ [email protected]: {}++ dependencies:+ balanced-match: 1.0.2+dependencies:fill-range: 7.1.1@@ -8094,11 +11739,10 @@ snapshots:dependencies:base64-js: 1.5.1ieee754: 1.2.1- optional: truedependencies:- '@types/node': 24.3.0+ '@types/node': 24.3.1'@types/ws': 8.18.1optional: true@@ -8108,10 +11752,17 @@ snapshots:+ [email protected]: {}++ dependencies:+ ansi-styles: 4.3.0+ supports-color: 7.2.0+@@ -8143,10 +11794,26 @@ snapshots:+ [email protected]: {}++ dependencies:+ consola: 3.4.2+dependencies:clsx: 2.1.1+ dependencies:+ restore-cursor: 3.1.0++ dependencies:+ restore-cursor: 5.1.0++ [email protected]: {}+@@ -8155,14 +11822,16 @@ snapshots:strip-ansi: 6.0.1wrap-ansi: 7.0.0+ [email protected]: {}+- [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):+ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:- '@radix-ui/react-compose-refs': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-dialog': 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.0(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.0.2(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-compose-refs': 1.1.2(@types/[email protected])([email protected])+ '@radix-ui/react-dialog': 1.1.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-id': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-primitive': 2.1.3(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])react: 19.1.1react-dom: 19.1.1([email protected])transitivePeerDependencies:@@ -8181,16 +11850,20 @@ snapshots:dependencies:color-name: 1.1.4simple-swizzle: 0.2.2- optional: truedependencies:color-convert: 2.0.1color-string: 1.9.1- optional: true+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+dependencies:array-ify: 1.0.0@@ -8198,6 +11871,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+dependencies:compare-func: 2.0.0@@ -8217,11 +11894,18 @@ snapshots:- [email protected](@types/[email protected])([email protected]([email protected]))([email protected]):+ [email protected]: {}++ dependencies:+ object-assign: 4.1.1+ vary: 1.1.2++ [email protected](@types/[email protected])([email protected]([email protected]))([email protected]):dependencies:- '@types/node': 24.3.0+ '@types/node': 24.3.1cosmiconfig: 9.0.0([email protected])- jiti: 2.4.2+ jiti: 2.5.1typescript: 5.8.3@@ -8243,6 +11927,16 @@ snapshots:shebang-command: 2.0.0which: 2.0.2+ dependencies:+ boolbase: 1.0.0+ css-what: 6.2.2+ domhandler: 5.0.3+ domutils: 3.2.2+ nth-check: 2.1.1++ [email protected]: {}+@@ -8253,7 +11947,9 @@ snapshots:+ [email protected]: {}+dependencies:ms: 2.1.3@@ -8273,6 +11969,12 @@ snapshots:optional: true+ [email protected]: {}++ dependencies:+ clone: 1.0.4+@@ -8285,12 +11987,47 @@ snapshots:dependencies:dequal: 2.0.3+ [email protected]: {}++ [email protected]: {}++ dependencies:+ domelementtype: 2.3.0+ domhandler: 5.0.3+ entities: 4.5.0++ [email protected]: {}++ dependencies:+ domelementtype: 2.3.0++ dependencies:+ dom-serializer: 2.0.0+ domelementtype: 2.3.0+ domhandler: 5.0.3+dependencies:is-obj: 2.0.0+ dependencies:+ dotenv: 16.6.1++ dependencies:+ cross-spawn: 7.0.6+ dotenv: 17.2.1+ dotenv-expand: 12.0.3+ minimist: 1.2.8++ [email protected]: {}+@@ -8311,34 +12048,69 @@ snapshots:kysely: 0.28.5pg: 8.16.3+ [email protected]: {}+- [email protected]: {}+ [email protected]: {}++ [email protected]: {}- dependencies:- once: 1.4.0+ [email protected]: {}dependencies:once: 1.4.0- optional: true+ dependencies:+ '@socket.io/component-emitter': 3.1.2+ debug: 4.3.7+ engine.io-parser: 5.2.3+ ws: 8.17.1+ xmlhttprequest-ssl: 2.1.2+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validate++ [email protected]: {}++ dependencies:+ '@types/cors': 2.8.19+ '@types/node': 24.3.1+ accepts: 1.3.8+ base64id: 2.0.0+ cookie: 0.7.2+ cors: 2.8.5+ debug: 4.3.7+ engine.io-parser: 5.2.3+ ws: 8.17.1+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validate+dependencies:graceful-fs: 4.2.11tapable: 2.2.2+ [email protected]: {}+dependencies:is-arrayish: 0.2.1+ [email protected]: {}+dependencies:'@types/estree-jsx': 1.0.5@@ -8349,13 +12121,13 @@ snapshots:dependencies:'@types/estree-jsx': 1.0.5- acorn: 8.14.1+ acorn: 8.15.0esast-util-from-estree: 2.0.0vfile-message: 4.0.2dependencies:- debug: 4.4.0+ debug: 4.4.1esbuild: 0.25.9transitivePeerDependencies:- supports-color@@ -8385,34 +12157,62 @@ snapshots:'@esbuild/win32-ia32': 0.18.20'@esbuild/win32-x64': 0.18.20- optionalDependencies:- '@esbuild/aix-ppc64': 0.25.8- '@esbuild/android-arm': 0.25.8- '@esbuild/android-arm64': 0.25.8- '@esbuild/android-x64': 0.25.8- '@esbuild/darwin-arm64': 0.25.8- '@esbuild/darwin-x64': 0.25.8- '@esbuild/freebsd-arm64': 0.25.8- '@esbuild/freebsd-x64': 0.25.8- '@esbuild/linux-arm': 0.25.8- '@esbuild/linux-arm64': 0.25.8- '@esbuild/linux-ia32': 0.25.8- '@esbuild/linux-loong64': 0.25.8- '@esbuild/linux-mips64el': 0.25.8- '@esbuild/linux-ppc64': 0.25.8- '@esbuild/linux-riscv64': 0.25.8- '@esbuild/linux-s390x': 0.25.8- '@esbuild/linux-x64': 0.25.8- '@esbuild/netbsd-arm64': 0.25.8- '@esbuild/netbsd-x64': 0.25.8- '@esbuild/openbsd-arm64': 0.25.8- '@esbuild/openbsd-x64': 0.25.8- '@esbuild/openharmony-arm64': 0.25.8- '@esbuild/sunos-x64': 0.25.8- '@esbuild/win32-arm64': 0.25.8- '@esbuild/win32-ia32': 0.25.8- '@esbuild/win32-x64': 0.25.8+ optionalDependencies:+ '@esbuild/aix-ppc64': 0.25.0+ '@esbuild/android-arm': 0.25.0+ '@esbuild/android-arm64': 0.25.0+ '@esbuild/android-x64': 0.25.0+ '@esbuild/darwin-arm64': 0.25.0+ '@esbuild/darwin-x64': 0.25.0+ '@esbuild/freebsd-arm64': 0.25.0+ '@esbuild/freebsd-x64': 0.25.0+ '@esbuild/linux-arm': 0.25.0+ '@esbuild/linux-arm64': 0.25.0+ '@esbuild/linux-ia32': 0.25.0+ '@esbuild/linux-loong64': 0.25.0+ '@esbuild/linux-mips64el': 0.25.0+ '@esbuild/linux-ppc64': 0.25.0+ '@esbuild/linux-riscv64': 0.25.0+ '@esbuild/linux-s390x': 0.25.0+ '@esbuild/linux-x64': 0.25.0+ '@esbuild/netbsd-arm64': 0.25.0+ '@esbuild/netbsd-x64': 0.25.0+ '@esbuild/openbsd-arm64': 0.25.0+ '@esbuild/openbsd-x64': 0.25.0+ '@esbuild/sunos-x64': 0.25.0+ '@esbuild/win32-arm64': 0.25.0+ '@esbuild/win32-ia32': 0.25.0+ '@esbuild/win32-x64': 0.25.0++ optionalDependencies:+ '@esbuild/aix-ppc64': 0.25.10+ '@esbuild/android-arm': 0.25.10+ '@esbuild/android-arm64': 0.25.10+ '@esbuild/android-x64': 0.25.10+ '@esbuild/darwin-arm64': 0.25.10+ '@esbuild/darwin-x64': 0.25.10+ '@esbuild/freebsd-arm64': 0.25.10+ '@esbuild/freebsd-x64': 0.25.10+ '@esbuild/linux-arm': 0.25.10+ '@esbuild/linux-arm64': 0.25.10+ '@esbuild/linux-ia32': 0.25.10+ '@esbuild/linux-loong64': 0.25.10+ '@esbuild/linux-mips64el': 0.25.10+ '@esbuild/linux-ppc64': 0.25.10+ '@esbuild/linux-riscv64': 0.25.10+ '@esbuild/linux-s390x': 0.25.10+ '@esbuild/linux-x64': 0.25.10+ '@esbuild/netbsd-arm64': 0.25.10+ '@esbuild/netbsd-x64': 0.25.10+ '@esbuild/openbsd-arm64': 0.25.10+ '@esbuild/openbsd-x64': 0.25.10+ '@esbuild/openharmony-arm64': 0.25.10+ '@esbuild/sunos-x64': 0.25.10+ '@esbuild/win32-arm64': 0.25.10+ '@esbuild/win32-ia32': 0.25.10+ '@esbuild/win32-x64': 0.25.10optionalDependencies:@@ -8449,11 +12249,24 @@ snapshots:+ dependencies:+ esrecurse: 4.3.0+ estraverse: 4.3.0++ dependencies:+ estraverse: 5.3.0++ [email protected]: {}++ [email protected]: {}+dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8dependencies:@@ -8466,18 +12279,18 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8devlop: 1.1.0dependencies:'@types/estree-jsx': 1.0.5astring: 1.9.0- source-map: 0.7.4+ source-map: 0.7.6dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8dependencies:@@ -8486,11 +12299,15 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8++ [email protected]: {}optional: true+ [email protected]: {}+dependencies:is-extendable: 0.1.1@@ -8499,6 +12316,8 @@ snapshots:+ [email protected]: {}+@@ -8513,14 +12332,14 @@ snapshots:+ dependencies:+ strnum: 2.1.1+dependencies:reusify: 1.1.0- optionalDependencies:- picomatch: 4.0.2-optionalDependencies:picomatch: 4.0.3@@ -8540,9 +12359,25 @@ snapshots:path-exists: 5.0.0unicorn-magic: 0.1.0+ dependencies:+ cross-spawn: 7.0.6+ signal-exit: 4.1.0++ [email protected]: {}++ dependencies:+ motion-dom: 12.23.12+ motion-utils: 12.23.6+ tslib: 2.8.1+ optionalDependencies:+ react: 19.0.0+ react-dom: 19.0.0([email protected])+dependencies:- motion-dom: 12.23.9+ motion-dom: 12.23.12motion-utils: 12.23.6tslib: 2.8.1optionalDependencies:@@ -8555,88 +12390,128 @@ snapshots:optional: true- [email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):+ [email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]):dependencies:- '@formatjs/intl-localematcher': 0.6.1- '@orama/orama': 3.1.6- '@shikijs/rehype': 3.2.2- '@shikijs/transformers': 3.2.2+ '@formatjs/intl-localematcher': 0.6.2+ '@orama/orama': 3.1.14+ '@shikijs/rehype': 3.13.0+ '@shikijs/transformers': 3.13.0github-slugger: 2.0.0hast-util-to-estree: 3.1.3hast-util-to-jsx-runtime: 2.3.6image-size: 2.0.2negotiator: 1.0.0- react-remove-scroll: 2.6.3(@types/[email protected])([email protected])+ npm-to-yarn: 3.0.1+ path-to-regexp: 8.3.0+ react-remove-scroll: 2.7.1(@types/[email protected])([email protected])remark: 15.0.1remark-gfm: 4.0.1+ remark-rehype: 11.1.2scroll-into-view-if-needed: 3.1.0- shiki: 3.2.2+ shiki: 3.13.0unist-util-visit: 5.0.0optionalDependencies:+ '@types/react': 19.1.12+ lucide-react: 0.488.0([email protected])react: 19.1.1react-dom: 19.1.1([email protected])transitivePeerDependencies:- - '@types/react'- supports-color- [email protected](@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]))([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected]))([email protected])):+ [email protected](@fumadocs/[email protected](@types/[email protected])([email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]))([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected])([email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])):dependencies:- '@mdx-js/mdx': 3.1.0([email protected])+ '@mdx-js/mdx': 3.1.1'@standard-schema/spec': 1.0.0chokidar: 4.0.3- cross-spawn: 7.0.6- esbuild: 0.25.9- estree-util-value-to-estree: 3.3.3- fast-glob: 3.3.3- fumadocs-core: 15.2.8(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])- gray-matter: 4.0.3- lru-cache: 11.1.0+ esbuild: 0.25.10+ estree-util-value-to-estree: 3.4.0+ fumadocs-core: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ js-yaml: 4.1.0+ lru-cache: 11.2.2+ mdast-util-to-markdown: 2.1.2picocolors: 1.1.1+ remark-mdx: 3.1.1+ remark-parse: 11.0.0+ tinyexec: 1.0.1+ tinyglobby: 0.2.15+ unified: 11.0.5unist-util-visit: 5.0.0- zod: 3.25.76+ zod: 4.1.11optionalDependencies:- '@fumadocs/mdx-remote': 1.4.0(@types/[email protected])([email protected])([email protected](@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])+ '@fumadocs/mdx-remote': 1.4.0(@types/[email protected])([email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected]))([email protected])+ react: 19.1.1+ vite: 7.1.3(@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected])transitivePeerDependencies:- - acorn- supports-color- [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]):- dependencies:- '@radix-ui/react-accordion': 1.2.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-collapsible': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-dialog': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])- '@radix-ui/react-navigation-menu': 1.2.9(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-popover': 1.1.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-scroll-area': 1.2.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.2.0(@types/[email protected])([email protected])- '@radix-ui/react-tabs': 1.1.7(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]))([email protected]([email protected]))([email protected])([email protected]):+ dependencies:+ '@radix-ui/react-popover': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@shikijs/twoslash': 3.13.0([email protected])+ fumadocs-ui: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected])+ mdast-util-from-markdown: 2.0.2+ mdast-util-gfm: 3.1.0+ mdast-util-to-hast: 13.2.0+ react: 19.1.1+ shiki: 3.13.0+ tailwind-merge: 3.3.1+ twoslash: 0.3.4([email protected])+ optionalDependencies:+ '@types/react': 19.1.12+ transitivePeerDependencies:+ - '@types/react-dom'+ - react-dom+ - supports-color+ - typescript++ [email protected](@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])([email protected]):+ dependencies:+ '@radix-ui/react-accordion': 1.2.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-collapsible': 1.1.12(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-dialog': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-direction': 1.1.1(@types/[email protected])([email protected])+ '@radix-ui/react-navigation-menu': 1.2.14(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-popover': 1.1.15(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-presence': 1.1.5(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-scroll-area': 1.2.10(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])+ '@radix-ui/react-slot': 1.2.3(@types/[email protected])([email protected])+ '@radix-ui/react-tabs': 1.1.13(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])class-variance-authority: 0.7.1- fumadocs-core: 15.2.8(@types/[email protected])([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])+ fumadocs-core: 15.8.4(@tanstack/[email protected]([email protected]([email protected]))([email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]([email protected]([email protected]))([email protected]))([email protected]([email protected]))([email protected])lodash.merge: 4.6.2- lucide-react: 0.488.0([email protected])postcss-selector-parser: 7.1.0react: 19.1.1react-dom: 19.1.1([email protected])- tailwind-merge: 3.2.0+ scroll-into-view-if-needed: 3.1.0+ tailwind-merge: 3.3.1optionalDependencies:- tailwindcss: 4.1.11+ '@types/react': 19.1.12+ tailwindcss: 4.1.13transitivePeerDependencies:+ - '@mixedbread/sdk'- '@oramacloud/client'- - '@types/react'+ - '@tanstack/react-router'- '@types/react-dom'- algoliasearch+ - lucide-react+ - react-router- supports-color+ - waku++ [email protected]: {}+ [email protected]: {}+@@ -8645,41 +12520,146 @@ snapshots:dependencies:- dargs: 8.1.0- meow: 12.1.1- split2: 4.2.0+ dargs: 8.1.0+ meow: 12.1.1+ split2: 4.2.0++ optional: true++ [email protected]: {}++ dependencies:+ is-glob: 4.0.3++ dependencies:+ is-glob: 4.0.3++ [email protected]: {}++ dependencies:+ foreground-child: 3.3.1+ jackspeak: 3.4.3+ minimatch: 9.0.5+ minipass: 7.1.2+ package-json-from-dist: 1.0.1+ path-scurry: 1.11.1++ dependencies:+ foreground-child: 3.3.1+ jackspeak: 4.1.1+ minimatch: 10.0.3+ minipass: 7.1.2+ package-json-from-dist: 1.0.1+ path-scurry: 2.0.0++ dependencies:+ ini: 4.1.1++ [email protected]: {}++ [email protected]: {}++ dependencies:+ csstype: 3.1.3++ [email protected]: {}++ dependencies:+ js-yaml: 3.14.1+ kind-of: 6.0.3+ section-matter: 1.0.0+ strip-bom-string: 1.0.0++ [email protected]: {}++ dependencies:+ function-bind: 1.1.2++ dependencies:+ '@types/hast': 3.0.4+ hast-util-is-element: 3.0.0++ dependencies:+ '@types/hast': 3.0.4+ hast-util-embedded: 3.0.0+ hast-util-minify-whitespace: 1.0.1+ hast-util-phrasing: 3.0.1+ hast-util-whitespace: 3.0.0+ html-whitespace-sensitive-tag-names: 3.0.1+ unist-util-visit-parents: 6.0.1++ dependencies:+ '@types/hast': 3.0.4+ hastscript: 9.0.1+ web-namespaces: 2.0.1- optional: true+ dependencies:+ '@types/hast': 3.0.4+ devlop: 1.1.0+ hast-util-from-parse5: 8.0.3+ parse5: 7.3.0+ vfile: 6.0.3+ vfile-message: 4.0.2- [email protected]: {}+ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ devlop: 1.1.0+ hastscript: 9.0.1+ property-information: 7.0.0+ vfile: 6.0.3+ vfile-location: 5.0.3+ web-namespaces: 2.0.1dependencies:- is-glob: 4.0.3+ '@types/hast': 3.0.4dependencies:- ini: 4.1.1+ '@types/hast': 3.0.4- [email protected]: {}+ dependencies:+ '@types/hast': 3.0.4dependencies:- csstype: 3.1.3+ '@types/hast': 3.0.4+ hast-util-embedded: 3.0.0+ hast-util-is-element: 3.0.0+ hast-util-whitespace: 3.0.0+ unist-util-is: 6.0.0- [email protected]: {}+ dependencies:+ '@types/hast': 3.0.4dependencies:- js-yaml: 3.14.1- kind-of: 6.0.3- section-matter: 1.0.0- strip-bom-string: 1.0.0+ '@types/hast': 3.0.4+ hast-util-embedded: 3.0.0+ hast-util-has-property: 3.0.0+ hast-util-is-body-ok-link: 3.0.1+ hast-util-is-element: 3.0.0dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8'@types/estree-jsx': 1.0.5'@types/hast': 3.0.4comma-separated-tokens: 2.0.3@@ -8714,7 +12694,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8'@types/hast': 3.0.4'@types/unist': 3.0.3comma-separated-tokens: 2.0.3@@ -8732,22 +12712,72 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ '@ungap/structured-clone': 1.3.0+ hast-util-phrasing: 3.0.1+ hast-util-to-html: 9.0.5+ hast-util-to-text: 4.0.2+ hast-util-whitespace: 3.0.0+ mdast-util-phrasing: 4.1.0+ mdast-util-to-hast: 13.2.0+ mdast-util-to-string: 4.0.0+ rehype-minify-whitespace: 6.0.2+ trim-trailing-lines: 2.1.0+ unist-util-position: 5.0.0+ unist-util-visit: 5.0.0+dependencies:'@types/hast': 3.0.4+ dependencies:+ '@types/hast': 3.0.4+ '@types/unist': 3.0.3+ hast-util-is-element: 3.0.0+ unist-util-find-after: 5.0.0+dependencies:'@types/hast': 3.0.4+ dependencies:+ '@types/hast': 3.0.4+ comma-separated-tokens: 2.0.3+ hast-util-parse-selector: 4.0.0+ property-information: 7.0.0+ space-separated-tokens: 2.0.2++ [email protected]: {}++ dependencies:+ '@selderee/plugin-htmlparser2': 0.11.0+ deepmerge: 4.3.1+ dom-serializer: 2.0.0+ htmlparser2: 8.0.2+ selderee: 0.11.0++ [email protected]: {}++ dependencies:+ domelementtype: 2.3.0+ domhandler: 5.0.3+ domutils: 3.2.2+ entities: 4.5.0+- optional: true+ [email protected]: {}@@ -8760,8 +12790,7 @@ snapshots:- optional: true+ [email protected]: {}optional: true@@ -8779,13 +12808,16 @@ snapshots:- optional: true+ [email protected]: {}dependencies:binary-extensions: 2.3.0+ dependencies:+ hasown: 2.0.2+@@ -8800,6 +12832,10 @@ snapshots:+ [email protected]: {}++ [email protected]: {}+@@ -8810,12 +12846,40 @@ snapshots:dependencies:text-extensions: 2.4.0+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@isaacs/cliui': 8.0.2+ optionalDependencies:+ '@pkgjs/parseargs': 0.11.0++ dependencies:+ '@isaacs/cliui': 8.0.2++ dependencies:+ '@types/node': 24.3.1+ merge-stream: 2.0.0+ supports-color: 8.1.1++ [email protected]: {}++ [email protected]: {}+@@ -8841,8 +12905,16 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ dependencies:+ isomorphic.js: 0.2.5+optional: true@@ -8888,16 +12960,20 @@ snapshots:lightningcss-win32-arm64-msvc: 1.30.1lightningcss-win32-x64-msvc: 1.30.1+ [email protected]: {}++ [email protected]: {}+dependencies:uc.micro: 2.1.0- [email protected]: {}-+ [email protected]: {}+dependencies:p-locate: 6.0.0@@ -8920,10 +12996,29 @@ snapshots:+ dependencies:+ chalk: 4.1.2+ is-unicode-supported: 0.1.0++ dependencies:+ chalk: 5.4.1+ is-unicode-supported: 1.3.0++ dependencies:+ is-unicode-supported: 2.1.0+ yoctocolors: 2.1.2++ [email protected]: {}++ [email protected]: {}+dependencies:yallist: 3.1.1@@ -8932,17 +13027,19 @@ snapshots:dependencies:react: 19.1.1dependencies:react: 19.1.1dependencies:- '@jridgewell/sourcemap-codec': 1.5.4+ react: 19.1.1- [email protected]: {}+ dependencies:+ '@jridgewell/sourcemap-codec': 1.5.5- [email protected]: {}+ [email protected]: {}dependencies:@@ -8955,6 +13052,13 @@ snapshots:+ [email protected]: {}++ dependencies:+ marked: 7.0.4+ react: 19.1.1+dependencies:'@types/mdast': 4.0.4@@ -9122,6 +13226,8 @@ snapshots:+ [email protected]: {}+@@ -9203,7 +13309,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8devlop: 1.1.0micromark-factory-mdx-expression: 2.0.3micromark-factory-space: 2.0.1@@ -9214,7 +13320,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8devlop: 1.1.0estree-util-is-identifier-name: 3.0.0micromark-factory-mdx-expression: 2.0.3@@ -9231,7 +13337,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8devlop: 1.1.0micromark-core-commonmark: 2.0.3micromark-util-character: 2.1.1@@ -9243,8 +13349,8 @@ snapshots:dependencies:- acorn: 8.14.1- acorn-jsx: 5.3.2([email protected])+ acorn: 8.15.0+ acorn-jsx: 5.3.2([email protected])micromark-extension-mdx-expression: 3.0.1micromark-extension-mdx-jsx: 3.0.2micromark-extension-mdx-md: 2.0.0@@ -9267,7 +13373,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8devlop: 1.1.0micromark-factory-space: 2.0.1micromark-util-character: 2.1.1@@ -9331,7 +13437,7 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8'@types/unist': 3.0.3devlop: 1.1.0estree-util-visit: 2.0.0@@ -9393,9 +13499,33 @@ snapshots:braces: 3.0.3picomatch: 2.3.1+ [email protected]: {}++ [email protected]: {}++ dependencies:+ mime-db: 1.52.0++ dependencies:+ mime-db: 1.54.0++ [email protected]: {}++ [email protected]: {}+optional: true+ dependencies:+ '@isaacs/brace-expansion': 5.0.0++ dependencies:+ brace-expansion: 2.0.2+@@ -9409,7 +13539,7 @@ snapshots:dependencies:motion-utils: 12.23.6@@ -9417,7 +13547,7 @@ snapshots:dependencies:tslib: 2.8.1optionalDependencies:react: 19.1.1@@ -9425,6 +13555,12 @@ snapshots:+ dependencies:+ any-promise: 1.3.0+ object-assign: 4.1.1+ thenify-all: 1.6.0+@@ -9432,8 +13568,12 @@ snapshots:optional: true+ [email protected]: {}++ [email protected]: {}+dependencies:react: 19.1.1@@ -9459,7 +13599,30 @@ snapshots:'@next/swc-linux-x64-musl': 15.3.3'@next/swc-win32-arm64-msvc': 15.3.3'@next/swc-win32-x64-msvc': 15.3.3- sharp: 0.34.2+ sharp: 0.34.3+ transitivePeerDependencies:+ - '@babel/core'+ - babel-plugin-macros++ [email protected](@babel/[email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ '@next/env': 15.4.1+ '@swc/helpers': 0.5.15+ caniuse-lite: 1.0.30001726+ postcss: 8.4.31+ react: 19.0.0+ react-dom: 19.0.0([email protected])+ styled-jsx: 5.1.6(@babel/[email protected])([email protected])+ optionalDependencies:+ '@next/swc-darwin-arm64': 15.4.1+ '@next/swc-darwin-x64': 15.4.1+ '@next/swc-linux-arm64-gnu': 15.4.1+ '@next/swc-linux-arm64-musl': 15.4.1+ '@next/swc-linux-x64-gnu': 15.4.1+ '@next/swc-linux-x64-musl': 15.4.1+ '@next/swc-win32-arm64-msvc': 15.4.1+ '@next/swc-win32-x64-msvc': 15.4.1+ sharp: 0.34.3transitivePeerDependencies:- '@babel/core'- babel-plugin-macros@@ -9473,10 +13636,37 @@ snapshots:+ dependencies:+ css-select: 5.2.2+ he: 1.2.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ boolbase: 1.0.0++ dependencies:+ citty: 0.1.6+ consola: 3.4.2+ pathe: 2.0.3+ pkg-types: 2.3.0+ tinyexec: 0.3.2++ [email protected]: {}++ [email protected]: {}+dependencies:'@octokit/app': 16.0.1@@ -9495,15 +13685,46 @@ snapshots:dependencies:wrappy: 1.0.2- [email protected]: {}+ dependencies:+ mimic-fn: 2.1.0++ dependencies:+ mimic-function: 5.0.1++ [email protected]: {}dependencies:- emoji-regex-xs: 1.0.0- oniguruma-parser: 0.11.2+ oniguruma-parser: 0.12.1regex: 6.0.1regex-recursion: 6.0.2+ dependencies:+ bl: 4.1.0+ chalk: 4.1.2+ cli-cursor: 3.1.0+ cli-spinners: 2.9.2+ is-interactive: 1.0.0+ is-unicode-supported: 0.1.0+ log-symbols: 4.1.0+ strip-ansi: 6.0.1+ wcwidth: 1.0.1++ dependencies:+ chalk: 5.4.1+ cli-cursor: 5.0.0+ cli-spinners: 2.9.2+ is-interactive: 2.0.0+ is-unicode-supported: 2.1.0+ log-symbols: 6.0.0+ stdin-discarder: 0.2.2+ string-width: 7.2.0+ strip-ansi: 7.1.0+@@ -9514,6 +13735,8 @@ snapshots:dependencies:p-limit: 4.0.0+ [email protected]: {}+dependencies:callsites: 3.1.0@@ -9535,10 +13758,37 @@ snapshots:json-parse-even-better-errors: 2.3.1lines-and-columns: 1.2.4+ dependencies:+ entities: 6.0.1++ dependencies:+ leac: 0.6.0+ peberminta: 0.9.0++ [email protected]: {}++ dependencies:+ lru-cache: 10.4.3+ minipass: 7.1.2++ dependencies:+ lru-cache: 11.1.0+ minipass: 7.1.2++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+optional: true@@ -9550,8 +13800,6 @@ snapshots:dependencies:pg: 8.16.3- [email protected]: {}-@@ -9580,15 +13828,54 @@ snapshots:- [email protected]: {}-+ [email protected]: {}++ [email protected]: {}++ dependencies:+ confbox: 0.2.2+ exsolve: 1.0.7+ pathe: 2.0.3++ dependencies:+ postcss: 8.5.6+ postcss-value-parser: 4.2.0+ read-cache: 1.0.0+ resolve: 1.22.10++ dependencies:+ camelcase-css: 2.0.1+ postcss: 8.5.6++ dependencies:+ lilconfig: 3.1.3+ yaml: 2.8.1+ optionalDependencies:+ postcss: 8.5.6++ dependencies:+ postcss: 8.5.6+ postcss-selector-parser: 6.1.2++ dependencies:+ cssesc: 3.0.0+ util-deprecate: 1.0.2+dependencies:cssesc: 3.0.0util-deprecate: 1.0.2+ [email protected]: {}+dependencies:nanoid: 3.3.11@@ -9629,11 +13916,26 @@ snapshots:+ [email protected]: {}++ dependencies:+ '@types/prismjs': 1.26.5+ clsx: 2.1.1+ react: 19.0.0++ [email protected]: {}++ dependencies:+ kleur: 3.0.3+ sisteransi: 1.0.5+dependencies:- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4dependencies:@@ -9641,34 +13943,43 @@ snapshots:dependencies:- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4dependencies:prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1dependencies:prosemirror-keymap: 1.2.2- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3+ prosemirror-state: 1.4.3+ prosemirror-view: 1.38.1++ [email protected](@shikijs/[email protected])(@types/[email protected])([email protected])([email protected])([email protected])([email protected]):+ optionalDependencies:+ '@shikijs/types': 3.2.1+ '@types/hast': 3.0.4+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1dependencies:prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1rope-sequence: 1.3.4dependencies:prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4dependencies:@@ -9679,7 +13990,7 @@ snapshots:dependencies:'@types/markdown-it': 14.1.2markdown-it: 14.1.0- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3dependencies:@@ -9688,65 +13999,61 @@ snapshots:prosemirror-history: 1.4.1prosemirror-state: 1.4.3dependencies:orderedmap: 2.1.1dependencies:- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3dependencies:- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4dependencies:- prosemirror-model: 1.25.0- prosemirror-transform: 1.10.3+ prosemirror-model: 1.25.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1dependencies:prosemirror-keymap: 1.2.2- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3+ prosemirror-transform: 1.10.4prosemirror-view: 1.38.1dependencies:'@remirror/core-constants': 3.0.0escape-string-regexp: 4.0.0- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3prosemirror-view: 1.38.1dependencies:- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3dependencies:- prosemirror-model: 1.25.0+ prosemirror-model: 1.25.3prosemirror-state: 1.4.3- prosemirror-transform: 1.10.3-- dependencies:- end-of-stream: 1.4.4- once: 1.4.0+ prosemirror-transform: 1.10.4dependencies:end-of-stream: 1.4.5once: 1.4.0- optional: true+ [email protected]: {}+dependencies:tslib: 2.8.1@@ -9755,6 +14062,10 @@ snapshots:+ dependencies:+ safe-buffer: 5.2.1+dependencies:deep-extend: 0.6.0@@ -9763,77 +14074,135 @@ snapshots:strip-json-comments: 2.0.1optional: true+ dependencies:+ '@date-fns/tz': 1.4.1+ date-fns: 4.1.0+ date-fns-jalali: 4.1.0-0+ react: 19.1.1++ dependencies:+ react: 19.0.0+ scheduler: 0.25.0++ dependencies:+ react: 19.1.1+ scheduler: 0.26.0++ dependencies:+ '@babel/parser': 7.28.0+ '@babel/traverse': 7.28.0+ chalk: 5.4.1+ chokidar: 4.0.3+ commander: 13.1.0+ debounce: 2.2.0+ esbuild: 0.25.9+ glob: 11.0.3+ jiti: 2.4.2+ log-symbols: 7.0.1+ mime-types: 3.0.1+ normalize-path: 3.0.0+ nypm: 0.6.0+ ora: 8.2.0+ prompts: 2.4.2+ socket.io: 4.8.1+ tsconfig-paths: 4.2.0+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validate+dependencies:- '@date-fns/tz': 1.2.0- date-fns: 4.1.0- date-fns-jalali: 4.1.0-0react: 19.1.1dependencies:react: 19.1.1- scheduler: 0.26.0dependencies:react: 19.1.1+ react-dom: 19.1.1([email protected])dependencies:- react: 19.1.1- react-dom: 19.1.1([email protected])+ fast-deep-equal: 2.0.1dependencies:- react: 19.1.1- react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ react: 19.0.0+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])tslib: 2.8.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.0.10dependencies:react: 19.1.1- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])- react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.1.12++ dependencies:+ react: 19.0.0+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])tslib: 2.8.1- use-callback-ref: 1.3.3(@types/[email protected])([email protected])- use-sidecar: 1.1.3(@types/[email protected])([email protected])+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.0.10dependencies:react: 19.1.1- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])- react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])+ react-style-singleton: 2.2.3(@types/[email protected])([email protected])+ tslib: 2.8.1+ use-callback-ref: 1.3.3(@types/[email protected])([email protected])+ use-sidecar: 1.1.3(@types/[email protected])([email protected])+ optionalDependencies:+ '@types/react': 19.1.12++ dependencies:+ get-nonce: 1.0.1+ react: 19.0.0tslib: 2.8.1- use-callback-ref: 1.3.3(@types/[email protected])([email protected])- use-sidecar: 1.1.3(@types/[email protected])([email protected])optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.0.10dependencies:get-nonce: 1.0.1react: 19.1.1tslib: 2.8.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12+ [email protected]: {}++ dependencies:+ pify: 2.3.0+dependencies:inherits: 2.0.4string_decoder: 1.3.0util-deprecate: 1.0.2- optional: truedependencies:@@ -9851,13 +14220,13 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8estree-util-build-jsx: 3.0.1vfile: 6.0.3dependencies:- acorn-jsx: 5.3.2([email protected])+ acorn-jsx: 5.3.2([email protected])estree-util-to-js: 2.0.0recma-parse: 1.0.0recma-stringify: 1.0.0@@ -9867,14 +14236,14 @@ snapshots:dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8esast-util-from-js: 2.0.1unified: 11.0.5vfile: 6.0.3dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8estree-util-to-js: 2.0.0unified: 11.0.5vfile: 6.0.3@@ -9889,14 +14258,44 @@ snapshots:dependencies:regex-utilities: 2.3.0+ dependencies:+ '@types/hast': 3.0.4+ hast-util-format: 1.1.0++ dependencies:+ '@types/hast': 3.0.4+ hast-util-minify-whitespace: 1.0.1++ dependencies:+ '@types/hast': 3.0.4+ hast-util-from-html: 2.0.3+ unified: 11.0.5+dependencies:- '@types/estree': 1.0.7+ '@types/estree': 1.0.8'@types/hast': 3.0.4hast-util-to-estree: 3.1.3transitivePeerDependencies:- supports-color+ dependencies:+ '@types/hast': 3.0.4+ '@types/mdast': 4.0.4+ hast-util-to-mdast: 10.1.2+ unified: 11.0.5+ vfile: 6.0.3++ dependencies:+ '@types/hast': 3.0.4+ hast-util-to-html: 9.0.5+ unified: 11.0.5+dependencies:'@types/mdast': 4.0.4@@ -9915,6 +14314,13 @@ snapshots:transitivePeerDependencies:- supports-color+ dependencies:+ mdast-util-mdx: 3.0.0+ micromark-extension-mdxjs: 3.0.0+ transitivePeerDependencies:+ - supports-color+dependencies:'@types/mdast': 4.0.4@@ -9957,33 +14363,23 @@ snapshots:- [email protected]: {}+ dependencies:+ is-core-module: 2.16.1+ path-parse: 1.0.7+ supports-preserve-symlinks-flag: 1.0.0- dependencies:- '@types/estree': 1.0.7- optionalDependencies:- '@rollup/rollup-android-arm-eabi': 4.40.1- '@rollup/rollup-android-arm64': 4.40.1- '@rollup/rollup-darwin-arm64': 4.40.1- '@rollup/rollup-darwin-x64': 4.40.1- '@rollup/rollup-freebsd-arm64': 4.40.1- '@rollup/rollup-freebsd-x64': 4.40.1- '@rollup/rollup-linux-arm-gnueabihf': 4.40.1- '@rollup/rollup-linux-arm-musleabihf': 4.40.1- '@rollup/rollup-linux-arm64-gnu': 4.40.1- '@rollup/rollup-linux-arm64-musl': 4.40.1- '@rollup/rollup-linux-loongarch64-gnu': 4.40.1- '@rollup/rollup-linux-powerpc64le-gnu': 4.40.1- '@rollup/rollup-linux-riscv64-gnu': 4.40.1- '@rollup/rollup-linux-riscv64-musl': 4.40.1- '@rollup/rollup-linux-s390x-gnu': 4.40.1- '@rollup/rollup-linux-x64-gnu': 4.40.1- '@rollup/rollup-linux-x64-musl': 4.40.1- '@rollup/rollup-win32-arm64-msvc': 4.40.1- '@rollup/rollup-win32-ia32-msvc': 4.40.1- '@rollup/rollup-win32-x64-msvc': 4.40.1- fsevents: 2.3.3+ dependencies:+ onetime: 5.1.2+ signal-exit: 3.0.7++ dependencies:+ onetime: 7.0.0+ signal-exit: 4.1.0++ [email protected]: {}dependencies:@@ -10019,11 +14415,19 @@ snapshots:dependencies:queue-microtask: 1.2.3- optional: true+ [email protected]: {}++ [email protected]: {}+ dependencies:+ '@types/json-schema': 7.0.15+ ajv: 8.17.1+ ajv-formats: 2.1.1([email protected])+ ajv-keywords: 5.1.0([email protected])+dependencies:compute-scroll-into-view: 3.1.1@@ -10033,10 +14437,18 @@ snapshots:extend-shallow: 2.0.1kind-of: 6.0.3+ dependencies:+ parseley: 0.12.1++ dependencies:+ randombytes: 2.1.0+dependencies:seroval: 1.3.2@@ -10045,14 +14457,14 @@ snapshots:dependencies:color: 4.2.3detect-libc: 2.0.4semver: 7.7.2optionalDependencies:- '@img/sharp-darwin-arm64': 0.34.2- '@img/sharp-darwin-x64': 0.34.2+ '@img/sharp-darwin-arm64': 0.34.1+ '@img/sharp-darwin-x64': 0.34.1'@img/sharp-libvips-darwin-arm64': 1.1.0'@img/sharp-libvips-darwin-x64': 1.1.0'@img/sharp-libvips-linux-arm': 1.1.0@@ -10062,16 +14474,44 @@ snapshots:'@img/sharp-libvips-linux-x64': 1.1.0'@img/sharp-libvips-linuxmusl-arm64': 1.1.0'@img/sharp-libvips-linuxmusl-x64': 1.1.0- '@img/sharp-linux-arm': 0.34.2- '@img/sharp-linux-arm64': 0.34.2- '@img/sharp-linux-s390x': 0.34.2- '@img/sharp-linux-x64': 0.34.2- '@img/sharp-linuxmusl-arm64': 0.34.2- '@img/sharp-linuxmusl-x64': 0.34.2- '@img/sharp-wasm32': 0.34.2- '@img/sharp-win32-arm64': 0.34.2- '@img/sharp-win32-ia32': 0.34.2- '@img/sharp-win32-x64': 0.34.2+ '@img/sharp-linux-arm': 0.34.1+ '@img/sharp-linux-arm64': 0.34.1+ '@img/sharp-linux-s390x': 0.34.1+ '@img/sharp-linux-x64': 0.34.1+ '@img/sharp-linuxmusl-arm64': 0.34.1+ '@img/sharp-linuxmusl-x64': 0.34.1+ '@img/sharp-wasm32': 0.34.1+ '@img/sharp-win32-ia32': 0.34.1+ '@img/sharp-win32-x64': 0.34.1++ dependencies:+ color: 4.2.3+ detect-libc: 2.0.4+ semver: 7.7.2+ optionalDependencies:+ '@img/sharp-darwin-arm64': 0.34.3+ '@img/sharp-darwin-x64': 0.34.3+ '@img/sharp-libvips-darwin-arm64': 1.2.0+ '@img/sharp-libvips-darwin-x64': 1.2.0+ '@img/sharp-libvips-linux-arm': 1.2.0+ '@img/sharp-libvips-linux-arm64': 1.2.0+ '@img/sharp-libvips-linux-ppc64': 1.2.0+ '@img/sharp-libvips-linux-s390x': 1.2.0+ '@img/sharp-libvips-linux-x64': 1.2.0+ '@img/sharp-libvips-linuxmusl-arm64': 1.2.0+ '@img/sharp-libvips-linuxmusl-x64': 1.2.0+ '@img/sharp-linux-arm': 0.34.3+ '@img/sharp-linux-arm64': 0.34.3+ '@img/sharp-linux-ppc64': 0.34.3+ '@img/sharp-linux-s390x': 0.34.3+ '@img/sharp-linux-x64': 0.34.3+ '@img/sharp-linuxmusl-arm64': 0.34.3+ '@img/sharp-linuxmusl-x64': 0.34.3+ '@img/sharp-wasm32': 0.34.3+ '@img/sharp-win32-arm64': 0.34.3+ '@img/sharp-win32-ia32': 0.34.3+ '@img/sharp-win32-x64': 0.34.3optional: true@@ -10080,17 +14520,21 @@ snapshots:dependencies:- '@shikijs/core': 3.2.2- '@shikijs/engine-javascript': 3.2.2- '@shikijs/engine-oniguruma': 3.2.2- '@shikijs/langs': 3.2.2- '@shikijs/themes': 3.2.2- '@shikijs/types': 3.2.2+ '@shikijs/core': 3.13.0+ '@shikijs/engine-javascript': 3.13.0+ '@shikijs/engine-oniguruma': 3.13.0+ '@shikijs/langs': 3.13.0+ '@shikijs/themes': 3.13.0+ '@shikijs/types': 3.13.0'@shikijs/vscode-textmate': 10.0.2'@types/hast': 3.0.4+ [email protected]: {}++ [email protected]: {}+optional: true@@ -10104,7 +14548,49 @@ snapshots:dependencies:is-arrayish: 0.3.2- optional: true++ [email protected]: {}++ dependencies:+ debug: 4.3.7+ ws: 8.17.1+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validate++ dependencies:+ '@socket.io/component-emitter': 3.1.2+ debug: 4.3.7+ engine.io-client: 6.6.3+ socket.io-parser: 4.2.4+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validate++ dependencies:+ '@socket.io/component-emitter': 3.1.2+ debug: 4.3.7+ transitivePeerDependencies:+ - supports-color++ dependencies:+ accepts: 1.3.8+ base64id: 2.0.0+ cors: 2.8.5+ debug: 4.3.7+ engine.io: 6.6.4+ socket.io-adapter: 2.5.5+ socket.io-parser: 4.2.4+ transitivePeerDependencies:+ - bufferutil+ - supports-color+ - utf-8-validatedependencies:@@ -10112,6 +14598,11 @@ snapshots:seroval: 1.3.2seroval-plugins: 1.3.2([email protected])+ dependencies:+ react: 19.0.0+ react-dom: 19.0.0([email protected])+dependencies:react: 19.1.1@@ -10126,16 +14617,22 @@ snapshots:- [email protected]: {}-+ [email protected]: {}++ dependencies:+ type-fest: 0.7.1++ [email protected]: {}+@@ -10151,10 +14648,21 @@ snapshots:is-fullwidth-code-point: 3.0.0strip-ansi: 6.0.1+ dependencies:+ eastasianwidth: 0.2.0+ emoji-regex: 9.2.2+ strip-ansi: 7.1.0++ dependencies:+ emoji-regex: 10.5.0+ get-east-asian-width: 1.3.1+ strip-ansi: 7.1.0+dependencies:safe-buffer: 5.2.1- optional: truedependencies:@@ -10165,11 +14673,19 @@ snapshots:dependencies:ansi-regex: 5.0.1+ dependencies:+ ansi-regex: 6.2.0++ [email protected]: {}+optional: true+ [email protected]: {}+dependencies:style-to-object: 1.0.8@@ -10178,21 +14694,83 @@ snapshots:dependencies:inline-style-parser: 0.2.4+ dependencies:+ client-only: 0.0.1+ react: 19.0.0+ optionalDependencies:+ '@babel/core': 7.26.10+dependencies:client-only: 0.0.1react: 19.1.1+ dependencies:+ '@jridgewell/gen-mapping': 0.3.12+ commander: 4.1.1+ glob: 10.4.5+ lines-and-columns: 1.2.4+ mz: 2.7.0+ pirates: 4.0.7+ ts-interface-checker: 0.1.13++ dependencies:+ has-flag: 4.0.0++ dependencies:+ has-flag: 4.0.0++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ [email protected]: {}+dependencies:- tailwindcss: 4.1.11+ tailwindcss: 4.1.13++ dependencies:+ '@alloc/quick-lru': 5.2.0+ arg: 5.0.2+ chokidar: 3.6.0+ didyoumean: 1.2.2+ dlv: 1.1.3+ fast-glob: 3.3.3+ glob-parent: 6.0.2+ is-glob: 4.0.3+ jiti: 1.21.7+ lilconfig: 2.1.0+ micromatch: 4.0.8+ normalize-path: 3.0.0+ object-hash: 3.0.0+ picocolors: 1.1.1+ postcss: 8.5.6+ postcss-import: 15.1.0([email protected])+ postcss-js: 4.0.1([email protected])+ postcss-load-config: 4.0.2([email protected])+ postcss-nested: 6.2.0([email protected])+ postcss-selector-parser: 6.1.2+ resolve: 1.22.10+ sucrase: 3.35.0+ transitivePeerDependencies:+ - ts-node+ [email protected]: {}+@@ -10205,7 +14783,7 @@ snapshots:dependencies:- pump: 3.0.2+ pump: 3.0.3tar-stream: 3.1.7optionalDependencies:bare-fs: 4.1.5@@ -10237,26 +14815,54 @@ snapshots:mkdirp: 3.0.1yallist: 5.0.0+ dependencies:+ '@jridgewell/trace-mapping': 0.3.29+ jest-worker: 27.5.1+ schema-utils: 4.3.2+ serialize-javascript: 6.0.2+ terser: 5.44.0+ webpack: 5.101.3([email protected])+ optionalDependencies:+ esbuild: 0.25.0++ dependencies:+ '@jridgewell/source-map': 0.3.11+ acorn: 8.15.0+ commander: 2.20.3+ source-map-support: 0.5.21+dependencies:b4a: 1.6.7+ dependencies:+ thenify: 3.3.1++ dependencies:+ any-promise: 1.3.0++ [email protected]: {}+dependencies:- fdir: 6.4.4([email protected])- picomatch: 4.0.2+ fdir: 6.5.0([email protected])+ picomatch: 4.0.3dependencies:fdir: 6.5.0([email protected])picomatch: 4.0.3@@ -10265,14 +14871,6 @@ snapshots:dependencies:'@popperjs/core': 2.11.8- dependencies:- '@tiptap/core': 2.26.1(@tiptap/[email protected])- '@types/markdown-it': 13.0.9- markdown-it: 14.1.0- markdown-it-task-lists: 2.1.1- prosemirror-markdown: 1.13.2-dependencies:is-number: 7.0.0@@ -10281,8 +14879,18 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ dependencies:+ json5: 2.2.3+ minimist: 1.2.8+ strip-bom: 3.0.0+@@ -10297,32 +14905,46 @@ snapshots:safe-buffer: 5.2.1optional: trueoptional: trueoptional: trueoptional: trueoptional: trueoptional: trueoptional: trueoptionalDependencies:- turbo-darwin-64: 2.5.5- turbo-darwin-arm64: 2.5.5- turbo-linux-64: 2.5.5- turbo-linux-arm64: 2.5.5- turbo-windows-64: 2.5.5- turbo-windows-arm64: 2.5.5+ turbo-darwin-64: 2.5.6+ turbo-darwin-arm64: 2.5.6+ turbo-linux-64: 2.5.6+ turbo-linux-arm64: 2.5.6+ turbo-windows-64: 2.5.6+ turbo-windows-arm64: 2.5.6++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@typescript/vfs': 1.6.1([email protected])+ twoslash-protocol: 0.3.4+ typescript: 5.8.3+ transitivePeerDependencies:+ - supports-color++ [email protected]: {}@@ -10336,8 +14958,6 @@ snapshots:- [email protected]: {}-@@ -10350,6 +14970,11 @@ snapshots:trough: 2.2.0vfile: 6.0.3+ dependencies:+ '@types/unist': 3.0.3+ unist-util-is: 6.0.0+dependencies:'@types/unist': 3.0.3@@ -10383,7 +15008,7 @@ snapshots:dependencies:- acorn: 8.14.1+ acorn: 8.15.0webpack-virtual-modules: 0.6.2@@ -10392,20 +15017,39 @@ snapshots:escalade: 3.2.0picocolors: 1.1.1+ dependencies:+ react: 19.0.0+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.10+dependencies:react: 19.1.1tslib: 2.8.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12++ dependencies:+ react: 19.0.0++ dependencies:+ detect-node-es: 1.1.0+ react: 19.0.0+ tslib: 2.8.1+ optionalDependencies:+ '@types/react': 19.0.10dependencies:detect-node-es: 1.1.0react: 19.1.1tslib: 2.8.1optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12dependencies:@@ -10413,6 +15057,17 @@ snapshots:+ [email protected]: {}++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/unist': 3.0.3+ vfile: 6.0.3+dependencies:'@types/unist': 3.0.3@@ -10423,22 +15078,24 @@ snapshots:'@types/unist': 3.0.3vfile-message: 4.0.2- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.9- fdir: 6.4.4([email protected])- picomatch: 4.0.2+ fdir: 6.5.0([email protected])+ picomatch: 4.0.3postcss: 8.5.6- rollup: 4.40.1- tinyglobby: 0.2.13+ rollup: 4.46.2+ tinyglobby: 0.2.14optionalDependencies:- '@types/node': 24.1.0+ '@types/node': 24.3.1fsevents: 2.3.3- jiti: 2.4.2+ jiti: 2.5.1lightningcss: 1.30.1+ terser: 5.44.0tsx: 4.20.5+ yaml: 2.8.1- [email protected](@types/[email protected])([email protected])([email protected])([email protected]):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):dependencies:esbuild: 0.25.9fdir: 6.5.0([email protected])@@ -10447,16 +15104,81 @@ snapshots:rollup: 4.46.2tinyglobby: 0.2.14optionalDependencies:- '@types/node': 24.3.0+ '@types/node': 22.14.1fsevents: 2.3.3- jiti: 2.4.2+ jiti: 2.5.1+ lightningcss: 1.30.1+ terser: 5.44.0+ tsx: 4.20.5+ yaml: 2.8.1+ optional: true++ [email protected](@types/[email protected])([email protected])([email protected])([email protected])([email protected])([email protected]):+ dependencies:+ esbuild: 0.25.9+ fdir: 6.5.0([email protected])+ picomatch: 4.0.3+ postcss: 8.5.6+ rollup: 4.46.2+ tinyglobby: 0.2.14+ optionalDependencies:+ '@types/node': 24.3.1+ fsevents: 2.3.3+ jiti: 2.5.1lightningcss: 1.30.1+ terser: 5.44.0tsx: 4.20.5+ yaml: 2.8.1+ dependencies:+ glob-to-regexp: 0.4.1+ graceful-fs: 4.2.11++ dependencies:+ defaults: 1.0.4++ [email protected]: {}++ [email protected]: {}++ dependencies:+ '@types/eslint-scope': 3.7.7+ '@types/estree': 1.0.8+ '@types/json-schema': 7.0.15+ '@webassemblyjs/ast': 1.14.1+ '@webassemblyjs/wasm-edit': 1.14.1+ '@webassemblyjs/wasm-parser': 1.14.1+ acorn: 8.15.0+ acorn-import-phases: 1.0.4([email protected])+ browserslist: 4.25.1+ chrome-trace-event: 1.0.4+ enhanced-resolve: 5.18.3+ es-module-lexer: 1.7.0+ eslint-scope: 5.1.1+ events: 3.3.0+ glob-to-regexp: 0.4.1+ graceful-fs: 4.2.11+ json-parse-even-better-errors: 2.3.1+ loader-runner: 4.3.0+ mime-types: 2.1.35+ neo-async: 2.6.2+ schema-utils: 4.3.2+ tapable: 2.2.2+ watchpack: 2.4.4+ webpack-sources: 3.3.3+ transitivePeerDependencies:+ - '@swc/core'+ - esbuild+ - uglify-js+dependencies:isexe: 2.0.0@@ -10467,16 +15189,42 @@ snapshots:string-width: 4.2.3strip-ansi: 6.0.1+ dependencies:+ ansi-styles: 6.2.1+ string-width: 5.1.2+ strip-ansi: 7.1.0++ [email protected]: {}++ [email protected]: {}++ [email protected]([email protected])([email protected])([email protected])([email protected]([email protected]))([email protected]):+ dependencies:+ lib0: 0.2.114+ prosemirror-model: 1.25.3+ prosemirror-state: 1.4.3+ prosemirror-view: 1.38.1+ y-protocols: 1.0.6([email protected])+ yjs: 13.6.27++ dependencies:+ lib0: 0.2.114+ yjs: 13.6.27++ [email protected]: {}+@@ -10489,17 +15237,25 @@ snapshots:y18n: 5.0.8yargs-parser: 21.1.1+ dependencies:+ lib0: 0.2.114++ [email protected]: {}++ [email protected]: {}+- [email protected]: {}+ [email protected]: {}- [email protected](@types/[email protected])([email protected])([email protected])([email protected]([email protected])):+ [email protected](@types/[email protected])([email protected])([email protected])([email protected]([email protected])):optionalDependencies:- '@types/react': 19.1.9+ '@types/react': 19.1.12immer: 10.1.1react: 19.1.1use-sync-external-store: 1.5.0([email protected])