Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-8485

When the number of entities is exactly known, the UI shouldn't display a + after the count

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0
    • Fix Version/s: 4.1.0
    • Component/s: UI
    • Labels:
      None
    • Sprint:
      CDAP UI 02/20
    • Rank:
      1|hzzvbb:

      Description

      From the search API response, the client (UI) can easily tell if the API has returned the exact number of entities that matched the search results, or it retuned an approximation, and there could be more entities.

      If the UI specifies limit as 10, and numCursors as 10, the maximum possible entities returned would be 100. If the number of entities in the response (identified by total) is less than 100, then it is guaranteed that an exact number of entities have been returned. There is no approximation here, and a + should not be shown next to the total number of results. If however the API returns 100 results, there is a chance that there may be more results, so the UI should add a +.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tbach Tony Bach
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: