As of October 4, 2023, this repository has been deprecated.
The contents of this repository have been merged into the backend repository addonfactory-ucc-generator under the ui
subfolder. All future updates, issues, pull requests, and other activities related to this repo will be managed there.
Please refer to the addonfactory-ucc-generator repository for the latest version and updates.
The project contains UI framework that renders UI components dynamically based on provided globalConfig.json
.
- Clone the repo.
- Install yarn (>= 1.2) if you haven't already:
npm install --global yarn
. - Run the setup task:
yarn run setup
.
After this step, the following tasks will be available:
yarn run build
– Create a production bundleyarn run start
– build bundle and watch changesyarn run storybook
- start storybook and open http://localhost:6006yarn run eslint
– Run lintersyarn run eslint:fix
– Fixed the linters and run prettieryarn run format
– Run prettier to auto-format*.js
,*.jsx
and*.css
files. This command will overwrite files without asking,format:verify
won't.
Running yarn run setup
once is required to enable all other tasks. The command might take a few minutes to finish.
If you are a Splunker use: https://splunk.slack.com/archives/C03T8QCHBTJ
If you are a part of the community use: https://splunk-usergroups.slack.com/archives/C03SG3ZL4S1
UCC UI Lib uses prettier to ensure consistent code formatting. It is recommended to add a prettier plugin to your editor/ide.