Open jefferya opened 6 years ago
@ajmacdonald Can we have an estimate on this pls?
@SusanBrown I'm hesitant to guess. I'm not sure it's a good idea for me to tackle this on my own as it involves PHP coding and parts of the Islandora module that I'm not familiar with.
@nikathone Another one we think you could tackle. Consult with @ajmacdonald and @jefferya as needed about specifics of the CWRC-Writer integration module.
The goal: refactor code to set all CWRC-Writer button config in one location. At present, the config is spread across multiple files:
https://github.com/cwrc/islandora_cwrc_document/blob/c9828caf85dec0af6e2e61e1166e6af389319869/islandora_cwrc_document.module#L343-L360
https://github.com/cwrc/Islandora-CWRC-Writer/blob/master/js/islandora_cwrc_writer.js#L23-L26
Message from Andrew - Slack In order to simplify my own testing, I've kept my JS that modifies buttons1 ( https://github.com/cwrc/Islandora-CWRC-Writer/blob/master/js/islandora_cwrc_writer.js#L23-L26 ) but I'm thinking that this should be consolidated at some point