Edgewall Software
Modify

Ticket #3497 (closed enhancement: worksforme)

Opened 6 years ago

Last modified 6 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:
Release Notes:
API Changes:

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@… 6 years ago.
Example of trac integrated into web (RoR) application

Download all attachments as: .zip

Change History

Changed 6 years ago by samjie@…

Example of trac integrated into web (RoR) application

comment:1 follow-up: Changed 6 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.

comment:2 in reply to: ↑ description Changed 6 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?

comment:3 in reply to: ↑ 1 ; follow-up: Changed 6 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).

comment:4 in reply to: ↑ 3 ; follow-up: Changed 6 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).

comment:5 in reply to: ↑ 4 Changed 6 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.

comment:6 Changed 6 years ago by mgood

  • Resolution set to worksforme
  • Status changed from new to closed

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.

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from jonas. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.