refactor(app): consolidate widget-editor-modal state into store (#573) - #584
Quality Gate failed
Failed conditions
48.0% Coverage on New Code (required ≥ 80%)
Annotations
Check warning on line 33 in app/src/components/widget-editor/template-browser.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIdaqLW5PDante03&open=AZ2ojIdaqLW5PDante03&pullRequest=584
Check warning on line 233 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante0x&open=AZ2ojIbbqLW5PDante0x&pullRequest=584
Check warning on line 231 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante01&open=AZ2ojIbbqLW5PDante01&pullRequest=584
Check failure on line 64 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 50 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante0v&open=AZ2ojIbbqLW5PDante0v&pullRequest=584
Check warning on line 233 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante0z&open=AZ2ojIbbqLW5PDante0z&pullRequest=584
Check warning on line 180 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante00&open=AZ2ojIbbqLW5PDante00&pullRequest=584
Check warning on line 91 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Mark the props of the component as read-only.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante0w&open=AZ2ojIbbqLW5PDante0w&pullRequest=584
Check warning on line 233 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbbqLW5PDante0y&open=AZ2ojIbbqLW5PDante0y&pullRequest=584
Check warning on line 231 in app/src/components/widget-editor/widget-preview-panel.tsx
sonarqubecloud / SonarCloud Code Analysis
Extract this nested ternary operation into an independent statement.
See more on https://sonarcloud.io/project/issues?id=alfredo1996_neoboard&issues=AZ2ojIbcqLW5PDante02&open=AZ2ojIbcqLW5PDante02&pullRequest=584