Can we get checkboxes to select commits when reviewing changes? #121086
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question
Body
When reviewing changes, we sometimes want to view the diff from only a subset of the commits in the PR.
![Screenshot at 2024-04-25 12-46-29](https://private-user-images.githubusercontent.com/39047984/325577484-3d1891e5-e9db-4fbf-89e3-1331c56241be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NjAyMjQsIm5iZiI6MTcxOTc1OTkyNCwicGF0aCI6Ii8zOTA0Nzk4NC8zMjU1Nzc0ODQtM2QxODkxZTUtZTlkYi00ZmJmLTg5ZTMtMTMzMWM1NjI0MWJlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE1MDUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVhNGYzYjU2MTA2ZTIxYTczMzM5MmUxM2NiMzNkYWY0M2E4MzFhMDM2OTUwMTUzMTg3NDU1YzYwNTg1MTMxZTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.IsJIMtkxm_6_8Fzwfgjmzl9WOkDGOf8qZ7KPzhr_a9s)
This is possible via the
Changes from: all commits
dropdown menu.While is it easy enough to select a single commit, I find the interface for selecting multiple commits very user-unfriendly.
A suggestion for change: checkboxes.
Each commit in the dropdown menu could have an associated checkbox, all boxes are checked by default.
Selecting multiple commits could be done by clicking the checkboxes.
Selecting a range could be done by clicking the checkbox of the first commit, scrolling down, only then hold shift and click the checkbox of the last commit in the desired range, just like in all filesystem browsers.
You would probably need a small additional button that says "view selected" or something, but the small loss of screen space would be well worth it.
Beta Was this translation helpful? Give feedback.
All reactions