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

Upgrade to winapp11 #213

Draft
wants to merge 82 commits into
base: main
Choose a base branch
from
Draft

Upgrade to winapp11 #213

wants to merge 82 commits into from

Commits on Jun 5, 2022

  1. Added values for Group widgets

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    99ad025 View commit details
    Browse the repository at this point in the history
  2. Updated sonar rules

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    1df2705 View commit details
    Browse the repository at this point in the history
  3. Changed nlog to json strugged logging

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jun 5, 2022
    Configuration menu
    Copy the full SHA
    979b3cf View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2022

  1. Started to migrate App to WinUI and Windows 11

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Aug 21, 2022
    Configuration menu
    Copy the full SHA
    491d514 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2022

  1. Fixed breadcrump navigation

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Aug 23, 2022
    Configuration menu
    Copy the full SHA
    def6577 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2022

  1. Fixed Breadcrumb navigation

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Sep 10, 2022
    Configuration menu
    Copy the full SHA
    bb0c374 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2022

  1. Fixed version update script

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    2bb161e View commit details
    Browse the repository at this point in the history
  2. Fixed version update script

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    f28af63 View commit details
    Browse the repository at this point in the history
  3. Updated version script

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Sep 13, 2022
    Configuration menu
    Copy the full SHA
    01d1e6e View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2022

  1. - Refactored namespace

    - Reorganized files
    
    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Oct 11, 2022
    Configuration menu
    Copy the full SHA
    1795e8f View commit details
    Browse the repository at this point in the history

Commits on May 4, 2023

  1. Cleanup usings

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed May 4, 2023
    Configuration menu
    Copy the full SHA
    52860cd View commit details
    Browse the repository at this point in the history

Commits on Dec 17, 2023

  1. Added OH4 support

    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    f1ffa4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dc71eae View commit details
    Browse the repository at this point in the history
  3. Update SonarCloud integration

    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    dcbcbf8 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'feature/fix' into feature/upgrade-to-winapp11

    # Conflicts:
    #	src/openHAB.Core/Openhab.Core.csproj
    #	src/openHAB.Core/Strings/de-de/Resources.resw
    #	src/openHAB.Windows/Controls/ConnectionDialog.xaml
    #	src/openHAB.Windows/Converters/OpenHabUrlStateToGlyph.cs
    #	src/openHAB.Windows/ViewModel/MainViewModel.cs
    #	src/openHAB.Windows/openHAB.Windows.csproj
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    98e4774 View commit details
    Browse the repository at this point in the history
  5. Added OH4 support

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    39edef1 View commit details
    Browse the repository at this point in the history
  6. Fixed refresh when changing the sitemap

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    524913f View commit details
    Browse the repository at this point in the history
  7. Update SonarCloud integration

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    1559cf0 View commit details
    Browse the repository at this point in the history
  8. Fix potenial DoS issues

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    86f0959 View commit details
    Browse the repository at this point in the history
  9. Fixed sonarqube issues

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    014d628 View commit details
    Browse the repository at this point in the history
  10. Adjusted log configuration and moved to structured logging

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    afdfaff View commit details
    Browse the repository at this point in the history
  11. Fixed file path to new json log file

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    813bd35 View commit details
    Browse the repository at this point in the history
  12. Removed indent in json log files

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    a8a981e View commit details
    Browse the repository at this point in the history
  13. Merge branch 'feature/fix' into feature/upgrade-to-winapp11

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    
    # Conflicts:
    #	.sonarlint/OpenHAB.Windows.slconfig
    #	.sonarlint/openhab_openhab-windowscsharp.ruleset
    #	src/openHAB.Core/Openhab.Core.csproj
    #	src/openHAB.Core/SDK/OpenHABClient.cs
    #	src/openHAB.Windows/Controls/ConnectionDialog.xaml
    #	src/openHAB.Windows/Converters/OpenHabUrlStateToGlyph.cs
    #	src/openHAB.Windows/DIService.cs
    #	src/openHAB.Windows/ViewModel/MainViewModel.cs
    #	src/openHAB.Windows/openHAB.Windows.csproj
    hoffe86 committed Dec 17, 2023
    Configuration menu
    Copy the full SHA
    991f747 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2023

  1. Adopted Icon caching, notifications and UI for WinUI

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    11e2f21 View commit details
    Browse the repository at this point in the history
  2. Move widget handling to sitemap viewmodel

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 20, 2023
    Configuration menu
    Copy the full SHA
    09b1c6d View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2023

  1. Finished refactoring MainViewModel

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    bfcc99b View commit details
    Browse the repository at this point in the history
  2. Removed unused Subtitle property

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Dec 21, 2023
    Configuration menu
    Copy the full SHA
    6916661 View commit details
    Browse the repository at this point in the history

Commits on Dec 30, 2023

  1. Configuration menu
    Copy the full SHA
    db148e7 View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2024

  1. Restructured code to implement a proper MVVM

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    81e5d8a View commit details
    Browse the repository at this point in the history
  2. Fixed issue with loading animation

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jan 2, 2024
    Configuration menu
    Copy the full SHA
    e084429 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2024

  1. Move sitemap to own page

    hoffe86 committed Jan 13, 2024
    Configuration menu
    Copy the full SHA
    ebfa0bb View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2024

  1. Fixed issue with sitemap rendering

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Jan 19, 2024
    Configuration menu
    Copy the full SHA
    83111d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2024

  1. Fix navigation

    hoffe86 committed Jan 20, 2024
    Configuration menu
    Copy the full SHA
    0ed93dd View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2024

  1. Configuration menu
    Copy the full SHA
    be8c0e4 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2024

  1. Redesign UI

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 18, 2024
    Configuration menu
    Copy the full SHA
    913a3cd View commit details
    Browse the repository at this point in the history

Commits on Feb 19, 2024

  1. Configuration menu
    Copy the full SHA
    a438b96 View commit details
    Browse the repository at this point in the history

Commits on Feb 24, 2024

  1. - Fixed Breadcrumb navigation

    - Removed unused code
    hoffe86 committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    4f3f49b View commit details
    Browse the repository at this point in the history
  2. Fixed navigation to sitemap root

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    1899434 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    143566c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7489e53 View commit details
    Browse the repository at this point in the history
  3. Cleanup

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    32ffedc View commit details
    Browse the repository at this point in the history
  4. Fixed filename and syntax issues

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    f7d9845 View commit details
    Browse the repository at this point in the history
  5. Fixed build and release name task

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    11a1477 View commit details
    Browse the repository at this point in the history
  6. Fix build number and release name in openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    0d3c646 View commit details
    Browse the repository at this point in the history
  7. Update build script to output release information

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    da354e2 View commit details
    Browse the repository at this point in the history
  8. Update build configuration and release name handling

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    1cf78ed View commit details
    Browse the repository at this point in the history
  9. Fix IS_BETA_RELEASE assignment in openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    6dfadcf View commit details
    Browse the repository at this point in the history
  10. Update build script to use current date as build number and release name

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    aede949 View commit details
    Browse the repository at this point in the history
  11. Fix variable assignment in openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    0408f29 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    bd3ac9e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    1fe6865 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    96494e6 View commit details
    Browse the repository at this point in the history
  15. Update release name in openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    4e91375 View commit details
    Browse the repository at this point in the history
  16. Fix outputs

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    ae2a6ba View commit details
    Browse the repository at this point in the history
  17. Fix release name in openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    bc2edea View commit details
    Browse the repository at this point in the history
  18. Update build configuration and release name

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    941a255 View commit details
    Browse the repository at this point in the history
  19. Update Set-Version.ps1 path in build workflow

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    aef7c66 View commit details
    Browse the repository at this point in the history
  20. Update build and openhab workflows

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    dacb3b6 View commit details
    Browse the repository at this point in the history
  21. Update build.yml and openhab.yml

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    e750f60 View commit details
    Browse the repository at this point in the history
  22. Update Set-Version.ps1 path in build workflow

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    cff5ae4 View commit details
    Browse the repository at this point in the history
  23. Update Set-Version.ps1 script invocation

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    f596757 View commit details
    Browse the repository at this point in the history
  24. Update build workflow names

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    bb5bf7b View commit details
    Browse the repository at this point in the history
  25. Update build script to set version correctly

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    7d5bb21 View commit details
    Browse the repository at this point in the history
  26. Update package version script and remove unnecessary ls command

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    bfd2bee View commit details
    Browse the repository at this point in the history
  27. Add nuget package restore step

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    347a14f View commit details
    Browse the repository at this point in the history
  28. Fixed sonarqube security hotspot

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    ceb9480 View commit details
    Browse the repository at this point in the history
  29. Update build and publish workflows

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    13aeacb View commit details
    Browse the repository at this point in the history
  30. Update release workflow

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    1f077a6 View commit details
    Browse the repository at this point in the history
  31. Update publish.yml and openhab.yml workflows

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    99154be View commit details
    Browse the repository at this point in the history
  32. Update package name in publish workflows

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    470bcfc View commit details
    Browse the repository at this point in the history
  33. Update workflows for release and publishing

    Signed-off-by: Christoph Hofmann <oss@hoffe.org>
    hoffe86 committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    12c6fd4 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. The most significant changes in the code include the update of projec…

    …t reference for "openHAB.Common", removal of namespaces from "NotificationManager.cs", addition of a new parameter in "ResolveIconPath" method, and the inclusion of a new dependency in "IconCaching.cs". Several converters were removed from "App.xaml" and usage of certain converters was removed from multiple files. The logic for resolving the icon path was updated in "ImageLabel.xaml.cs" and a boolean return type was added to "DownloadAndSaveIconToCache" method in "IconCaching.cs". Code formatting and alignment changes were made in multiple files for better readability. The type of `Widget` property was changed in `WidgetBase.cs` and the logic for generating the icon path was simplified in `IconToBitmapConverter.cs`. The `Visibility` property binding was simplified in all `.xaml` files. The `IconToPathConverter.cs`, `StringToColorBrushConverter.cs` files were removed from the project. Various UI elements were updated in `MainWindow.xaml` and a `nativeDebugging` property was added to the `openHAB.Windows (Package)` profile in `launchSettings.json`. A new file `WidgetViewModel.cs` was added to the project.
    
    Here is a list of the changes:
    
    1. The project reference for "openHAB.Common" was updated to use a different project type GUID.
    2. The "openHAB.Core.Client" and "openHAB.Core.Common" namespaces were removed from the "NotificationManager.cs" file.
    3. The method signature for "ResolveIconPath" in "IIconCaching.cs" was updated to include a new parameter for "state".
    4. The "IconCaching.cs" file was updated to include a new dependency on "ISettingsService", and the "ResolveIconPath" method was updated to construct the icon URL based on the server version and state.
    5. Several converters were removed from "App.xaml".
    6. The "ChartWidget.xaml", "ColorWidget.xaml", "FrameWidget.xaml", "ImageWidget.xaml", "MapViewWidget.xaml", "MjpegWidget.xaml", "PageLinkWidget.xaml", "RollershutterWidget.xaml", and "SectionSwitchWidget.xaml" files were updated to remove usage of the "BooleanToVisibilityConverter", "IconToPathConverter", and "StringToColorConverter". The "IconPath" property is now directly bound to the "IconPath" property of the widget.
    7. The "ImageLabel.xaml.cs" file was updated to remove the dependency on "IIconCaching" and to update the logic for resolving the icon path.
    8. The "DownloadAndSaveIconToCache" method in "IconCaching.cs" was updated to return a boolean indicating whether the download was successful.
    9. Code formatting and alignment changes were made in multiple files for better readability.
    10. The type of `Widget` property was changed in `WidgetBase.cs` and the logic for generating the icon path was simplified in `IconToBitmapConverter.cs`.
    11. The `Visibility` property binding was simplified in all `.xaml` files.
    12. The `IconToPathConverter.cs`, `StringToColorBrushConverter.cs` files were removed from the project.
    13. Various UI elements were updated in `MainWindow.xaml` and a `nativeDebugging` property was added to the `openHAB.Windows (Package)` profile in `launchSettings.json`.
    14. A new file `WidgetViewModel.cs` was added to the project.
    hoffe86 committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    fbb48d5 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2024

  1. The code changes primarily involve updates to the .NET framework and …

    …C# version, renaming of classes, replacement of the JSON library, and updates to package versions.
    
    1. The `openHAB.Core.Client.csproj` file has been updated to target the .NET Standard 2.0 framework and use C# version 11.0. It also includes additional project sources for package restoration and adds package references for `Azure.Core` and `Microsoft.Azure.AutoRest.CSharp`.
    
    2. The `openHAB.Common.csproj` file has been updated to use newer versions of the `Microsoft.WindowsAppSDK` and `Microsoft.Windows.SDK.BuildTools` packages.
    
    3. Several classes have been renamed, such as `OpenHABSitemap` to `Sitemap`, `OpenHABItem` to `Item`, and `OpenHABWidget` to `WidgetViewModel`. This suggests a simplification or standardization of class names.
    
    4. The JSON library used for serialization and deserialization has been changed from `Newtonsoft.Json` to `System.Text.Json.Serialization`.
    
    5. The versions of several package references, such as `Microsoft.WindowsAppSDK`, `Microsoft.Windows.SDK.BuildTools`, and `Microsoft.Extensions.Logging.Abstractions`, have been updated.
    
    6. The namespace `openHAB.Core.Services` was changed to `openHAB.Windows.Services` in `WidgetNavigationService.cs`, `MainPage.xaml.cs`, and `SitemapPage.xaml.cs`.
    
    7. The `Page` class was replaced with `Microsoft.UI.Xaml.Controls.Page` in `MainPage.xaml.cs` and `SitemapPage.xaml.cs`.
    
    8. The `WigetNavigation` class was replaced with `WidgetNavigationMessage` in `MainViewModel.cs` and `SitemapViewModel.cs`.
    
    9. The `ObservableCollection<OpenHABWidget>` was replaced with `ObservableCollection<WidgetViewModel>` in `MainViewModel.cs`.
    
    10. The `ObservableCollection<OpenHABSitemap>` was replaced with `ObservableCollection<Sitemap>` in `MainViewModel.cs`.
    
    11. The `List<OpenHABSitemap>` was replaced with `List<Sitemap>` in `MainViewModel.cs`.
    
    12. The `ICollection<OpenHABWidget>` was replaced with `ICollection<Widget>` in `SitemapViewModel.cs`.
    
    13. The `ICollection<OpenHABWidgetMapping>` was replaced with `ICollection<WidgetMapping>` in `SitemapViewModel.cs`.
    
    14. The `OpenHABItem` class was replaced with `Item` in `WidgetViewModel.cs`.
    
    15. The `ObservableCollection<WidgetViewModel>` was added to `WidgetViewModel.cs`.
    
    16. The `Encoding` property was added to `WidgetViewModel.cs`.
    
    17. The `Parent` property was added to `WidgetViewModel.cs`.
    
    18. The `Visibility` property was added to `WidgetViewModel.cs`.
    
    19. The `CreateAsync` method was added to `WidgetViewModel.cs`.
    
    20. The `LoadData` method was added to `WidgetViewModel.cs`.
    
    21. The `CacheAndRetrieveLocalIconPath` method was added to `WidgetViewModel.cs`.
    
    22. The `ConvertColorCodeToColor` method was added to `WidgetViewModel.cs`.
    
    23. The version of the `Mapsui` and `Mapsui.WinUI` packages in the `openHAB.Windows.csproj` file have been updated from `4.1.3` to `4.1.4`.
    
    24. The version of the `Microsoft.WindowsAppSDK` package in the `openHAB.Windows.csproj` file has been updated from `1.4.231219000` to `1.5.240311000`.
    hoffe86 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    98e717d View commit details
    Browse the repository at this point in the history
  2. The most significant changes involve modifications to the `StrongRefe…

    …renceMessenger.Default.Send` and `StrongReferenceMessenger.Default.Register` method calls in `MainWindow.xaml.cs`, `MainViewModel.cs`, and `SitemapViewModel.cs`. These methods now include additional arguments related to the sitemap name. Additionally, the `StrongReferenceMessenger.Default.Unregister` method call was removed from `MainViewModel.cs`. Lastly, several build properties were removed from `openHAB.Windows.GeneratedMSBuildEditorConfig.editorconfig`, indicating potential changes in the project configuration or build process.
    
    List of changes:
    
    1. The namespaces `System` and `System.Threading.Tasks` were removed and then added back in `MainWindow.xaml.cs` and `SitemapViewModel.cs`. This could be due to reordering of the namespaces.
    2. The `StrongReferenceMessenger.Default.Send` method calls in `MainWindow.xaml.cs` were modified to include `Vm.SelectedSitemap.Name` as an additional argument.
    3. The `StrongReferenceMessenger.Default.Register` method calls in `MainViewModel.cs` and `SitemapViewModel.cs` were modified to include the sitemap name as an additional argument.
    4. The `StrongReferenceMessenger.Default.Unregister` method call in `MainViewModel.cs` was removed.
    5. The `StrongReferenceMessenger.Default.Send` method calls in `SitemapViewModel.cs` were modified to include `Model.Name` as an additional argument.
    6. Several build properties were removed from `openHAB.Windows.GeneratedMSBuildEditorConfig.editorconfig`. This could be due to changes in the project configuration or build process.
    hoffe86 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    f0630f2 View commit details
    Browse the repository at this point in the history
  3. Fixed Notifications

    hoffe86 committed Mar 23, 2024
    Configuration menu
    Copy the full SHA
    e2ec59a View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2024

  1. Fixed last sitemap loading

    hoffe86 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    f5c33cb View commit details
    Browse the repository at this point in the history
  2. Removed test rest client

    hoffe86 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    bc26b00 View commit details
    Browse the repository at this point in the history
  3. Fixed state handling

    hoffe86 committed Mar 24, 2024
    Configuration menu
    Copy the full SHA
    9365e2b View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2024

  1. The most significant changes in the code include the modification of …

    …image source binding in `FrameWidget.xaml`, the removal of color converter usage in `SelectionWidget.xaml`, and the addition of a `RaisePropertyChanged` call in `TextWidget.xaml.cs`. Other notable changes include the handling of null values and case-insensitive comparison in `ToggleWidget.xaml.cs` and `WidgetViewModel.cs`, and the replacement of `VariableSizedWrapGrid` with a `WrapPanel` in `SitemapPage.xaml`.
    
    1. `FrameWidget.xaml`: The image source has been changed from using a converter to directly binding to the `Widget.Icon` property.
    2. `SelectionWidget.xaml`: The `LabelForeground` and `Foreground` properties have been updated to remove the use of a color converter.
    3. `TextWidget.xaml.cs`: A `RaisePropertyChanged` call has been added to the `SetState` method.
    4. `ToggleWidget.xaml.cs`: The `Loading` event handler has been commented out, and the `State` property has been updated to handle null values and use case-insensitive comparison. The `SetState` method has also been significantly simplified.
    5. `IconToBitmapConverter.cs`: The converter now returns null instead of an empty string when the widget is null or has no icon path.
    6. `StateToBoolConverter.cs`: The comparison of the value to `OpenHABCommands.OnCommand` is now case-insensitive.
    7. `MainWindow.xaml`: The refresh button has been commented out.
    8. `SitemapPage.xaml`: The `Margin` property of the `MainContentGrid` has been updated, and the `ItemWidth` and `Orientation` properties of the `VariableSizedWrapGrid` have been commented out. A `WrapPanel` from the Community Toolkit has been added as a replacement.
    9. `WidgetViewModel.cs`: The order of the using directives has been changed, and the `Icon` property has been updated to return an `SvgImageSource` instead of a string. The `State` property has also been updated to handle null values.
    hoffe86 committed Mar 25, 2024
    Configuration menu
    Copy the full SHA
    0abe72f View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2024

  1. Configuration menu
    Copy the full SHA
    6ec136e View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Refactor and update packages, add MainUIPage

    Updated package references in multiple project files, including `Microsoft.WindowsAppSDK` and `Microsoft.Windows.SDK.BuildTools`. Added new resource entry for `MenuItemMainUI.Content`. Cleaned up unused `using` directives and namespaces. Modified `MainWindow.xaml` to use `Binding` instead of `x:Bind` and added a new `NavigationViewItem` for `MainUI`. Added event handler for `MainUIPage` navigation. Removed `WinUIPage` and introduced `MainUIPage` with `WebView2` control. Updated project files accordingly. Made minor UI changes in `SitemapPage.xaml` and cleaned up unused XML namespaces in `MainPage.xaml`. Upgraded `Mapsui` packages to version `4.1.6`.
    hoffe86 committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    c997f7d View commit details
    Browse the repository at this point in the history