Repository navigation
Add awards page with Snapmaker Innovation Fund winner badge - #126
Merged
Merged
Conversation
Add a localized, prerendered /awards page that shows the Snapmaker Innovation Fund Winner medal, an Awards section near the bottom of the website and the README, and Awards links in the website footer and the Settings links. The desktop app opens the page in the system browser. The badges embed Snapmaker's official logo files unaltered and state only "Snapmaker Innovation Fund Winner". A maintenance script regenerates the badge SVGs and Chromium-rendered PNGs; pages use the PNGs because WebKit draws variable-font lettering inside SVG images at the wrong weight.
This was referenced Nov 7, 2026
vycdev
added a commit
that referenced
this pull request
Nov 7, 2026
At narrow widths the landing footer test pinned Privacy as the first link in the utility row. The Awards link from #126 now comes first, so check whichever link starts the row. Closes #136 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 7, 2026
officialasishkumar
added a commit
to officialasishkumar/Kromacut
that referenced
this pull request
Nov 11, 2026
The Awards link from vycdev#126 added an eighth link to the landing footer. The narrow-screen footer tests in privacy.spec.ts and terms.spec.ts still expected seven, so `npm run test:e2e:privacy` and `npm run test:e2e:terms` failed all four width/theme cases on develop, and their CI jobs failed on every pull request. These suites have their own Playwright configs, so the i18n footer fix in vycdev#137 did not reach them. - Expect eight footer links in both tests. Every link, Awards included, is still checked to be fully in the viewport, at least 44px tall, above the sticky launch bar, and not covered at its centre. - The privacy test tabbed once from "Support Kromacut" and expected Privacy to take focus. Awards now opens the utility row, so assert that Tab reaches Awards first and Privacy on the next Tab, keeping the keyboard-order check instead of skipping over the new link. - The terms test tabs from Privacy to Terms, which are still adjacent, so only its count changes. Closes vycdev#143
vycdev
pushed a commit
that referenced
this pull request
Nov 15, 2026
The Awards link added in #126 is the eighth link in the landing footer navigation, so the narrow-screen footer tests in the privacy and terms suites failed on `toHaveCount(7)` at 320px and 390px in both themes. #137 fixed the same cause in the i18n suite, but these suites run under their own Playwright configs and were missed. Both tests now expect eight links, so their per-link checks (fully in view, 44px tall, above the sticky call to action, not covered) run for the Awards link too. In the privacy test, Awards now sits between Support and Privacy in the tab order: the test checks its name and href and tabs through it before reaching Privacy. The terms test tabs from Privacy to Terms, which the new link does not affect. Fixes #143
Merged
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
Kromacut is a Snapmaker Innovation Fund winner. Snapmaker approved showing the winner badges on the website, the app and the GitHub page. This PR adds them:
/awardspage in the style of the Privacy and Terms pages, showing the medal and linking to the Snapmaker Innovation Fund. It's translated into all 12 languages, prerendered as static HTML that works without JavaScript, and listed in the sitemap with hreflang alternates./awardsis added to the Rust opener's allowlist.Snapmaker's rules
Why PNGs
scripts/build-winner-badges.mjsregenerates the approved SVGs and renders 2x PNGs from them with Playwright Chromium. The pages use the PNGs. The SVGs load fine under GitHub's CSP and the Tauri CSP in Chromium, Firefox and WebKit. However, WebKit (Safari, GitHub's iOS app, the macOS/Linux webviews) ignores variable-font weights inside SVG images and draws the lettering at Oxanium's thinnest weight.Tests
/awards, and the Rust allowlist test.develop: lint,check:i18n,build,test:e2e:landing,test:e2e:i18n:build,settings-legal-links.spec.tsandcargo test legal_page_urls.