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

Handle editing of partially selected lists #813

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

satsuper
Copy link
Contributor

This continues the work started by PR #674 on list editing. The aim of this is to add support for partially selecting a list and then only removing the list on the selected paragraphs. This will also support switching partial selections between numbered and bulleted styles.

TODO

[x] Operations for merging and splitting lists
[ ] Refactor out duplicate position verification logic (might move this to another PR)
[ ] Update list controller to use new operations to enable editing partial list selections
[ ] Add operational transforms for new ops
[ ] Fix unsolved OT conflicts from add and remove list ops

@satsuper satsuper added the draft label Sep 16, 2014
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2231/

Satvik Kumar added 8 commits September 19, 2014 11:17
These operations work on the level of top level lists only

Added tests for the new operations and changed the op test code to parse
any op parameter containing "length" or "position" in the name as an integer
This handles transforms between Add/Remove list and other operations that
modify the number of steps in the document. There are some unresolved
conflicts with merging paragraphs and adding lists that return null as the
transform result which required merge and split operations on lists to be
resolved correctly.

Added tests for the new parts of the op transform matrix and changed the
op transform test code to parse any op parameter containing "length" or
"position" in the name as an integer.
@kogmbh-ci
Copy link

Build succeeded.
Refer to this link for build results: http://ci.kogmbh.com/jenkins/job/WebODF-PullReq/2259/

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

Successfully merging this pull request may close these issues.

2 participants