Skip to content

feat(admin): add Plans analytics dashboard - #2976

Merged
WcaleNieWolny merged 21 commits into
mainfrom
wolny/plans-analytics-dashboard
Aug 11, 2026
Merged

feat(admin): add Plans analytics dashboard#2976
WcaleNieWolny merged 21 commits into
mainfrom
wolny/plans-analytics-dashboard

test(observe): accept native empty state

052ead9
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 11, 2026 in 1m 45s

Annotations

Check warning on line 321 in supabase/functions/_backend/utils/plans_billing_history.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=AZ_q4NktzUgsvx6QEPy_&open=AZ_q4NktzUgsvx6QEPy_&pullRequest=2976

Check warning on line 129 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <output> instead of the status role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy2&open=AZ_q4NTPzUgsvx6QEPy2&pullRequest=2976

Check failure on line 340 in supabase/functions/_backend/utils/plans_analytics.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_rC9j_fPGKjW3lNe7p&open=AZ_rC9j_fPGKjW3lNe7p&pullRequest=2976

Check warning on line 197 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <address> or <details> or <fieldset> or <optgroup> instead of the group role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy5&open=AZ_q4NTPzUgsvx6QEPy5&pullRequest=2976

Check warning on line 238 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <address> or <details> or <fieldset> or <optgroup> instead of the group role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy6&open=AZ_q4NTPzUgsvx6QEPy6&pullRequest=2976

Check warning on line 156 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <address> or <details> or <fieldset> or <optgroup> instead of the group role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy4&open=AZ_q4NTPzUgsvx6QEPy4&pullRequest=2976

Check warning on line 137 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <output> instead of the status role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy3&open=AZ_q4NTPzUgsvx6QEPy3&pullRequest=2976

Check failure on line 213 in supabase/functions/_backend/utils/plans_analytics_model.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NkDzUgsvx6QEPy9&open=AZ_q4NkDzUgsvx6QEPy9&pullRequest=2976

Check failure on line 188 in supabase/functions/_backend/utils/plans_billing_history.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NktzUgsvx6QEPy-&open=AZ_q4NktzUgsvx6QEPy-&pullRequest=2976

Check warning on line 279 in src/pages/admin/dashboard/plans.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use <address> or <details> or <fieldset> or <optgroup> instead of the group role to ensure accessibility across all devices.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_q4NTPzUgsvx6QEPy7&open=AZ_q4NTPzUgsvx6QEPy7&pullRequest=2976

Check warning on line 35 in supabase/functions/_backend/utils/posthog_read.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Simplify this regular expression to reduce its runtime, as it has super-linear performance due to backtracking.

See more on https://sonarcloud.io/project/issues?id=Cap-go_capgo&issues=AZ_rC9zlfPGKjW3lNe7q&open=AZ_rC9zlfPGKjW3lNe7q&pullRequest=2976