Unity is a Milo bootstrap project.
- Install the aem CLI:
sudo npm install -g @adobe/aem-cli
- Run
aem up
this repo's folder. (opens your browser athttp://localhost:3000
) - Open this repo's folder in your favorite editor and start coding.
Unity UI will be connected to Unity Service for most of the operation. Below are some of the operations by unity service
- Remove background
- Change Background
- Redirect to Acrobat
Apart from this some operations can be performed in client side for better user experience like: image filters, crop, ans resize etc.
All the Unity assets resides at folder. This will be accessible from https://adobe.com/unity/assets
All the Unity configs resides at folder. This will be accessible from https://adobe.com/unity/configs
All the Unity code can be acesses from https://adobe.com/unity/unitylibs
A specific version of Unity branch can be loaded by passing ?unitylibs=<branch_name>
as query paramter.
All the Milo consuming projects will get the Unity blocks OOTB. All though the core Unity functionality resides in this repo, Milo has a light weight unity block whose repsonsibility is to load the unity core functionality. Unity block is not a visual block and works as a metadata block for other blocks(e.g Marquee, Aside) where we need unity features to be enabled.
Unity block can be added after any other block to take the effect. We need to pass a target element(selector) where we need unity feature/
Unity Service depends on IMS guest token for logged out user. So IMS client id should be onboarded with IMS guest token wiki.
- PR needs at least two approvals.
- Approvals & changes can come from anyone.
- Unity Contributors can send PRs from forks.
- Unity Committers can merge approved PRs into any branch besides stage or main.
- Unity Admins can merge approved PRs into stage and main.
- We recommend the following title format for PR:
MWPW-xxxx - Summarize changes in 50 characters or less