ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Tweak project overview page so sub-projects are more visible. (Feature #1032)


Added by Kendall Gifford at 2012-06-07 12:20 am. Updated at 2012-06-12 07:20 am.


Status:Open Start date:2012-06-07
Priority:Low Due date:
Assignee:- % Done:

0%

Category:User interface
Target version:-
Remote issue URL: Affected version:

Description

This is just a tweak that I've applied for my company's installation that I just wanted to see if anyone was interested in adding to ChiliProject.

In order to make sub-projects for visible, instead of listing them all on one line, comma-separated, we've moved them into an unordered list with one sub-project per list-item. The list is also nested inside a "box" (div with class box). We've really liked this little tweak. I've attached a patch file for your perusal.

If interested, let me know and I'll add a pull request on Github.


tweak_project_overview.patch - Patch demonstrating proposed change. (1.1 kB) Kendall Gifford, 2012-06-07 12:20 am

tweak_project_overview.patch - Updated patch showing proposed change. (2.4 kB) Kendall Gifford, 2012-06-12 07:20 am


Associated revisions

Revision e6444357
Added by Jean-Philippe Lang at 2008-04-13 03:24 pm

Add css class for ticket changes (#1032).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1349 e93f8b46-1217-0410-a6f0-8f06a7374b81

History

Updated by Felix Schäfer at 2012-06-07 04:22 pm

I like the idea of the change, to keep the "visual feel" I think I'd rather like the list to be formatted the same as the overall project list, could you see if that works?

Updated by Kendall Gifford at 2012-06-12 07:20 am

So I noticed that the project list on the project's index page uses a helper to render the project list. In order to keep the same visual feel, I played with simply using the same helper to render the sub-projects list (not longer in a box) on the project overview page.

I liked the change so much that I updated our installation to use this new display. I've included an updated patch file that contains my most recent update that attempts to implement Felix's recommendation.

Note: The patch includes an added method on the Project class (#all_visible_children) and a tweak to the ProjectsController#show method to use it. This was because I thought it'd also be nice to display the full hierarchy of nested sub-projects visible to the current user, not just the immediate children. I'd love feedback on this specific variant of this idea as well, both on the idea and on my implementation. I'm still new to the ChiliProject code base and don't want to duplicate effort or have too much of a mismatched style.

Also available in: Atom PDF