fix(bases): keep Task List groups collapsed on first render - #21
Quality Gate failed
Failed conditions
7.0% Duplication on New Code (required ≤ 3%)
Annotations
Check warning on line 635 in src/utils/filenameGenerator.ts
sonarqubecloud / SonarCloud Code Analysis
`new Error()` is too unspecific for a type check. Use `new TypeError()` instead.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmWgmaZPOCQ77-x_&open=AZ-8KmWgmaZPOCQ77-x_&pullRequest=21
Check warning on line 85 in src/services/task-service/taskRecurringPlanning.ts
sonarqubecloud / SonarCloud Code Analysis
Use the "RegExp.exec()" method instead.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmZ3maZPOCQ77-yB&open=AZ-8KmZ3maZPOCQ77-yB&pullRequest=21
Check failure on line 330 in src/settings/tabs/integrationsTab.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmRamaZPOCQ77-x9&open=AZ-8KmRamaZPOCQ77-x9&pullRequest=21
Check warning on line 634 in src/utils/filenameGenerator.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `Number.isNaN` over `isNaN`.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmWgmaZPOCQ77-x-&open=AZ-8KmWgmaZPOCQ77-x-&pullRequest=21
Check failure on line 99 in src/services/oauthSecretMigration.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 29 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmbumaZPOCQ77-yD&open=AZ-8KmbumaZPOCQ77-yD&pullRequest=21
Check failure on line 552 in src/services/OAuthService.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8Kmc5maZPOCQ77-yE&open=AZ-8Kmc5maZPOCQ77-yE&pullRequest=21
Check warning on line 79 in src/core/recurrence.ts
sonarqubecloud / SonarCloud Code Analysis
Use the "RegExp.exec()" method instead.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmgtmaZPOCQ77-yG&open=AZ-8KmgtmaZPOCQ77-yG&pullRequest=21
Check failure on line 405 in src/ui/taskCardSecondaryBadges.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 16 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmX-maZPOCQ77-yA&open=AZ-8KmX-maZPOCQ77-yA&pullRequest=21
Check failure on line 250 in src/editor/RelationshipsDecorations.ts
sonarqubecloud / SonarCloud Code Analysis
Prefer `.dataset` over `setAttribute(…)`.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmeVmaZPOCQ77-yF&open=AZ-8KmeVmaZPOCQ77-yF&pullRequest=21
Check failure on line 54 in src/services/oauthSecretMigration.ts
sonarqubecloud / SonarCloud Code Analysis
Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.
See more on https://sonarcloud.io/project/issues?id=renatomen_tasknotes&issues=AZ-8KmbumaZPOCQ77-yC&open=AZ-8KmbumaZPOCQ77-yC&pullRequest=21