You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Favorite nodes have a special meaning in CLIENT_BASE which affects routing for the local mesh.
The goal of this feature request is to make a few small changes across firmware and clients so that it's much less likely that anyone will unintentionally/accidentally add nodes as favorites from a CLIENT_BASE.
I've implemented for firmware and iOS (see PR linked below), but I need help especially from Android/web client developers to implement these small changes. 🙏 Let's use this issue as a central point for coordination of the concept.
The plan: reducing "accidental" favorites from CLIENT_BASE
CLIENT_BASE should require explicit add-to-favorites. Five small proposed changes:
If CLIENT_BASE:
(firmware) Don't auto-favorite from firmware.
(client apps) Don't auto-favorite from client apps.
(client apps) Show confirmation / warning dialog in client apps when explicitly adding a favorite.
(firmware) When configuring a device into CLIENT_BASE, set is_favorite = false for all nodes in nodeDB.
⚠️ This one is controversial. It was not part of my original feature request. I'm happy to go either way on including it or not. Whichever is preferred by the project owners!
It could also be deferred to later discussion so that the other four changes aren't blocked. From the perspective of the client apps, declining or deferring this item # 4 would only change the contents of warning message shown for Update README to list LilyGo TTGO v1 as a supported board. #5.
(client apps) Show confirmation / warning dialog when reconfiguring a device into CLIENT_BASE.
With these changes, it should be much harder for anyone to unknowingly/accidentally misuse the power of CLIENT_BASE. 📶
Proposed confirmation / warning messages
Please see the screenshots in meshtastic/Meshtastic-Apple#1493 . I think a similar style and wording should be possible to implement in the other clients.
Clicking "Add to favorites" on a node:
Proposed text:
Client Base should only favorite other nodes you control. Improper use will hurt your local mesh.
In device configuration, changing role to "Client Base":
Proposed text:
Switching to Client Base will clear this node's favorites. Client Base should only favorite other nodes you control. Improper use will hurt your local mesh.
Platform
Cross-Platform
Description
Favorite nodes have a special meaning in
CLIENT_BASEwhich affects routing for the local mesh.The goal of this feature request is to make a few small changes across firmware and clients so that it's much less likely that anyone will unintentionally/accidentally add nodes as favorites from a
CLIENT_BASE.(See discussion #8367 for an example.)
I've implemented for firmware and iOS (see PR linked below), but I need help especially from Android/web client developers to implement these small changes. 🙏 Let's use this issue as a central point for coordination of the concept.
The plan: reducing "accidental" favorites from
CLIENT_BASECLIENT_BASEshould require explicit add-to-favorites. Five small proposed changes:If
CLIENT_BASE:CLIENT_BASE, setis_favorite = falsefor all nodes in nodeDB.CLIENT_BASE.With these changes, it should be much harder for anyone to unknowingly/accidentally misuse the power of
CLIENT_BASE. 📶Proposed confirmation / warning messages
Please see the screenshots in meshtastic/Meshtastic-Apple#1493 . I think a similar style and wording should be possible to implement in the other clients.
Clicking "Add to favorites" on a node:
Proposed text:
In device configuration, changing role to "Client Base":
Proposed text:
Progress Tracker
add_contactAdminMessage: addFromContact: Don't auto-favorite whenCLIENT_BASE; don't updatelast_heardunlessCLIENT_BASE#8495CLIENT_BASE, setis_favorite = falsefor all nodes in nodeDB. NodeDB:clearAllFavorites()when switching role toCLIENT_BASE#8534CLIENT_BASEadd-favorite/role-change confirmation dialog Meshtastic-Apple#1493addContactFromURLafter the firmware PR above is merged (currently assumes that node will be a favorite)CLIENT_BASECLIENT_BASEfavoriteNode(destNode)called fromsendMessagehereCLIENT_BASE(near handleToggleFavorite)CLIENT_BASE(like UnsafeRoleDialog)