icaruseu / mom-ca

Monasterium.net (http://www.monasterium.net/mom) - repository and collaborative archive
https://github.com/icaruseu/mom-ca/wiki
GNU General Public License v3.0
17 stars 11 forks source link

SKOS-editor should be accessed from the saved-vocabularies page #1072

Closed NTsch closed 1 year ago

NTsch commented 2 years ago

The SKOS-editor is currently accessed from the MyArchives page. Accessing it from the saved-vocabularies page would make it more obvious to the user that it is the personal copy that is being edited.

GVogeler commented 2 years ago

If I see this correctly, currently the user can only access the IllUrk-Vocabulary via the "SKOS-Editor" menu in https://www.monasterium.net/mom/my-archive. This is not expected behaviour.

GVogeler commented 2 years ago

Probably, replacing https://github.com/icaruseu/mom-ca/blob/master/my/XRX/src/mom/app/skos-editor/widget/skos-editor.widget.xml#L30 with <xrx:expression>doc(concat(metadata:base-collection-path('controlledVocabulary', 'private'), '/', request:get-parameter("skos", ""), '.xml'))</xrx:expression> could make the call dynamic and add a ?skos parameter to the API.

NTsch commented 1 year ago

Closed by acaf665df033aa5bbaf8b5588388ea3a3d49e79b.