Skip to content

CEXT-6406: add menu/custom-menu v2 sample#63

Merged
obarcelonap merged 5 commits into
feature/admin-ui-sdk-v2-samplesfrom
custom-menu
Jul 3, 2026
Merged

CEXT-6406: add menu/custom-menu v2 sample#63
obarcelonap merged 5 commits into
feature/admin-ui-sdk-v2-samplesfrom
custom-menu

Conversation

@obarcelonap

@obarcelonap obarcelonap commented Jul 3, 2026

Copy link
Copy Markdown
Member

Description

Migrate the Admin UI SDK menu/custom-menu sample from the deprecated commerce/backend-ui/1 extension point to App Management (commerce/backend-ui/2), moving the existing sample into v1/ and adding the new v2/ version alongside it, consistent with the other samples already migrated in this branch.

Related Issue

CEXT-6406

Motivation and Context

Continues the admin-ui-sdk v1/v2 migration effort tracked under CEXT-6400, providing a menu-extension-point example alongside the already-merged grid-columns v2 samples.

How Has This Been Tested?

  • npm install and dependency resolution verified
  • Config assembled and reviewed manually against the v1 registration source

Screenshots (if appropriate):

N/A

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • I have signed the Adobe Open Source CLA.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.

Migrate the Admin UI SDK custom-menu sample from the deprecated
commerce/backend-ui/1 extension point to App Management
(commerce/backend-ui/2), pinning the aio-commerce-sdk pre-release
packages under test.
aio-commerce-lib-app's generateWebSrc() only calls prepareWebSourcePackage()
(which adds required web-src dependencies and the Parcel packageExports/
manualSharedBundles config) when scaffolding a fresh web-src. Since the
build was re-run against an already-generated web-src, that config was
never written, so Parcel couldn't resolve the #app.commerce.config/#web
package.json import aliases and was missing @react-spectrum/s2 and its
peer dependencies. Restoring the config manually to match what the
generator would have produced for a fresh scaffold.
Comment thread admin-ui-sdk/v2/menu/custom-menu/src/commerce-backend-ui-2/ext.config.yaml Outdated
Comment thread admin-ui-sdk/v2/menu/custom-menu/install.yaml
Comment thread admin-ui-sdk/v2/menu/custom-menu/package.json
Comment thread admin-ui-sdk/v2/menu/custom-menu/package.json
Comment thread admin-ui-sdk/v2/menu/custom-menu/package.json
Comment thread admin-ui-sdk/v2/menu/custom-menu/README.md
@obarcelonap obarcelonap mentioned this pull request Jul 3, 2026
10 tasks
@obarcelonap obarcelonap merged commit 8988543 into feature/admin-ui-sdk-v2-samples Jul 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants