Skip to content

Dev map manage repeater#26

Merged
zjs81 merged 3 commits into
mainfrom
dev-MapManageRepeater
Jan 11, 2026
Merged

Dev map manage repeater#26
zjs81 merged 3 commits into
mainfrom
dev-MapManageRepeater

Conversation

@zjs81

@zjs81 zjs81 commented Jan 11, 2026

Copy link
Copy Markdown
Owner

Add @wel97459 's changes along with some other fixes on his branch


Note

Enables managing repeater nodes directly from the map.

  • Adds RepeaterLoginDialog flow and navigation to RepeaterHubScreen after successful login
  • Updates node info dialog to show Manage Repeater for advTypeRepeater contacts
  • Imports repeater_login_dialog.dart and repeater_hub_screen.dart in map_screen.dart

Written by Cursor Bugbot for commit 1ba3f3a. This will update automatically on new commits. Configure here.

@zjs81

zjs81 commented Jan 11, 2026

Copy link
Copy Markdown
Owner Author

This includes code from this PR #12

@zjs81 zjs81 merged commit 7703aaa into main Jan 11, 2026
1 check passed
@zjs81 zjs81 deleted the dev-MapManageRepeater branch January 11, 2026 18:25

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

},
),
);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Login dialog not dismissed after successful navigation

Medium Severity

The _showRepeaterLogin method shadows the context parameter with the builder's context, and the onLogin callback only calls Navigator.push without popping the RepeaterLoginDialog first. Since RepeaterLoginDialog doesn't close itself, the dialog remains in the navigation stack. When users navigate back from RepeaterHubScreen, they'll see the login dialog again instead of returning to the map. The callback needs to pop the dialog before pushing the new screen, but the variable shadowing makes this difficult to implement correctly.

Fix in Cursor Fix in Web

@Strycher

Copy link
Copy Markdown

A/B/C bounded pass shipped on branch fix/26-connector-unhandled-futures (commit c4198a3). meshcore_connector.dart fire-and-forget paths now surface errors instead of swallowing them:

  • A: 4 message-handler IIFEs (translation/notification) → .catchError + _appDebugLogService.error
  • B: _persistContacts / _persistDiscoveredContacts → try/catch + log
  • C: 2 unawaited saveChannels writes → .catchError + log

Deferred per this issue's opportunistic strategy (not swept — promote to its own issue when those files are next touched):

  • D: store debounce writers (lib/storage/*)
  • E: misc connector unawaited ops (syncQueuedMessages, getContacts/getChannels, requestRadioStats, …)

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.

3 participants