Opened 15 years ago
Last modified 9 years ago
#9125 new enhancement
Report rendering needs some general overhaul
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | next-major-releases |
Component: | report system | Version: | 0.12dev |
Severity: | normal | Keywords: | patch |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When using column_ for breaking the row after the column, everything works fine except that the column has no colspan assigned to extend it across the columns left available to the right.
E.g.
select id, summary as summary_, component, milestone from ticket…
will render both the id and the summary in one line and the rest in the following line.
However, the summary column will only be one column wide whereas it should extend across the available N-1 columns to the right.
Attachments (2)
Change History (12)
comment:1 by , 15 years ago
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:2 by , 15 years ago
Priority: | normal → low |
---|---|
Resolution: | worksforme |
Status: | closed → reopened |
Type: | defect → enhancement |
I sure know that it is working, but it would be nicer to have it extend across the remaining columns.
I am currently looking into a patch that would remedy the situation, however, it renders quite complicated to make it work (hidden columns etc.).
I will reopen this as a enhancement request and put it on low.
by , 15 years ago
Attachment: | report_patch.diff added |
---|
patch to both report.py and templates/report_view.py
follow-up: 4 comment:3 by , 15 years ago
the presented patch remedies the situation that
- under certain conditions empty table rows are being rendered (e.g. id as _ticket_ as the second column after … as color or inbetween)
- all columns that are considered fullrows will now extend not to a standard of 100 columns but to the actual number of available (visible) columns
- all columns that cause a row break will now also extend across the remainder of the columns to the right
- each row in a row_group will be in a separate table body (discussable)
all in all this should provide for nicer renderings of ticket reports
comment:4 by , 15 years ago
Replying to Carsten Klein <carsten.klein@…>:
additionally
- outcommented the <hr> in case of a fullrow
- fullrow cells will now have the correct class name, e.g. summary and not fullrow
comment:5 by , 15 years ago
Keywords: | patch added |
---|---|
Milestone: | → next-minor-0.12.x |
Thanks for the patch.
comment:6 by , 15 years ago
Summary: | Using as column_ to break the row after the column does not colspan the column → Report rendering needs some general overhaul |
---|
comment:7 by , 15 years ago
the previous patch to report.py rendered the view unusable (i.e. it missed inclusion of ticket id when id was rendered as a fullrow, e.g. id as _ticket_),
comment:8 by , 15 years ago
possible regression here still: user does not include ticket.id in query
result would be that all tickets in the report will not be navigateable.
perhaps we should introduce the ticket id as a mandatory requirement for reports?
comment:9 by , 14 years ago
Milestone: | next-minor-0.12.x → next-major-0.1X |
---|
comment:10 by , 9 years ago
Status: | reopened → new |
---|
The
{row}_
syntax only introduces a line break, not a full line. You're probably looking for the_{row}_
syntax instead. Try:See TracReports for more details.