Fix split layout resize and replace selection highlight
Details
Resize: Changed ColumnDefinitions from star (*) to Auto sizing for
both panes. Star columns have implicit minimum widths from content,
preventing the left pane from shrinking below ~50%. Both panes now
get explicit programmatic widths set in ApplyDetailPanelRatio() and
OnPanelResizeMoved(), allowing true 25%-75% range.
Selection: Stripped the default ThemeSelectedBrush lavender highlight
on ListBoxItem. Selected items now use ThemeHoverBrush background
with a subtle drop shadow on the .item-card border instead.
Delete wiki pages from GitHub at trash time, not permanent delete
Details
The remote delete was only wired into DeletePagePermanentlyAsync
(permanent delete from trash view), but the user expects the file
to be removed from GitHub when they trash the page. Additionally,
SyncAsync restores trashed wiki pages that still exist in the repo,
so the page would reappear on next sync.
Move the GitHub delete call to both TrashPageAsync and
TrashPageFromTreeAsync — the two entry points for trashing a page.
Update confirmation dialogs for wiki pages to say "Delete from Wiki"
and mention GitHub removal. Keep the remote delete in
DeletePagePermanentlyAsync as a fallback for pages trashed before
this change.
Detail panel: percentage-based sizing with persistence
Details
The list/detail split panel now defaults to 50/50 and can be resized
between 25% and 75% of the available width. The ratio is persisted via
plugin settings so it survives navigation and app restart.
- ViewModel: add DetailPanelRatio property (0.25–0.75, default 0.5),
loaded from settings on construction, saved on resize release
- AXAML: remove fixed Width/MinWidth/MaxWidth from ListDetailPanel,
add SizeChanged handler on split grid
- Code-behind: OnSplitGridSizeChanged applies the ratio whenever the
grid resizes (window resize, etc). Resize drag clamps to 25%–75%
of available width and persists the new ratio on release.
Fix wiki page selection lost after visiting trash view
Details
When entering the trash view, the TreeView is hidden via IsVisible
binding. Avalonia clears SelectedItem on hidden TreeViews, which
nulled SelectedNode and lost the user's page context. On returning
from trash, no page was selected in the tree.
Fix: stash SelectedNode before entering trash, suppress the null
selection change while trash is showing, and restore the stashed
selection when leaving trash via FindNodeById.
Replace "Push to Wiki" text button with composite sync icon
Details
Swap the text-heavy "Push to Wiki" button for a compact icon-only
button that layers the GitHub octocat logo inside circular sync
arrows. Tooltip reads "Sync to GitHub Wiki". Matches the visual
language of the sync button in the Wiki Sources overlay.
Get notified about new releases