feat(assets): make the native Assets tab always-on, drop the feature flag - #6262
Merged
Conversation
…flag The external admin-MCP assets UI is being removed (decocms/admin-mcp#30), so the native per-site Assets tab is now the assets experience — no longer gated. - use-main-panel-tabs: show the Assets tab whenever a bucket is associated to the site's slug, dropping the `native_assets_tab` gate. - Remove `native_assets_tab` from OrgFlagsSchema + its Navigation settings toggle and i18n; regenerate tool contracts. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…mport The native always-on Assets tab replaces the admin-MCP assets view, so the deco.cx import no longer pins `fetch_assets`. The Monitor pinned view (get_monitor_data) stays — admin-MCP still serves it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…sites admin-MCP no longer serves fetch_assets (decocms/admin-mcp#30), so sites imported before this change carry a dead "Assets" pinned view. Skip it at render time — the native always-on Assets tab replaces it — so no data migration is needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
decocms Bot
pushed a commit
that referenced
this pull request
Aug 19, 2026
PR: #6262 feat(assets): make the native Assets tab always-on, drop the feature flag Bump type: minor - decocms (apps/api/package.json): 4.235.4 -> 4.236.0 - @decocms/native (apps/native/package.json): 4.235.4 -> 4.236.0 - @decocms/shared (packages/shared/package.json): 0.43.0 -> 0.44.0 Deploy-Scope: web
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
Removes the
native_assets_tabfeature flag and makes the native per-site Assets tab always-on. The external admin-MCP assets UI is being removed (decocms/admin-mcp#30), so the native tab is now the assets experience — no reason to keep it gated.use-main-panel-tabs.ts: the Assets tab shows whenever an S3 bucket is associated to the site'ssiteSlug(matchSiteSlugConfig), dropping the flag gate. The?main=assetsfallback guard stays (falls back to default when no bucket).OrgFlagsSchema: removednative_assets_tab; regenerated tool contracts.Context / sequencing
Builds on #6251 (native tab + flag) and #6257 (settings toggle), both merged. Pairs with decocms/admin-mcp#30 (removes the
fetch_assetsUI). Net effect once all land: every site with an associated bucket gets the native Assets tab; nothing to toggle.Still open as a follow-up: Studio import (
import-from-deco-dialog.tsx) currently creates thefetch_assetspinned view on deco.cx import — that becomes a no-op tab once admin-mcp#30 ships and should be dropped separately.Testing notes
tsc --noEmitpasses (shared / web / api);oxlintclean on touched files;bun run fmtapplied. No remaining references tonative_assets_tab.🤖 Generated with Claude Code
Summary by cubic
Makes the per-site Assets tab always-on when a site has an associated S3 bucket and removes the
native_assets_tabfeature flag and settings toggle. Replaces the admin-MCPfetch_assetsview: we no longer pin it on import and we skip existingfetch_assetspins at render, so users see the native tab instead. The?main=assetsfallback still drops to the default tab if no bucket is configured.Review and rollout
useOrgFlag("native_assets_tab")and stop sending/expecting this flag in org settings; tool contracts updated.fetch_assetspinned view after import; the native per-site Assets tab is the source of truth.fetch_assetspins are ignored at render time.Written for commit 8f4cf9c. Summary will update on new commits.