Repository navigation
UN-4300 [FEAT] Add the v1 toggles: Checkbox, Radio and RadioGroup, Switch and Slider (P1-T05) - #2462
praveen-formido wants to merge 12 commits into
Quality Gate passed
Annotations
Check warning on line 80 in frontend/src/v1/components/ui/toggles/Slider.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaHAIUlJVAmwayIud9lt&open=AaHAIUlJVAmwayIud9lt&pullRequest=2462
Check warning on line 71 in frontend/src/v1/components/ui/toggles/Slider.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WKbNrHyZCvw4JGj&open=AaG_7WKbNrHyZCvw4JGj&pullRequest=2462
Check warning on line 124 in frontend/src/v1/components/ui/toggles/RadioGroup.tsx
sonarqubecloud / SonarCloud Code Analysis
Move this component definition out of the parent component and pass data as props.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WKdNrHyZCvw4JGl&open=AaG_7WKdNrHyZCvw4JGl&pullRequest=2462
Check warning on line 142 in frontend/src/v1/components/ui/toggles/Slider.tsx
sonarqubecloud / SonarCloud Code Analysis
Use a stable ID as key, because the index changes when the list changes.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WKbNrHyZCvw4JGk&open=AaG_7WKbNrHyZCvw4JGk&pullRequest=2462
Check failure on line 41 in frontend/src/v1/components/ui/toggles/Slider.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 25 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WKbNrHyZCvw4JGi&open=AaG_7WKbNrHyZCvw4JGi&pullRequest=2462
Check warning on line 43 in frontend/src/v1/components/ui/toggles/Checkbox.tsx
sonarqubecloud / SonarCloud Code Analysis
Move this component definition out of the parent component and pass data as props.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WCVNrHyZCvw4JGh&open=AaG_7WCVNrHyZCvw4JGh&pullRequest=2462
Check warning on line 36 in frontend/src/v1/components/ui/toggles/Switch.tsx
sonarqubecloud / SonarCloud Code Analysis
Move this component definition out of the parent component and pass data as props.
See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaG_7WKeNrHyZCvw4JGm&open=AaG_7WKeNrHyZCvw4JGm&pullRequest=2462