🚢 New code search and code view feedback #54546
Replies: 485 comments 556 replies
-
Could we please have some feedback from the GitHub team on how this kind of behavior is considered user-friendly? https://github.com/search?q=model%3D%22gpt-4%22&type=code Where exactly is the date when the code was published? Is the intention to have the user do a 4-step process by:
All I am saying is, please - just let us have this feature and consider that GitHub is an open website with a lot of code being shared daily on various new and exciting projects. I refuse to believe that only a few people use the "Recently updated" feature in old search. — EDIT: Someone from the GH team commented on this on [HN ](https://news.ycombinator.com/item?id=35863175#35865231):
|
Beta Was this translation helpful? Give feedback.
-
Is it possible to search code on other branches that the default one ? |
Beta Was this translation helpful? Give feedback.
-
The "default" view for a directory (when you don't have any files clicked) was confusing for like 5 mins as I got used to this. But I figured it out eventually. Otherwise, this is pure awesome-ness 👏 - thanks for this update |
Beta Was this translation helpful? Give feedback.
-
When searching across multiple
|
Beta Was this translation helpful? Give feedback.
-
Having opted into both of these changes during their public betas, I can say I like them in general, and I'm really happy to be able to include special characters in code searches! I would like to see an improvement to the "Show Diff" feature when editing Markdown - previously, removed content was colored red and added content was colored green. I'd guess this wasn't focused on yet. |
Beta Was this translation helpful? Give feedback.
-
For some reason, on Safari on my iPad, if I tap on the sandwich button or a blank area on the navigation bar, it ends up selecting the GitHub logo and going back to the dashboard. |
Beta Was this translation helpful? Give feedback.
-
Any idea when we might see this in GitHub Enterprise? |
Beta Was this translation helpful? Give feedback.
-
Every time I click on a subfolder it will load, this feels slow. I think it's better to load all directories from the beginning so I don't need to wait after every click. |
Beta Was this translation helpful? Give feedback.
-
Can you search for a file and the file contents as well? |
Beta Was this translation helpful? Give feedback.
-
Unable to create new branch. |
Beta Was this translation helpful? Give feedback.
-
Hi! I saw this weird glitch where an extra comma is added in the code view: When looking at the raw code, the comma is not there so it's a visual artifact of the code view. What I tried:
|
Beta Was this translation helpful? Give feedback.
-
Strange 🐛 where a line of python is displaying incorrectly in the new view: (Extra When logged out, it displays correctly |
Beta Was this translation helpful? Give feedback.
-
I no longer enjoy reading my code on Github after this new code search release. Literally everything about it is annoying and distracting. If I want to edit my code, I do it on my computer. Is there a way to revert to the old reader? |
Beta Was this translation helpful? Give feedback.
-
I really like a lot of things about the new code search, so awesome job! I think there could be a better ux for seeing the history of a file. Currently, I can click history and it takes me to another page of all the commits that impacted that file. But if I want to see the state of the file at a point I have to click on that commit which takes me to another page with all the changes (for all files) from that commit. Instead, I would like to be able to see all the commits that impacted a file while looking at that file without changing pages. It would also be nice to select those commits and see the state of that file at the point of that commit. This would make it much easier to actually get a mental picture of the history of that file. Hopefully my description makes sense. Curious if this sounds helpful to others too. |
Beta Was this translation helpful? Give feedback.
-
It would be nice for the README in a directory to be shown above the contents of the directory. |
Beta Was this translation helpful? Give feedback.
-
Viewing file with name |
Beta Was this translation helpful? Give feedback.
-
I need some way to rename / move a binary file. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
[Bug] Repository deep link returned JSON See also: Navigating in this thread is woeful... [Suggestion] In-thread search (searching within single discussion / issue) |
Beta Was this translation helpful? Give feedback.
-
Thanks github. |
Beta Was this translation helpful? Give feedback.
-
thanks github , has restored access to the old search code |
Beta Was this translation helpful? Give feedback.
-
hi i cant found new code search / view to disabled in my Feature preview Thanks |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Files sidebar: Would be nice for an option for hiding when viewing directory but leaving it open for files, that way directories don't have the duplication of information if the user doesn't want that |
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 spam.
This comment was marked as spam.
-
Comments in JSON are commonplace enough to appear in a multitude of repositories. Eg. https://github.com/microsoft/chat-copilot/blob/main/webapi/appsettings.json The error syntax coloring chosen, white-on-red, is garish and distracting. It should be far more subtle or omitted altogether making code more browsable. |
Beta Was this translation helpful? Give feedback.
-
I would love to get the old navigation back or disable this new view. On MacOS Safari, the current interface is frustrating to use. On page load -- I see "blank" code if I scroll down to find the part I'm looking for, and it remains blank for a lengthy period before things jump and scroll around. Scrolling at all frequently results in a blank image. Clicking on a symbol results in a huge delay and then something happens. I took 10 seconds to scroll to the bottom of a 1000 line file and see the contents appear. I don't remember the previous code view having this many issues. The symbol information also takes a long time to appear. |
Beta Was this translation helpful? Give feedback.
-
@milemons I have reported a bug some time ago. Sadly the Discussion UI here isn't able to handle the 1000 comments, so I cannot find it. The Bug basically works like this:
The result is, that the Search UI happily tells you "1 Result" and in the Results Section it tells you "Nothing Found". I've just got bitten by this error again, because the same happens for Repositories: |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
This Discussion has been closed because it's outdated. To provide feedback on code search and code view, please click here.
At GitHub Universe last year, we announced a total redesign of GitHub's code search and navigation experience,
powered by our all-new code search engine that we built from scratch. And in February, we announced our public beta.
Today, we are rolling out this feature to all GitHub users. Thanks to the members of the beta community for your excellent feedback and engagement throughout the beta!
Check out our blog post to learn more about how GitHub's new code search and code view can help you search, navigate, and understand your code. And if you have feedback, please share it with us down below!
Beta Was this translation helpful? Give feedback.
All reactions