Edgewall Software

Ticket #3497 (closed enhancement: worksforme)

Opened 2 years ago

Last modified 2 years ago

Difficult to integrate trac into managed applications

Reported by: samjie@… Owned by: jonas
Priority: normal Milestone:
Component: general Version: devel
Severity: normal Keywords: needinfo
Cc:

Description

It would be good if it were possible to integrate trac seamlessly into a managed (web) application, especially where the users themselves are tech savvy and/or involved in development. Unfortunately this is not trivial currently due primarily to the way the CSS is laid out. I think this would be a very interesting development model - where the users themselves can participate seamlessly in documentation (Wiki), view the roadmap, file bugs and in some cases actually enhance the code.

Attachments

trac-integrated.png (9.1 KB) - added by samjie@… 2 years ago.
Example of trac integrated into web (RoR) application

Change History

Changed 2 years ago by samjie@…

Example of trac integrated into web (RoR) application

follow-up: ↓ 3   Changed 2 years ago by anonymous

What problem in re-writing trac templates (in common cases CSS). I think there no easy way to do this automatic. I think it no rational to develop customization engine, instead of development bug-tracking features.

in reply to: ↑ description   Changed 2 years ago by cmlenz

Replying to samjie@gmail.com:

Unfortunately this is not trivial currently due primarily to the way the CSS is laid out.

I don't understand what the problem is with the CSS. Can you please elaborate?

in reply to: ↑ 1 ; follow-up: ↓ 4   Changed 2 years ago by cmlenz

Replying to anonymous:

What problem in re-writing trac templates (in common cases CSS). I think there no easy way to do this automatic. I think it no rational to develop customization engine, instead of development bug-tracking features.

  • Being able to customize the design of Trac is important IMHO, and already possible to some extent (see for example my own Trac site.)
  • Modifying the templates is not something we encourage, because you'll run into problems when upgrading Trac to newer versions. A lot of customizations should be possible purely in CSS (which is what I do on the site linked to above). For other kinds of customizations, we're planning to address that by adopting a new template engine (probably in 0.11).

in reply to: ↑ 3 ; follow-up: ↓ 5   Changed 2 years ago by mou@…

Replying to cmlenz:

* Being able to customize the design of Trac is important IMHO, and already possible to some extent (see for example my own Trac site.) * Modifying the templates is not something we encourage, because you'll run into problems when upgrading Trac to newer versions. A lot of customizations should be possible purely in CSS (which is what I do on the site linked to above). For other kinds of customizations, we're planning to address that by adopting a new template engine (probably in 0.11).

In that way, i Think you're right. Your bitten instance of trac is more than just CSS or templates rewriting. I think for extension like this must provided more open API, and extension points. But now i'm awaiting for 0.10 milestone for deploy on a target system. (Sorry for my English).

in reply to: ↑ 4   Changed 2 years ago by mgood

  • keywords needinfo added

Replying to mou@msx.ru:

In that way, i Think you're right. Your bitten instance of trac is more than just CSS or templates rewriting. I think for extension like this must provided more open API, and extension points. But now i'm awaiting for 0.10 milestone for deploy on a target system. (Sorry for my English).

The Bitten Trac "theme" was done purely in CSS, as cmlenz stated above.

Currently you can also add HTML to the header and footer (see TracInterfaceCustomization) and, as cmlenz mentioned, the templating engine we will use in Trac 0.11 will support more complete customization of the HTML.

If you can provide some specific examples of extension points, or at least some idea of the customizations you're trying to make that Trac doesn't support it would be helpful, since there's not currently enough information here to act on.

  Changed 2 years ago by mgood

  • status changed from new to closed
  • resolution set to worksforme

Between CSS stylesheets and Genshi templates users should have pretty extensive control over the look of their Trac sites. If you need help customizing your site you can try the MailingList for suggestions.

Add/Change #3497 (Difficult to integrate trac into managed applications)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.