Skip to content

AnA08S09CalendarAdminInterface

Jeroen Baten edited this page Mar 9, 2018 · 1 revision

TWiki> LibrePlan Web>AnA08S09CalendarAdminInterface (16 Jun 2011, JavierMoran)EditAttach

Story summary Calendar administration interface refactoring
Iteration AnA08Usability
FEA AnA08S09CalendarAdminInterface
Story Lead  
Next Story  
Passed acceptance test No

Tasks

Refactoring calendar interface to include some usability improvements

The changes to introduce are the following:

  • Move parameters to popup on creating new work week. When you press the button create new work week the parameter Derived from and valid from to must be asked only in a popup. Improve the pop-up style. Add secon level table column groups. This is for columns Normal effort and Extra effort.
  • Extra effort combo Add a combo to get the hours of the extra effort.
  • Remove heredated from parent calendars. Change the work for inherited.
  • *Fill with default values the fields valid data and valid until in each calendar period.
  • Ask OscarGonzalez the impact of removing seconds in interface level for calendars.
  • Titles, widths, and tooltips in table headers
  • Explore the possiblity of changing the layout with the calendar widget in the upper side of the screen.
  • Introduce save and continue button

Change pop-up to create new work week

Change the pop-up for one with better layout. Add to it the following components:

  • The derived calendar. In case you are creating a work week for a derived calendar. A base calendar cannot have work weeks derived fron any other calendar.
  • Add the Valid from
  • Add the Valid until

In the list of work weeks do editable the start date (valid from) and the end date (valid until).

If you are creating a new work week or you are changing the start date or end date of a work week, do the following checks and forbide the operation if they are not passed:

  • The start date is mandatory for all the work weeks except the first.
  • The end date is mandatory for all the work week except the last.
  • If the work week being created ot the work week being edited is the firt one (sorte from oldest to newest) start date is not allowed. Give an informative message saying this.
  • If the work week being created or the work week being edited is the last one (sorted from oldest to newest) the end date is not allowed. Give an informative message saying this.
  • If there is only a work week it cannot have, therefor, start date and end date.
  • If the work week being modified or the one created includes inside any other work week, an error message must be showed.
  • If the work week being created is intersecting two work weeks do the following changes:
    • [SDA - SEA][SDB-SEB]
    • It is created [SDC-SEC]
    • The result is: [SDA-SDC-1][SDC-SEC][SCE+1-SEB]
  • Changing the end date of a work week: Adapt the start date of the following work week.
  • Changing the start date of a work week: Adapt the end date of the work week before.

warning Do unit tests for each case.

Allow to change derived calendar in work week table

It is possible to change the derived calendar of a work week from calendar which were created derivating from others. Now, the way to change the derived calendar of a work week will be with a combo in the work week table.

A label will appear instead of this combo in the non derived calendards. Make sure than on changing the base calendar the table is reloaded.

Corrections in calendars listing

Change the calendars listings in the following way:

  • Now it is showed a derived calendar bellow the calendar its last work week derives for. A better idea would be to see the current date and show the derived calendar as soon of the calendar in which the work week of the current date is deriving from.
  • Change the list adding to new columns: From Date and Up to date. These columns will show the start date and the end date of the work week to which the current date belongs.

Change the format of the summary work week line in work weeks table.

Add for each day the following syntax: AA:BB (XX:YY) Include always the minutes although they are zero.

Change layout in calendars

Test to include the right table for work weeks and exceptions bellow.

Include a title line informing about what it is each table:

  • Exceptions list.
  • Work weeks list.

Create default work week of non-derived calendar

When you create a new calendar, non derived, it is created by default a work week of:

  • Monday: 8h (0h extra)
  • Tuesday: 8h (0h extra)
  • Wednesday: 8h (0h extra)
  • Thursday: 8h (0h extra)
  • Friday: 8h (0h extra)
  • Saturday: 0h (0h extra)
  • Monday: 0h (0h extra)

However, on creating a new work week over a calendar non derivated it is created with 0h in all days. Use the default week above for the new work weeks of non-derived calendars.

User stories

Tasks in this story

Tasks Est Spent To do Risk Reviewer Developer Task Name Start Date Est End Date End Date
Task 10 2.5 7.5 Low JavierMoran LorenzoTilve Refactoring calendar interface to include some usability improvements      
Task 7 0 7 Low JavierMoran DiegoPino Change pop-up to create new work week      
Task 2 0 2 Low JavierMoran DiegoPino Allow to change derived calendar in work week table      
Task 2 0 2 Low JavierMoran DiegoPino Allow to change derived calendar in work week table      
Task 3 0 3 Low JavierMoran DiegoPino Corrections in calendars listing      
Task 2 0 2 Low JavierMoran DiegoPino Change the format of the summary work week line in work weeks table      
Task 2 0 2 Low JavierMoran DiegoPino Change layout in calendars      
Task 2 0 2 Low JavierMoran DiegoPino Create default work week of non-derived calendar      

Total Hours in this Story

User Spent in XpTracker Spent in phpReport Ok?
LorenzoTilve 2.5 0 ALERT!
DiegoPino 0 0 DONE
Total 2.5 0 ALERT!

Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Clone this wiki locally