Repository navigation
Restyle the Apple Wallet pass after the Check In template - #192
Merged
Merged
Conversation
Adopts the "MHacks Check In" Pass Designer template: green background with white text, the blurred template photo as the background image in place of the sky strip, the white M as logo and thumbnail, and its header/primary/secondary field layout. Adds the hacker handbook as a featured action (iOS 27+) and a back field for older devices. Template art lives in scripts/wallet-art/ and feeds the asset generator. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.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
Restyles the Apple Wallet check-in pass (added in #166) to match the "MHacks Check In" Pass Designer template.
Look: green
rgb(56,108,54)background with white text. The template photo is now the pass background, which Wallet blurs. It replaces the sky strip, because Wallet doesn't allow a strip on an event ticket that has a background image.Images: the template's white M is now the logo and the thumbnail.
Front fields: now follow the template:
Oct 3 / 9:00 AMDate: October 3-4thNameThe old CCCB / doors / dates row is gone; that information is still on the back of the pass.
Handbook: the hacker handbook is a
viewSchedulefeatured action, which only appears on iOS 27+. It's also a back field for older devices. The template's URL had a doubledhttps://https://, which is fixed here.Unchanged: the QR code is still the bare user ID, so the scanner doesn't change. Signing and the relevant dates and locations are also untouched.
Size: the template art is in
scripts/wallet-art/, andscripts/generate-wallet-assets.tsresizes it to Apple's sizes. The template's background was 5MB; the whole pass is now about 440KB. When the generator re-ran, the icon and Google Wallet images came out byte-identical.Deliberately not taken from the template:
Test plan
tsc, eslint, prettier.pkpassthroughbuildCheckInPasswith a self-signed cert. passkit-generator accepts it, and the bundledpass.jsonand images match the template./wallet/passon an iPhone with the real signing certs and check the front and back.🤖 Generated with Claude Code