forgejo-federation/templates/shared
Shiny Nematoda 928f188689 fix(code search): various ui/ux improvements raised by user research (#4332)
various improvements from [user research](https://codeberg.org/forgejo/user-research/src/branch/main/interviews/2024-06/issues%28search%2Cfeatures%29%2Cselfhosting%2CCI%2Caccessibility%2Ccodesearch.md)

- filenames are links to the respective files
  fixes: `fold menu: user clicked and expected to view file, instead the file collapsed`

- refactor(searchfile.tmpl): ordered lists with lines grouped together instead of table
  fixes: `multiple matches per file are "merged", only visible in the code lines (no visual separation)`

- feat: display fuzzy as "Either" when using git-grep which is much more accurate than "fuzzy"
  git-grep does not support fuzzy searching, in this context selecting fuzzy searching worked similar to an OR of white space separated keywords
  fixes: `typo doesn't bring results in fuzzy search`

---

<details>
<summary>Before</summary>

![1](https://codeberg.org/attachments/5173357f-8dce-470c-9a9e-84a30517c216)
</details>

<details>
<summary>After</summary>

![after](https://codeberg.org/attachments/f8ec15dd-08ce-41f2-9326-d823de6f2395)
</details>

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4332
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
Co-committed-by: Shiny Nematoda <snematoda.751k2@aleeas.com>
2024-07-10 05:25:32 +00:00
..
actions Optimize runner-tags layout to enhance visual experience (#31258) 2024-06-09 16:04:57 +02:00
search fix(code search): various ui/ux improvements raised by user research (#4332) 2024-07-10 05:25:32 +00:00
secrets Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
user Better logic for showing user feed/public activity elements (#4189) 2024-06-24 08:19:11 +00:00
variables Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
webhook Change webhook-type in create-view (#29114) 2024-02-17 23:24:30 +01:00
blocked_users_list.tmpl templates: Safe & Escape no longer exist 2024-02-26 22:30:27 +01:00
combomarkdowneditor.tmpl Remove tab key handling in markdown editor, add toolbar buttons instead, re #4072 #4142 (#4263) 2024-06-30 13:03:32 +00:00
issueicon.tmpl Performance improvements for pull request list page (#29900) 2024-03-26 19:04:26 +01:00
issuelist.tmpl Fix long branch name overflows (https://github.com/go-gitea/gitea/pull/30345) 2024-05-24 22:11:37 +05:00
label_filter.tmpl add label filters in org/{org_name}/issues 2024-04-04 17:57:11 +05:30
repo_search.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
searchbottom.tmpl Migrate margin and padding helpers to tailwind (#30043) 2024-03-30 07:17:29 +01:00
searchfile.tmpl fix(code search): various ui/ux improvements raised by user research (#4332) 2024-07-10 05:25:32 +00:00