grafana/public/app/features/teams/state
Karl Persson 9283773c12
Teams: Support paginating and filtering more then 1000 teams (#58761)
* TeamList: break out rows to its own component

* TeamsState: Add total count

* TeamList: Remove teamsCount prop

* TeamList: Restructure code and use count from backend response

* TeamList: calculate total pages using totalCount

* TeamList: Rename to state to currentPage and the reducer to
setCurrentPage

* TeamList: remove wrapper functions

* TeamList: rewrite as a functional component

* TeamList: export components for test

* TeamList: pass limit, page and query to backend

* TeamList: Rename properties in state and create actions for page and
query change

* TeamList: Add flag to control if EmptyList banner should render
2022-11-16 15:55:10 +01:00
..
actions.ts Teams: Support paginating and filtering more then 1000 teams (#58761) 2022-11-16 15:55:10 +01:00
navModel.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
reducers.test.ts Teams: Support paginating and filtering more then 1000 teams (#58761) 2022-11-16 15:55:10 +01:00
reducers.ts Teams: Support paginating and filtering more then 1000 teams (#58761) 2022-11-16 15:55:10 +01:00
selectors.test.ts Teams: Support paginating and filtering more then 1000 teams (#58761) 2022-11-16 15:55:10 +01:00
selectors.ts Teams: Support paginating and filtering more then 1000 teams (#58761) 2022-11-16 15:55:10 +01:00