Skip to content

Hide featured nightly from other builds list#12920

Open
Byron wants to merge 1 commit intomasterfrom
nightly-listing
Open

Hide featured nightly from other builds list#12920
Byron wants to merge 1 commit intomasterfrom
nightly-listing

Conversation

@Byron
Copy link
Collaborator

@Byron Byron commented Mar 18, 2026

This seems more natural to me, particularly because I fell for it multiple times now that I tried to download the previous version, but got the current one.

Copilot AI review requested due to automatic review settings March 18, 2026 23:00
@vercel
Copy link

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gitbutler-web Ready Ready Preview, Comment Mar 18, 2026 11:26pm

Request Review

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the web “Nightly Builds” page to avoid showing the featured/latest nightly release again in the “Other nightly builds” list, reducing user confusion when downloading older versions.

Changes:

  • Compute otherNightlies in the route loader by excluding the latest nightly release.
  • Update the nightly page Svelte component to consume/render otherNightlies instead of the full nightly list.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
apps/web/src/routes/nightly/+page.ts Adds otherNightlies derived from fetched nightlies and returns it from load().
apps/web/src/routes/nightly/+page.svelte Switches “Other nightly builds” section to use otherNightlies from data.

You can also share your feedback on Copilot code review. Take the survey.

Comment on lines +9 to +11
const otherNightlies = latestNightly
? nightlies.filter((release) => release.version !== latestNightly.version)
: nightlies;
@PavelLaptev
Copy link
Contributor

@Byron what's the difference between nightlies and OtheNightlies?

Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5902d1c8b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +9 to +10
const otherNightlies = latestNightly
? nightlies.filter((release) => release.version !== latestNightly.version)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep the featured nightly's full asset list reachable

Filtering the newest nightly out here removes the only place that renders ReleaseDownloadLinks for that release. On apps/web/src/routes/nightly/+page.svelte, the hero only exposes macOS, Linux .deb/.rpm/CLI, and Windows MSI links, while ReleaseDownloadLinks is what surfaces AppImage, Windows EXE, and any other extra artifacts. When the latest nightly includes one of those builds, users can no longer download it from /nightly, which is a regression from the previous behavior.

Useful? React with 👍 / 👎.

Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
@Byron
Copy link
Collaborator Author

Byron commented Mar 18, 2026

OtherNightlies is nightlies, without the current version. It's basically nightlies[1..].
Unfortunately I can't test it, so could you merge it if you are sure this doesn't break anything @PavelLaptev ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants