Skip to content

feat(#10636): refactor large views#11201

Draft
witash wants to merge 6 commits into
masterfrom
10636-view-changes-2
Draft

feat(#10636): refactor large views#11201
witash wants to merge 6 commits into
masterfrom
10636-view-changes-2

Merge branch 'master' into 10636-view-changes-2

d5b4caf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Jun 23, 2026 in 2m 45s

Quality Gate failed

Failed conditions
8 New issues

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 242 in shared-libs/lineage/src/hydration.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7fFYmzUc4lKzIC2LP6&open=AZ7fFYmzUc4lKzIC2LP6&pullRequest=11201

Check warning on line 225 in shared-libs/summaries/test/index.spec.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(summarise({ _id: 'a', _rev: '1', type: 'data_record' })).to.be.undefined".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmudhshm9reYI-rR&open=AZ7zWmudhshm9reYI-rR&pullRequest=11201

Check warning on line 213 in shared-libs/summaries/test/index.spec.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(summarise(undefined)).to.be.undefined".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmudhshm9reYI-rO&open=AZ7zWmudhshm9reYI-rO&pullRequest=11201

Check warning on line 326 in webapp/tests/karma/ts/services/telemetry.service.spec.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(formsAllDocsCalls).to.have.lengthOf(2)".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmnzhshm9reYI-rM&open=AZ7zWmnzhshm9reYI-rM&pullRequest=11201

Check failure on line 243 in shared-libs/lineage/src/hydration.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest functions more than 4 levels deep.

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7fFYmzUc4lKzIC2LP7&open=AZ7fFYmzUc4lKzIC2LP7&pullRequest=11201

Check warning on line 221 in shared-libs/summaries/test/index.spec.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(summarise({ _id: 'a', _rev: '1', type: 'form' })).to.be.undefined".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmudhshm9reYI-rQ&open=AZ7zWmudhshm9reYI-rQ&pullRequest=11201

Check warning on line 217 in shared-libs/summaries/test/index.spec.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(summarise({ _id: 'a', _rev: '1' })).to.be.undefined".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmudhshm9reYI-rP&open=AZ7zWmudhshm9reYI-rP&pullRequest=11201

Check warning on line 212 in shared-libs/summaries/test/index.spec.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer a more specific assertion instead of this generic one, e.g. "expect(summarise(null)).to.be.undefined".

See more on https://sonarcloud.io/project/issues?id=medic_cht-core&issues=AZ7zWmudhshm9reYI-rN&open=AZ7zWmudhshm9reYI-rN&pullRequest=11201