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

Add sort functionality to MultiLinkField #139

Closed
GuySartorelli opened this issue Dec 13, 2023 · 2 comments
Closed

Add sort functionality to MultiLinkField #139

GuySartorelli opened this issue Dec 13, 2023 · 2 comments

Comments

@GuySartorelli
Copy link
Member

GuySartorelli commented Dec 13, 2023

The MultiLinkField can't be sorted right now - we should add that functionality.

Acceptance Criteria

  • Content authors can click-and-drag links in the MultiLinkField to determine their sort order
  • The default sort order for Link is the sort field (meaning links are automatically in the correct order in the front-end)
  • Sort order is saved on click/drag.
  • JS sorting library is chosen with care towards using a well maintained library and minimise our maintenance burden.
  • UX team is consultated on the design.

Notes

  • The AnyField implementation provided this functionality, so we might be able to pull some of this from there.

PR

@maxime-rainville
Copy link

That's what the AnyField UI looks like right now. The handle comes from elemental.
image

@GuySartorelli
Copy link
Member Author

PR merged

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

No branches or pull requests

3 participants