From 3880844a7995f25ded09ff58e240d7ab9be7b116 Mon Sep 17 00:00:00 2001 From: Anbraten <6918444+anbraten@users.noreply.github.com> Date: Wed, 17 Apr 2024 11:37:19 +0200 Subject: [PATCH] improve pagination --- README.md | 4 +- web/components.d.ts | 1 + web/src/components/layout/Pagination.vue | 38 +++++++++++++++++++ .../components/repo/settings/SecretsTab.vue | 22 ++++++----- web/src/compositions/usePaginate.ts | 22 ++++++----- web/src/views/repo/RepoSettings.vue | 4 +- 6 files changed, 69 insertions(+), 22 deletions(-) create mode 100644 web/src/components/layout/Pagination.vue diff --git a/README.md b/README.md index d822d1b43..8044bc151 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,8 @@


- - Build Status + + Pipeline Status Code coverage diff --git a/web/components.d.ts b/web/components.d.ts index e8e2e378f..88110bfc2 100644 --- a/web/components.d.ts +++ b/web/components.d.ts @@ -85,6 +85,7 @@ declare module 'vue' { Navbar: typeof import('./src/components/layout/header/Navbar.vue')['default'] NumberField: typeof import('./src/components/form/NumberField.vue')['default'] OrgSecretsTab: typeof import('./src/components/org/settings/OrgSecretsTab.vue')['default'] + Pagination: typeof import('./src/components/layout/Pagination.vue')['default'] Panel: typeof import('./src/components/layout/Panel.vue')['default'] PipelineFeedItem: typeof import('./src/components/pipeline-feed/PipelineFeedItem.vue')['default'] PipelineFeedSidebar: typeof import('./src/components/pipeline-feed/PipelineFeedSidebar.vue')['default'] diff --git a/web/src/components/layout/Pagination.vue b/web/src/components/layout/Pagination.vue new file mode 100644 index 000000000..ef9fed1a8 --- /dev/null +++ b/web/src/components/layout/Pagination.vue @@ -0,0 +1,38 @@ + + + diff --git a/web/src/components/repo/settings/SecretsTab.vue b/web/src/components/repo/settings/SecretsTab.vue index 30e801316..0f4afe5a7 100644 --- a/web/src/components/repo/settings/SecretsTab.vue +++ b/web/src/components/repo/settings/SecretsTab.vue @@ -14,14 +14,15 @@