Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sort issues #12044

Merged
merged 4 commits into from
May 20, 2024
Merged

chore: sort issues #12044

merged 4 commits into from
May 20, 2024

Conversation

ecmadao
Copy link
Collaborator

@ecmadao ecmadao commented May 20, 2024

  • Sort issues in the frontend

Query in the backend is fuzzy match, but at least we can sort the response and put the full matched issues in the head.

CleanShot 2024-05-20 at 14 31 02@2x

  • Optimize UI for ExprEditor

CleanShot 2024-05-20 at 14 30 00@2x

@RainbowDashy
Copy link
Contributor

orderByClause = "ORDER BY ts_rank(issue.ts_vector, query) DESC, issue.id DESC"

sorted by page rank on the backend

https://github.com/ecmadao/bytebase/blob/d568f67876b71274345c89b487096b6773df44ec/backend/store/issue.go#L448

@d-bytebase d-bytebase merged commit 693e1d1 into bytebase:main May 20, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants