Modify

Opened 9 months ago

Last modified 7 months ago

#11477 new enhancement

Custom Fields as Wiki Pages

Reported by: anonymous Owned by: seccanj
Priority: normal Component: TestManagerForTracPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.0

Description

Hi,

The current incarnation of the custom fields for a testcase (or testcase in plan) is restricted to text and they are kept in a separate table in the database. (Although I imagine the plan is to extend the capabilities and allow other types)

One possibility would be to have custom fields as Wiki Pages themselves allowing for full wiki formatting of the field. Use case:

  • Test case has the standard "title" and "description".
  • Custom fields "Execution Steps" and "Expected Results"

The latter are calling for full blown editing and quite probably with Wiki Formatting. The current "text field" presented in the web browser is rather limited as it won't display even line breaks.

The already built-in mechanism for versioning using the wiki pages would be re-used.

To avoid compatibility problems with existing deployments a possible path would be to still allow the os.type = text and also allow os.type = wiki.

Best regards

Attachments (0)

Change History (1)

comment:1 Changed 7 months ago by seccanj

Hi there,
I like this idea!

Anyway, since wiki pages are managed by Trac itself, maybe a simpler solution would be to add two new custom field types:

  • URL: displayed as a clickable link
  • wiki: just a plain text field, where you can enter a wiki page name. It would be diplayed as a link to the corresponding wiki page. If it does not exist, you may then create it contextually.

This simple solution would allow for the use case scenario you describe, also featuring all of the wiki characteristics, like versioning, already available in Trac.

Most importantly, it would be implemented very easily (and thus, soon enough :-) ).

What do you think about this solution?

Ciao,
Roberto

Add Comment

Modify Ticket

Action
as new .
Author


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

 
Note: See TracTickets for help on using tickets.