Feature/perfect match
2 unresolved threads
2 unresolved threads
Description
Added ability to fetch data that matches perfectly the search value
Usage
- After first search, user is able to search for new values with perfect match
- when clicking on switch - no query is triggered. User must click search again. This is original functionality
Things done
- Added switch component
- Added new query param
perfectMatch
Merge request reports
Activity
Filter activity
requested review from @AdrianOrlow and @MateuszBolewski
mentioned in merge request !54 (merged)
1 1 import { PROJECT_ID } from '@/constants'; 2 import { PerfectSearchParams } from '@/types/search'; 2 3 3 4 export const apiPath = { 4 getBioEntityContentsStringWithQuery: (searchQuery: string): string => 5 `projects/${PROJECT_ID}/models/*/bioEntities/:search?query=${searchQuery}&size=1000`, 5 getBioEntityContentsStringWithQuery: ({ 6 searchQuery, 7 isPerfectMatch, 8 }: PerfectSearchParams): string => 9 `projects/${PROJECT_ID}/models/*/bioEntities/:search?query=${searchQuery}&size=1000&perfectMatch=${isPerfectMatch}`, - Resolved by Tadeusz Miesiąc
mentioned in commit 590a3eff
Please register or sign in to reply