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
feat(advanced search): specify linked resource (DSP-1587) #293
Conversation
…or a linked resource
…or a linked resource
@loicjaouen The best way to test this is using the playground app:
|
@kilchenmann I think I should document the comparison operators somewhere (user docs). |
Yes that would be good |
@gautschr to test this in the playground app, follow these steps: https://dasch-swiss.github.io/dsp-ui-lib/how-to-contribute/#first-steps Then you can access these two pages:
|
@flavens I tested it using the following scenario: Anything:Thing -> another Thing -> matches (Anything:Thing -> Decimal number -> > 0.5) Then I added other props on the top level and also on the linked resource. However, it is important to test it with a different ontology with some actual project data. |
Could it be that https://github.com/dasch-swiss/dsp-ui-lib/blob/b436a310a48a565e01c2511abdfa97252478db7f/docs/how-to-use/search/extended-search.md is outdated? The component is now called advanced search component, also the parameters do not fit. Wouldn't it be good to have an example that fits the screenshot too? |
I'll work on the user docs in DSP-1651 |
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.
It works, thank you! I tested it locally with two different sets of data.
@kilchenmann @subotic The E2E test fails because of an authentication problem:
Any idea what to do about this? |
It seems that someone deleted the repository dasch-swiss/dsp-ci-assets |
fixed in #296 |
i didn't delve into the code but thanks to @tobiasschweizer instruction, was able to run a query on one of our set: request http://theatresdesociete.unil.ch/ : theatrical Representations based on a play by Molière: |
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.
LGTM and as I told you (and André did as well), we should improve the design in a next iteration to make it more intuitive
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.
good to go for this round ;)
resolves DSP-1587
TODOs:
projects/dsp-ui/src/lib/search/advanced-search/select-property/specify-property-value/specify-property-value.component.html
-> 062875c[ ] form should be invalid unless the user specified at least one property on the linked resource-> seems now unnecessary to me since this can behave like EXIST when no props are specified