Edgewall Software

Opened 21 years ago

Last modified 14 months ago

#1 new enhancement

Add a new project summary module. — at Version 38

Reported by: (none) Owned by: Christian Boos
Priority: high Milestone: topic-multiproject
Component: general Version: 0.6.1
Severity: critical Keywords: multiproject
Cc: a.a.vykhodtsev@…, lists@…, itamarost@…, tn@…, leho@…, Ryan J Ollos Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

This module should useful information like:

  • Number of open tickets
  • Tickets targeted for each milestone
  • Tickets assigned to the current user (but see rather #4588 for that)
  • And more…

… like a project description, attachments, etc.

Change History (29)

comment:1 by Jonas Borgström, 21 years ago

Priority: p1p2

comment:2 by daniel, 20 years ago

Milestone: 2.0
Priority: highnormal
Version: devel

Ah. bug #1… hehe.. this one will be here a while, or slowly die..

comment:3 by daniel, 20 years ago

Severity: normalenhancement

comment:4 by daniel, 20 years ago

Milestone: 2.00.8
Priority: normalhighest

comment:5 by daniel, 20 years ago

Milestone: 0.81.0

comment:6 by anonymous, 20 years ago

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 by daniel, 20 years ago

Milestone: 1.02.0

This is a pretty vague ticket. Lets close it.

comment:8 by daniel, 20 years ago

The idea is central for the redesign, but needs to be fleshed out somewhere else.

comment:9 by Christian Boos, 19 years ago

Milestone: 2.01.0
Priority: highnormal

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:10 by anonymous, 19 years ago

Component: generallog view

123

comment:11 by Matthew Good, 19 years ago

Component: log viewgeneral

comment:12 by anonymous, 19 years ago

Component: generalchangeset view

comment:13 by anonymous, 19 years ago

Component: changeset viewproject
Owner: changed from Jonas Borgström to daniel

comment:14 by Matthew Good, 19 years ago

Component: projectgeneral
Owner: changed from daniel to Jonas Borgström

comment:15 by Gunnar Wagenknecht <gunnar@…>, 19 years ago

Cc: gunnar@… added

comment:16 by anonymous, 18 years ago

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:17 by Tov Are, 18 years ago

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:18 by Tov Are, 18 years ago

Cc: gunnar@… added

comment:19 by anonymous, 18 years ago

Owner: changed from Jonas Borgström to me
Priority: normallowest
Severity: normalminor
Version: 0.6.10.9

comment:20 by Emmanuel Blot, 18 years ago

Milestone: 1.0
Owner: changed from me to Jonas Borgström
Priority: lowestnormal
Severity: minornormal
Version: 0.90.6.1

comment:21 by Christian Boos, 18 years ago

Milestone: 1.0

According to our roadmap, this should be a 1.0 feature.

comment:22 by Christian Boos, 18 years ago

Keywords: project added
Severity: normalmajor

comment:23 by anonymous, 18 years ago

Priority: normalhighest

comment:24 by Matthew Good, 18 years ago

Priority: highestnormal

comment:34 by anonymous, 18 years ago

Cc: gunnar@… removed

comment:35 by anonymous, 18 years ago

Resolution: fixed
Status: newclosed

comment:36 by Christian Boos, 18 years ago

Resolution: fixed
Status: closedreopened

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

     
    677677    This macro accepts two parameters, the second of which is optional.
    678678
    679679    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
    685689    """
    686690
    687691    def render_macro(self, req, name, content):
    688692        query_string = ''
    689         compact = 0
     693        compact = False
     694        count = False
    690695        argv = content.split(',')
    691696        if len(argv) > 0:
    692697            query_string = argv[0]
    693698            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
    696704
    697705        buf = StringIO()
    698706
     
    709717                        (ticket['status'], href, summary, ticket['id'])
    710718                    links.append(a)
    711719                buf.write(', '.join(links))
     720            elif count:
     721                buf.write(len(tickets))
    712722            else:
    713723                buf.write('<dl class="wiki compact">')
    714724                for ticket in tickets:

comment:37 by Christian Boos, 18 years ago

btw, the count format is now implemented in 0.11.

comment:38 by Christian Boos, 17 years ago

Description: modified (diff)
Owner: changed from Jonas Borgström to Christian Boos
Priority: normalhigh
Severity: majorcritical
Status: reopenednew
Summary: Add a new project summary module. (My Page)Add a new project summary module.

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.

See TracMultipleProjects/SingleEnvironment#Projectresource.

Note: See TracTickets for help on using tickets.