Uploaded image for project: 'Bitbucket Data Center'
  1. Bitbucket Data Center
  2. BSERV-7068

Search broken in browse file pages


    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Steps to reproduce:

      • Go to the source tab in a repo
      • Browse into any file
      • Press CTRL+F [The search bar comes up at the top of the file]
      • Type something that does occur in the file (do NOT press Enter afterwards)
        [Nothing happens]
      • Click down/up arrows on the right side of the search field
        [Nothing happens]

      (All this in any browser.)

      While writing this, I accidentally found out that if I press enter after typing into the search field, search results actually do appear. (Took me almost a month to discover, most search fields on web pages work differently.)

      Clicking the arrows next to the search field (without pressing Enter first) should definitely trigger the search.

      Please also consider search-as-you-type (i.e. every character in the search field triggers the search, maybe only after N(3?) characters). As far as I can see, this would not be too resource-intensive, unless the user is browsing a really huge file.

            Unassigned Unassigned
            a8fb56ff7916 Balázs Szakmáry
            1 Vote for this issue
            2 Start watching this issue