New commit details page (public beta) feedback #139005
Replies: 448 comments 536 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.
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.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Not having a "Show all hidden content" button pretty much makes this commit view page UNTRUSTABLE. Like, I am seeing some sort of overview of the commit? I want to see every change, period. I don't want to rely on whatever algorithm you're using to hide stuff from me when I might be looking for a bug. Not having this button almost means the entire Github platform is now unusable if I can't even look at a commit anymore. The whole commit. |
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.
-
I don't like the file browser. I often want more than one file open at a time and too many times I go to right-click a file and I can't. Then I have go scroll to the top, click the repo's title, and sleuth through the code. Or open a duplicate tab. Both are more work than I want to do and/or would expect to be able to do with being able to right-click -> Open in New Tab. Just my $.02 cents. |
Beta Was this translation helpful? Give feedback.
-
The latest update seems to introduce a lot of CR/LF which are not visible, but noticeable on copy paste when in diff mode. It shows the sam If a section of code is then copy-pasted two new lines are inserted after every line. This is a new regression. The previous release conversely did "chew" empty lines, before that though it used to work and outside the beta it works fine too. So definitely an issue. |
Beta Was this translation helpful? Give feedback.
-
This isn't a new issue at all, rather one that's been around for years, but I've confirmed it remains an issue on the preview. If you're taking feedback on the page, I'll take the chance: Your diff views slow to a crawl, sometimes becoming completely unusable, for very large diffs (5000+ files with a dozen or so changes each), even in Chrome on a powerful desktop PC. It seems like you've run into this problem in the past and attempted to fix it by simply putting a hard cap on how many files the page will ever attempt to display. However, I'm pretty sure that since you've continued to add features to the page, it has slowed down enough that that hard cap is no longer sufficient. Rather than cap the number of files displayed at all (which is horrible in its own right), you should make a serious effort to optimize the page's rendering correctly so that it doesn't attempt to render file diffs that are not in view at all. This isn't trivial but it's an essential optimization for any web application handling huge amounts of data like this, and honestly it's very surprising you haven't managed it yet (or managed it correctly at least). |
Beta Was this translation helpful? Give feedback.
This comment was marked as spam.
This comment was marked as spam.
-
Hi. I cant find any review button on mobile. I'm using a Samsung Galaxy S21FE and lots of things on this new layout bleed off the screen or look jumbled |
Beta Was this translation helpful? Give feedback.
-
Why if I want to make use of my account or to receive ton key I can receive what is going on |
Beta Was this translation helpful? Give feedback.
-
Hello, I was working on the readability assignment and it counted all my answers wrong because I put 'Grade:' instead of 'Grade'. Is it only going to be checked by a bot? |
Beta Was this translation helpful? Give feedback.
-
Hi |
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