Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15733 closed Cleanup/optimization (fixed)

Do not pre-select logged in user by default in Trac ticket query

Reported by: julien Owned by: jacob
Component: *.djangoproject.com Version: 1.2
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX:

Description

If you're logged in to Trac and go to http://code.djangoproject.com/query the 'Owner' filter is pre-selected by default with your username. I use this query tool a lot but I rarely have any tickets assigned to me (plus I don't really care about this filter when I do queries), so I find myself constantly removing that filter every time I visit that page. This is annoying :-)

I think this filter should be removed by default, as I think the case where people want to see tickets assigned to themselves by default is a much rarer use case.

Attachments (0)

Change History (5)

comment:1 Changed 3 years ago by jacob

  • Easy pickings unset
  • Needs documentation unset
  • Needs tests unset
  • Owner changed from nobody to jacob
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

I'm not sure how easy this is to do, but if it's not too bad I'll do it. Anyone know what's involved?

comment:2 Changed 3 years ago by jezdez

Apparently, it's as simple as modifying the options default_query and/or default_anonymous_query in the [query] section of the trac.ini.

Which query should it have instead? Just the non-closed tickets?

http://trac.edgewall.org/wiki/TracIni#query-section

comment:3 Changed 3 years ago by julien

@jezdez: Thanks for looking this up! Yes, just the non-closed tickets would be perfect. Basically the same as it is currently, but without the "owner" filter pre-selected.

comment:4 Changed 3 years ago by jezdez

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

Fixed as well as the annoying auto-logout when closing the browser. The Trac auth cookie lives for two weeks now. \o/

comment:5 Changed 3 years ago by julien

@jezdez: Yay - no more "Oops, that was me" comments after posting anonymously by mistake! :)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


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

 
Note: See TracTickets for help on using tickets.