Skip to content

Add ⏮ First button and ◀ Prev Untagged mode to navigation row#6

Draft
Copilot wants to merge 4 commits intomainfrom
copilot/add-tag-sorting-and-load-hotkeys
Draft

Add ⏮ First button and ◀ Prev Untagged mode to navigation row#6
Copilot wants to merge 4 commits intomainfrom
copilot/add-tag-sorting-and-load-hotkeys

Conversation

Copy link
Contributor

Copilot AI commented Mar 17, 2026

The navigation row lacked a way to jump to the first image, and the "untagged" checkbox only affected the Next button — not Prev.

Navigation row changes

  • New ⏮ First button inserted to the left of ◀ Prev; jumps to index 0
  • ◀ Prev now mirrors the untagged checkbox: when checked, it transforms to ◀ Prev Untagged and navigates backward to the nearest untagged image
  • Left-arrow keyboard shortcut updated to respect the untagged mode (routes through prev_action)

New methods

Method Behaviour
first_image() Sets current_index = 0, shows image
prev_action() Dispatcher — delegates to prev_image() or prev_untagged()
prev_untagged() Iterates backwards from current_index - 1; shows status message if none found

_on_next_mode_changed now toggles both self.prev_btn and self.next_btn labels together. prev_btn was promoted from a local variable to self.prev_btn to allow this.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…ate requirements.txt

Co-authored-by: jad507 <194408899+jad507@users.noreply.github.com>
Copilot AI changed the title [WIP] Add sorting for custom tags and implement load hotkeys button Add tag sorting and "Load Hotkeys from File" to Configure Hotkeys dialog Mar 17, 2026
Copilot AI requested a review from jad507 March 17, 2026 19:56
Co-authored-by: jad507 <194408899+jad507@users.noreply.github.com>
Copilot AI changed the title Add tag sorting and "Load Hotkeys from File" to Configure Hotkeys dialog Fix tests to use pathlib.Path instead of bare strings Mar 17, 2026
Co-authored-by: jad507 <194408899+jad507@users.noreply.github.com>
Copilot AI changed the title Fix tests to use pathlib.Path instead of bare strings Add ⏮ First button and ◀ Prev Untagged mode to navigation row Mar 17, 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