Skip to content

Unify signal indicator UI across RSSI and SNR#246

Merged
zjs81 merged 1 commit into
zjs81:mainfrom
Specter242:codex/signal-ui-consistency
Mar 3, 2026
Merged

Unify signal indicator UI across RSSI and SNR#246
zjs81 merged 1 commit into
zjs81:mainfrom
Specter242:codex/signal-ui-consistency

Conversation

@Specter242

Copy link
Copy Markdown
Contributor

Summary

This PR makes signal-strength visuals consistent across the app by centralizing icon/color tier mapping and reusing it in both RSSI-based and SNR-based indicators.

Problem

Signal indicators were using different visual mappings in different components:

  • Scanner/device tiles (device_tile.dart) used one icon/color mapping.
  • SNR surfaces (snr_indicator.dart) used a different mapping.

This caused devices with similar quality to look different depending on screen/component.

Root Cause

Signal UI mapping logic was duplicated in multiple widgets with diverging icon/color choices.

Fix

  • Added shared mapper in lib/widgets/signal_ui.dart.
  • Updated lib/widgets/device_tile.dart to use shared tiers.
  • Updated lib/widgets/snr_indicator.dart to use shared tiers.
  • Added screenshot reference for reviewer verification.

Screenshot

Signal UI consistency

Validation

  • flutter build apk --debug passes on this PR branch.
  • Manual validation on device confirms consistent signal icon family and tier colors across scanner and SNR contexts.

Issue

Fixes #245

@Specter242 Specter242 changed the title [codex] Unify signal indicator UI across RSSI and SNR Unify signal indicator UI across RSSI and SNR Feb 27, 2026
@Specter242 Specter242 marked this pull request as ready for review February 27, 2026 19:32
@zjs81 zjs81 merged commit 79b17b5 into zjs81:main Mar 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify signal indicator UI across scanner and SNR views

2 participants