Modify

Opened 13 years ago

Closed 8 years ago

#9655 closed enhancement (fixed)

Ticket printing

Reported by: dennis.schmittdiel Owned by: Jun Omae
Priority: normal Component: StickyTicketPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.12

Description

Hi,

first I've to say that this plugin is a really good idea, if I think on all the people who want to manage a scrum like process. There is no other plugin what do this!

Here are some ideas what the plugin will be even more interesting:

  • printing the description include the rendered wiki style
  • print templates to customize the print design
  • adding custom templates by ticket type, or simple a template list where you can choose the print template

I'm not a python developer so I can't help to realize these ideas, but I think with these features this plugin is the most important plugin in trac.

Attachments (1)

UC-allow-more-sticky.jpg (23.2 KB) - added by Adrian Fritz 13 years ago.
Allow more sticky per page

Download all attachments as: .zip

Change History (8)

comment:1 Changed 13 years ago by Adrian Fritz

  1. printing description (works)
    1. configure customization section inside trac.ini file, as shown down, and set fields of your interest:
      [sticky-ticket]
      fields = owner,milestone,priority,description
      
    2. Beware of long descriptions (as they will rise an error) by setting compatible sitcky size. Sticky size it´s supposed to work with following configuration (but still coldn´t make it work, looks like is hard-coded somewere)
      [sticky-ticket]
      sticky_width = 65
      sticky_height = 50
      
  2. include the rendered wiki style
    1. still coudn´t get it to work
  3. Print templates to customize print design
    1. Workarround: hard code defined

comment:2 Changed 13 years ago by Adrian Fritz

Registered known configuration details at StickyTicketPlugin and StickyTicketPlugin

Changed 13 years ago by Adrian Fritz

Attachment: UC-allow-more-sticky.jpg added

Allow more sticky per page

comment:3 Changed 13 years ago by Adrian Fritz

Allow more sticky per page The use case trying to be reached, requires to allow printing more sitcky per page, and to reduce splitting processes (by a simpler cutting processes). On left: (a) left, current disposition, (b) right, desired condition.

comment:4 Changed 13 years ago by Richard

I would like a similar ability to only have 1 or 2 stickys per page. I would like the ability to create stickys large enough to include the description(among other fields). At times we just need to present our tickets in large format for meetings which have more detail. I can't find any way of doing this except for printing each one individually using the browser print. This can be painful with a large number of tickets.

comment:5 Changed 13 years ago by Richard

AHHH..

In the file web_ui.py

_sticky_width = FloatOption('sticky-ticket', 'sticky-width', '75',
        doc="Width (mm) of a sticky")
_sticky_height = FloatOption('sticky-ticket', 'sticky-height', '75',
        doc="Height (mm) of a sticky")

So for the trac.ini to work you have to use

[sticky-ticket]
sticky-width = 65
sticky-height = 50

The code is looking for sticky"-"width not "_"

By changing that I was able to get my request of 1 or 2 sticky's per page. I suspect if you AdrianFritz make those numbers smaller you could get more stickys.

comment:6 in reply to:  5 Changed 13 years ago by Adrian Fritz

The code is looking for sticky"-"width not "_"

By changing that I was able to get my request of 1 or 2 sticky's per page. I suspect if you AdrianFritz make those numbers smaller you could get more stickys.

Perfect!! Thanks Richard, changed "_" by "-" and worked good. Updated StickyTicketPlugin@9 (just beware of setting compatible sitcky size to fit all contents (otherwise they will rise an error).

comment:7 Changed 8 years ago by Ryan J Ollos

Resolution: fixed
Status: newclosed

Issue appears to be resolved.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.