Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Order node manually #124

Closed
chirimoya opened this issue Jul 29, 2014 · 2 comments
Closed

Order node manually #124

chirimoya opened this issue Jul 29, 2014 · 2 comments
Assignees
Labels
Milestone

Comments

@chirimoya
Copy link
Member

ping @wachterjohannes @dantleech

@chirimoya chirimoya added this to the Release 0.6 milestone Jul 29, 2014
@wachterjohannes wachterjohannes self-assigned this Jul 29, 2014
@wachterjohannes
Copy link
Member

@chirimoya i have a short research for phpcr ordering functionalities!
There is a example in a phpcr-shell command:
https://github.com/phpcr/phpcr-shell/blob/3d0bc369fe4f3c638d8812623e91fb6dc0461f69/src/PHPCR/Shell/Console/Command/Phpcr/NodeOrderBeforeCommand.php#L47

My suggestion was to create a ContentMapper::orderBefore($uuid, $beforeUuid) so $uuid will be after that operation before $beforeUuid.

The UI would look like copy / move! You mark a node and choose from a list in an overlay before which node it should be sorted. I would use a list because you only should choose a node on the same level.

@wachterjohannes
Copy link
Member

@chirimoya The current implemented UI is only a first version.

Requirements:
image

But they have to be done in a own PR in husky and after that it could pretty easily integrated in the current structure.

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

No branches or pull requests

2 participants