Code Monkey home page Code Monkey logo

wiprint's Introduction

WIPrint

Print work items from nearly anywhere you can see them. Limit is ~330.

How To Contribute

  1. Install Node
  2. npm install -g webpack tfx-cli typings to install global tools
  3. Clone the repository
  4. npm install
  5. Build with npm run build and upload to your VSTS/TFS

wiprint's People

Contributors

mrtarantula avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wiprint's Issues

Images are only printed half

For some reason, when we print a SUer Story with embedded images, they are not rendered correctly and are only printed half.

In another user story, the same image is printed completely.
On screen, both are the same size.
I am a bit at a loss trying to find a reason or to find a solution on how to corrrect this.

Different heading style for hierachical queries item titles

Would it be possible to recreate the hierarchy between work items using headings in the page generated ?

The aim is to generate a Word document from the pdf with proper heading style. This would allow us to just convert the pdf to word and apply our company style template to create a usable document.

Example of the desired hierarchy :

<h1>Feature 1</h1>
   <h2>User Story 1</h2>
   <h2>User Story 2</h2>
<h1>Feature 2</h1>
   <h2>User Story 3</h2>

Hotkey to print? Ctrl+P print screen

First off - fantastic addon. Thanks for the hard work.

Quick question. Have you given any thoughts to having a hot key that triggers a print within a work item? If I hit Ctrl + P now I get the following:

image

I think this is something I can try and contribute back if you're interested in having a hot key to print. Not sure what type of events I can hook into, but I assume there's some type of key down or print event I can tap into.

Feature request: export/import of field ordering configuration

The separate configuration of field print order for each work item type is very useful. It is a lot of manual pointing and clicking, though. It would be great to have a way to save the configuration for all work items to a file for archival and a way to import a file to restore the settings.

This would probably be most useful to you in your own testing!

It would also allow customers with multiple Team Project Collections to transfer settings between Collections using similar configurations without having to manually enter the settings each time.

Problem Tracker

I will track the progress of all of the major problems/suggestions here.

  • BUG Printing blocks everything #4 Can't/don't know how to fix
  • BUG Cannot print from IE11 #5
  • BUG Sort field names in TFS 2015 #3
  • FEATURE Configurable fields per work item type #4
  • FEATURE Hide undefined fields #3
  • FEATURE Better fieldpicker controls/behavior #4
  • BUG Some fields aren't being displayed properly #7
  • BUG Field picker doesn't scroll to field after picking #11
  • BUG Cannot print from board #15
  • BUG Cannot save after sorting fields #14
  • BUG Special characters break everything #13
  • FEATURE Double-click #10
  • BUG Cannot print from within work item form #3
  • FEATURE Complete discussion history #2
  • FEATURE Multi-select #10
  • FEATURE Drag-n-drop #10
  • FEATURE Import/export configuration #9

Reference attached files in print out

If an work item has some attached files it would be helpful, If it would be shown in the print out by adding the file name e.g.:

Attachements:

File name Size Date Attached Comments
SoftwareDesignDocument.pdf 512K 11/06/2018 new version for review
PrintScreenXyz.png 128K 11/09/2018 result after compile

The table in markdown above isn't supported here

An print out of the file them self is not necessary in my mind.

Work Item Print Not Working All Of A Sudden

Just yesterday, I go to print using Google Chrome and my work item print is blank. I go to the configuration settings and it has fields selected. I try to add and remove some fields and then save, still shows blank. I tried on microsoft edge and it works correctly. It seems to have broke on google chrome within the last few days? This always worked before, this is something I use very often.

Thanks

work item blank
work item print settings

embedded images don't print?

some work items have images included in the Description tab, but these don't appear when I try to print them. is there a way to enable this?

Incorrect fields when printing bugs

When printing a bug it attempts to print Description and Acceptance Criteria, with the text "No Description" and "No Acceptance Criteria" which makes sense because those fields do not exist for bugs.

We would like to see Repro Steps and System Info fields displayed in the print job, as well as Planning, Priority and Effort.

I believe there is another ticket stating that only the last discussion item is printed, and not the whole discussion.

Generate hyperlink to work item

Is it possible to generate an hyperlink to the respective work item. So if the user print to an pdf, he can access directly to the DevOps work item via the link.

How do I access the Configuration screen?

Hello, how can I navigate to the per-user Configuration screen to add fields to work item types?

The screenshot gif shows it under Backlogs Queries | Work Item print, but I can't find it neither at Backlogs, Queries, nor the Project or Global settings.

image

Where is the link to this screen supposed to be placed, and how is it named? Maybe I need to request permissions from my Azure administrator?

Duplicate entries in Selected Fields list which can't be selected/removed

First of all thank you very much for the great work, I've searched for a printing feature for so long..!

I've got a problem where, after some adding and re-sorting fields in the Selected Fields view, all of a sudden there were duplicate entries in the list which I can't select or remove. The fields are also included in the generated Reports. Any idea?

Field picker doesn't scroll to newly moved field

When I move a field from the full list to the selected list when the selected list has a scroll bar, the new field always shows up below the viewport and I have to scroll to display it so I can confirm it appeared or move it up in the list. It would be nice if the selected list automatically scrolled to display the newly-added item.

HTML-Elements are interpreted instead of printing them

Hi,

I printed a work item that contains e.g. <head>, <header> and <footer> (see first attached screen) and the printout did not show them at all (see second attached screen).

grafik

grafik

I assume that elements in angle brackets are not escaped and interpreted in the browser before printing.

Can you change the license?

My organization would like to use this but the extension has a copy left license. Are you willing to change the license to a more open license model?

Thanks,
Wouter

Default configuration for entire organisation

Is it somehow possible to specify a default configuration (fields and order to print for each work item type) for the entire organization? Maybe we couldn't find it or it is not available?

The configuration for each user is great to overrule a default configuration, but now all our 200+ users must first specify which fields they want to print for each work item.

Kind regards,
Roy

Populate print settings with default template

When configuring the print template for the first time, I had to add all the fields myself.

It would be easier to populate this screen with the default template. Allowing users to directly modify it.

Azure DevOps Update Icon

With the Azure DevOps UI redesign, an update is needed to add an icon.

screen shot 2018-09-19 at 10 56 54 am

If you'd like assistance in this please let me know and any suggestion you have of an icon (or I will otherwise make one)

Missing fields in v2.0

I configured Task to print the following fields in the following order:

Title
Iteration Path
Assigned To
State
Reason
Blocked (custom String field)
SLPriority (custom String field)
Remaining Work
Backlog Priority
Activity
Area Path
Description

The following fields are not printing despite having contents:

Iteration Path (System.IterationPath)
SLPriority (custom String field)
Remaining Work (Microsoft.VSTS.Scheduling.RemainingWork)
Backlog Priority (Microsoft.VSTS.Common.BacklogPriority)

All other listed fields print as expected.

Bug:

Title (ok)
Iteration Path (missing)(System.IterationPath)
Assigned To (ok)
State (ok)
Reason (ok)
SLPriority (missing)(custom String field)
Regression (ok)
Effort (missing)(Microsoft.VSTS.Scheduling.Effort)
Remaining Work (missing)(Microsoft.VSTS.Scheduling.RemainingWork)
Activity (ok)
Severity (missing)(Microsoft.VSTS.Common.Severity)
Area Path (ok)
Clinical Concern (missing)(custom String field)
Business Concern (missing)(custom String field)
Probability of Occurrence (missing)(custom String field)
Risk to Product (missing)(custom String field)
QMS ID (missing)(custom String field)
Symptom (ok)(custom Html field)
Repro Steps (ok)
Found In (ok)
Integration Build (ok)
System Info (ok)
Verification Test Cases (missing)(custom String field)
Design Summary Package (ok)(custom String field)
Deferred Comment (ok)(custom Html field)
Acceptance Criteria (missing)(Microsoft.VSTS.Common.AcceptanceCriteria)

Doesn't seem to have anything to do with custom vs. built-in fields since some of our custom fields print fine.

I'm testing with work items that have values in all of the listed fields.

I'm still using TFS 2015 update 3.

Cannot change fields for Bug type at all

Steps:

  • Go to the Work Item Print page.
  • Select Bug.
  • Select any field and click the right-hand arrow.

The field disappears, but doesn't show in the right-hand column.

The error I see when I load this page:

VSS.SDK.min.js:3 Error: Syntax error, unrecognized expression: #all-Incident-#

It appears to be choking on the field we have called "Incident #".

History field appears to be Comments

Love this extension! Def what I need. However, based on my testing History appears to be picking up the Comments instead of the full history.

Can this be confirmed and updated? We would like to use this to be able to print the contents of a work item to a PDF for auditors.

Thanks.

Linked work items do not show up

None of the following fields show up in the printed format:

  • Related Links
  • Related Link count
  • External Link
  • External Link count
  • Linked files
  • BIST Links

My end goal is to be able to discern work item relationships on paper. I assume that Related Links and Related Link count is what I need to achieve this.

Thank you for sharing this plug-in!

State Graph

Enhancement Request
On the History tab there is the State Graph. It's a visual representation of the changes of states and who did it.
Would you be able to add this information? I don't need the visual representation, just the data; who did it, when they did it, and to which state they moved it to.

image

Azure DevOps - Field Picker

Hi Ryan,

On the extension installation page, the first screenshot shows where you can choose what fields to print. I'm in Azure DevOps, and I'm not able to find a similar screen to this. Can you point me in the right direction?

Thank you, and also thank you for creating this extension. It is really helpful.

All the best,
Jenny

Generate a Word report with formatting and headings

I'm using this extension to generate a static doc of our backlog and I would like to convert the report to a word document or any modifyable document with formatting.
One workaround I found was to copy the HTML rendered before printing and pasting in word. This gives me a formatted document.

What I would like is to keep the HTML heading, which could be enriched to show hierarchy as proposed in #32 .

This requires to remove the link in the title. Could this be an option of the print configuration ?

Does WIPrint work for chrome/safari/mac ?

Thanks for the quick response.
Actually, I've found out that if I access my company tfs server via https, the plugins don't work.
It seems that mixed content ( http x https ) is somewhat buggy, or the initial setup was not done
correctly.
I was able to use your plugin successfully, accessing my tfs server via http.
By the way, congratulations for your plugin, it's very useful.

The field picker doesn't support double-click

Usually in UIs like the field selection screen, it is possible to double-click an item to move it between the two lists. WIPrint's field selection UI does not support this. It would be helpful if it did.

It is also common to allow multiple selection via Ctrl-click to move a batch of items at once.

These two features would make the field selection UI easier to use. They're not a high priority for me.

Print a List of card (Bugs, User Story, etc) on one page or more

When printing off a Query we don't need every item on separate pages just a list on a page....

If there was an option to Print of a query of bugs for example, so that they are displayed in a list on a page this would be a handy feature. At the moment we have to take a screen shot and print that off which is not ideal. As printing of a card per page is not a good idea when you have 200 bugs, its a waste of page and ink.
We just want the list to appear as it does on screen with the same columns and headers... I hope the example shows you what I need.
list example

Work Item Print: Default settings for all Users

Thank you so much for providing the Work Item Print Extension. It really helps us to print content of work items.

Our users struggle a little with the user specific configuration. It would be great if the admin team could define default settings for our team project. Most users would accept these settings.

Is there a way to make this possible?

Many thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.