Changes the user list in the admin panel to be displayed in a paginated list format.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/1361
**Author:** [@7a6ac0](https://github.com/7a6ac0)
**Created:** 3/30/2024
**Status:** ❌ Closed
**Base:** `main` ← **Head:** `pagination`
---
### 📝 Commits (1)
- [`ca129fc`](https://github.com/open-webui/open-webui/commit/ca129fc6214ff635553dc51a8208d30e6f7a8588) feat: admin panel user list pagination
### 📊 Changes
**23 files changed** (+206 additions, -4 deletions)
<details>
<summary>View changed files</summary>
📝 `package-lock.json` (+11 -2)
📝 `package.json` (+2 -1)
➕ `src/lib/components/common/Paginations/Pagination.svelte` (+79 -0)
➕ `src/lib/components/common/Paginations/RowCount.svelte` (+21 -0)
➕ `src/lib/components/common/Paginations/RowsPerPage.svelte` (+27 -0)
📝 `src/lib/i18n/locales/bg-BG/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/ca-ES/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/de-DE/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/en-US/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/es-ES/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fa-IR/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fr-CA/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/fr-FR/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/it-IT/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/ja-JP/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/nl-NL/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/pt-PT/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/ru-RU/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/uk-UA/translation.json` (+3 -0)
📝 `src/lib/i18n/locales/vi-VN/translation.json` (+3 -0)
_...and 3 more files_
</details>
### 📄 Description
## Pull Request Checklist
- [x] **Description:** Briefly describe the changes in this pull request.
- [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description.
- [ ] **Documentation:** Have you updated relevant documentation?
- [x] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation?
---
## Description
This PR changes the user list in the admin panel to be displayed in a paginated list format. This PR is related to #1338 .
<img width="1797" alt="SCR-20240330-mlcx" src="https://github.com/open-webui/open-webui/assets/9023212/366607f1-2823-4a4a-a568-3f8aeebaf3c4">
<img width="1796" alt="SCR-20240330-mljg" src="https://github.com/open-webui/open-webui/assets/9023212/0e4ce90c-98ec-4163-b4f1-60e0a5235a29">
---
### Changelog Entry
### Added
- Add a control to set the number of rows displayed in the table. `components/common/Paginations/RowsPerPage.svelte`
- Add a text to display the dynamic row count. `components/common/Paginations/RowCount.svelte`
- Add the navigation buttons to enable switching between pages. `components/common/Paginations/Pagination.svelte`
### Changed
- Add new dependency [datatables](https://github.com/vincjo/datatables) to package.json
- Changes the user list in the admin panel to be displayed in a paginated list format.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/1361
Author: @7a6ac0
Created: 3/30/2024
Status: ❌ Closed
Base:
main← Head:pagination📝 Commits (1)
ca129fcfeat: admin panel user list pagination📊 Changes
23 files changed (+206 additions, -4 deletions)
View changed files
📝
package-lock.json(+11 -2)📝
package.json(+2 -1)➕
src/lib/components/common/Paginations/Pagination.svelte(+79 -0)➕
src/lib/components/common/Paginations/RowCount.svelte(+21 -0)➕
src/lib/components/common/Paginations/RowsPerPage.svelte(+27 -0)📝
src/lib/i18n/locales/bg-BG/translation.json(+3 -0)📝
src/lib/i18n/locales/ca-ES/translation.json(+3 -0)📝
src/lib/i18n/locales/de-DE/translation.json(+3 -0)📝
src/lib/i18n/locales/en-US/translation.json(+3 -0)📝
src/lib/i18n/locales/es-ES/translation.json(+3 -0)📝
src/lib/i18n/locales/fa-IR/translation.json(+3 -0)📝
src/lib/i18n/locales/fr-CA/translation.json(+3 -0)📝
src/lib/i18n/locales/fr-FR/translation.json(+3 -0)📝
src/lib/i18n/locales/it-IT/translation.json(+3 -0)📝
src/lib/i18n/locales/ja-JP/translation.json(+3 -0)📝
src/lib/i18n/locales/nl-NL/translation.json(+3 -0)📝
src/lib/i18n/locales/pt-PT/translation.json(+3 -0)📝
src/lib/i18n/locales/ru-RU/translation.json(+3 -0)📝
src/lib/i18n/locales/uk-UA/translation.json(+3 -0)📝
src/lib/i18n/locales/vi-VN/translation.json(+3 -0)...and 3 more files
📄 Description
Pull Request Checklist
Description
This PR changes the user list in the admin panel to be displayed in a paginated list format. This PR is related to #1338 .
Changelog Entry
Added
components/common/Paginations/RowsPerPage.sveltecomponents/common/Paginations/RowCount.sveltecomponents/common/Paginations/Pagination.svelteChanged
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.