-
Notifications
You must be signed in to change notification settings - Fork 58
add knowledge sort #372
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
add knowledge sort #372
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
||||||||||||||
PR Type
Enhancement
Description
Add sorting functionality to knowledge base search
Implement sort field input and direction controls
Update search parameters to include sort options
Refactor advanced search UI layout
Diagram Walkthrough
File Walkthrough
_knowledgebase.scss
Add responsive styling for search operatorssrc/lib/scss/custom/pages/_knowledgebase.scss
.operator-containerstyling with responsive layout.operator-itemand.operator-titlestylingadvanced-search.svelte
Implement sort controls in advanced searchsrc/routes/page/knowledge-base/common/search/advanced-search.svelte
sortOrderandsortFieldexport propertiessortDirectionsarray with ASC/DESC options+page.svelte
Integrate sorting into document knowledge pagesrc/routes/page/knowledge-base/documents/+page.svelte
sortField,sortOrder,innerSort)buildSearchSortfunction+page.svelte
Integrate sorting into Q&A knowledge pagesrc/routes/page/knowledge-base/question-answer/+page.svelte
buildSearchSortfunctionknowledgeTypes.js
Add TypeScript definitions for sortingsrc/lib/helpers/types/knowledgeTypes.js
VectorSorttypedef with field and order propertiesKnowledgeFilterto include optionalorder_byparameter