Repository navigation
v5.2.1-fix
Pre-release
Pre-release
·
63 commits
to main
since this release
Pre-release Notice:
This release (v5.2.1-fix) is a pre-release build of PleasantUI. Features, APIs, and controls may be incomplete or change in future releases. Experimental and preview additions are marked accordingly.
What is New
CrashReportDialogcontrol for crash reporting (experimental).- Implements stylable feedback properties and supports sending/saving crash reports.
DownloadPanelcontrol for download management (experimental).- Initial support for downloadable information management, labeling, and chunk status customization.
LogViewerPanelfor real-time log display (experimental).- Introduces log filtering and searching, tooltip text properties for UI elements (
AllFilterText,AutoScrollTooltip,CopyAllTooltip,ClearTooltip,CloseTooltip,DebugTooltip,SearchPlaceholder,EmptyText,EmptyDescription). - New
PanelWidthdefault (400), dynamic tooltip/content bindings, and new axaml styling.
- Introduces log filtering and searching, tooltip text properties for UI elements (
TerminalPanelfor command-line interface functionalities (experimental).- Adds
RunningText,ClearTooltip,CloseTooltip,InputPlaceholderproperties.
- Adds
- PleasantUIToolKit resource dictionary class and singleton instance property (
Instance) added. - New download status customization properties via
ChunkInfo.csfor better clarity in downloads. - Initial support for labeling UI elements and chunk status in DownloadPanel.
- New axaml templates/styling for
CrashReportDialog,LogViewerPanel,StepDialog(includingCornerRadiusstyling). - Implemented
OnApplyTemplatemethod in PleasantUIToolKit controls.
Improvements
- Enhanced chunk handling in
DownloadPanelfor better download status representation. - Improved styling for
VGUIcontrols and added styles forCrashReportDialogandStepDialogto match design guidelines. - Refined log filtering/search in LogViewerPanel, and updated filter fallbacks to use
AllFilterTextproperty when null. - Several UI properties now use dynamic bindings (
TemplateBinding) for localization and dynamic content (CrashReportDialog,LogViewerPanel,TerminalPanel,StepDialog). - CrashReportDialog: new customization properties; tab labels in
BuildTabsnow generated dynamically; status messages use corresponding string properties. - DownloadPanel now applies localized text for newly added chunks.
ChunkInfoimplements new text properties inInfostring for downloads; replaces hardcoded values.- TerminalPanel: Enhanced
IsRunningstate to updateStatusTextusingRunningText, and improved input box padding and layout. - PleasantUIToolKit.axaml.cs: Added
UpdateVGUIStyleManually(bool isVGUI)and improvedUpdateVGUIStyle(bool isVGUI)for theme management. - CrashReportDialog.axaml: Improved appearance with
CornerRadiusbinding, dynamic button content, enhanced tab style visibility. - StepDialog.axaml: Improved dynamic styling for corner radius.
Bug Fixes
- DownloadPanel: Resolved incorrect progress bar updates for large files.
- CrashReportDialog: Fixed submission failures from incorrect API endpoint usage; hardcoded default tab labels now use customizable labels; fixed user message box placeholder and static email error messages to use bindings; addressed incorrect tab visibility logic.
- LogViewerPanel: Corrected missing log message timestamps and updated tooltip texts to use template bindings.
- TerminalPanel: Resolved input lag with large terminal outputs; fixed
StatusTextnot updating on running state; tooltip and placeholder issues fixed to use template bindings. - VGUIControlThemes.axaml: Addressed layout inconsistencies across different platforms.
- ChunkInfo.cs: Replaced hardcoded strings in
Infoproperty with status texts. - StepDialog.axaml: Corrected
CornerRadiusfor proper dynamic styling. - PleasantUIToolKit.axaml.cs: Fixed null reference errors during style updates.
- DownloadPanel: Corrected localized status texts for newly added chunks.
Breaking Changes
- DownloadPanel.cs: Updated
UpdateVGUIStyleManuallymethod signature. - CrashReportDialog.cs: Changed
SuccessMessageandFailureMessagePrefixproperties. - StepDialog.axaml: Changed
ShadowBorderCornerRadiusproperty toTemplateBindingfor dynamic styling. - LogViewerPanel.axaml: Tooltips now use
TemplateBinding; update customizations if you relied on static values. - TerminalPanel.axaml:
PlaceholderTextofPART_InputBoxchanged toTemplateBinding.
Packages
- PleasantUI
- PleasantUI.DataGrid
- PleasantUI.MaterialIcons
- PleasantUI.ToolKit