Repository navigation
feat(catalog): recommend the product feed URL, and say an upload doesn't refresh - #1752
Merged
gkhngyk merged 3 commits intoOct 29, 2026
Merged
Conversation
…ct doesn't have Copy that read as if Google Merchant Center were connected, or a store could be, where neither is offered: - Brief › Shopping path: "and by Merchant Center status once it's connected" is gone (a refused product is still left out where an account is connected). - Product Visibility's "Why": the fix step no longer says "we send it to Shopify": fixes go to the Action Center, the agent rewrites the page and its schema, the person sends it to their CMS, feed fields change in the feed. - The data strip's empty catalog: "from a feed or a file", no store. - Action Center and Content Editor guides: a product "refused by Merchant Center" now says "(when a Merchant Center account is connected)". Co-Authored-By: Claude Opus 5.5 <[email protected]>
…n't refresh
An uploaded file is read once, and the daily sync leaves uploads out, so
its prices and stock go stale; the copy didn't say so, nor which way to
add a catalog keeps it current.
- Settings › Integrations › Product catalog: the feed URL form is marked
Recommended ("read every day, so prices and stock stay current"); the
upload's hint says it is one-off; the empty list says both.
- An uploaded source's row says "Last uploaded <when> · prices and stock
don't refresh by themselves", in place of "synced <when>".
- Over 4 MB (the API proxy's limit on one request): "Add its feed URL
instead: a feed up to 50 MB is read every day".
- Product Visibility's data strip and catalog note say the same: a feed
URL read every day, or a file uploaded once.
The 4 MB limit stays: the user chose to recommend the feed URL rather
than compress or store uploads.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
5 tasks done
gkhngyk
approved these changes
Oct 29, 2026
gkhngyk
left a comment
Contributor
There was a problem hiding this comment.
Looks good, with follow-ups
Reviewed this PR's own change (bc2d1354..5596ff16, on top of #1748). No migration.
What I checked
- The copy matches the server.
- The daily sync skips uploads: the sweep in
lib/catalog/sources.jsfilters.neq('kind', 'upload'). So "one-off" and "prices and stock don't refresh by themselves" are true. - A brand has one upload source, and a new upload replaces its file (
routes/catalog.js). So "upload again" refreshes it. - A feed URL may be up to 50 MB (
FEED_MAX_BYTES), and an upload up to 4 MB, as the messages say.
- The daily sync skips uploads: the sweep in
- The row. An upload's row drops "synced …" and shows "Last uploaded … · prices and stock don't refresh by themselves" instead. It only appears when the upload has been read (
lastSyncedAt). Feeds and stores still say "synced …". - Recommended. The badge and its line are shown only to those who can add sources (inside
canManage).Badgewas already imported. - Strip and catalog note. They say the same thing as Settings.
- Merge. Merges clean on main, on top of #1748, and with #1747's stack.
- No PostgREST embeds, server actions or routes are added.
- Tests on main merged with this PR and #1747's stack:
catalog-sources-card(including the two new tests) and the shopping folder pass.tscpasses. Prettier and eslint pass on the touched files.
Follow-ups
- The upload row's hint ends with "Upload again, or add the feed's URL". Analysts see it too, but they can't do either. Dropping that sentence when
!canManage, or pointing them to an admin, would be more accurate. - An upload whose last read failed shows both the error and "Last uploaded … · prices and stock don't refresh". The time is when that failed read happened. That's fine, but you might show the stale line only when
lastStatus === 'ok'.
7 of 8 tasks
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
An uploaded catalog file is read once: the daily sync leaves uploads out, so its prices and stock go stale. Nothing said so, or which way of adding a catalog keeps it current. Merchant Center can't be connected on the cloud, so a feed URL is the way to keep a catalog current.
The 4 MB upload limit stays. Recommending the feed URL was chosen over compressing or storing uploads; gzip can come later if shops need bigger uploads.
Copy and one row label only; no change to how sources are read.
Related issue
Follows #1270 (Merchant Center isn't offered on the cloud).
Stacked on #1748 (copy that promised Merchant Center status or Shopify). The diff against #1748 holds only this change.
Type of change
feat— New featureHow to test
Checklist
content/editor/[draftId]/_before-publish.test.tsxfails one focus assertion on this machine while other checks run. This branch doesn't touch that folder, which is identical to main.catalog-sources-card.test.tsx,_data-strip.test.tsx)🤖 Generated with Claude Code