Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions apps/app/languine.lock
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,19 @@ files:
vendor.empty_states.no_results.description: d7fd5c52726c5016a59fb01e74069441
vendor.empty_states.no_results.description_with_filters: 2b70f835ed5a08e817ec9388ce25b41a
errors.unexpected: 325a357f60b95f37fec18b15cb39fbb0
editor.ai.thinking: aba464039b337eb2e75c2520039de58f
editor.ai.thinking_spinner: aba464039b337eb2e75c2520039de58f
editor.ai.edit_or_generate: 7d46fd8c65c35acb13973849b035cc53
editor.ai.tell_ai_what_to_do_next: 44de6614358c04f76015a3c9646b3f8f
editor.ai.request_limit_reached: 73b31a4d9ba135f8ef97768899c18836
editor.ai_selector.improve: 92769395d4986d32c599e0eff5824cb3
editor.ai_selector.fix: a71ef487bc9bac7c65fd3ff8a7b4fe0d
editor.ai_selector.shorter: 73c9649c6a97008d3ae6880e8350b334
editor.ai_selector.longer: e0737d9beb7fa3a5541f275b76139d86
editor.ai_selector.continue: 29f3b5417ce466da5ac5720ce6e28d4f
editor.ai_selector.replace: 05fdc089c4c320832588a69475ff5e79
editor.ai_selector.insert: 3005820694a4944d91c4c4e8b8a016d3
editor.ai_selector.discard: d94b42030b9785fd754d5c1754961269
src/locales/es.ts:
language.title: c88b33a3250b4e28f34e1ececba69206
language.description: b74d060770289b75ba34d38ea1e05251
Expand Down
22 changes: 0 additions & 22 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,13 @@
"@bubba/notifications": "workspace:*",
"@date-fns/tz": "^1.2.0",
"@hookform/resolvers": "^3.10.0",
"@liveblocks/client": "^2.18.1",
"@liveblocks/node": "^2.18.1",
"@liveblocks/react": "^2.18.1",
"@liveblocks/react-tiptap": "^2.18.1",
"@liveblocks/react-ui": "^2.18.1",
"@nangohq/frontend": "^0.48.4",
"@nangohq/node": "^0.48.4",
"@novu/headless": "^2.6.5",
"@novu/react": "^2.6.5",
"@prisma/instrumentation": "^6.3.1",
"@tanstack/react-query": "^5.66.0",
"@tanstack/react-table": "^8.21.2",
"@tiptap/extension-bullet-list": "^2.11.5",
"@tiptap/extension-heading": "^2.11.5",
"@tiptap/extension-list-item": "^2.11.5",
"@tiptap/extension-ordered-list": "^2.11.5",
"@tiptap/extension-table": "^2.11.5",
"@tiptap/extension-table-cell": "^2.11.5",
"@tiptap/extension-table-header": "^2.11.5",
"@tiptap/extension-table-row": "^2.11.5",
"@tiptap/html": "^2.11.5",
"@tiptap/react": "^2.11.5",
"@tiptap/starter-kit": "^2.11.5",
"@trigger.dev/react-hooks": "3.3.13",
"@trigger.dev/sdk": "3.3.13",
"@types/xml2js": "^0.4.14",
"@uploadthing/react": "^7.2.0",
"@upstash/ratelimit": "^2.0.5",
"argon2": "^0.41.1",
Expand All @@ -58,7 +39,6 @@
"next-intl": "^3.26.3",
"next-safe-action": "^7.10.3",
"next-themes": "^0.4.4",
"novel": "^1.0.2",
"novu": "^2.6.5",
"nuqs": "^2.3.2",
"playwright-core": "^1.50.1",
Expand All @@ -78,8 +58,6 @@
"resend": "^4.1.2",
"sonner": "^1.7.4",
"stripe": "^17.6.0",
"tiptap-extension-global-drag-handle": "^0.1.18",
"tiptap-markdown": "^0.8.10",
"ts-pattern": "^5.6.2",
"uploadthing": "^7.5.0",
"use-debounce": "^10.0.4",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
import { auth } from "@/auth";
import { redirect } from "next/navigation";
import "@liveblocks/react-ui/styles.css";
import "@liveblocks/react-tiptap/styles.css";
import "@bubba/ui/globals.css";
import "@bubba/ui/text-editor";
import "@bubba/ui/prosemirror";
import { Providers } from "./providers";

export default async function Layout({
children,
Expand All @@ -27,9 +21,7 @@ export default async function Layout({

return (
<div className="max-w-[1200px] space-y-4">
<Providers policyId={id}>
<main className="h-[calc(100vh-4rem-4rem)]">{children}</main>
</Providers>
<main className="h-[calc(100vh-4rem-4rem)]">{children}</main>
</div>
);
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
"use client";

import AdvancedEditor from "@/components/editor/advanced-editor";
import { DocumentSpinner } from "@/components/editor/spinner";
import { PolicyOverview } from "@/components/policies/policy-overview";
import { Button } from "@bubba/ui/button";
import { Separator } from "@bubba/ui/separator";
import { ClientSideSuspense } from "@liveblocks/react";
import { useAction } from "next-safe-action/hooks";
import { useParams } from "next/navigation";
import type { JSONContent } from "novel";
Expand Down Expand Up @@ -48,9 +44,7 @@ export default function PolicyPage() {
<div className="flex-1">
<div className="min-h-0 h-auto">
<div className="relative min-h-[calc(100vh-250px)] w-full mx-auto border border-border bg-background">
<ClientSideSuspense fallback={<DocumentSpinner />}>
<AdvancedEditor />
</ClientSideSuspense>
Editor
</div>
</div>
</div>
Expand Down

This file was deleted.

34 changes: 0 additions & 34 deletions apps/app/src/app/api/liveblocks/route.ts

This file was deleted.

84 changes: 0 additions & 84 deletions apps/app/src/app/api/liveblocks/users/route.ts

This file was deleted.

74 changes: 0 additions & 74 deletions apps/app/src/app/api/liveblocks/users/search/route.ts

This file was deleted.

Loading