Add prev/next navigation to build and log pages#603
Open
ConnorFreebairn wants to merge 2 commits into
Open
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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