Skip to content

feat: folders demo prototype for template section organization#9018

Draft
csiyang wants to merge 2 commits intomainfrom
15-04-SC-feat-folders-demo-prototype
Draft

feat: folders demo prototype for template section organization#9018
csiyang wants to merge 2 commits intomainfrom
15-04-SC-feat-folders-demo-prototype

Conversation

@csiyang
Copy link
Copy Markdown
Contributor

@csiyang csiyang commented Apr 15, 2026

Summary

  • Adds a Folders Demo tab alongside Projects and Templates in the journeys admin list view
  • 20 mock template cards (English, Russian, Spanish) with Unsplash images in a grid layout
  • Drag-and-drop templates into named sections using @dnd-kit/core
  • Sections have pastel background colors (auto-assigned, unique), inline title editing (double-click or on creation), and delete functionality
  • Persistent right-side panel matching Figma design ("What templates are about:") with collapsible accordion sections
  • Section detail panel replaces info panel in the same slot when editing — includes title, description, background color picker, page instructions, creator details, and PDF/video URL fields
  • Status filter and sort controls remain in the content area alongside the add-section button
  • All state is local (lost on refresh) — this is a prototype for exploring folder-based template organization

Test plan

  • Navigate to the Folders Demo tab and verify 20 template cards render in a grid
  • Click "Add Section" and verify a section is created with auto-name and inline title edit
  • Double-click a section title to rename it, press Enter to confirm
  • Drag template cards into sections and between sections
  • Delete a section and verify cards return to "All Templates"
  • Click the edit icon on a section and verify the detail panel opens in place of the info panel
  • Verify the panel never overlaps template cards
  • Verify existing Projects and Templates tabs are unaffected

🤖 Generated with Claude Code

Adds a "Folders Demo" tab to the journeys admin list view with drag-and-drop
template organization into named sections, inline title editing, a persistent
side panel matching Figma designs, and section detail editing.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@csiyang csiyang self-assigned this Apr 15, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 15, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: c669a562-b6ea-4ae0-bb39-af478fc888e3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 15-04-SC-feat-folders-demo-prototype

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 15, 2026

Fails
🚫 Please request a reviewer for this PR.
Warnings
⚠️ ❗ Big PR (4516 changes)

(change count - 4516): Pull Request size seems relatively large. If Pull Request contains multiple changes, split each into separate PR will helps faster, easier review.

Generated by 🚫 dangerJS against 851a179

@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 15, 2026

View your CI Pipeline Execution ↗ for commit 851a179

Command Status Duration Result
nx run-many --target=vercel-alias --projects=jo... ✅ Succeeded 2s View ↗
nx run-many --target=upload-sourcemaps --projec... ✅ Succeeded 9s View ↗
nx run-many --target=deploy --projects=journeys... ✅ Succeeded 2m 34s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-16 03:39:26 UTC

@github-actions github-actions Bot temporarily deployed to Preview - journeys-admin April 15, 2026 04:01 Inactive
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 15, 2026

The latest updates on your projects.

Name Status Preview Updated (UTC)
journeys-admin ✅ Ready journeys-admin preview Thu Apr 16 15:38:52 NZST 2026

… view

Adds a "Collections Demo" tab with a new template organization approach:
- Two resizable vertical panels (collections + all templates) with drag-and-drop
- Collection cards with image grid mosaic and publish status
- Side panel for editing collection metadata with preview modal
- Mobile layout with horizontal collection chips, line-item templates,
  and swipeable edit/preview panels
- Publish locking prevents template changes on published collections

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions github-actions Bot temporarily deployed to Preview - journeys-admin April 16, 2026 03:33 Inactive
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.

1 participant