Skip to content

Prepare Marketplace listing: custom domain, transparent icons, Gmail add-on - #2

Merged
t11z merged 1 commit into
mainfrom
claude/wonderful-thompson-yv2gmd
Oct 7, 2026
Merged

t11z merged 1 commit into
mainfrom
claude/wonderful-thompson-yv2gmd

Conversation

@t11z

@t11z t11z commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

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.io is not such a domain. This PR moves everything to the custom domain:

  • site/build.mjs: SITE_URL and og:image use 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 at nullthrone.github.io. Naming it as the CNAME target without a scheme is still allowed.
  • Gmail add-on: webAppUrl_, openLinkUrlPrefixes and logoUrl point to the new domain.
  • README.md, docs/TERMS.md and docs/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.mjs and design/unpassword/png/icon-*.png.

docs/SETUP.md rewritten

The guide now covers the complete submission:

  1. Domain setup: CNAME at GoDaddy, GitHub domain verification, Pages custom domain and HTTPS, Search Console domain property, troubleshooting for "not eligible for HTTPS".
  2. The OAuth consent screen with concrete values, and the exact three scopes.
  3. Credentials: OAuth client origin and API key referrer on the new domain.
  4. A versioned add-on deployment. The HEAD deployment is not accepted.
  5. OAuth verification for the sensitive scope gmail.addons.current.message.readonly, with ready-to-paste justifications per scope and a storyboard for the demo video.
  6. App Configuration: Drive app and Workspace add-on.
  7. Store listing with a short description (168 characters) and a detailed description in English.
  8. A review checklist.

Manifest

appsscript.json no longer sets useLocaleFromApp. That flag only works together with the script.locale scope, which the add-on does not request. The add-on already falls back to Session.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.mjs passes. All internal links and anchors resolve, there are no external resources, and no github.io URLs remain.
  • node --test gmail-addon/detect.test.mjs passes.
  • The icons were checked visually on light and dark backgrounds at 128, 96, 48, 32 and 16 px.

Outside the repository

These steps are done by hand, following docs/SETUP.md:

  • DNS and Search Console verification
  • Cloud project, consent screen and credentials
  • repository variables
  • v0.1.0 tag
  • clasp deployment of the add-on
  • demo video and verification request
  • Marketplace SDK configuration

🤖 Generated with Claude Code

https://claude.ai/code/session_019AALVgpSE45DWgj4sdEeJs


Generated by Claude Code

…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
@t11z t11z self-assigned this Oct 7, 2026
@t11z t11z added the enhancement New feature or request label Oct 7, 2026
@t11z
t11z merged commit 39a5de1 into main Oct 7, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants