m-radzikowski / youtrack-issue-cards-printer

Google Chrome extension to print issues from JetBrains YouTrack as cards for physical scrum board

Home Page:https://chrome.google.com/webstore/detail/youtrack-issue-cards-prin/pjcejghclgihlhinleocjojdalhnhckp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YouTrack Issue Cards Printer

Chrome extension that allows to print issues from YouTrack as cards for physical scrum board.

If you find this extension useful, fill free to support me by PayPal: Donate

How to use

  1. Install extension:
    Chrome Web Store
  2. Go to your YouTrack issues list - https://your-youtrack-domain/issues
  3. Filter issues you want to print.
  4. Click extension icon to print cards.

Customization

Open extension options to customize issue fields and style. Read the customization documentation.

Changelog

See the changelog.

Limitations

This extension does not support some cases that may produce unexpected behavior, like printing not exactly the same issues that are listed in YouTrack.

Known limitations are listed below.

Custom issues order

By default issues in YouTrack are sorted by last update time. Sorting may be changed below search bar, and it changes search request. This is fully supported.

On the other hand, issues may be reordered manually by dragging them. Sort order shows then The results are sorted by: custom order, .... Custom order is ignored by the extension and only other sort directives are used.

Build for Chrome Web Store

VERSION=x.x.x
git tag -a "v$VERSION"
git archive -o "release-v$VERSION.zip" "tags/v$VERSION"

Technical notes

Activating extension declaratively

Extension shows as active on all pages because of replace print button script injection to any page.

Much better would be to inject script declaratively only to pages identified by as YouTrack, like we do for page action button enabling. This would cause extension to show as disabled on other pages.

Unfortunately, only URL matching is available for page content scripts as of Chrome 73. Required option to inject scripts based on CSS content matching, RequestContentScript, is experimental and not supported in stable builds.

For the new (experimental) issues list layout in YT 2019.1 there is no support for print button anyway. Maybe in future we could drop support for old YT and print button whatsoever.

Support for the old and new issues list layout

Right now extension supports both old issues list layout and the new (experimental) one introduced in YT 2019.1.

In case of dropping support for old layout in future, handling print button may be removed.

About

Google Chrome extension to print issues from JetBrains YouTrack as cards for physical scrum board

https://chrome.google.com/webstore/detail/youtrack-issue-cards-prin/pjcejghclgihlhinleocjojdalhnhckp

License:Apache License 2.0


Languages

Language:JavaScript 57.1%Language:HTML 22.9%Language:CSS 18.1%Language:Dockerfile 1.4%Language:Shell 0.6%