fix(cms): list and edit Tanstack installed apps in Content tab - #4011
Closed
guitavano wants to merge 2 commits into
Closed
fix(cms): list and edit Tanstack installed apps in Content tab#4011guitavano wants to merge 2 commits into
guitavano wants to merge 2 commits into
Conversation
Merge app catalog from store, manifest.blocks.apps, and decofile without manifestHasApp gate; resolve app schemas with btoa-safe base64 lookup and legacy resolveType aliases; fix Buffer crash in the browser. Co-authored-by: Cursor <cursoragent@cursor.com>
Render website/loaders/secret blocks in app forms, enable drag-to-reorder
on schema array fields, and map {{{name}}} array item titles to titleBy.
Co-authored-by: Cursor <cursoragent@cursor.com>
5 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
manifest.blocks.apps, and decofile scan (custom/local apps) without amanifestHasAppgate.btoainstead ofBufferfor base64 defs lookup (fixesBuffer is not definedin the browser); support legacyresolveTypealiases viaisDecoAppResolveType.isSiteAppBlockand allow app extraction when resolve type matches without requiring manifest presence.Part of the Tanstack CMS apps stack alongside:
Test plan
bun test apps/mesh/src/web/components/sandbox/content/app-catalog.test.ts apps/mesh/src/web/components/sections-editor/resolve-schema.test.tsMade with Cursor
Summary by cubic
CMS Content → Apps now lists and lets you edit installed Tanstack apps, including custom/local ones, even when missing from
manifest.blocks.apps. Adds secret field support and drag‑to‑reorder for array fields in app forms, with safer, browser‑friendly schema resolution.New Features
manifest.blocks.apps, anddecofile(no gate).website/loaders/secret.tsblocks as password fields and keep existing secrets unless a new value is set.appLabeland support{{...}}titles viatitleBy.Bug Fixes
btoabase64 lookup for schema definitions to avoidBuffer is not definedin the browser.Written for commit 1470389. Summary will update on new commits.