refactor: rename WebApplication artifacts from webapplication to uibundle#1725
Open
garychangsf wants to merge 6 commits intoforcedotcom:mainfrom
Open
refactor: rename WebApplication artifacts from webapplication to uibundle#1725garychangsf wants to merge 6 commits intoforcedotcom:mainfrom
garychangsf wants to merge 6 commits intoforcedotcom:mainfrom
Conversation
…s to uiBundles @W-21674925@ Aligns the SDR metadata registry and all test fixtures with the recent rename in plugin-templates (webapp → ui-bundle), where the user-facing folder constant changed from `webapplications` to `uiBundles`. Changes: - metadataRegistry.json: update `directoryName` and `directoryNames` map key for the webapplication type from "webapplications" to "uiBundles" - Rename test fixture directories: originalMdapi, snapshot expected outputs, and NUT testProj source directories - Update hardcoded "webapplications" path strings in test TypeScript files: filePathGenerator.test.ts, webApplicationValidation.test.ts, webApplications.nut.ts, webApplicationsDeploy.nut.ts, metadataApiDeploy.test.ts Intentionally left unchanged: - Registry id/name/suffix (webapplication / WebApplication) — Salesforce API names - Adapter strategy string, class names, TypeScript file names — internal SDR identifiers - File suffixes (.webapplication-meta.xml, webapplication.json) — Salesforce API surface - Metadata API server-response fileName strings in deploy test (server-side concern) Made-with: Cursor
…ion to uibundle - Registry suffix: webapplication → uibundle (.uibundle-meta.xml) - Registry name: WebApplication → UIBundle (used in package.xml) - Registry suffixes map: webapplication → uibundle - Updated source adapter, file path generator, and deploy message handling - Updated all test fixtures and assertions to match new suffix and type name
…undle.json Update all remaining references from webapplication to uibundle across validation messages, source adapters, tests, and test fixtures.
|
Thanks for the contribution! It looks like @garychangsf is an internal user so signing the CLA is not required. However, we need to confirm this. |
bpbuch
reviewed
Mar 28, 2026
messages/webApplicationValidation.md
Outdated
| # webapp_empty_file | ||
|
|
||
| webapplication.json must not be empty (%s). | ||
| uibundle.json must not be empty (%s). |
There was a problem hiding this comment.
Shouldn't this be ui-bundle.json?
Suggested change
| uibundle.json must not be empty (%s). | |
| ui-bundle.json must not be empty (%s). |
bpbuch
approved these changes
Mar 29, 2026
| const consumedByWebApp = | ||
| type === 'WebApplicationResource' && | ||
| fr.some((c) => c.type === 'WebApplication' && fullName.startsWith(`${c.fullName}/`)); | ||
| (type === 'WebApplicationResource' || type === 'UIBundleResource') && |
There was a problem hiding this comment.
Can we remove WebApplicationResource or this is needed for easier rollout?
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
webapplicationstouiBundleswebapplicationtouibundle(e.g.,webapplication.json→uibundle.json,.webapplication-meta.xml→.uibundle-meta.xml)Test plan
yarn test)