project-lux/lux-frontend

Fix the display of `Show All Rows` button

Opened this issue · 0 comments

roamye commented

Problem Description:
The new implementation of Show All Rows/Show Fewer Rows has revealed two bugs where the Show All Rows button incorrectly appears in the UI. These issues occur when a user:

  1. Selects the [-] button OR
  2. Switches to a different tab than the one where the original search query was made.

These bugs can be replicated by:

  • visiting John Trumbull record.
  • selecting Show all X results under the Objects created, encountered, or Influenced By tab.
  • select the top level [-]
    • Issue 1 will appear
  • select the works tab
    • Issue 2 will appear

Expected Behavior/Solution:
Resolve the bugs so that the Show All Rows button appears only when the first six lines of a query are displayed and only on the tab where the user created their search.

Requirements:

  • The Show All Rows button must no longer show when the condensed button [-] is selected.
  • The Show All Rows button must no longer show on other tabs that a search query was not executed in.
  • The Show All Rows will continue to show at the bottom of the first 6 queries.
  • The Show Fewer Rows will continue to show at the bottom of all expanded search queries executed from the selection of the Show All Rows.

Needed for promotion:
If an item on the list is not needed, it should be crossed off but not removed.

  • Wireframe/Mockup - Mike
  • Committee discussions - Sarah
  • Feasibility/Team discussion - Sarah
  • Backend requirements - TBD
  • Frontend requirements- TBD
  • Are new regression tests required for QA - Amy
  • Questions
  • List of questions for discussions. Answers should be documented within the issue.

UAT/LUX Examples:

Dependencies/Blocks:
N/A

Related Github Issues:

Related links:

Wireframe/Mockup:
Place wireframe/mockup for the proposed solution at end of ticket.