-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
maintenanceMinor updates or code refactoring not impacting current functionsMinor updates or code refactoring not impacting current functionspublishing:sciencebaseIssues relating to publishing to ScienceBaseIssues relating to publishing to ScienceBase
Description
Refactor how ScienceBase user setting are stored in and read from the mdEditor-Json "type": "settings"
object. The publish-options
setting is being refactored (see: #726 ) and existing functions that read ScienceBase user settings will need to be updated.
tasks:
- Update settings schema as described below
- Update existing ScienceBase functions that read user settings
- remove the
rootURI
element from lib/mdeditor-sciencebase/addon/utils/config.js file.
Proposed settings schema:
"publish-options": [
{
"publisher": "ScienceBase",
"publishEndpoint": "url to ScienceBase publishing endpoint (string)",
"sb-defaultParent": "identifier of ScienceBase parent item (string)"
}
]
Metadata
Metadata
Assignees
Labels
maintenanceMinor updates or code refactoring not impacting current functionsMinor updates or code refactoring not impacting current functionspublishing:sciencebaseIssues relating to publishing to ScienceBaseIssues relating to publishing to ScienceBase