Native Context Menu & Hop Path Map#307
Conversation
Version 1.0
Replace bestMatch with resolve() and skip ambiguous/duplicate hops to prevent criss-cross pile-ups on the map. Extend hop badge rendering to non-ring pins and raise the max badge cap to 64.
|
I like the switch back to contextMenu. I originally switched to sheet because not all the info could fit in the menu. Not sure why I didn't think of adding a details button and sheet like you did... One thing I'd like to request from you, then I can do a followup commit for the rest: |
|
Added those two fields. |
|
Hi @0PandaDEV, just wanted to give you a heads up that I decided to revert the context menu and reimplement the sheet. The context menu was causing message drift issues that were proving difficult to fix due to the chat view being a flipped UIKit table (this was done because SwiftUI scroll view currently doesn't work well for chats). A lifted preview worked, but required so much extra code and workarounds for right-click on iPadOS/macOS that I decided to go back to the sheet. When it's possible to switch to only SwiftUI for the chat view with no bugs (such as bottom anchoring), I'll likely think about switching to a context menu again. |
This adds a native context menu when haptic pressing a message bubble it also includes a detailed hop path page with a map view.