Details

      Description

      Context:
      When filtering by Last Year, regardless of the time unit choice, the chart x labels should display month and year. Note that the chart granularity is in weeks, so the current data points displayed in week days are correct.

      Steps to reproduce:

      1. Access Control Panel > Workflow > Metrics;
      2. Select Single Approver process and go to the report page;
      3. Select Performance tab;
      4. At the Completion Velocity card, select the filters "Last Year" + "Inst / Week" and look at the chart labels;

      Actual result:

      • Chart x labels are displaying the days of the week (Aug 5-11);
      • Popover title is displaying the days of the week with no year indication;

      Expected result:

      • Chart x labels should display month and year (ex.: Aug 2018), the same way that is displayed for when "Inst / Month" time unit is selected.
      • Popover title should display the month name, first and last days of the week, and year, like "Dec 30, 2018 - Jan 5, 2019" OR "Jan 6 - 12, 2019", considering the selected time range (see image 2).

      Environment:
      Liferay DXP master-private
      Commit: 8968a64d7130b759f80fb916004b4467f94d77b5
      Updated on: Mon Aug 5 20:20:52 2019 -0700

        Attachments

          Activity

            People

            Assignee:
            brian.chan Brian Chan
            Reporter:
            nathalia.moura Nathália Moura (Inactive)
            Recent user:
            Clarissa Velazquez
            Participants of an Issue:
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since last comment:
              1 year, 15 weeks, 5 days ago

                Packages

                Version Package
                7.2.10 DXP FP2
                7.2.10.1 DXP SP1