如何从GitHub存储库中的搜索返回到项目页面?

huangapple go评论54阅读模式
英文:

How do I navigate back to the project page from a search in a repo on Github?

问题

你好,以下是翻译好的部分:

For example, given I am searching within a repository:

例如,假设我正在搜索一个存储库:

How do I navigate to its project page? (the one at: https://github.com/castwide/solargraph )

我怎样导航到它的项目页面?(即:https://github.com/castwide/solargraph 上的页面)

I.e. can I click somewhere or press a key to navigate to the project page?

也就是说,我是否可以点击某处或按下某个键来导航到项目页面?

I discovered I can delete the characters of my search query and search again but that sounds more like a workaround or hack instead of intended UX.

我发现我可以删除搜索查询中的字符然后再次搜索,但这听起来更像是一种解决方法或技巧,而不是预期的用户体验。

英文:

For example, given I am searching within a repository:

https://github.com/search?q=repo%3Acastwide%2Fsolargraph+formatter&type=code

How do I navigate to its project page? (the one at: https://github.com/castwide/solargraph )

I.e. can I click somewhere or press a key to navigate to the project page?

I discovered I can delete the characters of my search query and search again but that sounds more like a workaround or hack instead of intended UX.

答案1

得分: 1

这段文字的中文翻译如下:

这段时间我也感到困惑,但从搜索界面返回项目有一种方法。只是不太明显,我觉得这是一种相当糟糕的用户界面设计,就我个人而言。

在搜索结果的顶部,在检索到的文件数量之后,会显示项目名称。如果您点击这个项目名称,它将带您回到项目页面。如果像这个示例中一样,您已经滚动了超过200个结果,并且现在它已经不在页面上,那就是我找到的唯一方法。

英文:

This had me confused for a while as well, but there is a way back to the project from the search interface. It's just not very obvious and a pretty poor piece of UI design in my humble opinion.

At the top of the search results, just after the number of files retrieved the project name is shown, if you click this is will take you back to the project - not much use if, as in this example, you have scrolled through 200+ results and it's now off the page but that's the only way I have found:

如何从GitHub存储库中的搜索返回到项目页面?

huangapple
  • 本文由 发表于 2023年6月8日 15:42:13
  • 转载请务必保留本文链接:https://go.coder-hub.com/76429635.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定