Skip to content

Commit

Permalink
JHP-91: Dashboards can use either a git branch or git tag.
Browse files Browse the repository at this point in the history
  • Loading branch information
andylassiter committed May 29, 2024
1 parent 6bdd6ae commit 1988c50
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- [JHP-89]: Changed the action labels to `Start Jupyter Notebook` and `Start Jupyter Dashboard` for clarity and
consistency as the batch launch plugin is already contains a 'Processing Dashboard' action.
- [JHP-91]: The 'New / Update Dashboard' modal in the plugin settings accepts both git branches and tags in the 'Branch'
field. The field label and description have been updated to reflect this ability.

### Fixed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -306,10 +306,10 @@ XNAT.plugin.jupyterhub.dashboards.frameworks = getObject(XNAT.plugin.jupyterhub.
spawn('div.clear')
]),
spawn('div.panel-element.file-source.git|data-name=git-repo-branch', [
spawn('label.element-label|for=git-repo-branch', 'Branch'),
spawn('label.element-label|for=git-repo-branch', 'Branch / Tag'),
spawn('div.element-wrapper', [
spawn(`input#git-repo-branch|type=text`, { value: gitRepoBranch }),
spawn('div.description', 'Enter the branch containing the dashboard code.')
spawn('div.description', 'Enter the branch or tag containing the dashboard code.')
]),
spawn('div.clear')
]),
Expand Down

0 comments on commit 1988c50

Please sign in to comment.