woodpecker-ci/woodpecker

Add pagination on repo pipelines view

Open

#2,976 建立於 2023年12月20日

在 GitHub 查看
 (2 留言) (11 反應) (1 負責人)Go (571 fork)user submission
featuregood first issueui

倉庫指標

Star
 (7,124 star)
PR 合併指標
 (平均合併 2天 2小時) (30 天內合併 82 個 PR)

描述

Clear and concise description of the problem

It is not possible to see list of older pipelines for a repo

Suggested solution

Add pagination on https://ci.woodpecker-ci.org/repos/3780

Alternative

Add a load more button. Although, I prefer pagination, because then you can share a link to the page and you will see the same view.

Additional context

Relevant code

Backend does have support for pagination https://github.com/woodpecker-ci/woodpecker/blob/6432109daf7e7a466c25dcc1a4f540b3dd766d94/server/api/pipeline.go#L104 The frontend store needs to support it https://github.com/woodpecker-ci/woodpecker/blob/6432109daf7e7a466c25dcc1a4f540b3dd766d94/web/src/store/pipelines.ts#L50 The frontend component needs to have a button, etc. https://github.com/woodpecker-ci/woodpecker/blob/6432109daf7e7a466c25dcc1a4f540b3dd766d94/web/src/components/repo/pipeline/PipelineList.vue

Validations

貢獻者指南