Skip to content

feat(dashboard): update delivery latency p50/p75/p95/p99#2702

Merged
riderx merged 5 commits into
mainfrom
feat/update-delivery-latency-percentiles
Jul 16, 2026
Merged

feat(dashboard): update delivery latency p50/p75/p95/p99#2702
riderx merged 5 commits into
mainfrom
feat/update-delivery-latency-percentiles

fix(dashboard): address delivery latency review findings

444b0b7
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 16, 2026 in 57s

Annotations

Check warning on line 154 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW-&open=AZ9oK-2vVymdr6vN4rW-&pullRequest=2702

Check warning on line 13 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this union type with a type alias.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW6&open=AZ9oK-2vVymdr6vN4rW6&pullRequest=2702

Check warning on line 147 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW7&open=AZ9oK-2vVymdr6vN4rW7&pullRequest=2702

Check warning on line 28 in supabase/functions/_backend/private/update_delivery_stats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this union type with a type alias.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-9rVymdr6vN4rXA&open=AZ9oK-9rVymdr6vN4rXA&pullRequest=2702

Check warning on line 152 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW8&open=AZ9oK-2vVymdr6vN4rW8&pullRequest=2702

Check failure on line 51 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud 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=Cap-go_capgo&issues=AZ9oaPYQWMMegUpofebE&open=AZ9oaPYQWMMegUpofebE&pullRequest=2702

Check warning on line 153 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW9&open=AZ9oK-2vVymdr6vN4rW9&pullRequest=2702

Check warning on line 155 in src/composables/useUpdateDeliveryStats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `.at(…)` over `[….length - index]`.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-2vVymdr6vN4rW_&open=AZ9oK-2vVymdr6vN4rW_&pullRequest=2702

Check warning on line 66 in supabase/functions/_backend/private/update_delivery_stats.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Extract this nested ternary operation into an independent statement.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ9oK-9rVymdr6vN4rXB&open=AZ9oK-9rVymdr6vN4rXB&pullRequest=2702