Simpler URL query parameters to support pid resolution (and search?) #372
Labels
No labels
bug
config
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
orinoco/shacl-vue#372
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We want an external system to be able to resolve to a specific record page in
shacl-vue, given the record's PID. Currently it is possible to navigate to a specific record, with a url like:So it has both the nodeshape as well as the pid as query parameters. These two required parameters are baked into the current functioning of shacl-vue's navigation. However, it is AFAIR not a hard technical restriction. One could change navigation to (also) allow only the
pidparameter, andshacl-vuecould then:rdf:typeas predicate, then we can get nodeshape from the objectAs an alternative, a new feature can be built that fully excludes the nodeshape parameter. I need to think through the knock-on effects of this though.
A related feature request that also came up recently was to allow a search string as query parameter. The current
pidparameter is handled as a special case of a search string, while the general case is not currently supported inshacl-vue.I find that https://pool.v0.trr379.de/ui/?sh%3ANodeShape=dlthings%3AThing&pid=oasm-trr379-q01-v3-item4 almost works.
It fills in
trr379-q01-v3-item4into the search field.However, it does not actually trigger a search. I need to manually remove
4and reenter it. Afterwards the corresponding record is shown.