auto-size the operations panel to its rows, capped at 3#5153
Merged
Gabriel Dufresne (GabrielDuf) merged 2 commits intoJul 20, 2026
Conversation
Copilot started reviewing on behalf of
Gabriel Dufresne (GabrielDuf)
July 20, 2026 17:28
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Makes the operations panel auto-size to three rows while preserving manual resizing.
Changes:
- Computes panel height from visible operation rows.
- Tracks collection and splitter events.
- Reduces minimum panel height and names the splitter.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
MainWindow.axaml.cs |
Adds auto-sizing and resize-state logic. |
MainWindow.axaml |
Names the operations splitter. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Marc-André Moreau (mamoreau-devolutions)
approved these changes
Jul 20, 2026
3 tasks
3 tasks
Gabriel Dufresne (GabrielDuf)
deleted the
operations-panel-adaptive-height
branch
July 20, 2026 20:04
3 tasks
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.
This pull request improves the behavior and user experience of the operations panel in the main window by making its size more responsive and preserving user adjustments. The main changes include tracking when the user resizes the panel, automatically sizing the panel based on its content, and updating the UI more reliably when operations change.
Operations panel resizing and auto-sizing improvements:
_userResizedPanel), and only auto-sizes if the user hasn't adjusted it.UI event handling and state management:
OperationsSplitter) for event hookup, and relevant event handlers are added to manage resizing logic.