Repository navigation
feat(themes): update already-shared Showcase themes in place - #1090
Merged
Merged
Conversation
Sharing an edited theme that was already accepted into the Showcase previously allocated a new `<slug>-2` folder, creating a duplicate entry instead of updating the existing theme. This adds an in-place update path across contracts, server, web UI, and the Showcase check script: - Adds `updateSlug` on Showcase submissions, `slug` and `isUpdate` on submission records, and a `themeShowcaseUpdate` server capability so older servers stay on the existing new-share flow. - Updates `ThemeShowcase.submit` to refresh the Showcase list, verify ownership and changes against the live file digest, and commit only `theme.threadlines-theme` and `thumbnail.png` so `meta.json` (`sharedBy`, `featured`) and `NOTICE.md` stay untouched on `main`. - Records `update_base_sha` and `published_file_sha` in migration 125 so in-review updates (including rename-only and prompt-only changes) stay in review until their own merge and index rebuild land, and taking back an update closes only the update PR. - Adds a Showcase target picker to `ThemeShareDialog` when the signed-in account owns Showcase themes (defaulting to the matching folder across computers and renames, seeding credits from the live listing, and letting the user switch to sharing as a new theme), plus `Update in Showcase…` and `Take back update…` menu labels and digest-keyed Showcase thumbnail caching. - Fixes `scripts/theme-showcase.ts` so an outside author can update their own already-featured theme without tripping the maintainer-only `featured` check.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a manual request
Nov 24, 2026
This branch was previously deployed
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.
Sharing an edited theme that was already accepted into the Showcase previously allocated a new
<slug>-2folder, creating a duplicate entry instead of updating the existing theme.This adds an in-place update path across contracts, server, web UI, and the Showcase check script:
updateSlugon Showcase submissions,slugandisUpdateon submission records, and athemeShowcaseUpdateserver capability so older servers stay on the existing new-share flow.ThemeShowcase.submitto refresh the Showcase list, verify ownership and changes against the live file digest, and commit onlytheme.threadlines-themeandthumbnail.pngsometa.json(sharedBy,featured) andNOTICE.mdstay untouched onmain.update_base_shaandpublished_file_shain migration 125 so in-review updates (including rename-only and prompt-only changes) stay in review until their own merge and index rebuild land, and taking back an update closes only the update PR.ThemeShareDialogwhen the signed-in account owns Showcase themes (defaulting to the matching folder across computers and renames, seeding credits from the live listing, and letting the user switch to sharing as a new theme), plusUpdate in Showcase…andTake back update…menu labels and digest-keyed Showcase thumbnail caching.scripts/theme-showcase.tsso an outside author can update their own already-featured theme without tripping the maintainer-onlyfeaturedcheck.