#9604 closed enhancement (fixed)
New layout for the report list
Reported by: | Christian Boos | Owned by: | Christian Boos |
---|---|---|---|
Priority: | normal | Milestone: | 1.0 |
Component: | report system | Version: | 0.13dev |
Severity: | normal | Keywords: | layout |
Cc: | hoff.st@…, ryan.j.ollos@… | Branch: | |
Release Notes: |
Reports: nicer looking list of reports, with direct link for going back to last query |
||
API Changes: | |||
Internal Changes: |
Attachments (8)
Change History (32)
by , 14 years ago
Attachment: | new_report_list.png added |
---|
comment:1 by , 14 years ago
The snapshot shows a half translated French interface, but you get the idea…
Feedback welcomed.
comment:2 by , 14 years ago
Nice! Is the full report description shown below the title? That may be tricky for very long descriptions, but this case shouldn't be too frequent either.
comment:3 by , 14 years ago
You're right about long descriptions, my idea was that we could use in the future something in between wiki_to_oneliner
(too terse in this case) and wiki_to_html
(could be too verbose).
WikiDom material ahead: this would be a new "html_excerpt" format which would produce the same output as a the normal "html" but only a limited amount of it, like stop once a given number of words is reached, as computing the actual "height" would be extra hard I imagine.
follow-up: 5 comment:4 by , 14 years ago
Hi,
I might as well recommend to move the "custom query" link from its current not too visible position in the top-right corner (in small fonts) to appear below other reports perhaps? This may sound silly, but for a long while I didn't like track because I just happened not to notice this link and thus I had trouble searching the bugs
comment:5 by , 14 years ago
comment:6 by , 14 years ago
Looks good, definitely will help occasional users or visitors passing by (like top management digging into what their stuff is currently doing). Would you see it reasonable to add a [x] compact display
option to (almost) return to current layout? This might be preferred by "power users" that'll never look at descriptions any more, but would value to not have too much clutter and scrolling.
OT: Did I mention I like live-edit-preview in current 0.12? Awesome work, thanks a lot!
comment:7 by , 14 years ago
Cc: | added |
---|
by , 14 years ago
Attachment: | new_report_list-2.png added |
---|
Show custom query links first, and descriptions hidden by default
by , 14 years ago
Attachment: | custom-query-link.patch added |
---|
add a link to the last query and to a new custom query at the top of the list of reports. Applies on new_report_list-r10049.patch
by , 14 years ago
Attachment: | clear-saved-query.patch added |
---|
add the possibility to clear the last saved query, from the report list. Applies on custom-query-link.patch
by , 14 years ago
Attachment: | report-toggle-description.patch added |
---|
add a Show Descriptions toggle for the report list, defaults off. Applies on clear-saved-query.patch
comment:8 by , 14 years ago
From the suggestions in comment:4 and comment:6, the new report list could look like this:
However, when the descriptions are not shown, the Edit/Delete buttons are maybe positioned a bit ambiguously, so I'll also try to put them on the heading line.
comment:9 by , 14 years ago
"Last" finishing touch…
With the descriptions visible:
With the descriptions folded (default):
The correspondence between the Edit/Delete buttons with the report is improved over the version from comment:8.
comment:10 by , 14 years ago
Very nice! One very minor nitpick: I would use "Sort by: Identifier ^ Title" instead of "Sorted by: Identifier ^ Title".
comment:11 by , 14 years ago
I like it too. And +1 for Remy's suggestion to improve on logic/wording.
comment:12 by , 14 years ago
Release Notes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Patch sequence committed in [10088:10098/trunk].
Unfortunately I managed to mess up the first commit r10088, hence the extra r10089 to fix it.
comment:13 by , 14 years ago
Severity: | minor → normal |
---|
comment:14 by , 14 years ago
Hm, I also forgot to run the functional tests, which caught a few XHTML validation errors.
Fixed now with [10103].
follow-up: 16 comment:15 by , 14 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Little glitch with the list of reports in csv and tsv formats:
File "build/bdist.linux-x86_64/egg/trac/ticket/report.py", line 267, in _render_list filename='reports.csv') File "build/bdist.linux-x86_64/egg/trac/ticket/report.py", line 754, in _send_csv row[i] = converters[i](row[i]).encode('utf-8') IndexError: list index out of range
comment:16 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
follow-up: 19 comment:17 by , 12 years ago
Do you think the behavior of the Show Descriptions toggle could be more widely applicable, for example, applying the behavior to the two filters on the Roadmap page? Or could that be a bad idea for the roadmap page because the page load time will always be the same as what we see now when all of the milestones are show? I'm asking myself the same question for the timeline page.
comment:18 by , 12 years ago
Cc: | added |
---|
comment:19 by , 12 years ago
Replying to Ryan J Ollos <ryan.j.ollos@…>:
Do you think the behavior of the Show Descriptions toggle could be more widely applicable, for example, applying the behavior to the two filters on the Roadmap page?
Yes, being able to get an overview of the milestones would be valuable
Or could that be a bad idea for the roadmap page because the page load time will always be the same as what we see now when all of the milestones are show?
Well, having the same load time isn't really a problem. And once you show the description, you have all the details immediately as it's just a show/hide.
I'm asking myself the same question for the timeline page.
I'm not sure if getting a condensed view of the timeline as it is now would bring much. But with #9205, that would be interesting as well.
follow-up: 21 comment:20 by , 12 years ago
Ah, I think we might be talking about two slightly different things here, no doubt due to my poor phrasing of the question.
Having a Show Descriptions for the milestones on the Roadmap seems valuable, and somewhat related to #9073. Did you infer that I was asking directly about whether to add a Show Descriptions checkbox to the Roadmap page?
What I had meant to ask about here, was whether the dynamic client-side showing/hiding of the descriptions would also be good behavior to apply to the existing filters on the Roadmap page (i.e. the Show completed milestones and Hide milestones with no due date filters). Rather than having an Update button and a page reload for showing/hiding completed milestones or those with no due date, could we show/hide those milestones using client-side JavaScript? Presumably, this would requiring rendering all of the milestones in the template, and then hiding some of them based on the filter states. It might get rather complicated if we want to have a no-JS fallback.
follow-up: 22 comment:21 by , 12 years ago
Replying to Ryan J Ollos <ryan.j.ollos@…>:
Ah, I think we might be talking about two slightly different things here, no doubt due to my poor phrasing of the question.
Having a Show Descriptions for the milestones on the Roadmap seems valuable, and somewhat related to #9073.
Ah yes, sorry, was mixing this up with #9073. I understand what you meant now.
… could we show/hide those milestones using client-side JavaScript? Presumably, this would requiring rendering all of the milestones in the template, and then hiding some of them based on the filter states. It might get rather complicated if we want to have a no-JS fallback.
Not necessarily, we could have the toggling of the checkbox trigger a request (like the Edit side by side checkbox for wiki pages). But I'm not sure it's a good thing to do when there are multiple controls in one form. We probably need to experiment to see if this feels right or not.
And the alternative consisting of fetching everything then hiding what's not needed at the level of the client is not exactly an optimization. Ok, I did just that here with the report descriptions, but those are usually cheap to retrieve compared to getting the full list of roadmap (#10879).
comment:22 by , 12 years ago
Replying to cboos:
And the alternative consisting of fetching everything then hiding what's not needed at the level of the client is not exactly an optimization. […]
Yeah, I think you are right. In general it could be worthwhile in a use case that someone is doing a lot of toggling of the filters to get different views, but that certainly wouldn't seem to be the typical use case here.
comment:23 by , 10 years ago
This is broken in 1.0-stable branch, "Show Descriptions" does nothing, and its always shown
Show the proposed new layout, notice the sort links on the upper right corner.