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>

</details>
<details>
<summary>After</summary>

</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 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Shiny Nematoda
								
							 
						 | 
						
							
							
							
							
								
							
							
								a67ca43f75
								
							
						 | 
						
							
							
								
								add test
							
							
							
							
							
						 | 
						
							2024-04-13 06:04:00 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Shiny Nematoda
								
							 
						 | 
						
							
							
							
							
								
							
							
								aec787b927
								
							
						 | 
						
							
							
								
								fix code search template
							
							
							
							
							
						 | 
						
							2024-04-11 14:52:37 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									wxiaoguang
								
							 
						 | 
						
							
							
							
							
								
							
							
								1e7a6483b8
								
							
						 | 
						
							
							
								
								Support repo code search without setting up an indexer (#29998)
							
							
							
							
							
							
							
							By using git's ability, end users (especially small instance users) do
not need to enable the indexer, they could also benefit from the code
searching feature.
Fix #29996


---------
Co-authored-by: silverwind <me@silverwind.io> 
							
						 | 
						
							2024-03-28 05:16:51 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Shiny Nematoda
								
							 
						 | 
						
							
							
							
							
								
							
							
								4a061ca26c
								
							
						 | 
						
							
							
								
								simplify template
							
							
							
							
							
						 | 
						
							2024-03-20 12:31:36 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Shiny Nematoda
								
							 
						 | 
						
							
							
							
							
								
							
							
								ed15c92668
								
							
						 | 
						
							
							
								
								fixes for port
							
							
							
							
							
						 | 
						
							2024-03-20 12:31:36 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 | 
					
				
					
						
							
								
								
									 
									Denys Konovalov
								
							 
						 | 
						
							
							
							
							
								
							
							
								847f03b6a6
								
							
						 | 
						
							
							
								
								Unify search boxes (#29530)
							
							
							
							
							
							
							
							Unify all but a few search boxes to use uniform style, uniform
translations and shared templates where possible.
Remove a few duplicated search templates, e. g. code search.
<details><summary>Example after screenshots:</summary>




</details>
Also includes #29700
Co-authored-by: 6543 <6543@obermui.de>
---------
Co-authored-by: 6543 <m.huber@kithara.com>
Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: Giteabot <teabot@gitea.io>
Conflicts:
	routers/web/repo/search.go
	templates/repo/home.tmpl
	templates/repo/search.tmpl
	templates/shared/repo_search.tmpl 
							
						 | 
						
							2024-03-20 12:31:05 +00:00 | 
						
						
							
							
							
							
								
							
							
							
								
							
							
						 |