Opened 14 months ago

Last modified 14 months ago

#7012 new enhancement

Add a checkmark or something to say when it's the final patch

Reported by: nekojonez's profile NekoJonez Owned by:
Milestone: Priority: normal
Component: Trac Keywords:


In today's early bug scrub, we discussed this ticket:

Yet, the patch wasn't 100% done yet and still being worked on.
So, I think it would be handy if we had a sort of checkbox when uploading a patch that said: "Final patch" or something for that trac ticket. So, it's clear when testing instructions can be written or when a patch can be tested and when it's feature complete.

This is a rough idea and we should think about it and discuss how it's going to work in this ticket.

Change History (2)

This ticket was mentioned in Slack in #core by nekojonez. View the logs.

14 months ago

#2 @dd32
14 months ago

Unfortunately Trac is not very customisable in this regard, without writing custom Python plugins (and even then..).

The majority of the customizations we have on Trac are done through Javascript and custom styling of comments.

If we assume that a custom Python plugin won't be written (I'd really encourage you not to consider it - because historically we've been rather bad at maintaining them), and the file upload having a high browser security limitations (preventing renaming to something like $, we're limited to the existing UI fields and Javascript.

That leaves the only other option to being a JS-inserted checkbox that inserts some pre-defined text into the description field (and possibly ticket keywords), and then Javascript or something on the client-side to highlight files with that specific description.

Note: See TracTickets for help on using tickets.