Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Content Editor: Drag Media Gallery #58

Open
kellyhp opened this issue Apr 24, 2024 · 0 comments
Open

Content Editor: Drag Media Gallery #58

kellyhp opened this issue Apr 24, 2024 · 0 comments
Assignees

Comments

@kellyhp
Copy link
Contributor

kellyhp commented Apr 24, 2024

Create Draggable component as an add-on to the Photo Gallery that enable users to reorder images within the gallery by dragging and dropping.

  • Create in /(pages)/content/[collection]/edit/_components/PhotoGallery/Draggable.tsx
  • Develop a SCSS module for styling the Draggable component
  • Integrate the Draggable component with the existing Photo Gallery component
  • Ensure the Draggable component functions with the Photo Gallery for image reordering
  • Implement logic to label the first image in the gallery as "Cover Image"
  • Update the order of images in the Photo Gallery based on user-dragged changes
@kellyhp kellyhp self-assigned this May 13, 2024
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

No branches or pull requests

1 participant