Skip to content

Add prev/next navigation to build and log pages#603

Open
ConnorFreebairn wants to merge 2 commits into
AlmaLinux:masterfrom
ConnorFreebairn:feature/510-build-navigation
Open

Add prev/next navigation to build and log pages#603
ConnorFreebairn wants to merge 2 commits into
AlmaLinux:masterfrom
ConnorFreebairn:feature/510-build-navigation

Conversation

@ConnorFreebairn

Copy link
Copy Markdown

Adds "Previous" / "Next" buttons on the build detail page to jump to the adjacent build, and a "Back to Build" button on the build log page.

Each neighbouring build (id +/- 1) is checked against the builds API before enabling its button, so you won't hit dead ends at the first or last build.

Note: Navigation is by id +/- 1, so a deleted build will leave a gap.

The "Back to Build" button is a bit of a bonus addition, happy to drop it if you'd rather keep this tightly scoped to the issue.

Fixes AlmaLinux/build-system#510

image image

Connor Freebairn added 2 commits June 7, 2026 22:23
Add "Previous" and "Next" buttons to the build detail page so users can
move to the adjacent build (by id) without returning to the feed. Each
neighbour is validated against the builds API before its button is
enabled, so navigation to a non-existent build is not offered.

Fixes AlmaLinux/build-system#510
Add a button on the build log page that links back to its parent build,
as a related navigation improvement alongside the prev/next buttons.
@ConnorFreebairn ConnorFreebairn marked this pull request as ready for review June 7, 2026 21:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add prev/next buttons to navigate through builds

1 participant