Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Import of decomposed production items now has a brief timeout in case another deploy is in progress (#949)
- Option to view an individual file's history in the source control menu (#960)
- Change context menu now lists IPM packages from all Git-enabled namespaces, prefixed with the namespace name (#952)
- Pull event handler option in settings page now displays user-friendly names for options (#908)

### Fixed
- Changes to % routines mapped to the current namespace may now be added to source control and committed (#944)
Expand Down
9 changes: 8 additions & 1 deletion csp/gitprojectsettings.csp
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,15 @@ body {
set rs = ##class(%Dictionary.ClassDefinition).SubclassOfFunc("SourceControl.Git.PullEventHandler")
while rs.%Next() {
set subclass = rs.%GetData(1)
try {
set name = $parameter(subclass,"NAME")
set title = $PIECE(subclass, ".", *-0) _ ": " _ $parameter(subclass,"DESCRIPTION")
} catch err {
// in the unlikely case of an error, fall back to class name
set name = subclass, title = ""
}
// create option with subclass, set selected if subclass == current pullEventClass
&html<<option value=#(subclass)# #($CASE(subclass, settings.pullEventClass: "selected", :""))#>#($PIECE(subclass, ".", *-0))# </option>>
&html<<option title="#(..EscapeHTML(title))#" value=#(subclass)# #($CASE(subclass, settings.pullEventClass: "selected", :""))#>#(..EscapeHTML(name))# </option>>
}
</server>
</select>
Expand Down
Loading