Repository navigation
Prepare Marketplace listing: custom domain, transparent icons, Gmail add-on - #2
Merged
Merged
Conversation
…add-on - Site, Gmail add-on and docs move to https://unpassword.nullthrone.xyz/ (custom domain on GitHub Pages, verifiable for OAuth). The 404 page uses root-absolute links; site/check.mjs rejects URLs pointing at nullthrone.github.io. - Marketplace icons: brass mark on a transparent background, as the review requires; legible in light and dark Gmail themes. - docs/SETUP.md rewritten for listing web app + Drive app + Gmail add-on in one go: domain and Search Console, consent screen values, exact scopes, credentials, versioned add-on deployment, OAuth verification for the sensitive gmail.addons.current.message.readonly scope with ready-to-paste justifications and a demo video storyboard, App Configuration, store listing texts and a review checklist. - appsscript.json: drop useLocaleFromApp, which only works with the script.locale scope we do not request; the add-on already falls back to Session.getActiveUserLocale(). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019AALVgpSE45DWgj4sdEeJs
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.
What
This PR prepares the Google Workspace Marketplace submission. The web app, the Drive integration and the Gmail add-on go into one listing.
Custom domain
https://unpassword.nullthrone.xyz/Google only accepts authorized domains whose ownership can be verified in Search Console, and
github.iois not such a domain. This PR moves everything to the custom domain:site/build.mjs:SITE_URLandog:imageuse the new domain. The 404 page now uses root-absolute links (/…instead of/unpassword/…) and no longer marks a navigation item as current.site/check.mjs: rejects any URL pointing atnullthrone.github.io. Naming it as the CNAME target without a scheme is still allowed.webAppUrl_,openLinkUrlPrefixesandlogoUrlpoint to the new domain.README.md,docs/TERMS.mdanddocs/PRIVACY.md(hosting section) use the new domain.Transparent Marketplace icons
The review requires square icons with a transparent background. The icons are now the brass mark on transparent, replacing paper on an ink square. Brass stays legible on the white Marketplace page and in Gmail's dark theme. See
scripts/render-brand-assets.mjsanddesign/unpassword/png/icon-*.png.docs/SETUP.mdrewrittenThe guide now covers the complete submission:
gmail.addons.current.message.readonly, with ready-to-paste justifications per scope and a storyboard for the demo video.Manifest
appsscript.jsonno longer setsuseLocaleFromApp. That flag only works together with thescript.localescope, which the add-on does not request. The add-on already falls back toSession.getActiveUserLocale(). This keeps the scope list minimal for verification.Tests
web: lint, typecheck, 63 unit tests and 8 Playwright E2E tests pass.site:node build.mjs --app ../web/dist && node check.mjspasses. All internal links and anchors resolve, there are no external resources, and nogithub.ioURLs remain.node --test gmail-addon/detect.test.mjspasses.Outside the repository
These steps are done by hand, following
docs/SETUP.md:v0.1.0tag🤖 Generated with Claude Code
https://claude.ai/code/session_019AALVgpSE45DWgj4sdEeJs
Generated by Claude Code