Brijesh Bhalala created ATLAS-5344:
--------------------------------------
Summary: Atlas React UI: Implement Show More functionality for
long lists in sidebar sections
Key: ATLAS-5344
URL: https://issues.apache.org/jira/browse/ATLAS-5344
Project: Atlas
Issue Type: Improvement
Components: atlas-core
Affects Versions: 2.5.0
Reporter: Brijesh Bhalala
Assignee: Brijesh Bhalala
Currently, the sidebar fetches all active categories, classifications, and
terms and renders them in their respective accordions. Under environments with
dozens or hundreds of items:
The page length stretches significantly.
Usability decreases due to heavy scrolling.
Initial DOM rendering weight increases.
*Proposed Solution:*
Initial Limit: Limit the visible items inside each open sidebar accordion to a
default threshold (e.g., 5 items).
Show More Link: If the number of items exceeds 5, append a + Show X more...
link (where X is the total remaining count).
*Trigger Behavior:*
Clicking + Show X more... can expand the list in-place (inline expansion).
Alternatively, it can open a dedicated side panel drawer containing a
searchable list of all items (matching the detail page's ShowMoreView drawer
design).
*Acceptance Criteria*
1)By default, open accordions in the sidebar should show a maximum of 5 items.
2)If there are more than 5 items, a + Show X more... button/link should be
displayed.
3)The count X must dynamically update based on the total items loaded.
4)Clicking the button expands/opens the remaining items.
5)A quick filter/search input at the top of the sidebar continues to filter all
items across the list.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)