 silverwindandGitHub
|
ee27b94b2c
|
Use vitest globals (#27102)
Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing
the noise in test files.
|
2023-09-27 04:37:13 +00:00 |
|
 
|
ac8d71ff07
|
Refactor branch/tag selector to Vue SFC (#23421)
Follow #23394
There were many bad smells in old code. This PR only moves the code into
Vue SFC, doesn't touch the unrelated logic.
update: after
https://github.com/go-gitea/gitea/pull/23421/commits/5f23218c851e12132f538a404c946bbf6ff38e62
, there should be no usage of the vue-rumtime-compiler anymore
(hopefully), so I think this PR could close #19851
---------
Co-authored-by: Lunny Xiao <[email protected]>
|
2023-03-14 17:51:20 +08:00 |
|
 wxiaoguangandGitHub
|
ea13b23349
|
Escape path for the file list (#22741)
Fix #22740
|
2023-02-04 10:30:55 +00:00 |
|
  
|
37ca4cb7d6
|
Remove vitest globals (#21505)
Explicitly import them instead which is cleaner and enables better
editor integration.
Co-authored-by: Lunny Xiao <[email protected]>
Co-authored-by: wxiaoguang <[email protected]>
|
2022-10-19 14:50:19 +08:00 |
|
  
|
768e16dad1
|
Use weighted algorithm for string matching when finding files in repo (#21370)
This PR is for:
* https://github.com/go-gitea/gitea/issues/20231
Now, when a user searches `word`, they always see `/{word}.txt` before
`/{w}e-g{o}t-{r}esult.{d}at`
Demo:
When searching "a", "a.ext" comes first.
Then when searching "at", the longer matched "template" comes first.
<details>


</details>
This PR also makes the frontend tests could import feature JS files by
introducing `jestSetup.js`
Co-authored-by: delvh <[email protected]>
Co-authored-by: silverwind <[email protected]>
|
2022-10-08 12:22:44 +01:00 |
|