Skip to content

UN-4401 [FEAT] Add v1 Line, Area, Bar, StackedBar and Sparkline charts with a token ordinal ramp - #2446

Merged
ritwik-g merged 34 commits into
mainfrom
UN-4401-v1-charts
Nov 11, 2026
Merged

ritwik-g merged 34 commits into
mainfrom
UN-4401-v1-charts

Merge remote-tracking branch 'origin/main' into UN-4401-v1-charts

cdaa6db
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Nov 11, 2026 in 55s

Annotations

Check failure on line 57 in frontend/src/v1/components/ui/chart/markers.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 23 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGrHO1fynvmRX1gQzmP&open=AaGrHO1fynvmRX1gQzmP&pullRequest=2446

Check warning on line 42 in frontend/src/v1/components/ui/chart/describe.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

function 'formatCategory' is equivalent to `String`. Use `String` directly.

See more on https://sonarcloud.io/project/issues?id=Zipstack_unstract&issues=AaGq9MP5JQX1AJvaWQBI&open=AaGq9MP5JQX1AJvaWQBI&pullRequest=2446

Check warning on line 57 in frontend/src/v1/components/ui/chart/marks.tsx

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=Zipstack_unstract&issues=AaGrR58w6vcmmGdu2IdI&open=AaGrR58w6vcmmGdu2IdI&pullRequest=2446

Check warning on line 127 in frontend/src/v1/components/ui/chart/describe.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=Zipstack_unstract&issues=AaGq9MP5JQX1AJvaWQBK&open=AaGq9MP5JQX1AJvaWQBK&pullRequest=2446

Check warning on line 165 in frontend/src/v1/components/ui/chart/ChartFrame.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AaGrA5g1AIiDR7PiNt-N&open=AaGrA5g1AIiDR7PiNt-N&pullRequest=2446

Check warning on line 81 in frontend/src/v1/components/ui/chart/markers.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=Zipstack_unstract&issues=AaGrJam9SPlvjv9hc1CX&open=AaGrJam9SPlvjv9hc1CX&pullRequest=2446

Check warning on line 183 in frontend/src/v1/components/ui/chart/ChartFrame.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AaGq9MYLJQX1AJvaWQBQ&open=AaGq9MYLJQX1AJvaWQBQ&pullRequest=2446

Check warning on line 178 in frontend/src/v1/components/ui/chart/ChartFrame.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AaGq9MYLJQX1AJvaWQBP&open=AaGq9MYLJQX1AJvaWQBP&pullRequest=2446

Check warning on line 81 in frontend/src/v1/components/ui/chart/markers.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=Zipstack_unstract&issues=AaGrEjLvHzlLiZHQlTZO&open=AaGrEjLvHzlLiZHQlTZO&pullRequest=2446

Check warning on line 81 in frontend/src/v1/components/ui/chart/markers.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=Zipstack_unstract&issues=AaGrHO1fynvmRX1gQzmQ&open=AaGrHO1fynvmRX1gQzmQ&pullRequest=2446

Check warning on line 174 in frontend/src/v1/components/ui/chart/ChartFrame.tsx

See this annotation in the file changed.

@sonarqubecloud 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=AaGq9MYLJQX1AJvaWQBO&open=AaGq9MYLJQX1AJvaWQBO&pullRequest=2446

Check failure on line 114 in frontend/src/v1/components/ui/chart/describe.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=Zipstack_unstract&issues=AaGq9MP5JQX1AJvaWQBJ&open=AaGq9MP5JQX1AJvaWQBJ&pullRequest=2446

Check warning on line 81 in frontend/src/v1/components/ui/chart/markers.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=Zipstack_unstract&issues=AaGrEjLvHzlLiZHQlTZP&open=AaGrEjLvHzlLiZHQlTZP&pullRequest=2446

Check warning on line 65 in frontend/src/v1/components/ui/chart/ChartTooltip.tsx

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=Zipstack_unstract&issues=AaGvI65u-J3Gs6PfMFy_&open=AaGvI65u-J3Gs6PfMFy_&pullRequest=2446

Check warning on line 152 in frontend/src/v1/components/ui/chart/marks.tsx

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=Zipstack_unstract&issues=AaGrPxwp8N_ZRKv0ycJK&open=AaGrPxwp8N_ZRKv0ycJK&pullRequest=2446