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 )
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
Description: | modified (diff) |
---|---|
Trac Release: | 1.2 |
comment:2 Changed 8 years ago by
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:4 follow-up: 6 Changed 8 years ago by
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:
- The items can be configured.
- They should show up in the web admin interface (this ticket).
Neither seem to be working.
comment:5 Changed 8 years ago by
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 Changed 8 years ago by
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:
- The items can be configured.
- They should show up in the web admin interface (this ticket).
Neither seem to be working.
diagram_font
option must not be changed by nonTRAC_ADMIN
users because the option is set to local path in the server.