Patch #1470
Projects Info Block for MyPage
Status: | New | Start date: | 2008-06-16 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
Category: | My page | |||
Target version: | - |
Description
This patch will add a projects block to the MyPage blocks that will display a table of projects the current user is a member of. Along with the project names, it will also list the number of assigned issues, reported issues, and spent time for a given project.
History
#1
Updated by Jean-Philippe Lang over 14 years ago
I like this new block. In addition, I think it would be nice to:
- display projects as a tree (projects/subprojects)
- have a 'New ticket' link for each project
- it can easily generate thousands of SQL queries
:controller => 'projects/' << project.identifier
is not the proper way to generate urls
#2
Updated by Chris Peterson over 14 years ago
I am glad that you like it. Would you please clarify the additions:
- How do I distinguish between Parent projects you are a member of and those you are not a member of (I suppose I could use the fav icons). Also, by 'project as a tree' do you mean:
- Similar to a tree widget that expands and collapses
- Just an indentation to indicate that it is a subproject
- Hybrid of the two
- Assuming that 'new ticket' is analogous to New Issue, should the link appear as:
- A new column
- As a parenthesis surrounded link after the name
As this is my first foray into Ruby and Ruby on Rails, I was not sure on how to do the SQL query and url generation properly, I just kept hacking until it worked. So, any advice on the proper way would be welcome.
#3
Updated by Filou Centrinov almost 10 years ago
Category: My page
#4
Updated by Toshi MARUYAMA almost 10 years ago
- Category set to My page
#5
Updated by Daniel Felix almost 10 years ago
Sounds interesting. Maybe this patch should be migrated to 2.3.0 codebase and tested again. :-)