Skip to content

feat: pair receivers with a code from the Mac and seal the signaling - #21

Merged
th3r-dev merged 3 commits into
devfrom
feat/pairing
Nov 11, 2026
Merged

th3r-dev merged 3 commits into
devfrom
feat/pairing

docs: evidence of the Mac's code dialog from the app build

707b937
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis cancelled Nov 11, 2026 in 30s

SonarQube Cloud analysis failed

❌ The last analysis has failed.

See analysis details on SonarQube Cloud

Annotations

Check warning on line 170 in crates/host/src/pairing.rs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this closure with a reference to the `into_inner` method.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnZ96-zWVwtoB0gbX&open=AaHLnZ96-zWVwtoB0gbX&pullRequest=21

Check warning on line 777 in crates/host/src/session.rs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this closure with a reference to the `into_inner` method.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAB-zWVwtoB0gba&open=AaHLnaAB-zWVwtoB0gba&pullRequest=21

Check warning on line 29 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String#codePointAt()` over `String#charCodeAt()`.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbe&open=AaHLnaAG-zWVwtoB0gbe&pullRequest=21

Check failure on line 239 in crates/app/assets/receiver.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAO-zWVwtoB0gbl&open=AaHLnaAO-zWVwtoB0gbl&pullRequest=21

Check warning on line 231 in crates/app/assets/receiver.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAO-zWVwtoB0gbk&open=AaHLnaAO-zWVwtoB0gbk&pullRequest=21

Check failure on line 162 in crates/host/src/main.rs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 45 to the 30 allowed.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnZ_3-zWVwtoB0gbY&open=AaHLnZ_3-zWVwtoB0gbY&pullRequest=21

Check warning on line 110 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer using an optional chain expression instead, as it's more concise and easier to read.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbh&open=AaHLnaAG-zWVwtoB0gbh&pullRequest=21

Check failure on line 90 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbg&open=AaHLnaAG-zWVwtoB0gbg&pullRequest=21

Check failure on line 216 in crates/app/assets/receiver.js

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=th3r-dev_mullion&issues=AaHLnaAO-zWVwtoB0gbj&open=AaHLnaAO-zWVwtoB0gbj&pullRequest=21

Check warning on line 39 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this "!==" check; it will always be true. Did you mean to use "!="?

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbf&open=AaHLnaAG-zWVwtoB0gbf&pullRequest=21

Check warning on line 308 in crates/app/assets/receiver.js

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=th3r-dev_mullion&issues=AaHLnaAO-zWVwtoB0gbn&open=AaHLnaAO-zWVwtoB0gbn&pullRequest=21

Check warning on line 6 in tools/vendor-crypto/build.sh

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAS-zWVwtoB0gbo&open=AaHLnaAS-zWVwtoB0gbo&pullRequest=21

Check warning on line 28 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `String.fromCodePoint()` over `String.fromCharCode()`.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbc&open=AaHLnaAG-zWVwtoB0gbc&pullRequest=21

Check warning on line 26 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `Number.parseInt` over `parseInt`.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbb&open=AaHLnaAG-zWVwtoB0gbb&pullRequest=21

Check failure on line 8 in tools/pair-vectors.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure that this dynamic injection or execution of code is safe.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAT-zWVwtoB0gbp&open=AaHLnaAT-zWVwtoB0gbp&pullRequest=21

Check failure on line 21 in tools/pair-vectors.mjs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Make sure that this dynamic injection or execution of code is safe.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAT-zWVwtoB0gbq&open=AaHLnaAT-zWVwtoB0gbq&pullRequest=21

Check warning on line 28 in crates/app/assets/pair.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

This statement will not be executed in a loop; only the first statement will be. The rest will execute only once.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAG-zWVwtoB0gbd&open=AaHLnaAG-zWVwtoB0gbd&pullRequest=21

Check failure on line 213 in crates/host/src/signaling.rs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 38 to the 30 allowed.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnZ_8-zWVwtoB0gbZ&open=AaHLnZ_8-zWVwtoB0gbZ&pullRequest=21

Check warning on line 291 in crates/app/assets/receiver.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an object spread instead of `Object.assign` eg: `{ ...foo }`.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAO-zWVwtoB0gbm&open=AaHLnaAO-zWVwtoB0gbm&pullRequest=21

Check warning on line 379 in crates/app/assets/layout.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Use an object spread instead of `Object.assign` eg: `{ ...foo }`.

See more on https://sonarcloud.io/project/issues?id=th3r-dev_mullion&issues=AaHLnaAJ-zWVwtoB0gbi&open=AaHLnaAJ-zWVwtoB0gbi&pullRequest=21