feat: migration WinUI 3 — async ApiClient, MVVM, WebView2 console - #1
Merged
Conversation
…t enum avec Ok/Forbidden/Error
…e public, CS1591 supprimé
…XAML, exposer via méthode
…MTK0045), OneTime sur StatusBrush/MachineIcon (WMC1506)
…REGDB_E_CLASSNOTREG
…it COM E_FAIL 0x80004005)
Add numerous generated build outputs (bin/obj) for ProxmoxDesktop.App and ProxmoxDesktop.Core — DLLs, PDBs, deps/runtime files, XBF/XAML artifacts, projection assemblies and runtime natives — plus assets (proxmox.png, vm.png, lxc.png, app.ico), an Assets README and a .gitkeep. These are compiled/debug artifacts and copied resources; they are typically excluded from source control. Consider removing these files from the repository and updating .gitignore or using an artifact/storage solution to keep the repo clean.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migration WinUI 3
Refonte complète du client Proxmox Desktop : abandon de WinForms au profit de WinUI 3 (Windows App SDK), avec une architecture MVVM propre et un
ApiCliententièrement asynchrone.🔧 Problèmes corrigés
GetAwaiter().GetResult()— freeze UI à chaque appel réseauasync/awaitnatifdynamic+ Newtonsoft.JsonSystem.Text.Jsonavec DTOs typés, zéro dépendance externeDataTicketne conserve que le ticket PVE + CSRFConfigurations.Save()à chaqueSetSetting()ConfigurationService: sauvegarde uniquement surSave()expliciteObservableCollection<MachineData>pMenuItem8(Reset) jamais ajouté au menuMachineCard.xaml(tous les items présents)MessageBox.Show()dans la logique métierLoginResult/PowerResulttypés — la View gère l'affichage✨ Nouveautés
ProgressBar)Task.WhenAll()(plus rapide sur multi-node)PeriodicTimer(toutes les 90 min) sans bloquer l'UI📁 Structure
🚀 Build local