UI > Feature (done?)

add list of all (not only open) tasks for person / #2536

Summary

done?
Oct 17, 2006
100%
Oct 18, 2006 / binder
May 4, 2007 / burger
burger
 

Attached files

No files uploaded
If working on many projects and much more task I loose overview on some team members. Best would be, if in personView all tasks could be listed (with filter as in taskView) ;)

14 Comments

pixtur

Oct 18, 2006

binder

Oct 18, 2006
version 2
for a specific user?
I meant, i select a specific user and can filter through his assigned tasks (provided, I am allowed to!)

pixtur

Oct 18, 2006
Yes this would be alike for all persons:
The Pages for Person would be:

"<<Name of Person>>" personView > "Tasks", "Efforts", "Calendar?", "Monitored Items?", "Changes"

Under your home it would be:

"<your name>" (Today) > "Tasks", "Efforts", "Calendar", "Monitored Items", "Changes"

We probably could add:
  • "Statistics"
  • "Visits"

binder

Oct 18, 2006
we're talking still not about the same! ;)
when i'm logged in as "binder", I need to see all tasks from e.g. "pixtur", if I'm allowed to! ;)

pixtur

Oct 18, 2006
Sure we do...
  1. you login in as "Binder"
  2. click at "Pixtur"
  3. you get following available Pages (see Labeling of UI Elements))...
    • "Pixtur" > "Tasks", "Efforts", "Calendar?", "Monitored Items?", "Changes"
    • Whereas the pages with "?" might not be accessible.
  4. You click on "Tasks"
  5. You get all tasks of "me" together with some Filter presets


burger

Mar 30, 2007
version 2
Can I take care of this?
If it's okay I will realise this?

First of all I will implement a specific "project" and "task" view for each person like

"<<Name of Person>>" personView > "Projects", "Tasks", "Efforts"

because I think these two person views are the most important.

After this we can think about other tabs.

Is this okay for you?


burger

Mar 30, 2007
Question
I already started to implement this feature and I have a question in relation to the view rights.

Can a e.g. developer see all projects of a person or only the projects he/she is also related to?

Only the related projects, or?

pixtur

Apr 6, 2007
Antwort auf Question
only the related tasks...

Check the Task::getVisibleById() function which should be a reference for which items are accessible.

burger

Mar 30, 2007
version 2
Further questions
I changed the getAll function in db/class_project.inc.php to display the projects of a person. And I changed it that way that people with restricted rights are only allowed to see the projects of another persons to which they are also related to.

In this function the visibility is regulated by:
$visible_only = ($auth->cur_user->user_rights & RIGHT_VIEWALL)
                        ? false
                        : true;

In this context a problem occurs. If a person has RIGHT_VIEWALL but he/she isn't related to another person's project then the column persons is empty.
The reason is that in the used function getProjectPersons another method is used to get the visibility.
Therefore I changed the code in this function and now the visibility is regulated the same way.

Is this okay?

burger

Mar 30, 2007
Question
Is it okay if I choose other filter presets as in the normal xxxList?

I have for a person's projects:
  • all
  • open
  • closed
And for the tasks:
  • all
  • new
  • open
  • blocked
  • need approval
  • closed
Is this okay?

pixtur

Apr 6, 2007
Sounds fine to me...
Do you still have the problem with getting the tasks? I think that VIEW_ALL will require a complete separate SQL-query. Actually this should already be working...


burger

Apr 13, 2007
Solved the problem with the tasks
If it sounds okay for you then I will commit the new code?!

pixtur

Apr 19, 2007
please commit your changes...
I will check them and post comments as usual :)

burger

Apr 20, 2007
Committed my changes
I hope I didn't forget to committ a file. Please inform me immediatelly if something doen't work. But normally everything should be okay.

Furthermore I was a little bit confused about the version entries at the conf.inc.php, because there were different version settings and I didn't know which I have to change and which not. Please also check this file to avoid errors.

Thanks in advance.
 

Comment / Update