feat(protobufs): sync to firmware-current and consume workspace package (#1097)
* feat(protobufs): sync to firmware-current and consume workspace package Sync the vendored .proto sources to firmware-current (v2.7.25+48), regenerate the v2 TS bindings, and consume the workspace @meshtastic/protobufs (workspace:*) in place of the stale JSR 2.7.20 — finishing the monorepo migration (core was already workspace:*). Includes the one required breaking-change fix: admin nodedb_reset changed int32 to bool, so resetNodes() now sends value: true. * build(protobufs): vendor generated bindings for workspace consumers The package is consumed via workspace:* — its exports point at the TS source, which imports ./dist/meshtastic/*_pb.ts — so the generated output must exist at build time. CI builds web/core with no codegen step and the runners have no buf CLI, so the bindings are vendored here (kept gitignored; lint/format skip them). Regenerate with: pnpm --filter @meshtastic/protobufs gen * fix(protobufs): clean script removes the actual generated output dir buf writes bindings to packages/ts/dist, but clean was removing a non-existent root dist — so it never cleaned stale output. Addresses Copilot review feedback. * refactor: move web app packages/web -> apps/web Aligns the web app with the apps/web layout (matching the Vercel web-test Root Directory and the SDK-migration direction). Pure directory move plus root config: pnpm-workspace (adds apps/*), vitest projects, root tsconfig reference, and the pr/release-web/nightly workflows. vercel.json moved with the app. Build + 36 validation tests green. * feat: config fields, module pages, key verification, telemetry capture Incorporates the firmware-current feature work onto the protobuf foundation: new config fields (Display message bubbles; LoRa fem_lna_mode + serial_hal_only; Telemetry air_quality_screen_enabled); 4 new ModuleConfig pages (TrafficManagement, StatusMessage, TAK, RemoteHardware); the manual Key Verification flow (sendKeyVerification + ClientNotificationDialog stages + Verify Key button); live telemetry capture (nodeDB addDeviceMetrics) and admin hardening (toggleMutedNode, graceful PortNum default); plus the sdk-preview ConfigEditor demo and store/config tests. Build + lint + format + 131 tests green. * chore: drop #1062 (unsaved-change-detection) to match upstream revert #1062 was merged to main by accident (per @danditomaso) and is being reverted. Reverse-applied its diff here via 3-way so #1097 stays consistent with where main is headed, while keeping the feature changes layered on the same files (deviceStore/changeRegistry). Build + 131 tests + lint + format green. * fix(nodes): clean up SNR display in node table and map popup SNR is a ratio measured in dB, not dBm (which is absolute power); the node table and map popup both mislabeled it and crammed three values together: '0dBm/50%/50raw'. The trailing '%/raw' pair was the same heuristic ((snr+10)*5) shown twice — once clamped, once not. Render SNR in dB rounded to one decimal, color-coded by a 0-100% signal-quality heuristic (green/yellow/red), with the quality percentage as a muted secondary. Drop the redundant raw value. Adds unit.db; this matches the existing SNRTooltip, which already renders dB.
This commit is contained in:
@@ -0,0 +1,441 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="667.51 476.78 664.98 1035.52">
|
||||
<defs><style>
|
||||
.cls-1 {
|
||||
fill: #333;
|
||||
}
|
||||
.cls-11, .cls-15, .cls-16, .cls-17, .cls-2, .cls-4 {
|
||||
fill: #cbcccb;
|
||||
}
|
||||
.cls-2 {
|
||||
opacity: 0.49;
|
||||
}
|
||||
.cls-3 {
|
||||
fill: #dfac52;
|
||||
}
|
||||
.cls-4 {
|
||||
opacity: 0.33;
|
||||
}
|
||||
.cls-5, .cls-9 {
|
||||
fill: #373838;
|
||||
}
|
||||
.cls-10, .cls-13, .cls-6, .cls-7, .cls-8 {
|
||||
fill: none;
|
||||
stroke-miterlimit: 10;
|
||||
}
|
||||
.cls-10, .cls-6, .cls-7 {
|
||||
stroke: #050606;
|
||||
}
|
||||
.cls-6 {
|
||||
stroke-width: 2.34px;
|
||||
}
|
||||
.cls-7, .cls-8 {
|
||||
stroke-width: 2.41px;
|
||||
}
|
||||
.cls-8 {
|
||||
stroke: #fff;
|
||||
}
|
||||
.cls-9 {
|
||||
opacity: 0.43;
|
||||
}
|
||||
.cls-10 {
|
||||
stroke-width: 2.1px;
|
||||
}
|
||||
.cls-12 {
|
||||
fill: #fff;
|
||||
}
|
||||
.cls-13 {
|
||||
stroke: #dfac52;
|
||||
stroke-width: 1.26px;
|
||||
}
|
||||
.cls-14 {
|
||||
fill: #b7802b;
|
||||
}
|
||||
.cls-15 {
|
||||
opacity: 0.5;
|
||||
}
|
||||
.cls-16 {
|
||||
opacity: 0.44;
|
||||
}
|
||||
.cls-17 {
|
||||
opacity: 0.19;
|
||||
}
|
||||
</style></defs><g id="Layer_7" data-name="Layer 7"><path
|
||||
class="cls-1"
|
||||
d="M1273.43,478H726.56a57.85,57.85,0,0,0-57.84,57.86v917.4a57.85,57.85,0,0,0,57.84,57.85h546.87a57.86,57.86,0,0,0,57.86-57.85V535.85A57.87,57.87,0,0,0,1273.43,478Zm-180.85,58.15a17.73,17.73,0,0,1-12.6,5.22H921.92a17.83,17.83,0,0,1,0-35.65H1080a17.83,17.83,0,0,1,12.6,30.43Z"
|
||||
></path><path
|
||||
class="cls-2"
|
||||
d="M1275.46,490.32H724.6A43.64,43.64,0,0,0,681,534v921.2a43.65,43.65,0,0,0,43.64,43.63h550.86a43.63,43.63,0,0,0,43.63-43.63V534A43.63,43.63,0,0,0,1275.46,490.32Zm-182.88,45.82a17.73,17.73,0,0,1-12.6,5.22H921.92a17.83,17.83,0,0,1,0-35.65H1080a17.83,17.83,0,0,1,12.6,30.43Z"
|
||||
></path><rect
|
||||
class="cls-3"
|
||||
x="1226.45"
|
||||
y="1082.09"
|
||||
width="61.6"
|
||||
height="368.92"
|
||||
rx="12.69"
|
||||
></rect><rect
|
||||
class="cls-4"
|
||||
x="699.17"
|
||||
y="1071.28"
|
||||
width="599.02"
|
||||
height="391.54"
|
||||
rx="14.88"
|
||||
></rect><rect
|
||||
class="cls-2"
|
||||
x="716.37"
|
||||
y="1082.09"
|
||||
width="497.34"
|
||||
height="368.92"
|
||||
rx="20.68"
|
||||
></rect><path
|
||||
class="cls-3"
|
||||
d="M1112.31,1112.18A119.83,119.83,0,1,1,992.49,992.34,119.83,119.83,0,0,1,1112.31,1112.18Z"
|
||||
></path><circle
|
||||
class="cls-2"
|
||||
cx="992.48"
|
||||
cy="1112.18"
|
||||
r="150.8"
|
||||
></circle><path
|
||||
class="cls-5"
|
||||
d="M992.48,1000.79a111.39,111.39,0,1,0,111.38,111.39A111.39,111.39,0,0,0,992.48,1000.79Zm0,199.64a88.26,88.26,0,1,1,88.25-88.25A88.26,88.26,0,0,1,992.48,1200.43Z"
|
||||
></path><path
|
||||
class="cls-3"
|
||||
d="M1080.73,1112.18a88.25,88.25,0,1,1-88.25-88.26A88.26,88.26,0,0,1,1080.73,1112.18Z"
|
||||
></path><rect
|
||||
class="cls-6"
|
||||
x="680.97"
|
||||
y="490.32"
|
||||
width="638.12"
|
||||
height="1008.46"
|
||||
rx="43.63"
|
||||
></rect><rect
|
||||
class="cls-7"
|
||||
x="668.71"
|
||||
y="477.99"
|
||||
width="662.57"
|
||||
height="1033.11"
|
||||
rx="57.85"
|
||||
></rect><circle
|
||||
class="cls-8"
|
||||
cx="992.48"
|
||||
cy="1112.18"
|
||||
r="150.8"
|
||||
></circle><circle
|
||||
class="cls-9"
|
||||
cx="1000"
|
||||
cy="702.01"
|
||||
r="103.21"
|
||||
></circle><circle
|
||||
class="cls-8"
|
||||
cx="1000"
|
||||
cy="702.01"
|
||||
r="117.37"
|
||||
></circle><path
|
||||
class="cls-7"
|
||||
d="M992.48,1000.79a111.39,111.39,0,1,0,111.38,111.39A111.39,111.39,0,0,0,992.48,1000.79Zm0,199.64a88.26,88.26,0,1,1,88.25-88.25A88.26,88.26,0,0,1,992.48,1200.43Z"
|
||||
></path><rect
|
||||
class="cls-10"
|
||||
x="904.09"
|
||||
y="505.72"
|
||||
width="193.71"
|
||||
height="35.64"
|
||||
rx="17.82"
|
||||
></rect><path
|
||||
class="cls-7"
|
||||
d="M1080.73,1112.18a88.25,88.25,0,1,1-88.25-88.26A88.26,88.26,0,0,1,1080.73,1112.18Z"
|
||||
></path><circle
|
||||
class="cls-11"
|
||||
cx="1000"
|
||||
cy="928.96"
|
||||
r="63.38"
|
||||
></circle><circle
|
||||
class="cls-12"
|
||||
cx="1000"
|
||||
cy="928.96"
|
||||
r="35.27"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1000"
|
||||
cy="702.01"
|
||||
r="25.23"
|
||||
></circle><rect
|
||||
class="cls-13"
|
||||
x="965.08"
|
||||
y="672.02"
|
||||
width="68.35"
|
||||
height="59.63"
|
||||
rx="4.15"
|
||||
></rect><circle
|
||||
class="cls-11"
|
||||
cx="973.01"
|
||||
cy="680.85"
|
||||
r="5.69"
|
||||
></circle><circle
|
||||
class="cls-11"
|
||||
cx="973.01"
|
||||
cy="723.01"
|
||||
r="5.69"
|
||||
></circle><circle
|
||||
class="cls-11"
|
||||
cx="1026.01"
|
||||
cy="680.85"
|
||||
r="5.69"
|
||||
></circle><circle
|
||||
class="cls-11"
|
||||
cx="1026.01"
|
||||
cy="723.01"
|
||||
r="5.69"
|
||||
></circle><rect
|
||||
class="cls-14"
|
||||
x="996.04"
|
||||
y="690.54"
|
||||
width="6.43"
|
||||
height="22.58"
|
||||
transform="translate(1701.09 -297.42) rotate(90)"
|
||||
></rect><rect
|
||||
class="cls-14"
|
||||
x="996.04"
|
||||
y="690.54"
|
||||
width="6.43"
|
||||
height="22.58"
|
||||
></rect><circle
|
||||
class="cls-3"
|
||||
cx="833.1"
|
||||
cy="678.6"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="833.1"
|
||||
cy="747.04"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="833.1"
|
||||
cy="709.01"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1194.88"
|
||||
cy="684.17"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1248.54"
|
||||
cy="781.82"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1248.54"
|
||||
cy="813.01"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1207.62"
|
||||
cy="831.46"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1248.54"
|
||||
cy="844.2"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1248.54"
|
||||
cy="875.38"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1248.54"
|
||||
cy="906.57"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1063.37"
|
||||
cy="869.03"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="820.36"
|
||||
cy="856"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="910.6"
|
||||
cy="915.24"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="839.47"
|
||||
cy="880.73"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="870.09"
|
||||
cy="928.96"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="870.09"
|
||||
cy="764.54"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="894.78"
|
||||
cy="791"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="826.73"
|
||||
cy="915.24"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="820.36"
|
||||
cy="883.42"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="872.65"
|
||||
cy="684.17"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="855.71"
|
||||
cy="775.45"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1136.91"
|
||||
cy="784.63"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1182.14"
|
||||
cy="902.5"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1205.52"
|
||||
cy="877.05"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1194.88"
|
||||
cy="762.71"
|
||||
r="6.37"
|
||||
></circle><circle
|
||||
class="cls-3"
|
||||
cx="1211.89"
|
||||
cy="784.63"
|
||||
r="6.37"
|
||||
></circle><rect
|
||||
class="cls-11"
|
||||
x="888.41"
|
||||
y="819.38"
|
||||
width="9.14"
|
||||
height="9.14"
|
||||
></rect><rect
|
||||
class="cls-11"
|
||||
x="1130.54"
|
||||
y="917.04"
|
||||
width="9.14"
|
||||
height="9.14"
|
||||
></rect><rect
|
||||
class="cls-11"
|
||||
x="896.58"
|
||||
y="874.81"
|
||||
width="9.14"
|
||||
height="9.14"
|
||||
></rect><rect
|
||||
class="cls-11"
|
||||
x="1112.8"
|
||||
y="839.63"
|
||||
width="9.14"
|
||||
height="9.14"
|
||||
></rect><rect
|
||||
class="cls-11"
|
||||
x="1166.63"
|
||||
y="814.81"
|
||||
width="9.14"
|
||||
height="9.14"
|
||||
></rect><circle
|
||||
class="cls-5"
|
||||
cx="788.67"
|
||||
cy="598.8"
|
||||
r="12.53"
|
||||
></circle><circle
|
||||
class="cls-5"
|
||||
cx="1188.51"
|
||||
cy="558.44"
|
||||
r="12.53"
|
||||
></circle><circle
|
||||
class="cls-5"
|
||||
cx="1201.25"
|
||||
cy="994.55"
|
||||
r="12.53"
|
||||
></circle><circle
|
||||
class="cls-5"
|
||||
cx="763.86"
|
||||
cy="961.38"
|
||||
r="12.53"
|
||||
></circle><polygon
|
||||
class="cls-15"
|
||||
points="747.85 637.69 747.85 921.61 705.73 921.61 705.73 637.69 723.33 637.69 723.33 896.12 731.42 896.12 731.42 637.69 747.85 637.69"
|
||||
></polygon><rect
|
||||
class="cls-5"
|
||||
x="716.37"
|
||||
y="1462.82"
|
||||
width="183.41"
|
||||
height="10.76"
|
||||
></rect><rect
|
||||
class="cls-5"
|
||||
x="1080.73"
|
||||
y="1462.82"
|
||||
width="62.55"
|
||||
height="10.76"
|
||||
></rect><rect
|
||||
class="cls-16"
|
||||
x="784.29"
|
||||
y="632.6"
|
||||
width="4.38"
|
||||
height="391.32"
|
||||
></rect><rect
|
||||
class="cls-16"
|
||||
x="1219.52"
|
||||
y="632.6"
|
||||
width="4.38"
|
||||
height="391.32"
|
||||
></rect><rect
|
||||
class="cls-3"
|
||||
x="752.71"
|
||||
y="871.99"
|
||||
width="11.15"
|
||||
height="41.04"
|
||||
></rect><rect
|
||||
class="cls-3"
|
||||
x="802.25"
|
||||
y="935.33"
|
||||
width="7.3"
|
||||
height="18.13"
|
||||
></rect><rect
|
||||
class="cls-3"
|
||||
x="799.82"
|
||||
y="1010.51"
|
||||
width="4.76"
|
||||
height="4.76"
|
||||
></rect><rect
|
||||
class="cls-3"
|
||||
x="831.13"
|
||||
y="994.55"
|
||||
width="6.25"
|
||||
height="6.25"
|
||||
></rect><rect
|
||||
class="cls-11"
|
||||
x="813.99"
|
||||
y="1099.67"
|
||||
width="6.37"
|
||||
height="323.31"
|
||||
></rect><path
|
||||
class="cls-17"
|
||||
d="M1275.46,490.32H724.6A43.64,43.64,0,0,0,681,534v921.2a43.65,43.65,0,0,0,43.64,43.63h550.86a43.63,43.63,0,0,0,43.63-43.63V534A43.63,43.63,0,0,0,1275.46,490.32Zm-182.88,45.82a17.73,17.73,0,0,1-12.6,5.22H921.92a17.83,17.83,0,0,1,0-35.65H1080a17.83,17.83,0,0,1,12.6,30.43Z"
|
||||
></path></g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 9.5 KiB |
Reference in New Issue
Block a user