-
Notifications
You must be signed in to change notification settings - Fork 6
3.6 Custom Theme
Starting with the version 2.4.0 the plugin build creates a second zip file with the word "theme" in the name. This zip file can be directly uploaded to RTC to use the theme or if you are already using a custom theme, the file can be extracted and the single JavaScript file can be added anywhere in your current theme zip file.
For more information on custom themes including how to create and upload the zip files see the official instructions from IBM here.
Using this theme will add custom entries in the work item drop-down menu. In the screenshot below you can see the new section "Create Work Item from Git Issue" along with two different work item types (defect and story).
Currently, the theme will only add "Defect from Git Issue" and "Story from Git Issue" to the menu. These menu items will also only show up if the current project area has those work item types.
If you would like, you can customize which work item types are shown in the menu. Simply clone this git repository and edit the visibleWorkItemTypeIds.js file. Add the ids of all the work item types that you want in the menu. Remember, it's ok if the work item type doesn't exist in all project areas, it just wont be added to the menu in those project areas.
Once you have the file setup with all the ids that you would like to add, you will need to build the project. Simply run npm install
followed by npm run build
and you should get a new zip file for both the plugin and the theme. You can then use the theme zip file as stated in the instructions above.
If you have encountered a problem or need any help with the setup please open an issue here on GitHub.