Repository navigation
feat: add front and back arrow to navigate through images in yes/no and rating rounds - #382
Closed
Oyelakin-Mercy wants to merge 1 commit into
Closed
Oyelakin-Mercy wants to merge 1 commit into
Oyelakin-Mercy wants to merge 1 commit into
Conversation
Collaborator
|
Could you help me understand the logic of having two right-arrows? I already see one on the top-right. And there's a third 'skip'. How can we avoid that getting confusing? |
Collaborator
|
Also, please show a screen recording with both the current master and your improvement in action. Make sure to test what happens if people repeatedly move back and forth and vote again. This likely also directly conflicts with some other current PRs such as #492 and we'll have to consider that carefully. |
lgelauff
marked this pull request as draft
June 7, 2026 12:47
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.
Fixes #220
What changed:
How it works:
votedIdsMap tracks voted image IDs and their vote valuecurrentVotecomputed shows the stored vote for the currently displayed imagegoPrev/goNextnavigate through the local image batch without triggering votes or skips:weight="normal"when the image has been previously voted on, which makes the selection visually clear