Commit Graph
23 Commits
Author SHA1 Message Date
Rami BitarandClaude Opus 5.5 6104838684 Upgrade Next to 16.3.8 and default the store domain to mock.shop
An unset or blank NEXT_PUBLIC_SHOPIFY_DOMAIN reached the Hydrogen client
as an empty storeDomain, which throws 'storeDomain is required and must
be non-empty'. Fall back to the tokenless mock.shop store, only send the
public token alongside a configured domain, and have the editor's Shopify
plugin read the same resolved config.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-03 11:56:31 -04:00
Rami Bitar f71d73d7c0 Bump React Editor core to 0.0.43 2026-09-05 12:17:28 -04:00
Rami Bitar b2d2f65071 Fix Hydrogen webpack build and editor link keys 2026-08-29 21:31:32 -04:00
Rami BitarandClaude Opus 5 69ca137c7d Rename block .editor files to .config
Also drop the color and leftSideBarVisible overrides from PageEditor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014xjLo7mFxZXfPDCHuKX4Dz
2026-08-29 11:10:24 -04:00
Rami BitarandClaude Opus 5 3bc61066f0 Add collections pagination and a search field on the search page
Paginate the collections grid with a "See more" button backed by a new
getCollectionsPage cursor API, add an editable search input to the
search-results block, and bump @shopify/hydrogen to 2026.10.0-preview.1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DqFkSaLYRPZ18dsMbzjiP4
2026-08-23 11:01:48 -04:00
Rami Bitar 9ed1cc60de Bump react editor 2026-08-15 21:20:35 -04:00
Rami BitarandClaude Opus 5 ebb07c40fc Show loading skeletons instead of empty state when product or collection is missing
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DoqTD6MbXbwpCofyqwvELd
2026-08-15 16:58:14 -04:00
Rami BitarandClaude Opus 5 bd7e6810b7 Remove quantityAvailable from product variant query
The Storefront API only returns ProductVariant.quantityAvailable when the
app has the unauthenticated_read_product_inventory scope, and nothing in
the template reads the field — availableForSale already drives stock state.

Also hides the editor left sidebar by default in PageEditor.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FaxyZTjAyd7UXK8xpQpF7o
2026-08-15 16:49:25 -04:00
Rami Bitar bd68e1eafb Set React Editor core alpha.5 2026-08-15 13:48:14 -04:00
Rami Bitar 0fb6cef226 Update React Editor integration and clean up template 2026-08-15 13:47:33 -04:00
Rami BitarandClaude Fable 5 0a7ea0bf6b Bump @reacteditor/plugin-tailwind-cdn to 0.0.3-alpha.2
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KagUob1DrrRgQbYKG5GbyV
2026-08-14 17:39:08 -04:00
Rami BitarandClaude Opus 5 f11a764426 Load page.json by import, publish via fs, drop cookie auth
The editor no longer round-trips through /api/pages. Each route's
editor/page.tsx imports its own `../page.json` and hands it to
PageEditor as a prop, so the editor opens with the page already in
hand — no fetch, no loading state, no undo history seeded from a
placeholder. Globals still come from app.globals.json.

Publishing moves from `PUT /api/pages` to a `publishPage` server
action that writes the route's page.json with node:fs directly.
The target path is still built from the lib/pages.ts registry rather
than from the caller, so an unknown route key is rejected instead of
escaping app/.

Removes the customer account auth entirely: the httpOnly cookie
session, the /api/account/* handlers, the customer service and
GraphQL documents, the account-* blocks, and the /account/* routes.
The template has no auth, so nothing reads a cookie now.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01STGDvL4X7FhHHnxdRE2ayo
2026-08-09 16:36:18 -04:00
Rami Bitar 63ecc5e284 Add React editor project 2026-08-09 16:00:10 -04:00
Rami Bitar 909d99251a Update packages 2026-06-08 11:52:16 -04:00
Rami Bitar 528f2d2ab3 update render 2026-06-08 11:51:48 -04:00
Rami Bitar ff2de13f99 remove editor routes, these will be served by the platform 2026-06-06 18:56:07 -04:00
Rami Bitar ef9e10256d update components 2026-06-06 14:21:55 -04:00
Rami Bitar ed346476e5 bump reacteditor 2026-06-06 14:06:26 -04:00
Rami Bitar a813d3705e update 2026-06-06 13:58:43 -04:00
Rami Bitar 8db5baf673 Fix carousel 2026-06-06 13:51:08 -04:00
Rami Bitar aa58af410d add nextjs style routes 2026-06-06 13:46:56 -04:00
Rami Bitar ef550e9b55 Fix app schema 2026-06-06 12:13:53 -04:00
Rami Bitar 66a318d735 Initial commit 2026-06-06 11:45:24 -04:00