Skip to content

Add option to auto-switch to sibling directory on navigation boundary#2298

Merged
d2phap merged 3 commits into
d2phap:developfrom
ThingOfNull:feature/auto-switch-sibling-directory
Apr 15, 2026
Merged

Add option to auto-switch to sibling directory on navigation boundary#2298
d2phap merged 3 commits into
d2phap:developfrom
ThingOfNull:feature/auto-switch-sibling-directory

Conversation

@ThingOfNull
Copy link
Copy Markdown
Contributor

Currently, when reaching the last or first image in a directory, navigation either stops or loops back.
This PR adds a new optional setting EnableAutoSwitchSiblingDir (default off) that automatically switches to the next or previous sibling directory, allowing seamless browsing across folders.

When switching, a toast message is displayed showing the target folder name.
Navigating backward lands on the last image of the previous directory.
Sibling directories that contain no supported image files are skipped.

Chinese Simplified translations are also included.

@d2phap
Copy link
Copy Markdown
Owner

d2phap commented Apr 9, 2026

Hi @ThingOfNull, thanks for your contribution!
Please read and confirm that you agree to the ImageGlass Contributor License Agreement (CLA) by quoting this comment and reply "I confirm that I agree to the ImageGlass Contributor License Agreement (CLA)"

@ThingOfNull
Copy link
Copy Markdown
Contributor Author

Hi @ThingOfNull, thanks for your contribution! Please read and confirm that you agree to the ImageGlass Contributor License Agreement (CLA) by quoting this comment and reply "I confirm that I agree to the ImageGlass Contributor License Agreement (CLA)"

I confirm that I agree to the ImageGlass Contributor License Agreement (CLA)

@ThingOfNull
Copy link
Copy Markdown
Contributor Author

Thanks for the review! Looking forward to seeing this merged.

Copy link
Copy Markdown
Owner

@d2phap d2phap left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @ThingOfNull!

@d2phap d2phap merged commit 9c2dec6 into d2phap:develop Apr 15, 2026
@d2phap d2phap added this to the v9.5 milestone Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants