-
Notifications
You must be signed in to change notification settings - Fork 2
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
Rework search Page Resources: Filter based on values from shape 3 #102
Conversation
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
- in order to fetch ontologies and shacl shapes already when the app has started. - a useSchemas hook was crated inorder to simplify the refactoring in case the context is not the right place to fetch the data. Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
16f30ff
to
aac4428
Compare
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
5c891ff
to
e0218d2
Compare
Signed-off-by: Zoltan Magyari <[email protected]>
in order to run jest tests. Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
remove unnecessary quotes from props Signed-off-by: Zoltan Magyari <[email protected]>
remove unnecessary quotes from props Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
Signed-off-by: Zoltan Magyari <[email protected]>
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.
github action looks good, approved
Signed-off-by: Zoltan Magyari <[email protected]>
By refactoring the cypher query there is no more need for data mapper. Signed-off-by: Zoltan Magyari <[email protected]>
- select format asset (Unreal DataSmith) - select type asset that disables the format asset (HdMap) - deselect the same type asset (HdMap) - the resources selected by the (Unreal DataSmith) won't appear even though the filter is selected Signed-off-by: Zoltan Magyari <[email protected]>
74f90f6
to
229df53
Compare
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.
Would the integration of eslint make sense here? Or redundant, because it is already tested during the commit in the ide?
And do you think npm caching would be useful?
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.
Maybe. Please create a Task. Write those two things in it and assign it to @robertschubert. Move the task into backlog.
Task: Rework search Page Resources: Filter based on values from shape
Description
Required
DataResource
node via thecopyrightOwnedBy
property.)Filtering business logic
Full description
type
filter assets are calculated from the ontologies and shacl shapes.type
filters are set based on the available resources.format
assets are also calculated from the ontologies and shacl shapes.format
filter assets are calculated from the available resources after thetype
filters have been applied.vedors
filter assets are calculated from the fetched resources.vendor
filter assets is dependent on the available resources after thetype
andformat
filters have been applied to the fetched resources.Other things solved
useSchemas
loadResources
methoduseResourceFilter
hookuseReduces
in order to minimize the rerenderings. (AuseThunkReducer
was also created in order to support dispatching of thunks)