New commit details page (public beta) feedback #139005
Replies: 363 comments 472 replies
-
My first reaction to the new page was: What is happening now!?! My second impression was: why is everything 50% bigger, did I Ctrl+Scroll to zoom by accident? And my third was: where are the diff count squares? Also I just found the first bug: when having text selected and trying to extend that selection with shift, that no longer works. Also I was just searching a bit for a commit message because since it is now completely grey, I kinda missed it. |
Beta Was this translation helpful? Give feedback.
-
I personally dislike the new page's design. |
Beta Was this translation helpful? Give feedback.
-
I cant see now how my files have been changed by size, thats not good |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The problem (as mentioned by others), isn't the scaling, the scaling is actually the same as before. The issue is the If this is for accessibility purposes, then it should be it's own feature preview or option that the user can toggle. Another issue that's not mentioned yet is that commits with really long descriptions now have a "Show more" button instead of just showing the full description. If I'm clicking on a commit, I probably want to read the description. Please don't make me click multiple times. The text could also be made brighter and easier to read as it was before. See with this example commit: mpv-player/mpv@d2f3b66 |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Honestly, I liked the old design better. I hope there will be an option to switch between them. |
Beta Was this translation helpful? Give feedback.
-
... I can't right click to copy/paste the code? |
Beta Was this translation helpful? Give feedback.
-
The new design seems to struggle with tab indentation in files. For the sake of completeness I'll mention that the below screenshots are using 4-space tabs in my user settings but the effect in the new design is the same with the default of 8. |
Beta Was this translation helpful? Give feedback.
-
The default-collapsed commit text seems to utterly miss the point of the commit details page. It's also much harder to read – the previous page used #1f2328 on #f1f8ff, which has an excellent contrast of Lc 98.0, but the new page uses #59636e on #fff which works out to only Lc 80.5, which is well below the preliminary APCA Bronze threshold of Lc 90. In conjunction with the smaller font size (was 13px, now 12px), the commit text is now very difficult for me to read. Duplicating the first line of the commit text (once in the big heading, once in the monospace body) seems a bit odd: Lastly, the line-height of the code is uncomfortably large, I really hope you don't intend to use this style across the whole website going forwards. |
Beta Was this translation helpful? Give feedback.
-
When you start writing a comment, the textbox now expands off-screen: so you have to scroll down again to see the button to submit the comment now. If the comment box were not collapsed by default, this would be solved. The page also doesn't seem to have the standard GitHub footer, which doesn't help. On wide screens (and by "wide" I mean "16:9 1440p"), having to mouse all the way over to the right-hand side to add a comment makes it really hard to see which line you're commenting on (unless you want to open the dialog, check the line number on the right (which says "R" for some reason?), pull your eyes back to the left-hand side to check the line number there, and try again if you aimed wrong): And the tooltips on the comment widget buttons ("Heading", "Bold", etc.) appear to have been dropped, which sucks. |
Beta Was this translation helpful? Give feedback.
-
Links to diffs for specific ranges no longer work. The page does not correctly focus the view on the range present in the URL (for example, the URL ending with |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
The file |
Beta Was this translation helpful? Give feedback.
-
Something I found interesting. |
Beta Was this translation helpful? Give feedback.
-
What this brought to light for me is that there are two completely independent "commit detail" pages; I was scratching my head about how to enable this new view until I realized that fact. What I mean is that one could view commit details via these two different URL formats:
The "new commit details page" in this thread applies ONLY to the first URL format, and getting to that URL is "unnatural" for me (and I suspect for a lot of other folks) because it is NOT reachable from within a PR. Indeed, I have never visited a commit via that URL format until today! I think it would be less confusing if there was only one format for the commit details page (even if there are two different URLs to reach it). |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Can you please fix the slow rendering performance when opening commits with large changes. |
Beta Was this translation helpful? Give feedback.
-
File tree must be made collapsable/hideable. On Chrome for Android phone, in portrait orientation the file tree does not appear, which is fine. In landscape rotation, the file tree reappears, making it impossible(?) to avoid the severe line wrapping imposed by the narrow view of the code diffs. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Hi there! GM! I feels like there is still missing some routing since If I want to inspect the build output and debug errors that we encounter during the process, the redirect I am getting contain actually no error and the build write that it's a success. That's strange. I am not experimented with external build but from what I remember vercel have been here for quite a long time. Have a great day! |
Beta Was this translation helpful? Give feedback.
-
In |
Beta Was this translation helpful? Give feedback.
-
Old style comments (right under commented code line) were so much better. You could just scroll through commit and read all comments. Now you have to press comment icon for each one, and it also take 3-4 seconds to load it, which is super annoying. |
Beta Was this translation helpful? Give feedback.
-
Linked post missing: Happened recently. |
Beta Was this translation helpful? Give feedback.
-
Bonjour je demande aide pour lancer la première transaction de ma plateforme ORGANIC AGRO-PASTORALE pi.aider moi aussi a créé le portefeuille SDK pi mainnet pour Ma plateforme ORGANIC AGRO-PASTORALE pi |
Beta Was this translation helpful? Give feedback.
-
I have found an issue in the UI. After using the dropdown from clicking a line, and using "Select All", then clicking a different line, and opening the drop down menu again, the spot that should normally contain the line number for starting a conversation or suggesting a change, instead shows 'undefined'. |
Beta Was this translation helpful? Give feedback.
-
A new version of the commit details page is now available in public beta! This new page, which is enabled by default, lets you quickly understand and navigate the changes in a commit with improvements to filtering, commenting, and keyboard navigation!
What's new 🎉
Here are a few of the noteworthy changes:
up
anddown
keys on your keyboard. A new context menu also makes it easier to comment, copy, and select.To opt out of the preview, go the Feature Preview dialog on your profile, select New Commit Page, and click Disable.
Let us know what you think!
Investigating 🟨
Things we are discussing and investigating internally (and we welcome your feedback on):
Known issues 🔴
#diff-e727e4R4-R7
).
) appears before file name in header above diff.gitattributes
not presented as generated)@
mention menu does not appear when adding/editing inline commentsIn progress 🧡
(updates coming)
Recent fixes and enhancements ✅
Week of September 16:
Copy
menu option not appearing for some users ✅Week of September 23
Screen.Recording.2024-09-26.at.11.34.46.AM.mov
More about compact line height
* Compact line height user setting 🆕: * **What's our plan?** Based on your feedback about the height of diff lines in the new parge, we are adding a user setting under the ⚙️ that you can enable if you want more compact lines. When enabled, the height of diff lines will be `20px` (same as the classic commit details page), otherwise (and by default) they will be `24px`. * **Why a user setting?** It is important that this (and every) page on GitHub is accessible to everyone. [WCAG recommends a minimum of `24x24px` for click targets](https://www.w3.org/WAI/WCAG22/Understanding/target-size-minimum.html) because _some people with physical impairments cannot click small buttons that are close together_. The avatar (which appear when there are comments on a line) and button to add a comment are both important click targets on the line, which is why the default height of the line is 24px. We recognize that some users prefer (and are able to interact with) more compact lines and click targets, which is why we are introducing a user setting.
Beta Was this translation helpful? Give feedback.
All reactions