You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Replace the More menu with a More page users can move pages to - #5820
The sidebar grows with every extension, so the More flyout becomes a More page, and users choose which pages stay in the navigation menu and which move to it.
More page
Pages: package and extension pages moved off the sidebar, shown as tiles with an icon and a name. Tiles reorder by dragging and show their badge (update count, unsaved bundle, driver updates…).
Tools: the former menu's entries (UniGetUI log, package manager logs, operation history, manager health, release notes, help, about) as fixed tiles.
Footer: version, Check for updates and Quit.
Empty state: a single card instead of an empty section. It names the extensions that are off with a Browse extensions button (opens Settings > Extensions), or, once every extension is on, only explains how to move pages there. It follows extensions being turned on and off while open.
Moving pages
Drag a sidebar page onto the More button or onto the open More page (insertion marker, floating copy, edge auto-scroll), or drag a tile onto the sidebar.
Right-click a sidebar page → Move to the More page; right-click a tile → Pin to the navigation menu. The context menus also open from the keyboard.
Settings and Package Managers stay pinned. Alt+Up/Down still reorders within the sidebar only.
Behaviour
Existing users keep their sidebar exactly as it is until they move something: placement is stored in a new NavigationMorePages setting next to NavigationPageOrder, and an unset value means "everything in the sidebar".
Extension pages that have ever been on are recorded in NavigationKnownPages, initialised from the extensions already on. The first time an extension is turned on (however it happens) its page lands on the More page; turning one off and on again returns it to where it was.
Settings > Interface > Navigation menu order > Reset restores both the order and the placement.
The More button stays selected on every page it leads to and reopens the More page when clicked there. It takes the Ctrl/Cmd+number after the sidebar pages and is listed in the macOS View menu. It shows a dot while a page on the More page has a badge.
Two requests for the same page while one is waiting on a leave guard now share a single navigation (keyed on history mode, honouring each caller's cancellation), so clicking More can't show the unsaved-changes dialog twice.
The icon rail hides its scrollbar (it still scrolls): at 64 px it covered the update badge.
Page titles move to a shared PageTitles helper (announcements, macOS menu, More page).
Testing
New MorePageTests (headless): storage and reset, extension placement (first enable, re-enable, reset, enabled outside the toggle), sidebar drag onto the More button / the More page / through the open pane's dismiss layer, tile drag onto the sidebar and reorder, Escape, right-click menus, selection, badges and the More dot, the empty-state card (including toggling extensions while open), drop markers, edge auto-scroll, navigation coalescing.
Updated the Agent Skills, Drivers, Git Repositories and Xcode sidebar tests: a newly enabled extension now lands on the More page, so they pin it before checking the hidden-order round trip.
Related test classes and the language tests pass locally; both dotnet format gates pass.
Win-x64-NativeAot publish: no trim/AOT warnings from UniGetUI code; the published exe starts and the sidebar loads.
Not covered
macOS: the View menu entry and XcodeTests only run on macOS; the pin-at-a-position path they rely on is covered cross-platform.
New strings are English only until the next translation pass.
The sidebar grows with every extension, so the More flyout becomes a
More page. It shows the package and extension pages the user moved off
the sidebar as tiles, the former menu's tools (logs, operation history,
manager health, release notes, help, about) as fixed tiles, and a footer
with the version, Check for updates and Quit.
Pages move between the sidebar and the More page by dragging (onto the
More button, onto the open More page, or a tile onto the sidebar, with
an insertion marker and edge auto-scroll) or from a right-click menu,
which also makes moving reachable from the keyboard. Tiles reorder by
dragging. Settings and Package Managers stay pinned.
Placement is stored in NavigationMorePages next to the existing
NavigationPageOrder, so a user who never moves anything keeps the exact
sidebar they had. Extension pages that have ever been on are recorded in
NavigationKnownPages: the first time an extension is turned on, however
it happens, its page lands on the More page; turning one off and on
again returns it to where it was. The list is initialised from the
extensions already on, so existing sidebars are untouched. Reset clears
the order and the More page, bringing every known page back.
The More button stays selected on every page it leads to and opens the
page again when clicked there; it takes the Ctrl/Cmd+number after the
sidebar pages and is listed in the macOS View menu. Badges show on the
tiles, and the More button shows a dot while a moved page has one. Two
requests for the same page while one is waiting on a leave guard now
share a single navigation (keyed on history mode, honouring each
caller's cancellation), so clicking More cannot show the unsaved
changes dialog twice.
An empty More page shows one card instead of an empty section: it names
the extensions that are off with a Browse extensions button, or only
explains moving pages once every extension is on. It follows extensions
being turned on and off while open.
The icon rail hides its scrollbar (still scrollable): at 64 px it
covered the update badge.
Page titles move to a shared PageTitles helper used by the page
announcements, the macOS menu and the More page.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Navigation coalescing still mishandles interleaved requests and caller cancellation, while drag-and-drop can target an invisible sidebar or fail to start on horizontal movement.
Replaces the More flyout with a dedicated page, letting users choose which package and extension pages remain in UniGetUI’s sidebar while preserving existing layouts.
Changes:
Adds page and tool tiles, badges, an extension-aware empty state, and update/quit controls.
Supports moving and reordering pages through drag-and-drop and context menus, with persisted placement and reset behavior.
Navigation coalescing kept a single in-flight slot, so More, then
Updates, then More while a leave guard was pending started a second More
navigation that could show the guard again. Pending navigations are now
kept per (page, history mode) until each finishes.
The shared navigation also ran on the first caller's token, so cancelling
that caller cancelled every caller joined to it. It now runs on its own
token: each caller's token only ends that caller's wait, the shared
navigation is cancelled once every caller has given up, and an abandoned
entry is dropped so a new request starts fresh.
Drop-target hit testing walked hit-test-disabled visuals. The closed
overlay pane stays laid out at opacity 0 with IsHitTestVisible false over
the left of the content, so a tile dragged over that area could be pinned
to the invisible sidebar. Visuals that ignore the pointer are now skipped.
A sidebar drag started only on vertical movement, so a straight
horizontal drag onto the More page released as a click and navigated.
It now starts when either axis crosses the threshold, like tile drags.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since the shared navigation runs on its own token, a first caller whose
token was already cancelled still started it. With the navigation
semaphore free and no asynchronous leave guard, NavigateGuardedAsync then
changed the page and history synchronously before the caller's wait
observed the cancellation. Before coalescing, the semaphore wait threw on
that token first. The coalescer now checks the caller's token before
joining or starting anything.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
A quick move-and-release can undo tile reordering before it is persisted, and the version label can overlap the update button at narrow supported window sizes.
At narrow supported sizes, such as an 800 px window with the 250 px docked sidebar, the two Auto columns leave little space for the version label. This horizontal StackPanel measures its children with unlimited width, so TextWrapping="Wrap" never takes effect and the version text extends underneath the update button. Constrain the text with an Auto,* Grid so it wraps within its allocated column.
A quick move-and-release can undo a tile reorder: Children.Move changes the collection before layout updates the tiles' bounds (Avalonia panel implementation). If release arrives before the next arrange, its second UpdateDrag hit-tests stale bounds and can move the tile back, leaving nothing to persist. Refresh layout before hit-testing, and add a move/release test without an intervening UpdateLayout.
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
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.
Summary
The sidebar grows with every extension, so the More flyout becomes a More page, and users choose which pages stay in the navigation menu and which move to it.
More page
Moving pages
Behaviour
NavigationMorePagessetting next toNavigationPageOrder, and an unset value means "everything in the sidebar".NavigationKnownPages, initialised from the extensions already on. The first time an extension is turned on (however it happens) its page lands on the More page; turning one off and on again returns it to where it was.PageTitleshelper (announcements, macOS menu, More page).Testing
MorePageTests(headless): storage and reset, extension placement (first enable, re-enable, reset, enabled outside the toggle), sidebar drag onto the More button / the More page / through the open pane's dismiss layer, tile drag onto the sidebar and reorder, Escape, right-click menus, selection, badges and the More dot, the empty-state card (including toggling extensions while open), drop markers, edge auto-scroll, navigation coalescing.dotnet formatgates pass.Win-x64-NativeAotpublish: no trim/AOT warnings from UniGetUI code; the published exe starts and the sidebar loads.Not covered
XcodeTestsonly run on macOS; the pin-at-a-position path they rely on is covered cross-platform.