Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: v0.2.0 #244

Merged
merged 95 commits into from
Nov 29, 2023
Merged

release: v0.2.0 #244

merged 95 commits into from
Nov 29, 2023

Conversation

asv-soft-u01
Copy link
Contributor

Update main with new features from develop and release v0.2.0

asv-soft-u02 and others added 30 commits September 19, 2023 14:05
Hotkey for the editAnchorsToggleButton in AnchorMoverActionView was changed from LeftCtrl to LeftAlt. This change provides a more intuitive and less conflicting key configuration for users.

Asana: https://app.asana.com/0/1203851531040615/1205527219350697/f
…orViewModel

The AnchorsEditorViewModel has been modified to include reactive properties for controlling focus on latitude, longitude and altitude fields. The changes have been made to improve input efficiency and spot invalid inputs. Previously, location updates were directly tied to changes in any of these fields. Now, values are only updated when the specific field loses focus, preventing unnecessary and potentially erroneous updates. Validation checks and error responses have been moved into separate methods for better code readability and organization. UI elements in the AnchorsEditorView have been modified to bind to the new focus controls.

Asana: https://app.asana.com/0/1203851531040615/1205517122543116/f
New measurement unit for field strength has been added. Field strength related strings were introduced into the resources file for localization. These include the field strength title, measurement unit, and description. This is done to aid in data interpretation and localization.

Asana: https://app.asana.com/0/1203851531040615/1205537326923774/f
FieldStrength was added to ILocalizationService and LocalizationServiceBase. The new measure unit ensures accurate localization data for drone guidance systems that utilize field strength measures, enhancing navigation precision.

Asana: https://app.asana.com/0/1203851531040615/1205537326923774/f
feat: change hotkey for editAnchorsToggleButton
fix: add reactive focus controls and validation checks in AnchorsEdit…
feat: add field strength localization and measurement unit
This commit updates how the `RecordName` property is being assigned in the `FlightSdrViewModel` class. If there is a `SelectedMode`, it will append the current timestamp and the mode to form a unique recording name. The update aims at improving recording tracking and management by having more descriptive and informative recording names

Asana: https://app.asana.com/0/1203851531040615/1205628819726104/f
feat (sdr): update record name with timestamp and selected mode
fix (sdr): fix SDR record name generation
Changes have been made to reduce the precision of the printed coordinates from 7 decimal places to 6 in the "Latitude.cs" and "Longitude.cs" classes. This decision was made to streamline data presentation by limiting unnecessary precision, improving readability without significantly impacting accuracy.

Asana: https://app.asana.com/0/1203851531040615/1205678012462557/f
Modified HierarchicalStore View layout to improve readability and introduced creation time display for files/folders in HierarchicalStore ViewModel. In the view, the adjustment prevents the last child of the Dockpanel from filling the whole available space for better UI. Description text is now docked to the right for clarity. Additionally, the ViewModel now includes the creation time display for files/folders when type details are fetched for FileSystemHierarchicalStoreEntry items. This provides more detailed information for the user.

Asana: https://app.asana.com/0/1203851531040615/1205628819726102/f
…ormat

fix (loc): reduce precision in printing coordinates
…forms

Separated plugin loading logic into different sections for IClassicDesktopStyleApplicationLifetime and ISingleViewApplicationLifetime in App.axaml.cs. This change was necessary to handle different plugin behaviors on different platforms. Additionally, added AndroidCatalogs to handle dynamic plugin loading for Android platform.

Asana: https://app.asana.com/0/1203851531040615/1205666798678866/f
Deleted two files `QuickParamsSetupShellPageProvider.cs` and `ShellMenuItemsProvider.cs` that were providing individual IShellMenuItems to the shell menu. Introduced a new file: `UavShellMenuItemProvider.cs` that provides a consolidated menu item including sub-items for 'Quick parameters setup' and 'Parameters'. This refactoring makes the shell menu better organized and easier to navigate. Also adjusted the `ShellMenuItem.cs` to make Items a settable property, this allows new implementation to consolidate different items under one main item. Additionally, NavigationViewItem template modified for better menu navigation.

Asana: https://app.asana.com/0/1203851531040615/1205648260993850/f
Introduced FieldStrength measure unit for better handling and localization in the GUI. This change facilitates the representation of field strength measurements in various units, enhancing the user's understanding and interpretation of the displayed data. The implementation includes a conversion from a base unit to the actual desired unit and vice versa, providing flexibility and extensibility. Also includes display string formatting for better UI representation.

Other changes include minor Code formatting fixes, improved logging, and updates on how the system handles anchor movements for better accuracy and efficiency.

Asana: https://app.asana.com/0/1203851531040615/1205648260993850/f
fix (android): refactored plugin loading for Android and desktop platforms
…y-date

feat(core): update HierarchicalStore View and ViewModel
A reference to IAsvSdrClientEx was added to SdrPayloadRecordViewModel to enable record deletion. The 'Delete' command is now created from a task invoking 'DeleteRecord' on _sdrClient. Consequently, SdrPayloadBrowserViewModel was also updated to pass IAsvSdrClientEx while transforming records.

Asana: https://app.asana.com/0/1203851531040615/1203719678217452/f
A new enum member 'MinutesSeconds' has been added to the 'DegreeUnits' enumeration in 'Degrees.cs'. This complements the existing options and allows for enhanced flexibility when dealing with degree measurements, particularly in contexts where minute-second precision is required. Corresponding changes have been made in RS.Designer.cs, RS.resx and RS.ru.resx to store localized strings for this new enum member.

Asana: https://app.asana.com/0/1203851531040615/1205715715897882/f
feat: add delete functionality to SdrPayloadRecordViewModel
Added a sorting functionality to the SdrPayloadBrowserView which allows users to sort payloads by either name or date. A dropdown button has been included in the GUI to enable the users to toggle between the sorting preferences. This update is essential to enhance usability and improve the user experience, especially when dealing with a large collection of payloads. The change has been reflected in both English and Russian localizations.

Asana: https://app.asana.com/0/1203851531040615/1203719678217452/f
Replaced Angle methods with AngleMs in Degrees.cs for parsing, validity check, error messaging, and printing. This change was necessary because we want to work with Millisecond values instead of Decimal degrees.

Also updated the AsvCommonVersion from 1.12.5 to 1.12.6 in Asv.Drones.Gui.Custom.props as a part of routine dependency upgrade.

Asana: https://app.asana.com/0/1203851531040615/1205715715897882/f
asvol and others added 24 commits November 16, 2023 16:34
In this commit, "Kit Type" and "Mission Type" fields were added to the RecordStartView. These extra input fields were implemented to enhance user's ability to label and categorize their records more accurately, thus making organization and later retrieval of specific records more convenient. Changes were made across multiple resource files (RS.resx, RecordStartView.axaml, FlightSdrViewModel.cs, RS.ru.resx, RS.Designer.cs) for the rollout of the new fields. For better user interface experience, RecordStartView was also given a height adjustment from 350 to 450. Two drop-down selection menus were added for these newly created fields.

Asana: https://app.asana.com/0/1203851531040615/1205849742162464/f
feat: add kit type and mission type to RecordStartView
This commit introduces a number of changes across various ViewModel classes to improve error handling and streamline parameter setup. Specifically, unnecessary code references have been removed and logging services have been included in some constructors for better tracking of setup processes. In addition, certain functions have been moved out of the command creation process to enhance readability and management of cancellation tokens. These changes are aimed at improving code stability and maintainability.

Asana: https://app.asana.com/0/1203851531040615/1205990900962997/f
fix: refactor code for parameter setup and error handling
Several unused classes for the Quick Params Setup page (including ViewModel and View) were removed. This refactoring clears up the codebase, making it easier to understand and manage. The deleted classes were used primarily for arranging and displaying Quick Params in a drone's configuration but are no longer necessary due to changes in the UI design and layout.

Asana: https://app.asana.com/0/1203851531040615/1205990900963013/f
fix: remove unused UI classes for Quick Params Setup
Renamed `DisposableViewModelWithValidation` to `DisposableReactiveObjectWithValidation` and updated references in `IViewModelProvider.cs`. Introduced a new helper class `LocalizationHelper` to assist with localization tasks. Also made minor updates in `ILocalizationService` and unit classes. Updated `AsvMavlinkVersion` from `3.6.0-alpha05` to `3.6.0-alpha07`.
Changes have been implemented in the SdrPayloadBrowserViewModel.cs to incorporate both ascending and descending sorting directions. This was spurred by the need to make sorting more dynamic, based on the value of IsSortByName. Additionally, an update has been introduced to trigger a download of records whenever a change is made to the 'IsSortByName' attribute.

Asana: https://app.asana.com/0/1203851531040615/1206007847454212/f
fix: update sorting logic in SdrPayloadBrowserViewModel
Several files related to mission planning in the UAV GUI project were removed. They include classes for mission item view and view model, mission view and view model, mission path polygon and more. This is part of a larger refactor of the project, these classes were no longer needed. The plan is to replace the mission planning functionality with a new design and implementation.

Asana: https://app.asana.com/0/1203851531040615/1205858132447952/f
In the PlaningMissionRoiPointViewModel, redundant code for adding the ROI mission item to the drone mission was removed. This code was unnecessarily repeating the action of adding an ROI mission item, which is now handled by the AddRoiMissionItem method. This reduces redundancy and increases code readability.

Asana: https://app.asana.com/0/1203851531040615/1205858132447952/f
Added a warning message to be displayed when there are unsaved changes in the current menu and the user tries to open another menu. This will help the user prevent any unintended data loss. Also, the localization of several menu items was improved to provide a better user experience.

Several menu items, their functionality, and warnings were enhanced with more descriptive localized strings. These include labels for actions such as "Take off", "Do land", "Waypoint", "ROI", "Replace", and "Add". The user is also now warned about potential data loss when they attempt to open a new menu without saving their changes on the current one. This proactive approach would save users from unintentional data loss.

Future work could include ensuring all menu items have localized strings, and further enhancing the user interface for a more intuitive navigation experience.

Asana: https://app.asana.com/0/1203851531040615/1205858132447952/f
@asv-soft-u02 asv-soft-u02 merged commit 614288b into main Nov 29, 2023
0 of 4 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.

None yet

3 participants