-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update API and product version to 1.0.0 (#314)
* feat: add "Save as" button * Create Build for Windows Asana: https://app.asana.com/0/1206009821057985/1207478687634539/f * Change executable workflow * feat(planning): refactor mission saving logic and clean up code Streamline the mission saving implementation in PlaningMissionSavingBrowserViewModel by removing unneeded code and improving readability. Minimized property visibility where not necessary, and removed unused imports within different files across the project. Also, cleaned up CompatibilitySuppressions.xml by removing redundant suppressions. Asana: https://app.asana.com/0/1203851531040615/1207411924258622/f * feat (planning): update file and mission naming mechanism Removed hard-coded watermark from TextBox in 'PlaningMissionSavingBrowserView.axaml'. Adapted "FileName" and "Name" properties in 'PlaningMissionSavingBrowserViewModel.cs' and 'PlaningMissionViewModel.cs' to accept null. Edited the instantiation of 'PlaningMissionSavingBrowserViewModel' in 'PlaningPageViewModel.cs' to include the current mission name. Asana: https://app.asana.com/0/1203851531040615/1207411924258622/f * feat(api): update API version and remove NLog dependency The API version has been updated from 0.3.2 to 0.3.3. Also, some other version upgrades have been carried out, such as AsvCommonVersion and AsvMavlinkVersion. Furthermore, the NLog dependency has been removed from the project Asv.Drones.Gui. * feat(api-mavlink): update mavlink nuget;add RFSA device * feat(actions): release action (#303) Add release action for new version * feat(plugins): update plugins to include API version compatibility check Updated the plugin system to support API version compatibility. All plugins are now required to specify their API version, which is then checked for compatibility with the application's API version. If the versions do not match, the plugin will not be loaded. The API version has also been added to the application version display for transparency. * fix: Update GetRfsaByFullId method return type and source Renamed the return type of GetRfsaByFullId method from IAdsbClientDevice to IRfsaClientDevice in MavlinkDevicesService class. The data source was also shifted from AdsbDevices to RfsaDevices, and the associated DiagnosticId was adjusted consequently in CompatibilitySuppressions.xml. * fix: Update API version to 0.3.6 In Directory.Build.props, the API version was updated from 0.3.5 to 0.3.6. The previous API version was also adjusted accordingly, from 0.3.4 to 0.3.5. * fix: Include RfsaDevices in AllDevices and update suppressions file In the MavlinkDevicesService, it now includes RfsaDevices in the AllDevices merge. Moreover, certain suppressions related to ApiVersion in the CompatibilitySuppressions.xml for Asv.Drones.Gui.Api have been removed. * feat: Add RFSA device class in MavlinkHelper The commit introduces a new device class, RFSA, in the MavlinkHelper. It maps the new RFSA class to a specific icon (Waveform). The default icon was also updated to 'HelpNetworkOutline' for any device class not explicitly defined. * feat: add default app.args file * feat: Update visibility binding and enhance logging The code updates have reorganized the compile instruction order for 'RS.Designer.cs' in the project file. The ScrollViewer's visibility binding in the MapPageView is now dependent on 'LeftWidgets' and 'RightWidgets' count. Borders visibility binding is now dependent on 'BottomWidgets' and 'MapActions' count, improving UI responsiveness. A 'CatchToLog' method has also been added to ReactiveCommand in the logging service, enhancing error handling by directing thrown exceptions to the log. * fix(anchor editor): add icon margin in actions (#305) asana: https://app.asana.com/0/1203851531040615/1207643849991134/f * fix(Uav): move the mode button (#306) asana: https://app.asana.com/0/1203851531040615/1207643849991144/f * fix(uav): refactor MissionStatusView layout and FlightUavView (#309) asana: https://app.asana.com/0/1203851531040615/1207643986818660/f https://app.asana.com/0/1203851531040615/1207654116236034/f * fix(log-service): add filters to different levels of errors according to Nlog documentation. Add Logger message save (#308) Asana: https://app.asana.com/0/1206009821057985/1207643849991142/f * fix(uav): fix MissionStatusView margin (#312) asana: https://app.asana.com/0/1206118975886649/1207674317434296/f * Fix size optimization and ArgumentNullException in AnchorEditor widget (#310) * fix(anchor-editor): descending sorting of uav actions Asana: https://app.asana.com/0/1203851531040615/1207643849991138/f * fix(anchor-editor): check actions collections for null to avoid ArgumentNullException Asana: https://app.asana.com/0/1203851531040615/1207664866852418/f * fix(anchor-editor): actions size-optimization with more short locales Asana: https://app.asana.com/0/1203851531040615/1207643849991138/f * fix(anchor-editor): add scrolls to actions and coordinates part of widget Asana: https://app.asana.com/0/1203851531040615/1207654116236041/f * fix(anchor-editor): short locales to reboot/shutdown action Asana: https://app.asana.com/0/1203851531040615/1207643849991138/f * fix(anchor-editor): better flyout menu style and refactor scroll viewers Asana: https://app.asana.com/0/1203851531040615/1207654116236041/f * fix(anchor-editor): update layout and visual changes in AnchorsEditorView Reduced the width of the second column in the Grid from 10 to 2. The Border element was replaced with a Rectangle for better visual clarity. Minor adjustments were made to clean up the code format, maintaining consistency in layout and improving overall readability. Asana: https://app.asana.com/0/1203851531040615/1207654116236041/f * fix(anchor-editor): fix actions collection sharing when selected item changed, fix localization and anchor title layout Asana: https://app.asana.com/0/1203851531040615/1207654116236041/f * fix(anchor-editor): update AnchorsEditorView layout properties The properties of TextBlock and Rectangle in the AnchorsEditorView file have been revised. Specifically, the TextBlock has been assigned a name "ActionsTextBlock". Additionally, the fill color of the rectangle now relies on the foreground of ActionsTextBlock, ensuring better UI consistency. Asana: https://app.asana.com/0/1203851531040615/1207654116236041/f --------- Co-authored-by: u01 <[email protected]> * fix(hierarchical-store): add scroll viewer at list of tasks (#311) * fix(hierarchical-store): add scroll viewer at list of tasks Asana: https://app.asana.com/0/1203851531040615/1207644963134958/f * fix(hierarchical-store): more height to list of tasks to reduce empty space Asana: https://app.asana.com/0/1203851531040615/1207644963134958/f * fix: progress bar (#313) Asana: https://app.asana.com/0/1203851531040615/1207644963134966/f * feat: update API and product version to 1.0.0 The commit adds Asv.Avalonia.Toolkit as a reference in both Asv.Drones.Gui.Api and Asv.Drones.Gui projects. It also changes the "CopyToOutputDirectory" property of "app.args" to "Never". The version numbers for Product, API, and various dependencies have been upgraded to 1.0.0 in Directory.Build.props file. --------- Co-authored-by: Ilya<[email protected]> Co-authored-by: Eugene <[email protected]> Co-authored-by: Alexey <[email protected]> Co-authored-by: Maxim <[email protected]> Co-authored-by: Lev <[email protected]>
- Loading branch information
1 parent
05ad55a
commit 437423a
Showing
67 changed files
with
1,147 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
name: Build and Release | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
jobs: | ||
build-and-release: | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
|
||
- name: Setup .NET | ||
uses: actions/setup-dotnet@v1 | ||
with: | ||
dotnet-version: 8.0.x | ||
|
||
- name: Add NuGet source | ||
env: | ||
NUGET_USERNAME: ${{ secrets.USER_NAME }} | ||
NUGET_PASSWORD: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} | ||
run: | | ||
echo "<configuration>" > nuget.config | ||
echo "<packageSources>" >> nuget.config | ||
echo '<add key="nuget.org" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />' >> nuget.config | ||
echo '<add key="asv" value="https://nuget.pkg.github.com/asv-soft/index.json" />' >> nuget.config | ||
echo "</packageSources>" >> nuget.config | ||
echo "<packageSourceCredentials>" >> nuget.config | ||
echo "<asv>" >> nuget.config | ||
echo '<add key="Username" value="'${{ secrets.USER_NAME }}'" />' >> nuget.config | ||
echo '<add key="ClearTextPassword" value="'${{ secrets.GIHUB_NUGET_AUTH_TOKEN }}'" />' >> nuget.config | ||
echo "</asv>" >> nuget.config | ||
echo "</packageSourceCredentials>" >> nuget.config | ||
echo "</configuration>" >> nuget.config | ||
- name: Install dependencies | ||
run: | | ||
dotnet restore ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj | ||
dotnet restore ./src/Asv.Drones.Gui/Asv.Drones.Gui.csproj | ||
dotnet restore ./src/Asv.Drones.Gui.Desktop/Asv.Drones.Gui.Desktop.csproj | ||
- name: Build | ||
run: | | ||
dotnet build ./src/Asv.Drones.Gui.Api/Asv.Drones.Gui.Api.csproj --configuration Release --no-restore | ||
dotnet build ./src/Asv.Drones.Gui/Asv.Drones.Gui.csproj --configuration Release --no-restore | ||
dotnet build ./src/Asv.Drones.Gui.Desktop/Asv.Drones.Gui.Desktop.csproj --configuration Release --no-restore | ||
- name: Set version variable | ||
env: | ||
TAG: ${{ github.ref_name }} | ||
run: echo "VERSION=${TAG#v}" >> $GITHUB_ENV | ||
|
||
|
||
# here you must define path to your .csproj | ||
- name: Publish project for installer | ||
run: dotnet publish ./src/Asv.Drones.Gui.Desktop/Asv.Drones.Gui.Desktop.csproj -c Release -o ./publish/app | ||
|
||
- name: Install NSIS | ||
run: | | ||
choco install nsis | ||
#here you must define path to your .nsi file (it is used for installer setup and creation) | ||
- name: Create EXE installer | ||
run: makensis ./win-64-install.nsi | ||
|
||
- name: List output files | ||
run: Get-ChildItem -Path ./publish/app -Force | ||
|
||
- name: Create Release | ||
id: create_release | ||
uses: actions/create-release@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} | ||
RELEASE_BODY: ${{ steps.create-release-notes.outputs.release-notes }} | ||
with: | ||
tag_name: ${{ github.ref }} | ||
release_name: Release ${{ github.ref }} | ||
draft: false | ||
prerelease: ${{ contains(github.ref, 'alpha') }} | ||
|
||
|
||
- name: Upload Release Asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GIHUB_NUGET_AUTH_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./AsvDronesGuiInstaller.exe | ||
asset_name: asv-drones-${{ github.ref_name }}-setup-windows-64.exe | ||
asset_content_type: application/vnd.microsoft.portable-executable |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Win-x64" type="DotNetFolderPublish" factoryName="Publish to folder"> | ||
<riderPublish configuration="Release" delete_existing_files="true" include_native_libs_for_self_extract="true" platform="Any CPU" produce_single_file="true" runtime="win-x64" self_contained="true" target_folder="$PROJECT_DIR$/../publish/win-x64/app" target_framework="net7.0" uuid_high="-6069974389149972757" uuid_low="-5498245974063364756" /> | ||
<riderPublish configuration="Release" delete_existing_files="true" include_native_libs_for_self_extract="true" platform="Any CPU" produce_single_file="true" runtime="win-x64" self_contained="true" target_folder="$PROJECT_DIR$/../publish/win-x64/app" target_framework="net8.0" uuid_high="-6069974389149972757" uuid_low="-5498245974063364756" /> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.