Edgewall Software

Ticket #6128 (reopened enhancement)

Opened 15 months ago

Last modified 10 months ago

Timeline Paginate Patch

Reported by: Naoki Takezoe Owned by: cboos
Priority: high Milestone: 0.13
Component: timeline Version: 0.10.4
Severity: normal Keywords:
Cc: trac-ja@…

Description

Trac displays a lot of events as one page at the timeline. So sometimes it causes performance problems like the ticket report.

Attached patch provides the pagination for the Timeline (for 0.10.4).

Attachments

timeline.zip (1.7 KB) - added by Naoki Takezoe 15 months ago.
trac-0.11dev_r6303-timeline_paginate.patch (8.7 KB) - added by trac-ja@… 13 months ago.
patch againsts source:trunk@6303
trac-0.11b1-timeline_paginate.patch (9.6 KB) - added by trac-ja@… 10 months ago.
Patch againsts Trac-0.11b1

Change History

Changed 15 months ago by Naoki Takezoe

  Changed 15 months ago by sid

This is possibly a duplicate of #215.

  Changed 15 months ago by Naoki Takezoe

Hmm... r4681 seems to paginate by the daysback.

But in my project, there are quite a lot of events in one day. So I think it's better to paginate by number of events than daysback.

  Changed 15 months ago by nkantrowitz

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

Old release branches are frozen, we only fix bugs, no new features.

  Changed 15 months ago by Naoki Takezoe

Sorry, I'll try to port my patch to trunk.

Changed 13 months ago by trac-ja@…

patch againsts source:trunk@6303

  Changed 13 months ago by trac-ja@…

  • cc trac-ja@… added
  • status changed from closed to reopened
  • resolution duplicate deleted

I ported Takezoe's patch to trunk.

follow-up: ↓ 7   Changed 13 months ago by cboos

  • priority changed from normal to high
  • milestone set to 0.12

Looks good. Note the default_maxrows_rss options is still named 'default_maxrows'.

Changed 10 months ago by trac-ja@…

Patch againsts Trac-0.11b1

in reply to: ↑ 6   Changed 10 months ago by trac-ja@…

Replying to cboos:

Looks good. Note the default_maxrows_rss options is still named 'default_maxrows'.

This patch has four options (two pairs of daysback and maxrows):

  • default_daysback
  • default_maxrows
  • default_daysback_rss
  • default_maxrows_rss

One pair is for HTML, and another is for RSS.

There should be separated, I think.

Add/Change #6128 (Timeline Paginate Patch)

Author



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