mirror of
https://github.com/Comfy-Org/jpcosta-comfy-apps.git
synced 2026-11-05 06:47:20 +00:00
[PR #13] [MERGED] Gap the carousel cards and slide the next one in from outside #14
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/jpcosta-comfy-apps#14
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/jpcosta-comfy-apps/pull/13
Author: @jpcosta-comfy
Created: 10/1/2026
Status: ✅ Merged
Merged: 10/1/2026
Merged by: @cursor[bot]
Base:
main← Head:cursor/slide-gap-enter-8ac0📝 Commits (1)
940a9eeSeparate sliding cards and bring the next one in from off-screen.📊 Changes
4 files changed (+94 additions, -78 deletions)
View changed files
📝
scripts/self-check.ts(+10 -6)📝
src/app/globals.css(+1 -1)📝
src/components/studio.tsx(+69 -61)📝
src/lib/ease-slide.ts(+14 -10)📄 Description
JP’s notes on the live slide: the cards were touching, the next card popped into view and only then moved, and the fade was a separate phase from the move.
Merged and checked on https://comfy-api-apps.vercel.app.
Motion
ease.slidemove. Next still comes from the right, previous from the left.Production mid-slide
Desktop. Gap between the cards, incoming still partly off the right, outgoing about half faded while it is still moving:
Production desktop mid-slide
Mobile:
Production mobile mid-slide
Desktop at rest, one full-width card:
Production desktop at rest
To show artifacts inline, enable in settings.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.