Drop Down List added to the CVS Commit Dialog

We are trying to implement a Rally integration into the commit dialog where the user would select their User story or Defect from a drop down in the commit dialog. We already the all the Rally API call working. We are struggling on how to get the drop down list added to the commit dialog.

We can get an action (button) to show here by doing the following

<actions>
<!-- The Text is what displays in the hover and the Description is what show in the status bar at bottom of page -->
<action id="com.xxx.RallyAction" class="com.xxx.RallyAction" text="Rally Lookup" description="Rally Lookup" popup="true">
<add-to-group group-id="Vcs.MessageActionGroup" anchor="first"/>
</action>
</actions>

But how do we get a drop down to show there? Is that even possible?

Thanks for all the help

1 comment
Comment actions Permalink

Please check `com.intellij.openapi.actionSystem.ex.CustomComponentAction` and its implementations (i.e. `com.intellij.openapi.actionSystem.ex.ComboBoxAction`).

 

Also please note, that we have plans to make this commit message toolbar vertical. This way "wide dropdown" won't suit the UI. Probably you could utilize same approach as "Commit Message History" action - ordinary action showing popup with recent commit messages?

 

Could you describe your use case in more details? Why don't you just put "issue id" in commit message and utilize "Version Control" -> "Issue Navigation" settings to convert it to hyperlink?

0

Please sign in to leave a comment.