feat(voice): Linux download & OS-aware buttons - #79
Merged
Conversation
Surface the Linux .deb installer alongside the macOS build on the voice landing and download pages. Read the version/size live from latest-linux.yml at build time, mirroring the existing mac wiring. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the side-by-side Mac/Linux buttons with one primary button for the visitor's platform, with the other behind an "other platforms" disclosure. The site is statically built, so detection is progressive enhancement: SSR defaults to Mac, an inline script promotes Linux on a Linux user-agent, and the native <details> keeps every build reachable with JS off. Extracted into a reusable VoiceDownload component. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The active/hidden state stacked `inline-flex` and `hidden` on the same element; `inline-flex` won the `display` race so every button (and both dropdown items) stayed visible. Toggle between the two display classes instead so an element is only ever one or the other. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The spec lines under the buttons were static (Mac first), so a Linux visitor saw the Linux button on top but the Mac caption first. Tag each line and have the detection script move the matching-OS line first, and make both lines symmetric (version + trailer) instead of mismatched. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The smart button shows a single platform, but the caption still listed both OS lines — redundant (each repeated version + beta/size) and mismatched for the visitor. Show only the active platform's caption and swap it with the OS, mirroring the button. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
The alternate download in the dropdown only said "Download for Linux" with no hint of which distros/format/size. Add an always-visible sub-label (arch + size) under each item instead of a tooltip, so the info reaches touch and keyboard users too. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
wavekat-eason
pushed a commit
that referenced
this pull request
Jun 4, 2026
🤖 I have created a release *beep* *boop* --- ## [0.0.27](wavekat-com-v0.0.26...wavekat-com-v0.0.27) (2026-06-04) ### Features * **seo:** structured data + social metadata (+ favicon & download dropdown fixes) ([#81](#81)) ([d8fb369](d8fb369)) * **voice:** add alternatives comparison pages ([#82](#82)) ([6d01545](6d01545)) * **voice:** Linux download & OS-aware buttons ([#79](#79)) ([590219d](590219d)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.
Summary
.debdownload support to the Voice download pageTest plan
.debbutton + Linux specs shown🤖 Generated with Claude Code