-
Notifications
You must be signed in to change notification settings - Fork 50
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
Fixed(Search-Filter): Connect Search Filter and endpoint request #2211
Conversation
Hi @Rassl, Please review this PR. |
Hi @Rassl, Please review this PR. |
…/sphinx-nav-fiber into Connect-Search-Filter
Hi @Rassl, @tomsmith8, Please merge this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -301,7 +301,10 @@ export const useDataStore = create<DataStore>()( | |||
fetchData() | |||
}, | |||
resetDataNew: () => null, | |||
setFilters: (filters: FilterParams) => set((state) => ({ filters: { ...state.filters, ...filters, page: 0 } })), | |||
setFilters: (filters: Partial<FilterParams>) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Rassl, I believe you might have missed this part of the code. Could you please review it again? Everything is working well on my side now. Please see the demo:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Rassl, could you please scroll down a bit and take a look at the code above?
Problem:
When a user confirms the filter, these should be used in the /graph/search request
node_type
limit
top_node_count
depth
closes: #2180
Issue ticket number and link: