fix(#150): width-aware map path-trace builder display (group hops, not bytes)

The map "Current path" panel joined _pathTrace byte-by-byte, so once the
builder started capturing the full configured-width prefix per tap (#150),
a single 2-byte node read as "84,f4" — looking like two hops. Format via
PathHelper.formatPathHex at the configured width so it reads "84F4".

Bumps build to +49 for the b49 test binary.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
pull/205/head
Strycher 3 weeks ago
parent 711f0b5814
commit af1776f83c

@ -2391,9 +2391,10 @@ class _MapScreenState extends State<MapScreen> {
style: TextStyle(fontSize: 12, color: Colors.grey[700]),
),
SelectableText(
_pathTrace
.map((b) => b.toRadixString(16).padLeft(2, '0'))
.join(','),
PathHelper.formatPathHex(
_pathTrace,
context.read<MeshCoreConnector>().pathHashByteWidth,
),
style: TextStyle(fontSize: 18),
),
// const SizedBox(height: 6),

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 1.1.2-rc.1+48
version: 1.1.2-rc.1+49
environment:
sdk: ^3.9.2

Loading…
Cancel
Save

Powered by TurnKey Linux.