Edit:

Since theres been some confusion with dates

In 2016 github made site side searching login only and hid the search bar if you werent logged in. This didnt include searching within a repository so that could still be done, just not all repositories

This year was the change being referred to in this link which made repository level searching require logging in

Blog post: https://github.blog/changelog/2023-06-07-code-search-now-requires-login/

  • Phen@lemmy.eco.br
    link
    fedilink
    arrow-up
    2
    arrow-down
    2
    ·
    11 months ago

    I used the one on the top right, the same I always used for PRs, issues and stuff like that. It doesn’t search file contents for me.

    • Kuinox@lemmy.world
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      11 months ago

      I mean what view do you even get in this case ?
      The code tab, shows… code ?

      • Phen@lemmy.eco.br
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        Tbf I’m just replying from memory, as I’m on vacation this month and I didn’t bring my pc with me, but:

        I just get a list of repos when searching globally or the regular issue/pr list view when searching inside a repo.

        I have never seen the view in that screenshot. Has it been there for a long time?

        • Kuinox@lemmy.world
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          11 months ago

          If you used the top search bar, there was always this tab selection.
          The looks changed a few month ago, but the featureset was visually the same.