Skip to content

feat(LoadMore): Add component guidelines

Gina Doyle requested to merge loadmore into main

What does this MR do?

We want to add a new pattern, that will eventually replace infinite scroll, called Load more. I don't think this is a component, but I didn't find it to be a region either, so until we consider creating Patterns in Pajamas, I think this belongs in components. This was created based on Infinite scroll > Accessibility Audit (gitlab-org/gitlab-ui#1196)

Infinite scroll isn't an accessible pattern and should be replaced with a "load more" pattern. As-is, there isn't really anything that can be tested in GitLab UI since the example list of items doesn't have anything focusable, but even so there's no indication of the number of results or expected/actual behavior.

Related to #1390 (closed)

Does this MR meet the acceptance criteria?

Links

Edited by Gina Doyle

Merge request reports