cwrc / Islandora-CWRC-Writer

Islandora wrapper for the CWRC-Writer.
https://github.com/cwrc/CWRC-Writer
GNU General Public License v3.0
0 stars 3 forks source link

Associate the CWRC Document Template Content Model with the integrated CWRC-Writer #5

Open ilovan opened 7 years ago

ilovan commented 7 years ago

@jefferya , not sure if this is the right location for this request. We need to make the CWRC documents templates in CWRC editable online with the integrated CWRC-Writer. SHould I assign Andrew to this issue, or is this something you will look into?

Thanks.

jefferya commented 7 years ago

@ilovan @SusanBrown

Can this be expanded upon? Depending on the details and the use case this could be a major change to both cwrc/islandora_cwrc_writer and/or cwrc/islandora_cwrc_documentation modules. The changes are not related to CWRC-Writer and all related to the Drupal/Islandora/Fedora side.

This is entirely on my plate as Andrew doesn't have the Drupal background and as far as I know there are no specs describing the details of the use cases and inner workings.

ilovan commented 7 years ago

The use case would be that we would want the CWRC document templates (http://beta.cwrc.ca/islandora/object/cwrc%3AdocumentTemplateCollection) to be editable by CWRC admins (all of them) and project editors (the templates created for individual projects) within the CWRC interface (in the integrated version of CWRC-Writer). I know that this would mean breaking the 1 on 1 correspondence between the document CModel and CWRC-Writer, but we planned to do this anyway to make the digitalus documents editable online using CWRC-Writer (part of the CANARIE SOW)

jefferya commented 6 years ago

@SusanBrown @ilovan

Should be scoped and planned alongside the annotation work as the annotation and template editing requires substantial changes to the islandora_cwrc_writer and islandora_cwrc_document modules and ideally the work should be done by the same group at the same time.

jefferya commented 6 years ago

Off -the-cuff estimate - 40-80 hours Points to consider: [ ] tear out all code assumptions that templates can't be edited [ ] new template module to support the template cModel [ ] mechanism to prevent editing of the core templates [ ] mechanism to all creating a copy of a core template so a user can edit [ ] disassociate CWRC-Writer code from the cwrc:documentCModel handling code and add to a new module [ ] create config that allow associating CWRC-Writer as a viewer/editor for specific cModels and datastreams (model after image annotation module) [ ] a ability to both the cwrc:documentCmodel and templateCModel to embed the CWRC-Writer viewer/editor module as action tabs

jefferya commented 6 years ago

The following touches on areas of interest for this task: https://github.com/cwrc/islandora_cwrc_writer/blob/7.x/README.md#touchpoints-between-cwrc-writer-javascript-and-islandora-cwrcislandora_cwrc_writer-drupal-module