Skip to content

Improves the operation output views in the Avalonia UI#4743

Merged
Gabriel Dufresne (GabrielDuf) merged 2 commits into
mainfrom
improveOperationWindowAvalonia
May 11, 2026
Merged

Improves the operation output views in the Avalonia UI#4743
Gabriel Dufresne (GabrielDuf) merged 2 commits into
mainfrom
improveOperationWindowAvalonia

Conversation

@GabrielDuf
Copy link
Copy Markdown
Contributor

#4681

  • Selectable text across multiple lines. Previously each log line was rendered as its own TextBlock inside an ItemsControl, so selection could not span more than one line. Replaced with a single SelectableTextBlock populated with colored Run inlines (one per line) + LineBreaks, preserving per-line coloring (error / debug / normal) while allowing click-drag selection across the whole log and Ctrl+C copy.
  • Non-modal windows. Both the live/success log (OperationOutputWindow) and the failed-operation dialog (OperationFailedDialog) were shown via ShowDialog, which blocked all interaction with the main window. Switched to Show(owner) so the windows remain owned by the main window (stay on top, close with it) but no longer block the rest of the app.

Files changed

  • UniGetUI.Avalonia/Views/DialogPages/OperationOutputWindow.axaml + .axaml.cs
  • UniGetUI.Avalonia/Views/DialogPages/OperationFailedDialog.axaml + .axaml.cs (also removed the now-unused OutputLineVm helper class)
  • UniGetUI.Avalonia/ViewModels/DialogPages/OperationViewModel.cs (ShowDetails now uses Show instead of ShowDialog for both branches)

@GabrielDuf Gabriel Dufresne (GabrielDuf) changed the title Improves the operation log views in the Avalonia UI Improves the operation output views in the Avalonia UI May 11, 2026
@GabrielDuf Gabriel Dufresne (GabrielDuf) merged commit 75d0182 into main May 11, 2026
4 of 5 checks passed
@GabrielDuf Gabriel Dufresne (GabrielDuf) deleted the improveOperationWindowAvalonia branch May 11, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants