Modify

Opened 10 years ago

Last modified 8 years ago

#12015 new enhancement

Add graph view settings to the workflow admin panel

Reported by: Keluri Owned by: Jun Omae
Priority: normal Component: TracWorkflowAdminPlugin
Severity: normal Keywords: settings, preview
Cc: Trac Release:

Description (last modified by Jun Omae)

In addition to the hardcoded settings in trac.ini, having settings directly available on the workflow administration panel would allow for easier previewing of workflows. Also, in conjunction with #12014, this would allow users who cannot edit trac.ini to preview images in a way that suits them.

The following options should be present on the workflow administration panel:

  • diagram_colors
  • diagram_font
  • diagram_fontsize
  • diagram_size

In addition, the following options should be added to the workflow-admin section in trac.ini:

  • max_diagram_size

The addition of a max_diagram_size prevents abuse of the diagram_size option that would be available on the admin page (Preventing, say, a 10^24 x 10^24 image being rendered).

Attachments (0)

Change History (6)

comment:1 Changed 10 years ago by Jun Omae

Description: modified (diff)
Trac Release: 1.2

diagram_font option must not be changed by non TRAC_ADMIN users because the option is set to local path in the server.

comment:2 Changed 8 years ago by roger.oberholtzer@…

Do any of these settings work? I have added the following to trac.ini (Trac 1.2):

[workflow-admin]
diagram_size = 20, 20

But the diagram is unchanged: 576 x 205. This is too small to see.

comment:3 Changed 8 years ago by Jun Omae

Why posting here?

comment:4 Changed 8 years ago by roger.oberholtzer@…

The ticket is about making some items available to the web admin interface. I see the following in the code (in TracWorkflowAdminModule in web_ui.py):

    diagram_size = Option('workflow-admin', 'diagram_size', '6, 6',
        doc=N_("Image size in workflow diagram"))

So, I would expect that:

  1. The items can be configured.
  2. They should show up in the web admin interface (this ticket).

Neither seem to be working.

comment:5 Changed 8 years ago by Jun Omae

Your question/issue is not related to this ticket.

First, please ask on mailing list. Also, please create new ticket if you believe that behaviour is defect or should be improved.

comment:6 in reply to:  4 Changed 8 years ago by Ryan J Ollos

Replying to roger.oberholtzer@…:

The ticket is about making some items available to the web admin interface. I see the following in the code (in TracWorkflowAdminModule in web_ui.py):

    diagram_size = Option('workflow-admin', 'diagram_size', '6, 6',
        doc=N_("Image size in workflow diagram"))

So, I would expect that:

  1. The items can be configured.
  2. They should show up in the web admin interface (this ticket).

Neither seem to be working.

Answered gmessage:trac-users:Js-XRi4MblM/lGAJB2GJAgAJ.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Jun Omae.

Add Comment


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

 
Note: See TracTickets for help on using tickets.