mirror of
https://github.com/dz0ny/meshcore-sar.git
synced 2026-08-11 16:30:28 +00:00
feat: Enhance message handling for drawings
- Added properties to the Message model to track drawing status and associated drawing ID. - Updated AppProvider to mark messages as drawings and link them to their respective drawing IDs. - Enhanced DrawingProvider to manage received drawings and their visibility. - Implemented navigation to drawings in MapProvider, including dynamic zoom levels based on drawing size. - Updated MessagesProvider to parse drawing messages and manage linked drawings. - Enhanced MessagesTab to support drawing message interactions, including navigation and coordinate copying. - Created DrawingMinimapPreview widget for visual representation of drawings in message bubbles. - Improved DrawingToolbar to handle sharing of drawings, ensuring only unshared drawings are sent. - Added utility functions in DrawingMessageParser for extracting drawing metadata.
This commit is contained in:
@@ -918,5 +918,19 @@
|
||||
"sampleEchoSupport": "Podpora",
|
||||
"sampleBaseCommand": "Poveljstvo Baze",
|
||||
"sampleFieldCoordinator": "Terenski Koordinator",
|
||||
"sampleMedicalTeam": "Medicinska Ekipa"
|
||||
"sampleMedicalTeam": "Medicinska Ekipa",
|
||||
|
||||
"mapDrawing": "Risba zemljevida",
|
||||
"navigateToDrawing": "Navigiraj do risbe",
|
||||
"copyCoordinates": "Kopiraj koordinate",
|
||||
"hideFromMap": "Skrij z zemljevida",
|
||||
"lineDrawing": "Linijska risba",
|
||||
"rectangleDrawing": "Pravokotna risba",
|
||||
"coordinatesCopiedToClipboard": "Koordinate kopirane v odložišče",
|
||||
|
||||
"drawingShared": "Risba zemljevida",
|
||||
"drawingHidden": "Risba skrita z zemljevida",
|
||||
"alreadyShared": "{count, plural, =1{1 že deljeno} other{{count} že deljeno}}",
|
||||
"newDrawingsShared": "Deljeno {count} nov{plural} risb{plural}",
|
||||
"drawingTools": "Orodja za risanje"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user