Conversation
A Windows XP desktop metaphor as an events site: one React island lists upcoming Wix Events and takes RSVPs through an XP-style wizard. Restructured to the repo layout and reviewed against AGENTS.md: - Adapter: @wix/cloud-provider-fetch-adapter behind an `isBuild` conditional replaced with @wix/astro-wix-hosting-adapter (the banned pattern) - package.json: renamed to wix-astro-before-ai-v2, scripts reduced to astro/dev/build, dropped @wix/cli + @astrojs/cloudflare + @astrojs/node, caret-pinned react/react-dom - Wix is the source of truth: removed the bundled seed-events fallback that shadowed queryEvents, along with the "live vs demo" UI it fed. A site with no upcoming events now renders an empty state - Dropped the constant fake "speaker" byline (Wix Events has no such field) and the hardcoded 7:42 PM taskbar clock, now a real client-side clock - Errors: /api/rsvp no longer leaks SDK detail or references API-key scopes that do not exist under @wix/astro — it logs server-side and returns a generic message - No dead UI: removed the handler-less folder buttons and the minimize/maximize buttons that did nothing - Removed astro.config.local.mjs and TESTING.md (the local @astrojs/node escape hatch went away with the CLI scripts) Verified from a standalone copy: npm install, astro build, and tsc --noEmit all pass; largest built file is 248K, well under the registry's ~4MB limit. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
👷 Deploy request for wix-appointments-subscriptions-nextjs pending review.Visit the deploys page to approve it
|
👷 Deploy request for wix-classes-subscriptions-nextjs pending review.Visit the deploys page to approve it
|
👷 Deploy request for wix-headless-example pending review.Visit the deploys page to approve it
|
👷 Deploy request for wix-cms-nextjs-template pending review.Visit the deploys page to approve it
|
👷 Deploy request for wix-commerce-ticketing-nextjs pending review.Visit the deploys page to approve it
|
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.
Adds
astro/before-ai-v2— a Windows XP desktop that happens to be an events site. One React island lists upcoming Wix Events and takes RSVPs through an XP-style wizard.wixTemplateId:ca844d81-95d3-4f92-b710-03ddcf9050f4What it demonstrates
wixEventsV2.queryEvents) with no client and no API key — the@wix/astrointegration authenticates module-level SDK importsauth.elevate(rsvpV2.createRsvp), server-side onlyclient:load, server-rendered so the listing is in the HTML for crawlersRequest/ResponsecodeAGENTS.md review
Restructured from a raw CLI project. Findings fixed:
@wix/cloud-provider-fetch-adapterbehind anisBuildconditional replaced with@wix/astro-wix-hosting-adapter(the pattern AGENTS.md says was removed repo-wide)queryEvents, and the "live vs demo" UI it fed. A site with no upcoming events now renders an empty statespeakerbyline (Wix Events has no such field) and the hardcoded7:42 PMtaskbar clock, now a real client-side clock/api/rsvpno longer leaks SDK detail or references API-key scopes that don't exist under@wix/astro; it logs server-side and returns a generic messagepackage.jsonnormalized (wix-astro-before-ai-v2, three scripts, no@wix/cli/cloudflare/node, caret-pinned React); removedastro.config.local.mjsandTESTING.mdTesting
Verified from a standalone copy (
git archive→npm install):astro buildandtsc --noEmitboth pass. Largest built file is 248K, well under the registry's ~4MB limit.Per AGENTS.md, full CLI e2e is not possible for a new template pre-publish — the released
@wix/create-newships a hardcoded template enum. The catalog pairing (thatca844d81…provisions a site with Wix Events and future-dated RSVP events) is therefore untested and can only be verified after the registry publish.🤖 Generated with Claude Code