Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
David Cho-Lerat 0c7599320b SONAR-21298 Showcase Echoes' Spinner component in a few places 3 månader sedan
..
config/jest SONAR-21692 Remove act warnings from Toggler, IssuesSidebar, IssuesAppGuides, MultiSelectMenu, DropdownMenu 4 månader sedan
src SONAR-21298 Showcase Echoes' Spinner component in a few places 3 månader sedan
.eslintrc SONAR-19032 MIUI cleanup part 1 (#10627) 4 månader sedan
.eslintrc-typescript SONAR-21571 typescript-eslint update 4 månader sedan
.gitignore SONAR-18491 Set up the build system for the new UI 1 år sedan
README.md [NO JIRA] Add documentation to the design-system module 11 månader sedan
babel.config.js NO-JIRA Update license headers to 2024 5 månader sedan
build.gradle NO-JIRA Update license headers to 2024 5 månader sedan
jest.config.js SONAR-21692 Introduce test failure on console errors & warnings 4 månader sedan
package.json SQDEVOPS-372 implement datadog test monitoring in ci 4 månader sedan
tsconfig.json NO-JIRA Improve design-system's tsconfig to create source maps 8 månader sedan
vite.config.js NO-JIRA Update license headers to 2024 5 månader sedan

README.md

Design System

This module is a Component Library for SonarQube. Despite being an internal module, it should be thought of as an external library.

Components

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.

L10n, i18n, translations

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.

Helpers and utilities

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.