Allow the preview display position to be set to either the left or right side#57
Merged
Slowhand0309 merged 2 commits intodevelopfrom Aug 27, 2025
Merged
Allow the preview display position to be set to either the left or right side#57Slowhand0309 merged 2 commits intodevelopfrom
Slowhand0309 merged 2 commits intodevelopfrom
Conversation
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 introduces a new user preference for controlling the position of the preview panel (left or right side of the main window), and updates the preview logic to respect this setting. The most important changes are grouped below:
Issue: #56
User Preference Addition:
PreviewSideenum and a corresponding@AppStorageproperty to persist the user's choice for preview panel position (leftorright). The setting is surfaced in theGeneralViewas a menu picker for "Preview position".Preview Panel Logic Updates:
ContentViewto read the preview side preference and pass it to the preview logic when showing an item. [1] [2]SlidePanelPreview.showto accept thesideparameter and forward it to the positioning logic.positionPanelBesideAnchorto position the preview panel on either the left or right of the anchor window, respecting screen bounds and the user’s preference.