Skip to content

Comments

save#49

Merged
rakesh-snippyly merged 2 commits intomainfrom
mayank/privado-wireframes-2
Feb 4, 2026
Merged

save#49
rakesh-snippyly merged 2 commits intomainfrom
mayank/privado-wireframes-2

Conversation

@rakesh-snippyly
Copy link
Contributor

@rakesh-snippyly rakesh-snippyly commented Feb 3, 2026

Pull Request

Description

Type of Change

  • New demo application
  • Bug fix
  • Feature enhancement
  • Documentation update
  • Infrastructure/tooling change
  • Other (please describe):

Monorepo Structure Checklist

If adding a new demo, ensure you've followed the 5-level structure:

  • Placed in correct path: apps/<framework>/<document>/<type>/<implementation>/<library-or-solution>/<demo>/
  • Updated package.json with scoped name: @apps/<framework>-<document>-<library-or-solution>-<demo>
  • Created comprehensive README.md in the demo directory
  • Verified build passes: pnpm --filter <package-name> build
  • Verified dev server runs: pnpm --filter <package-name> dev

Deployment Checklist

If this demo should be deployed:

  • Added/updated Vercel project configuration
  • Updated GitHub Actions workflows (if applicable)
  • Verified deployment paths in CI/CD configs

Testing

  • Tested locally with pnpm -w install && pnpm -w build
  • Verified all affected apps still build
  • Tested dev servers for affected apps

Documentation

  • Updated relevant documentation (if needed)
  • Added demo to master-sample-app (if applicable)
  • Updated deployment docs (if applicable)

Related Issues

Screenshots/Videos

Additional Context


For Reviewers

Demo Location

Path: apps/<framework>/<document>/<type>/<implementation>/<library-or-solution>/<demo>/

Package name: @apps/<...>

How to Test

# Install dependencies
pnpm -w install

# Run the specific demo
pnpm --filter @apps/<package-name> dev

# Build the specific demo
pnpm --filter @apps/<package-name> build

Structure Verification

The demo follows the 5-level hierarchy:

  1. Framework:
  2. Document:
  3. Type:
  4. Implementation:
  5. Library/Solution:
  6. Demo:

Documentation: See README_MONOREPO.md and docs/structure.md for more details on the monorepo structure.


Note

Medium Risk
Behavior is mostly preserved but the refactor changes comment sidebar/event wiring and question navigation state, which could introduce subtle UI interaction regressions.

Overview
Refactors the page-mode-demo document canvas into smaller components and hooks by extracting question data (questions.ts), UI primitives (ui-components.tsx, icons.tsx), question rendering (QuestionSection), and header bars (TopHeaderBar, SecondHeaderBar).

Moves Velt comment/sidebar interaction logic out of Header into a new top-level hook useVeltEventHandlers, simplifying Header props and centralizing control of isGlobalSidebarOpen and activeCommentToolId. Adds useQuestionNavigation to encapsulate step tracking, refs, and scroll-based navigation, and updates the left outline/progress to use the dynamic question count instead of hardcoded 7.

Written by Cursor Bugbot for commit ea9fb4b. This will update automatically on new commits. Configure here.

@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sample-apps-codemirror-non-react-crdt-demo Ready Ready Preview, Comment Feb 4, 2026 1:26am
sample-apps-freestyle-comments-demo Ready Ready Preview, Comment Feb 4, 2026 1:26am
sample-apps-page-mode-demo Ready Ready Preview, Comment Feb 4, 2026 1:26am
sample-apps-tiptap-non-react-crdt-demo Ready Ready Preview, Comment Feb 4, 2026 1:26am
17 Skipped Deployments
Project Deployment Actions Updated (UTC)
master-sample-app Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-ag-grid-comment-aggregation Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-ag-grid-multiple-tools Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-ag-grid-single-tool Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-codemirror-crdt-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-dashboard-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-dashboard-inline-comments-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-dashboard-mongo-db-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-dashboard-postgres-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-lexical-comments-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-reactflow-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-slatejs-comments-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-tanstack-comment-aggregation Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-tanstack-multiple-tools Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-tanstack-single-tool Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-tiptap-comments-demo Ignored Ignored Preview Feb 4, 2026 1:26am
sample-apps-tiptap-crdt-demo Ignored Ignored Preview Feb 4, 2026 1:26am

Request Review

… and simplifying imports. Streamline the Header component to focus on sidebar functionality, enhancing overall code clarity and maintainability.
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

}

const questions: Question[] = [
{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unused contentRef variable assigned but never read

Low Severity

contentRef is created with useRef and assigned to a div element (line 80), but its .current property is never read anywhere in the code. This is dead code that should be removed.

Fix in Cursor Fix in Web

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants