fix: restore reverted 6.5.0 PRs via cherry-pick - #5544
Merged
Conversation
…rrentLanguage optional - Add GetDefaultLanguageUseCase to @webiny/languages to resolve the configured default language instead of hardcoding "en" - Update WbTranslatePageDecorator to use GetDefaultLanguageUseCase when the source page has no language property - Make currentLanguage optional in translatePageSchema to prevent ZodError when translating integration-created pages without a language property Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Mirrors the named dialogs pattern — register drawers by name via AdminConfig.Drawer, open them with useOpenDrawer, consume params with useDrawer. Multiple drawers can stack simultaneously. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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
release/6.5.0that were lost when the stale breadcrumbs merge (c087) diverged too far fromnextCherry-picked commits (oldest first):
7e713feb91— AI page translation (feat: add AI-powered page translation to ai-powerups #5501):WbTranslatePagefeature inai-powerupsb6d7105cee— Frontend SDK consolidation (feat: frontend SDK consolidation and improvements #5507): renamescontent-sdk→sdk-frontend,content-sdk-nextjs→sdk-nextjs, broadens API key permissions, adds NextjsConfigLegacyFallback, A/B testing module9f53ea597d— Missing publish configs: addspublishConfigto 6 packages4395d52e3c— Default language fallback /GetDefaultLanguage: new use case in@webiny/languages, makescurrentLanguageoptional in translate pagea7a985ebfb— Bundle size → 6 MB: bumps default API bundle size limit in CI and build toolscb2a5c442b— Named drawers: new drawer system inapp-admin(config, hooks, context)Conflict resolutions:
apiKeys/feature.ts: merged incoming factory-basedApiKeyProviderregistration withnext'sApiKeyAuthenticator/ApiKeyAuthorizerApiKeyInstaller.ts: took incoming broader permissions (languages, CMS, WBwb.*) — note:nextvia fix: restore 6.5.0 PRs reverted by stale breadcrumbs merge #5536 already partially restored this, our commit adds the fullFrontend Integrationrename + CMS permissions on topAdmin.tsx: addedDrawersProviderwithout re-addingApolloProviderwrapper (removed onnext)webiny.config.tsx: keptnext'sInfra.Crypto.*/ProductionEnvironmentslines, addedMaxBundleSizetsconfigfiles: took incomingsdk-frontendpaths replacing stalecontent-sdkreferences.json: kept deleted (removed onnext)Coordination notes:
api-website-builder— fix(api-website-builder): grant Website Builder API key read access to all WB entities #5502 and feat: frontend SDK consolidation and improvements #5507 both touchApiKeyInstaller.ts; resolved abovepages.gql.ts— The AI-page-translation license gate from feat(wcp): consume new A/B testing and AI powerups license flags #5499 was dropped (not innextyet); needs to be re-added separately when feat(wcp): consume new A/B testing and AI powerups license flags #5499 landsTest plan
yarninstalls cleanlyyarn buildsucceeds for affected packages (ai-powerups,sdk-frontend,sdk-nextjs,app-admin,api-website-builder,languages)content-sdk/content-sdk-nextjspackages remain🤖 Generated with Claude Code