Actions
Patch #1470
openProjects Info Block for MyPage
Status:
New
Priority:
Normal
Assignee:
-
Category:
My page
Target version:
-
Start date:
2008-06-16
Due date:
% Done:
0%
Estimated time:
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.
Files
Updated by Jean-Philippe Lang over 16 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
Updated by Chris Peterson over 16 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.
Updated by Daniel Felix over 11 years ago
Sounds interesting. Maybe this patch should be migrated to 2.3.0 codebase and tested again. :-)
Actions