Skip to content

Morningstar/Morningstar-Dynamic-Services-APIs-Visualization-Library

Repository files navigation

Morningstar-Visualization-Library

The Morningstar Visualization Library is a collection of example web components that demonstrate how data returned by Dynamic Services APIs can be rendered for use in front-end applications.

Note :

Use node version 16.13.2, Since this version has npm(8.1.2) which works fine and later version has issues

Built with

Project setup

yarn install

Run storybook

yarn storybook

Compiles and hot-reloads for development of individual components

yarn serve

Compiles and minifies for production

yarn build

Run your unit tests

yarn test:unit

Lints and fixes files

yarn lint

Add New Component

Below command would help to generate a component and it's corresponding story and it allows to generate component like a generic and table components.

yarn add-component

If you are sure about the type of component to generate you can simply provide it as a parameter to the add-component command to skip some questions.

yarn add-component Generic
yarn add-component Table

Commit messages

Commit messages must be in a standard format.

  • change-type(package): JIRA-REF, description - use this format when making changes to packages, e.g.
    • major(button): ECCORECS-12345, breaking change
    • minor(input): ECCORECS-12345, new functionality hidden by default
    • patch(pagination): ECCORECS-12345, bug fix
    • chore(data-table): ECCORECS-12345, clean up with no change to functionality
  • Update config file - use this message when updating a top-level file, e.g. .gitignore or .editorconfig
  • Update readme - use this message when updating the top-level readme.md

Please note that only a single package may be updated in a commit, though multiple packages can be updated in a PR.

If you need to make follow-up changes once a PR is reviewed do one of the following:

  • if you are confident using git, rewrite the history in your feature branch and update the PR to make all the changes in a single commit
  • use the same or a lesser change-type for subsequent commits, e.g. if the main commit is minor a follow-up commit can be classed as minor, patch or chore

Change types

Change types mostly follow the semver standard (https://semver.org/):

  • major - a breaking change, includes changes to the UI
  • minor - new functionality added in a backwards-compatible manner
  • patch - a backwards-compatible bug fix
  • chore - code clean up without any change to functionality, e.g. formatting or linting

Deployment

Currently we have two branches

License

Morningstar Visualization Library is licensed under the Apache License 2.0. Details can be found in the LICENSE file.

About

Morningstar Dynamic Services APIs Visualization Library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published