Ticket #1 (new enhancement)
Add a new project summary module.
| Reported by: | anonymous | Owned by: | cboos |
|---|---|---|---|
| Priority: | high | Milestone: | 0.13 |
| Component: | general | Version: | 0.6.1 |
| Severity: | critical | Keywords: | multiproject |
| Cc: | a.a.vykhodtsev@…, lists@…, ryano@… |
Attachments
Change History
comment:2 Changed 7 years ago by daniel
- Priority changed from high to normal
- Version set to devel
- Milestone set to 2.0
Ah. bug #1... hehe.. this one will be here a while, or slowly die..
comment:4 Changed 6 years ago by daniel
- Priority changed from normal to highest
- Milestone changed from 2.0 to 0.8
comment:6 Changed 6 years ago by anonymous
Personally...
I think actually leaving a COMMENT as to why you made a change to this ticket number!
Going from high priority to low and back makes no sense with out an explanation!!!
comment:7 Changed 6 years ago by daniel
- Milestone changed from 1.0 to 2.0
This is a pretty vague ticket. Lets close it.
comment:8 Changed 6 years ago by daniel
The idea is central for the redesign, but needs to be fleshed out somewhere else.
comment:11 Changed 5 years ago by cboos
- Priority changed from high to normal
- Milestone changed from 2.0 to 1.0
I wonder if this could not be done with a set of wiki macros: with the [[TicketQuery()]] and the WikiInclude macro to be able to include the WikiStart, it should be possible to compose something like a dynamic My Page.
Note: it would be useful to be able to delete all the test comments attached to this ticket...
comment:15 Changed 5 years ago by anonymous
- Owner changed from jonas to daniel
- Component changed from changeset view to project
comment:16 Changed 5 years ago by mgood
- Owner changed from daniel to jonas
- Component changed from project to general
comment:18 follow-up: ↓ 47 Changed 5 years ago by anonymous
I think project summary (WikiStart) should contain "news" or "announce". To enable this, add the new type named "news" or "announce" to ticket by default, and show recent of these summaries by macro.
And I think "recent colosed tickets", "recent added tickets", and these kind of information can be showed using some macro by defaults.
comment:19 Changed 4 years ago by Tov Are
- Cc gunnar@… removed
Tidsstyring
Jeg savner muligens mulighet til å legge inn tidsestimater på tickets. Det ville vere nyttig, å kunne ha den type informasjon i samme systemet.
comment:21 Changed 4 years ago by anonymous
- Owner changed from jonas to me
- Priority changed from normal to lowest
- Version changed from 0.6.1 to 0.9
- Severity changed from normal to minor
comment:22 Changed 4 years ago by eblot
- Owner changed from me to jonas
- Priority changed from lowest to normal
- Version changed from 0.9 to 0.6.1
- Severity changed from minor to normal
- Milestone 1.0 deleted
comment:23 Changed 4 years ago by cboos
- Milestone set to 1.0
According to our roadmap, this should be a 1.0 feature.
comment:24 Changed 4 years ago by cboos
- Keywords project added
- Severity changed from normal to major
comment:35 Changed 4 years ago by anonymous
- Status changed from new to closed
- Resolution set to fixed
comment:36 Changed 4 years ago by cboos
- Status changed from closed to reopened
- Resolution fixed deleted
Quite unbelievably, this is not a test ticket, but a valid one.
Though the question of whether this should be done as a plugin might be asked...
An alternative to a plugin would be the possibility to have macros that can provide all the required info an be inserted in the WikiStart page.
e.g. the TicketQuery macro could be adapted to accept a count format, in addition to the compact one, and that would simply show the number of tickets matching the specific request.
-
trac/ticket/query.py
677 677 This macro accepts two parameters, the second of which is optional. 678 678 679 679 The first parameter is the query itself, and uses the same syntax as for 680 {{{query:}}} wiki links. The second parameter determines how the list of 681 tickets is presented: the default presentation is to list the ticket ID next 682 to the summary, with each ticket on a separate line. If the second parameter 683 is given and set to '''compact''' then the tickets are presented as a 684 comma-separated list of ticket IDs. 680 {{{query:}}} wiki links. 681 682 The second parameter determines how the list of tickets is 683 presented: the default presentation is to list the ticket ID next 684 to the summary, with each ticket on a separate line. 685 If the second parameter is given, it must be one of: 686 - '''compact''' -- the tickets are presented as a comma-separated 687 list of ticket IDs. 688 - '''count''' -- only the count of matching tickets is displayed 685 689 """ 686 690 687 691 def render_macro(self, req, name, content): 688 692 query_string = '' 689 compact = 0 693 compact = False 694 count = False 690 695 argv = content.split(',') 691 696 if len(argv) > 0: 692 697 query_string = argv[0] 693 698 if len(argv) > 1: 694 if argv[1].strip().lower() == 'compact': 695 compact = 1 699 format = argv[1].strip().lower() 700 if format == 'compact': 701 compact = True 702 elif format == 'count': 703 count = True 696 704 697 705 buf = StringIO() 698 706 … … 709 717 (ticket['status'], href, summary, ticket['id']) 710 718 links.append(a) 711 719 buf.write(', '.join(links)) 720 elif count: 721 buf.write(len(tickets)) 712 722 else: 713 723 buf.write('<dl class="wiki compact">') 714 724 for ticket in tickets:
comment:37 Changed 4 years ago by cboos
btw, the count format is now implemented in 0.11.
comment:38 Changed 4 years ago by cboos
- Status changed from reopened to new
- Description modified (diff)
- Summary changed from Add a new project summary module. (My Page) to Add a new project summary module.
- Priority changed from normal to high
- Owner changed from jonas to cboos
- Severity changed from major to critical
I've removed (My Page) from the summary, as this is more related to #4588.
This is about whole project summary, which makes a lot of sense in the multiple project per environment case.
comment:39 Changed 4 years ago by cboos
#1877 proposed a patch on 0.8 to give a summary of tickets for all projects (in the multiple environment case).
This makes me think that in order to complement the Project Summary, there should probably be a Projects Overview, in the same vein as we now have a Milestone and the Roadmap for getting an overview of all the milestones.
comment:42 Changed 6 months ago by lkraav <leho@…>
cool, first ticket ever.
from the looks of the description, it would seem the current 0.12-trunk capabilities of Roadmap fulfill the original idea.
or what's the latest thought process on this for you cboos?
comment:43 Changed 4 months ago by cboos
- Milestone changed from 1.0 to unscheduled
Milestone 1.0 deleted
comment:44 Changed 4 months ago by cboos
- Milestone changed from triaging to 0.13
Complementary to #130.
The exact form this could take should be very free form, so perhaps rather than the fixed model followed by a milestone (description + ticket progress bar), a project overview could be generated from a set of macros that could be freely modified and repositioned in the project's description. The default layout and content could be taken from ProjectTemplates? sub-pages, with a nice ProjectTemplates?/default.
comment:46 follow-up: ↓ 48 Changed 6 weeks ago by Carsten Klein <carsten.klein@…>
Perhaps this could be made a DashboardPlugin? where the user can edit the page layout and define what is shown and what is not on the DashboardPlugin? admin page.
The dashboard plugin itself should provide extension points, for example DashboardInformationProvider? which can then be implemented by for example the ticket system, for example the LatestTicketChangesInformationProvider?, or the MostActiveTicketsInformationProvider? and so on.
On the admin page then, the user can opt in/out individual such information providers, setting them up in for example a two or three column layout.
On the dashboard page itself, the user might be enabled to drag around individual renderings of the available information providers to their personal likings, collapsing or expanding individual such renderings.
In a multi project scenario, the multi project system would then provide new implementations of these information providers, overriding the defaults in the system provided by the ticket system, the timeline and so on, coalescing the information from these multiple projects into a single view.
comment:47 in reply to: ↑ 18 Changed 6 weeks ago by Carsten Klein <carsten.klein@…>
Replying to anonymous:
I think project summary (WikiStart) should contain "news" or "announce". To enable this, add the new type named "news" or "announce" to ticket by default, and show recent of these summaries by macro.
And I think "recent colosed tickets", "recent added tickets", and these kind of information can be showed using some macro by defaults.
I do not think that the original WikiStart page should be replaced by something like the dashboard.
If you want to include such information on your WikiStart page, your best bet is to implement or use an existing macro and use that on your page.
-10 for replacing the WikiStart by a Dashboard from me.
comment:48 in reply to: ↑ 46 Changed 6 weeks ago by Carsten Klein <carsten.klein@…>
Replying to Carsten Klein <carsten.klein@…>:
Perhaps this could be made a DashboardPlugin? where the user can edit the page layout and define what is shown and what is not on the DashboardPlugin? admin page.
with that I meant that the plugin will provide a requesthandler responsible for the /dashboard realm.


