From 9fd49193ac6dcd8c6cdf75da642bfb4a11c76e9a Mon Sep 17 00:00:00 2001 From: MaheshtheDev <38828053+MaheshtheDev@users.noreply.github.com> Date: Fri, 16 Jan 2026 21:44:26 +0000 Subject: [PATCH] chore: delete document, document ui (#673) --- .github/workflows/claude-code-review.yml | 5 +- apps/web/app/layout.tsx | 8 + apps/web/app/new/onboarding/layout.tsx | 106 ++++ apps/web/app/new/onboarding/page.tsx | 263 +-------- apps/web/app/new/onboarding/setup/layout.tsx | 70 +++ apps/web/app/new/onboarding/setup/page.tsx | 68 +++ .../web/app/new/onboarding/welcome/layout.tsx | 143 +++++ apps/web/app/new/onboarding/welcome/page.tsx | 185 ++++++ .../components/new/document-modal/index.tsx | 125 +++- .../components/new/document-modal/title.tsx | 6 +- .../new/onboarding/setup/chat-sidebar.tsx | 549 +++++++++++++----- .../onboarding/setup/integrations-step.tsx | 2 +- .../onboarding/setup/relatable-question.tsx | 2 +- .../new/onboarding/welcome/continue-step.tsx | 200 ++++++- .../new/onboarding/welcome/features-step.tsx | 98 ---- .../new/onboarding/welcome/profile-step.tsx | 2 +- .../components/views/chat/chat-messages.tsx | 3 +- apps/web/hooks/use-document-mutations.ts | 114 +++- apps/web/lib/variants.ts | 95 +++ 19 files changed, 1505 insertions(+), 539 deletions(-) create mode 100644 apps/web/app/new/onboarding/layout.tsx create mode 100644 apps/web/app/new/onboarding/setup/layout.tsx create mode 100644 apps/web/app/new/onboarding/setup/page.tsx create mode 100644 apps/web/app/new/onboarding/welcome/layout.tsx create mode 100644 apps/web/app/new/onboarding/welcome/page.tsx delete mode 100644 apps/web/components/new/onboarding/welcome/features-step.tsx create mode 100644 apps/web/lib/variants.ts diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 8564713b..7f63c2df 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -26,6 +26,9 @@ jobs: anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }} use_sticky_comment: true prompt: | + REPO: ${{ github.repository }} + PR NUMBER: ${{ github.event.pull_request.number }} + You are reviewing a PR for supermemory - a Turbo monorepo with multiple apps and packages. ## Repository Structure Context @@ -75,4 +78,4 @@ jobs: Use `gh pr comment` with your Bash tool to leave your review as a comment on the PR. - claude_args: '--allowed-tools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' + claude_args: '--allowedTools "Bash(gh issue view:*),Bash(gh search:*),Bash(gh issue list:*),Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh pr list:*)"' diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 030b5b90..37e01cd7 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -33,6 +33,14 @@ export default function RootLayout({ }>) { return ( + + {process.env.NODE_ENV === "development" && ( +