Skip to content

fix: harden preview scanner routing

7c89bac
Select commit
Loading
Failed to load commit list.
Open

feat: open channel previews from QR deeplinks #2305

fix: harden preview scanner routing
7c89bac
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded May 29, 2026 in 36s

Annotations

Check failure on line 7 in src/services/deepLinks.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of the "void" operator.

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

Check failure on line 16 in src/services/deepLinks.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of the "void" operator.

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

Check warning on line 15 in src/pages/preview/channel.vue

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `window`.

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

Check warning on line 128 in src/main.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

`guestPath` should be a `Set`, and use `guestPath.has()` to check existence or non-existence.

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

Check warning on line 370 in supabase/functions/_backend/files/preview.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This assertion is unnecessary since the receiver accepts the original type of the expression.

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