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

Make a bucketable list #17

Closed
andrie opened this issue Jun 19, 2019 · 3 comments
Closed

Make a bucketable list #17

andrie opened this issue Jun 19, 2019 · 3 comments
Assignees

Comments

@andrie
Copy link
Member

andrie commented Jun 19, 2019

A bucketable problem is like sortable, except:

  • you can drag elements between buckets

For example, a task can be:

  • Drag the options into Supported vs Unsupported buckets

This will be the first step towards a Parsons problem solution.

@andrie
Copy link
Member Author

andrie commented Jun 21, 2019

Request by @schloerke

use ... in bucketable_list that accepts sortable_list objects

@andrie andrie self-assigned this Jun 21, 2019
@andrie
Copy link
Member Author

andrie commented Jun 23, 2019

My proposed new syntax is this:

bucketable_list(
  text = "This is a bucketable list. You can drag items between the lists.",
  group_name = "bucketable",
  add_sortable_list(
    text = "Drag from here",
    labels = c("a", "bb", "ccc")
  ),
  add_sortable_list(
    text = "to here",
    labels = NULL
  )
)

@andrie
Copy link
Member Author

andrie commented Jun 24, 2019

This functionality is now in the master branch (commit 6d9c6d5), but @schloerke is investigating whether we can create an alternative API.

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