From d3204f6cd7772fe63d19ef8892664335d615c9de Mon Sep 17 00:00:00 2001 From: vishesh711 Date: Tue, 15 Jul 2025 12:36:53 -0400 Subject: feat: Add comprehensive keyboard shortcuts system for video editor - Implement industry-standard video editing shortcuts (Space, J/K/L, arrows) - Add playback controls: Space (play/pause), J/K/L (rewind/pause/forward) - Add navigation: arrow keys (frame stepping), Shift+arrows (5s jumps), Home/End - Add editing shortcuts: S (split at playhead), N (toggle snapping) - Add selection shortcuts: Ctrl/Cmd+A (select all), Ctrl/Cmd+D (duplicate) - Add keyboard shortcuts help dialog with categorized shortcuts display - Integrate help button in editor header for discoverability - Add TypeScript type declarations for better development experience - Fix Docker build environment variable validation issues All shortcuts follow professional video editing standards (Avid/Premiere/Final Cut). Context-aware shortcuts that don't interfere with text input fields. Toast notifications provide user feedback for better UX. --- apps/web/tsconfig.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/web/tsconfig.json') diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index 810fcfe2..b8099487 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -33,9 +33,10 @@ "**/*.tsx", "apps/web/.next/types/**/*.ts", "next-env.d.ts", - ".next/types/**/*.ts" + ".next/types/**/*.ts", + "src/types/**/*.d.ts" ], "exclude": [ "node_modules" ] -} +} -- cgit v1.3.1 From e317fb547d531dfc6a65b115df431fd95d0e60f4 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 16 Jul 2025 15:44:05 +0200 Subject: revert and fix (please work) --- apps/web/src/app/api/auth/[...all]/route.ts | 2 +- apps/web/src/app/api/waitlist/route.ts | 3 +-- apps/web/src/lib/waitlist.ts | 3 +-- apps/web/tsconfig.json | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) (limited to 'apps/web/tsconfig.json') diff --git a/apps/web/src/app/api/auth/[...all]/route.ts b/apps/web/src/app/api/auth/[...all]/route.ts index 393fb7e7..55510dcb 100644 --- a/apps/web/src/app/api/auth/[...all]/route.ts +++ b/apps/web/src/app/api/auth/[...all]/route.ts @@ -1,4 +1,4 @@ -import { auth } from "@opencut/auth/server"; +import { auth } from "@opencut/auth"; import { toNextJsHandler } from "better-auth/next-js"; export const { POST, GET } = toNextJsHandler(auth); \ No newline at end of file diff --git a/apps/web/src/app/api/waitlist/route.ts b/apps/web/src/app/api/waitlist/route.ts index f62e24e9..e5c9fd94 100644 --- a/apps/web/src/app/api/waitlist/route.ts +++ b/apps/web/src/app/api/waitlist/route.ts @@ -1,6 +1,5 @@ import { NextRequest, NextResponse } from "next/server"; -import { db, eq } from "@opencut/db"; -import { waitlist } from "@opencut/db/schema"; +import { db, eq, waitlist } from "@opencut/db"; import { checkBotId } from "botid/server"; import { nanoid } from "nanoid"; import { waitlistRateLimit } from "@/lib/rate-limit"; diff --git a/apps/web/src/lib/waitlist.ts b/apps/web/src/lib/waitlist.ts index 7b67258b..22b15b78 100644 --- a/apps/web/src/lib/waitlist.ts +++ b/apps/web/src/lib/waitlist.ts @@ -1,5 +1,4 @@ -import { db, sql } from "@opencut/db"; -import { waitlist } from "@opencut/db/schema"; +import { db, sql, waitlist } from "@opencut/db"; export async function getWaitlistCount() { try { diff --git a/apps/web/tsconfig.json b/apps/web/tsconfig.json index b3c43e56..e291637a 100644 --- a/apps/web/tsconfig.json +++ b/apps/web/tsconfig.json @@ -12,7 +12,7 @@ "noEmit": true, "esModuleInterop": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", -- cgit v1.3.1