Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-24087

Implement ordered folder support in Web UI

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.10-HF02, 10.1
    • Component/s: Web UI
    • Release Notes Summary:
      Ordered folder support is added in WebUI
    • Release Notes Description:
      Hide

      Up and down actions available on Orderable Folders. Works with multiple selected documents.

      Show
      Up and down actions available on Orderable Folders. Works with multiple selected documents.
    • Sprint:
      nxGang Sprint 10.1.4, nxGang Sprint 10.1.5
    • Story Points:
      3

      Description

      As an user with write permission on a orderable folder
      I want to move one or several children from order
      So that I can reorder the folder documents

      Proposed solution

      When a user select one or several items and the selection bar is displayed, it should present two more items:

      • move Up
      • move Down

      When >1 items are selected, they should behave as a group and retain their relative position to each other, unless there are constraints one of them cannot move and they start to collapse to a joint group.

      ie. group indexes (1,3,4,6) -> moves up -> group index (1,2,3,5)

      No Drag and Drop in the scope for this (when DnD is added to Web UI would be a better time)

      Mockup

      Action icons should be the same as collection ordering.

      Acceptance criteria
      Given on a Ordered Folder, items (1, 3, 4, 5) are selected
      When "Up" action is pressed
      Then Items should be at orders (1, 2, 3, 4)

      Given on a Ordered Folder, items (1, 2) are selected
      When "Up" action is pressed
      Then Items should maintain orders.

      Given on a Ordered Folder with 5 items, items (1, 3, 4, 5) are selected
      When "Down" action is pressed
      Then Items should be at orders (2, 3, 4, 5)

      Note: 1 index is top item.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 day, 1 hour, 30 minutes
                  1d 1h 30m