Skip to content

Disable skipping if only one snapshot left #2174

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 13, 2025
Merged

Disable skipping if only one snapshot left #2174

merged 4 commits into from
Aug 13, 2025

Conversation

hadley
Copy link
Member

@hadley hadley commented Aug 5, 2025

Fixes #2025

@hadley hadley requested a review from jennybc August 5, 2025 19:09
@hadley
Copy link
Member Author

hadley commented Aug 9, 2025

Need variant for single file case: no file select drop down, no skip.

Now we have snapshot_reject() also need a reject button.

@hadley
Copy link
Member Author

hadley commented Aug 11, 2025

@jennybc can you please take another look? Now that we both understand where the problem is, I think this solution should be much more compelling 😄

Copy link
Member

@jennybc jennybc left a comment

Choose a reason for hiding this comment

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

This works well for me now.

Through the process of reviewing/discussing this, I've also refined my mental model around what's actually going on during snapshot review. It has helped me to realize that the app's buttons really are just a way to present choices around "what are we going to do about _snaps/xyz.new.md?".

@hadley
Copy link
Member Author

hadley commented Aug 13, 2025

That's great to hear. It also helped my mental model, especially adding the reject button.

@hadley hadley merged commit 0b896ac into main Aug 13, 2025
11 checks passed
@hadley hadley deleted the snapshot-skip branch August 13, 2025 14:32
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.

Is "Skip" in the snapshot review app broken?
2 participants