-
-
Notifications
You must be signed in to change notification settings - Fork 357
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 tests for moving within scope and add method: move_within_scope #79
Add tests for moving within scope and add method: move_within_scope #79
Conversation
Add tests for moving within scope and add method: move_within_scope
Pulled, thanks! |
@philippfranke Does this work with array scopes? The |
Unfortunately,I've just noticed it's not working properly with array scope. I missed that case. How about implementing: method @conzett: Are you interested in implementing these changes? |
@philippfranke I'm currently working towards something similar. We already have |
So in short, yes I'll be attempting to implement them 😄 |
@philippfranke What was the use case for adding the |
@conzett Like set_list_position; Just a much more comfortable way to update scope_id |
I realize this is already merged but I'm not really sure how much that this method adds overall since it only works when you have a scope comprised of a single property. What should the behavior be when you have an array scope or a scope that relies on string interpolation? I think it might just be easier to use |
I couldn't agree more, |
@philippfranke I think to keep it consistent with the other methods already available we could call it I also I saw in your original implementation you automatically moved it to the bottom of the list (similar to how creating a new item starts it out at the bottom of the list) Would you still like to see this behavior as well? |
No, my original implementation moved it to the bottom or top of the list - depends on |
@philippfranke That's right! Sorry I forgot that was configurable, good point. |
Addressed to #67 and #78
/cc @conzett