Opened 18 years ago
Last modified 8 years ago
#6128 new enhancement
[Patch] Pagination for the Timeline
| Reported by: | Naoki Takezoe | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | next-major-releases |
| Component: | timeline | Version: | 0.10.4 |
| Severity: | normal | Keywords: | patch pagination performance |
| Cc: | trac-ja@… | Branch: | |
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
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 (3)
Change History (16)
by , 18 years ago
| Attachment: | timeline.zip added |
|---|
comment:1 by , 18 years ago
comment:2 by , 18 years ago
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.
comment:3 by , 18 years ago
| Resolution: | → duplicate |
|---|---|
| Status: | new → closed |
Old release branches are frozen, we only fix bugs, no new features.
by , 18 years ago
| Attachment: | trac-0.11dev_r6303-timeline_paginate.patch added |
|---|
patch againsts source:trunk@6303
comment:5 by , 18 years ago
| Cc: | added |
|---|---|
| Resolution: | duplicate |
| Status: | closed → reopened |
I ported Takezoe's patch to trunk.
follow-up: 7 comment:6 by , 18 years ago
| Milestone: | → 0.12 |
|---|---|
| Priority: | normal → high |
Looks good. Note the default_maxrows_rss options is still named 'default_maxrows'.
comment:7 by , 18 years ago
Replying to cboos:
Looks good. Note the
default_maxrows_rssoptions is still named'default_maxrows'.
This patch has four options (two pairs of daysback and maxrows):
default_daysbackdefault_maxrowsdefault_daysback_rssdefault_maxrows_rss
One pair is for HTML, and another is for RSS.
There should be separated, I think.
comment:8 by , 15 years ago
| Keywords: | pagination added |
|---|---|
| Priority: | high → low |
The patch probably needs to be refreshed for trunk.
comment:9 by , 11 years ago
| Keywords: | performance added |
|---|
comment:10 by , 10 years ago
| Owner: | removed |
|---|---|
| Status: | reopened → new |
comment:11 by , 10 years ago
| Summary: | Timeline Paginate Patch → [Patch] Pagination for the Timeline |
|---|
comment:12 by , 10 years ago
| Keywords: | patch added |
|---|
comment:13 by , 8 years ago
#8701 is related, requesting that the timeline show at least N entries, even if those entries are older than daysback.



This is possibly a duplicate of #215.