@W-22453547 supporting interactive export of implex data units#521
Open
charithaT07 wants to merge 4 commits into
Open
@W-22453547 supporting interactive export of implex data units#521charithaT07 wants to merge 4 commits into
charithaT07 wants to merge 4 commits into
Conversation
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
Brief description of what this PR does.
What this PR does
Adds an interactive Export view to the B2C VS Code extension for building site impex (site archive) exports without touching the CLI. You check the data units you want in a tree of checkboxes, click Export, and the extension runs the export job, downloads the archive over WebDAV, and extracts it locally.
What's included
VS Code extension — new
Exportview (b2cExportExplorerunder the B2C-DX container):content,site_preferences,coupons, …). Unchecking one flag on an all-selected site exports "everything except that flag."meta_data,custom_types,locales, …) rendered from a fixed schema — no API call needed.siteArchiveExportToPathwith a progress notification, then offers Reveal in Explorer/Finder. Graceful guards for "nothing selected" and per-category permission failures (a denied category warns and shows empty; the rest of the tree still works).b2c-dx.features.exportExplorer.SDK —
discoverExportableUnits(instance)(@salesforce/b2c-tooling-sdk/operations/jobs):Testing
discoverExportableUnits(pagination, per-category permission failure, id-less docs).data_unitstranslation (cascade, flag exception, partial selection, clear).Files
packages/b2c-tooling-sdk/src/operations/jobs/discover.ts(+ barrel export, tests)packages/b2c-vs-extension/src/export-tree/—export-selection.ts,export-tree-provider.ts,export-commands.ts,index.tspackages/b2c-vs-extension/src/extension.ts,package.json— view/commands/menus/activation/feature flag.changeset/interactive-impex-export-tree.mdDependencies
3pl-approvedis set by a maintainerpnpm test)pnpm run format)