influxdata / influxdata/ui

Epic: Tasks Pagination

Open
#3,795 1 comment 0 reactions 0 assignees View on GitHub
epic team/dumplings team/ui
Dominant language
TypeScript
Stars
117
Forks
51
Avg merge
2d 15h
Merged PRs (30d)
4

Description

## Tasks Pagination
As of 4/4/22, pagination can be handled on the backend rather than the front end.

## ACs
- Remove any front-end pagination / Remove frontend filtering
- Utilize the new server-side pagination API (Hook up front end controls to backend parameters)
- Create a Clockface component
- Use paginatedNav input to allow navigating to a specific page
- Handle (abstract) pinned items (address tech debt of pinned items, clean up the code)

## Dev Notes / Design Help Needed
- Do we store the things we've already fetched?
- How do we show the # of pages?
- Do we fetch things on-demand or pre-fetch? On Demand
- How many resources per page do we want to show? 10? If more, show a scroll bar?
- Do we want to cancel requests that are in-flight if the user clicks next, next, next....

## Diagrams
![Screen Shot 2022-05-11 at 10 36 13 AM](https://user-images.githubusercontent.com/98195941/167876137-c7def037-e401-441a-8d30-66c262078a1e.png)

![Screen Shot 2022-05-11 at 10 37 02 AM](https://user-images.githubusercontent.com/98195941/167876424-b23d77b2-0c72-4061-8b74-9fb90fa91d01.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.