Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-94146

[Reports] Filter completed items by completion period

    Details

    • Type: Story
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: 7.2.X, Master
    • Component/s: Workflow
    • Labels:
    • Branch Version/s:
      7.2.x
    • Backported to Branch:
      Committed
    • Sprint:
      Workflow_7.2_12, Workflow_7.2_13

      Description

      As a process manager, I want to be able to filter completed items by completion period.

      Process item = process instance

      Acceptance Criteria

      For reports page, under Completed tab:

      • Users should be able to filter the Completed Items card by period:
        • Today (start counting on 0AM from the present day until the present moment);
        • Yesterday (counts from 0AM to 0PM from the day before the present date);
        • Last 7 Days (counts 7 days prior from the present date, including the present day);
        • Last 30 Days (counts 30 days prior from the present date, including the present day);
        • Last 90 Days (counts 90 days prior from the present date, including the present day);
        • Last 180 Days (counts 180 days prior from the present date, including the present day);
        • Last Year (counts 1 year prior from the present date, including the present day);
        • All Time (counts all completed instances registered on the system);
      • Users should be able to select one option per time;
      • Users should be able to click on the metric cards and be directed to the All Items page, with the respective filter(s) applied to it;
      • The "Last 30 Days" filters should be the default option;

      For All Items page:

      • The selected filters should be presented as tags in the Results bar (see Clay documentation for reference);
      • When Process Status = Completed is not selected, the filter Completion Period should be removed from the filter bar and from the results bar;
      • The options for Completion Period filter are:
        • Today (start counting on 0AM from the present day until the present moment);
        • Yesterday (counts from 0AM to 0PM from the day before the present date);
        • Last 7 Days (counts 7 days prior from the present date, including the present day);
        • Last 30 Days (counts 30 days prior from the present date, including the present day);
        • Last 90 Days (counts 90 days prior from the present date, including the present day);
        • Last 180 Days (counts 180 days prior from the present date, including the present day);
        • Last Year (counts 1 year prior from the present date, including the present day);
        • All Time (counts all completed instances registered on the system);
      • Users should be able to select one option per time;
      • The filter query should only be applied after user moves the cursor out of the dropdown card;
      • The page should provide loading feedback when the table is being updated according to filter options;
      • When there are no results for a filter selection, the table should display the respective empty state;

      Definitions of Done

      • Related tests created and passed successfully;
      • All Acceptance Criteria were passed;
      • Make sure that all system documentation were updated (if necessary);
      • Validated by QA, Product Designer and/or PM;
      • No critical issue related to Story scope (ex.: similar of a FP4, FP5 bug);
      • Code with peer review completed.

      Design Deliverables

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Packages

                  Version Package
                  7.2.X
                  Master