Task27Start - Bring treelike request view to request list
See TasksExplained? for more infos about tasks. This task is based on the template at TaskTemplateStart
Status : closed
Category : gui
Date opened : 2007-02-11
Description : Every request should be a branch of a tree and it should be possible to open and close the display of the branch
Referenced in stories/tasks :
Story10Start
Testsuite : test/functional/main_controller_test.rb
Commited revision : 102
Remarks :
The remarks field should be a leaf within the tree as a start.
Changelog
2007-02-11 - expandable list elements done
There is no special treeview necessary. It is just a div item inside the li item, that is shown and hidden.
There are two images the expanded image and the collapsed image. Their visibility is also toggled together with the request details. All this is done via a small javascript
function to keep the code clean.
The only remaining problem as i see it is updating a request in the detailarea. This resets the display of all the requests in
the request list, thus closing all the open ones.