7PH bc03f0d637 SONAR-21455 Rework software quality breakdown design & Add a tooltip on the total count | 4 mesi fa | |
---|---|---|
.. | ||
config/jest | 5 mesi fa | |
src | 4 mesi fa | |
.eslintrc | 5 mesi fa | |
.eslintrc-typescript | 1 anno fa | |
.gitignore | 1 anno fa | |
README.md | 11 mesi fa | |
babel.config.js | 5 mesi fa | |
build.gradle | 5 mesi fa | |
jest.config.js | 5 mesi fa | |
package.json | 4 mesi fa | |
tsconfig.json | 8 mesi fa | |
vite.config.js | 5 mesi fa |
This module is a Component Library for SonarQube. Despite being an internal module, it should be thought of as an external library.
Components implemented here should be generic components, mostly agnostic of the business domains. There are some grey areas, like the Quality Gate Indicator which is obviously tied to the states a QG can have.
Translation helpers (translate
/translateWithParameters
) cannot be used in the component library. Most text should be expected as a prop anyway.
Generic (read “context-independent”) labels will soon be translated using react-intl.
Date/time formatting should use react-intl, to benefit from the user’s locale.
Only helpers necessary for Components should be implemented in this module. Business logic utilities, or application-specific methods (e.g. getComponentUrl
), should be kept in the core.