Edgewall Software

Ticket #1 (new enhancement)

Opened 5 years ago

Last modified 8 days ago

Add a new project summary module.

Reported by: anonymous Owned by: cboos
Priority: high Milestone: 1.0
Component: general Version: 0.6.1
Severity: critical Keywords: project
Cc: a.a.vykhodtsev@…

Description (last modified by cboos) (diff)

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.

Attachments

Change History

Changed 5 years ago by jonas

  • priority changed from p1 to p2

Changed 5 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..

Changed 5 years ago by daniel

  • severity changed from normal to enhancement

Changed 5 years ago by daniel

  • priority changed from normal to highest
  • milestone changed from 2.0 to 0.8

Changed 4 years ago by daniel

  • milestone changed from 0.8 to 1.0

Changed 4 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!!!

Changed 4 years ago by daniel

  • milestone changed from 1.0 to 2.0

This is a pretty vague ticket. Lets close it.

Changed 4 years ago by daniel

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

Changed 4 years ago by anonymous

  • component changed from general to timeline

Test

Changed 4 years ago by cmlenz

  • component changed from timeline to general

Changed 4 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...

Changed 4 years ago by anonymous

  • component changed from general to log view

123

Changed 4 years ago by mgood

  • component changed from log view to general

Changed 4 years ago by anonymous

  • component changed from general to changeset view

Changed 4 years ago by anonymous

  • owner changed from jonas to daniel
  • component changed from changeset view to project

Changed 4 years ago by mgood

  • owner changed from daniel to jonas
  • component changed from project to general

Changed 3 years ago by Gunnar Wagenknecht <gunnar@…>

  • cc gunnar@… added

Changed 3 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.

Changed 3 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.

Changed 3 years ago by Tov Are

  • cc gunnar@… added

Changed 3 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

Changed 3 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

Changed 3 years ago by cboos

  • milestone set to 1.0

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

Changed 3 years ago by cboos

  • keywords project added
  • severity changed from normal to major

Changed 2 years ago by anonymous

  • priority changed from normal to highest

Changed 2 years ago by mgood

  • priority changed from highest to normal

Changed 2 years ago by anonymous

  • cc gunnar@… removed

Changed 2 years ago by anonymous

  • status changed from new to closed
  • resolution set to fixed

Changed 2 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

     
    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: 

Changed 2 years ago by cboos

btw, the count format is now implemented in 0.11.

Changed 22 months 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.

See TracMultipleProjects/SingleEnvironment#Projectresource.

Changed 22 months 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.

Changed 4 months ago by a.a.vykhodtsev@…

  • cc a.a.vykhodtsev@… added

Add/Change #1 (Add a new project summary module.)

Author



Change Properties
<Author field>
Action
as new
as The resolution will be set. Next status will be 'closed'
to The owner will change from cboos. Next status will be 'new'
The owner will change from cboos to anonymous. Next status will be 'assigned'
 
Note: See TracTickets for help on using tickets.