Uploaded image for project: 'Cost Management'
  1. Cost Management
  2. COST-5563

Show previous data when current month is unavailable

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Normal Normal
    • 2024-Oct-11
    • None
    • UI
    • None

      The details pages currently show an empty state when there is no data for the current month. For example, when we're gathering data for the first day of the month.

      Instead of showing an empty state, we want to show the previous month if available. If data is not available for either month, then show the empty state.

      The page would work like this:

      1. Add a dropdown for the current and previous month
      2. Page defaults to the current month
      3. If current month data is unavailable, show previous month
      4. Show a tooltip for the disabled dropdown option
      5. If no data for either month, show the empty state

      Note that we should also consider removing the month selector from the export dialog. Since previous data would be viewable, the selector is no longer necessary.

      Stefan suggested adding an inline alert to indicate the user is viewing data for the previous month.

      Details pages

      Explorer

        1. poc.png
          139 kB
          Daniel Labrecque
        2. poc3.png
          231 kB
          Daniel Labrecque

              dlabrecq@redhat.com Daniel Labrecque
              dlabrecq@redhat.com Daniel Labrecque
              Daniel Chorvatovic Daniel Chorvatovic
              Votes:
              0 Vote for this issue
              Watchers:
              10 Start watching this issue

                Created:
                Updated:
                Resolved: