Skip to content

feat: prompt card vertical resizing and height persistence in prompt collections - #11

Merged
dariomory merged 2 commits into
masterfrom
feature/prompt-bucket-vertical-resize
Sep 2, 2026
Merged

feat: prompt card vertical resizing and height persistence in prompt collections#11
dariomory merged 2 commits into
masterfrom
feature/prompt-bucket-vertical-resize

Conversation

@dariomory

Copy link
Copy Markdown
Member

Summary

  • Vertical Drag Handle: Added draggable bottom handle (.card-resize-handle\ with subtle pill) to prompt cards in collection views.
  • Constraints: Enforced vertical-only resizing via \clientY\ tracking strictly constrained between min 70px and max 700px with double-click reset to default.
  • Height Persistence: Added \promptHeightStorage.ts\ and integrated with Zustand store to persist card heights to \localStorage\ keyed by prompt ID across note navigation and sessions.
  • Tests: 10 unit tests for storage & clamping + 6 component integration tests in \PromptCards.test.tsx\ (25 tests passing).

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
sudonotes-app 6b7f81f Commit Preview URL

Branch Preview URL
Sep 02 2026, 12:37 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
sudonotes-site 6b7f81f Commit Preview URL

Branch Preview URL
Sep 02 2026, 12:38 AM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
❌ Deployment failed
View logs
sudonotes-api 6b7f81f Sep 02 2026, 12:38 AM

@dariomory
dariomory merged commit b418bef into master Sep 2, 2026
6 of 8 checks passed
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