Skip to content

Commit

Permalink
Merge pull request #18 from jazz-community/fix/detailed-history
Browse files Browse the repository at this point in the history
fix: Detailed History disabled by default. Set version to 2.3.0
  • Loading branch information
dave007700 committed Dec 19, 2022
2 parents a20ecc6 + 7684d01 commit 5c4a36b
Show file tree
Hide file tree
Showing 10 changed files with 4,958 additions and 404 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: npm build

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
- name: npm install and build
id: npm_build
run: |
npm ci
npm run build
env:
CI: true
- name: Upload build result
uses: actions/upload-artifact@v1
with:
name: rtc-statushistory-presentation-${{ github.sha }}
path: ${{ steps.npm_build.outputs.output_file }}
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: GitHub release

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
- name: npm install and build
id: npm_build
run: |
npm ci
npm run build
env:
CI: true
- name: Upload release
uses: actions/upload-release-asset@v1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: https://uploads.github.com/repos/${{ github.repository }}/releases/${{ github.event.release.id }}/assets?name=${{ steps.npm_build.outputs.output_file }}
asset_path: ./${{ steps.npm_build.outputs.output_file }}
asset_name: ${{ steps.npm_build.outputs.output_file }}
asset_content_type: application/zip
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
node_modules
package-lock.json
*.zip
*Bundle.js
jbe-build-wrapper.xml
.jazzignore
deployment-properties.ini
.idea
.idea
.project
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ script:
deploy:
provider: releases
api_key:
secure: i54wiNwLmE4bhxyxJQQOCDxQlgKMJ0LaIHQKRO8qduOwRuY5CFsvrH/AO9y4B6c5t87kzUqLYO3YMlmcSyRmSEP3r0I76j2HNCNCh87CBYcW7WrTMVHBwHc/xblzXA6cZHKGWd/1ilQM92MY0AmGgtByWhiQHQ89P+gf6JOi+t/VNCjOXV3GxK67lo2LAICp71c/cKEZqo51+wpz5hXDCkOyMZJY03LJkQNf8cZFJRaRVGcOPSVjo7lcpfVG0dw1cFPobqnC3tgo28mLqjqGjuviT0OMOLNtD26fIyy2sPwEoC6mn5Tkb8mc9h/BZwXEwUMncEGJ/meemsY1JLYVl/wX96hxqn+50VITbuVm7b+F2ReV1PIG1e/XhXtI1gvRUK+R836yX7Ynzbgg5MZ4Lln+EllQWfVvbVaM9QZy6BL1yXRdpcxdSRLtzberICOpXyRH3GsHzuaxVH0/3eoup3oMnepKkRlpvMFhUUOSmwB9D0GR1z3pvbaiOAg+kGRhWJYLrzd7t5ikl28jgnYgq0svzDjsiJIHA7Xq2iUWl0jUyLSWLYmgzZL1AkDgYfOnVHyT01qongKlehcyo9vJhxUgEvC8oopqCFcYjvCWYNXqaCyx9HBo7j3AUxAV+muHYk7NYvbelMM8m698Z/ijOdMYUTdVJikKbfLAMX4L+j8=
secure: _
file: com.siemens.bt.jazz.rtc.workitemeditor.presentation.statushistory*.zip
file_glob: true
skip_cleanup: true
Expand Down
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2019 Siemens AG
Copyright (c) 2023 Siemens AG

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
SOFTWARE.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![travis-svg][travis-svg]][travis]
![](https://github.com/jazz-community/rtc-statushistory-presentation/workflows/npm%20build/badge.svg)

# Status History Presentation for RTC
Rational Team Concert (RTC) has a built-in feature to view the history of a work item. But especially for work items with many changes, it is hard to **follow the Status** of a work item **over time**. That's why we created this small extension. It shows all Status changes since the creation of the work item in form of a timeline.
Expand Down Expand Up @@ -41,9 +41,12 @@ The plug-in has a few configuration possibilities. They can be changed by openin
| timeline | STATUS, USER | USER |
| largeIcons | true, false | false |
| largeIconsSuffix | (string) | \_large |
| enableDetailedHistory | true, false | false |

To enable large icons, set *largeIcons* to *true*. Additionally, you need to add larger icons to your process. To do so, add the respective iamges as a process attachment to your project area process. The search scope of the plug-in is limited to the path **/workflow/**, so your icons need to be provided in there.

With version 2.3.0, the detailed history, shown when hovering over an entry, is replaced with a simple version that doesn't make any additional requests. (See [Issue #17](https://github.com/jazz-community/rtc-statushistory-presentation/issues/17) for more details). The details of the state change can still be seen in the "History" tab. To reenable this feature, you need to set the "enableDetailedHistory" key to "true".

![Configure Status History Presentation in Eclipse Client](https://github.com/jazz-community/rtc-statushistory-presentation/blob/master/documentation/ConfigurePropertiesInEclipseClient.PNG)

# About this Plug-In
Expand All @@ -60,6 +63,3 @@ Copyright (c) Siemens AG. All rights reserved.<br>
Licensed under the [MIT](https://github.com/jazz-community/rtc-statushistory-presentation/blob/master/LICENSE) License.

The _calendar_ icon by [Font Awesome](https://fontawesome.com/) is used under [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/) _(color has been changed)_

[travis-svg]: https://travis-ci.org/jazz-community/rtc-statushistory-presentation.svg?branch=master
[travis]: https://travis-ci.org/jazz-community/rtc-statushistory-presentation
Loading

0 comments on commit 5c4a36b

Please sign in to comment.