mirror of https://github.com/go-gitea/gitea.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Backport #33538 by @lunny Fix #33522 The suggestion backend logic now is - If the keyword is empty, returned the latest 5 issues/prs with index desc order - If the keyword is digital, find all issues/prs which `index` has a prefix with that, with index asc order - If the keyword is non-digital or if the queried records less than 5, searching issues/prs title with a `like`, with index desc order ## Empty keyword <img width="310" alt="image" src="https://github.com/user-attachments/assets/1912c634-0d98-4eeb-8542-d54240901f77" /> ## Digital <img width="479" alt="image" src="https://github.com/user-attachments/assets/0356a936-7110-4a24-b21e-7400201bf9b8" /> ## Digital and title contains the digital <img width="363" alt="image" src="https://github.com/user-attachments/assets/6e12f908-28fe-48de-8ccc-09cbeab024d4" /> ## non-Digital <img width="435" alt="image" src="https://github.com/user-attachments/assets/2722bb53-baa2-4d67-a224-522a65f73856" /> <img width="477" alt="image" src="https://github.com/user-attachments/assets/06708dd9-80d1-4a88-b32b-d29072dd1ba6" /> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
2 weeks ago | |
---|---|---|
.. | ||
actions | 3 weeks ago | |
agit | 3 months ago | |
asymkey | 11 months ago | |
attachment | 4 months ago | |
auth | 2 months ago | |
automerge | 4 months ago | |
context | 1 month ago | |
contexttest | 10 months ago | |
convert | 1 month ago | |
cron | 2 months ago | |
doctor | 3 months ago | |
externalaccount | 7 months ago | |
feed | 2 months ago | |
forms | 2 weeks ago | |
gitdiff | 2 months ago | |
indexer | 10 months ago | |
issue | 2 weeks ago | |
lfs | 3 weeks ago | |
mailer | 2 months ago | |
markup | 3 months ago | |
migrations | 2 months ago | |
mirror | 1 month ago | |
notify | 4 months ago | |
oauth2_provider | 3 months ago | |
org | 2 months ago | |
packages | 4 weeks ago | |
projects | 2 weeks ago | |
pull | 2 months ago | |
release | 2 months ago | |
repository | 4 weeks ago | |
secrets | 1 year ago | |
task | 9 months ago | |
uinotification | 1 year ago | |
user | 3 months ago | |
webhook | 2 weeks ago | |
webtheme | 10 months ago | |
wiki | 6 months ago |