mirror of
https://github.com/Mintplex-Labs/vector-admin.git
synced 2026-07-18 18:14:31 -04:00
[PR #10] [MERGED] Pagination added for org & workspace #100
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Mintplex-Labs/vector-admin/pull/10
Author: @shatfield4
Created: 7/28/2023
Status: ✅ Merged
Merged: 7/31/2023
Merged by: @timothycarambat
Base:
master← Head:8-paginate-documents📝 Commits (5)
9d1522cWIP pagination added for org, broken when viewing each document422ca3bhelp with pagination0191326pagination complete for organizations and workspacese195926removed unneeded console.logs and fixed sql query427d801normalize count to interact like other models📊 Changes
8 files changed (+225 additions, -93 deletions)
View changed files
📝
backend/endpoints/v1/organizations/index.js(+11 -3)📝
backend/endpoints/v1/workspaces/index.js(+8 -2)📝
backend/models/workspaceDocument.js(+26 -19)➕
frontend/src/components/DocumentPaginator/index.tsx(+63 -0)📝
frontend/src/models/organization.ts(+16 -9)📝
frontend/src/models/workspace.ts(+11 -4)📝
frontend/src/pages/Dashboard/DocumentsList/index.tsx(+59 -51)📝
frontend/src/pages/WorkspaceDashboard/DocumentsList/index.tsx(+31 -5)📄 Description
resolves #8
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.