Commit graph

7212 commits

Author SHA1 Message Date
Nacho Barrientos
ceaa03afcd Refactor. Extract some code to a private method because the same logic is gonna be called from other methods in the future.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:40:21 +01:00
Nacho Barrientos
07667fd294 Fix marginWithDeadline chart.
* Add fixed bounds to range axis.
* Set series color.
* Adjust chart width.

FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:39:52 +01:00
Nacho Barrientos
289475cbf7 Fix window scrolling.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:39:33 +01:00
Nacho Barrientos
a79f21d35c Cache margin with deadline KPI because now it's requested by the controller twice.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:39:21 +01:00
Nacho Barrientos
dc906a9d07 Refactor local variable name.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:38:21 +01:00
Nacho Barrientos
1dedd48508 Customize X axis tick font, series color and range axis bounds.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:38:01 +01:00
Nacho Barrientos
26857d667b Bring time KPI "Estimation accuracy" to the UI.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:37:33 +01:00
Nacho Barrientos
02482368b1 Fix typo in static member name.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:36:40 +01:00
Nacho Barrientos
5cbd4d174f Adjust upper bound for EA stretches.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:36:13 +01:00
Nacho Barrientos
ae2e82cc8f Add visitor to calculate hours estimation deviation for finished tasks.
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:35:57 +01:00
Nacho Barrientos
6cc00cf01f Business logic for time KPI "Estimation accuracy"
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:34:54 +01:00
Nacho Barrientos
c63f5a4cae Temporary UI for time KPI "Margin with deadline"
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:32:56 +01:00
Nacho Barrientos
2eaa32ece5 Implement business logic for time KPI "Margin with deadline"
FEA: ItEr75S27PerProjectDashboard
2011-12-02 16:31:49 +01:00
Manuel Rego Casasnovas
75ab0d670b Merge branch 'master' into project-dashboards 2011-11-18 12:40:02 +01:00
Nacho Barrientos
debb6f2d6b Add a generic method to calculate percentages to avoid duplicate code.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:49:03 +01:00
Nacho Barrientos
04107ecd01 Coding style and minor issues.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:49:02 +01:00
Nacho Barrientos
bf1f7fbaa6 i18nize user-space strings.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:49:01 +01:00
Nacho Barrientos
39836692a5 Bring progress KPI "Deadline violation" to the UI.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:49:00 +01:00
Nacho Barrientos
564b81402b Cancel planning state reattaching.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:58 +01:00
Nacho Barrientos
3adecfa6f9 Add pie chart to represent progress KPI "Number of tasks by status".
WARNING: These changes require a patched version of Igalia's
jFreeChartEngine to work properly.

FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:58 +01:00
Nacho Barrientos
16978d0963 Add bar chart to represent progress KPI "Global progress of the project".
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:57 +01:00
Nacho Barrientos
e0e2a5ca08 Bring progress KPI "Global progress of the project" to DashboardModel.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:56 +01:00
Nacho Barrientos
51c1b75375 Add extra methods to calculate working days until date that consider limit dates more recent than the end date of the task.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:55 +01:00
Nacho Barrientos
4ecc8d27db Assign EfforDuration references again to the result of the sum as they are immutable.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:54 +01:00
Nacho Barrientos
eed5bfe2ea Add method to retrieve theoretical progress.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:53 +01:00
Nacho Barrientos
c80e174c5d Several changes to the UI: * Use bindings to link ZUL items to controller methods. * Add Model for DashboardController * Implement methods to bring data and calculate progress KPI "Task Status" * Fetch PlanningState to get updated planning status * Add dumb Label to the view to do preliminary tests.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:51 +01:00
Nacho Barrientos
edab490939 Add a new empty tab to the UI.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:48:08 +01:00
Nacho Barrientos
23d134ca22 Initialize Map before traversing task graph.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:48 +01:00
Nacho Barrientos
21f480e4f5 Enable recursion.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:47 +01:00
Nacho Barrientos
ef2b1d3572 Request only first-level children when traversing task graph.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:46 +01:00
Nacho Barrientos
c2fd5af3db Create a new Integer when incrementing status counts as wrappers are immutable.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:44 +01:00
Nacho Barrientos
3034a31a4b Fix test. Reset task status.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:43 +01:00
Nacho Barrientos
f30e2f0c5a Avoid using equals to compare if task progress is zero or one, use compareTo instead.
BigDecimal.ZERO and BigDecimal("0.0000") are not conceptually the same
thus equals returns false.

FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:42 +01:00
Nacho Barrientos
0658e9b290 Add visitor to reset task statuses.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:41 +01:00
Nacho Barrientos
8910ff9869 Cache task status (only if FINISHED or IN_PROGRESS) to avoid doing unnecessary calculations (especially in nodes if type TaskGroup).
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:39 +01:00
Nacho Barrientos
88e084fde1 Fix coding style. Add space in for/if statements.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:38 +01:00
Nacho Barrientos
8f756adeb9 Add description to two classes.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:37 +01:00
Nacho Barrientos
16a12b3b2e Rename class (Visitor -> TaskElementVisitor)
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:35 +01:00
Nacho Barrientos
a9642122eb Initialize Map before traversing task tree.
FEA: ItEr75S27PerProjectDashboard
2011-11-18 11:10:34 +01:00
Manuel Rego Casasnovas
7d648ff41c [Bug #1267] Add reloadBindings of material tree after saving
Taking advantage to add toString in MaterialCategory.

FEA: ItEr75S04BugFixing
2011-11-18 10:37:17 +01:00
Manuel Rego Casasnovas
22d19a8c83 [Bug #1270] Fix issue invalidating TaskComponent
This is a quick fix for this issue but we should review it properly as
smartUpdate should be the best way to do this change instead of using
invalidate.

Moreover the methods updateTooltipText are not really updating the
tooltip so can cause some misunderstanding.

FEA: ItEr75S04BugFixing
2011-11-18 09:09:19 +01:00
Manuel Rego Casasnovas
92311bc039 [Bug #1270] Fix problem the first time you choose a progress type
FEA: ItEr75S04BugFixing
2011-11-18 08:12:51 +01:00
Manuel Rego Casasnovas
d99c33e90f [Bug #1269] Mark as selected the configured progress
FEA: ItEr75S04BugFixing
2011-11-18 08:10:04 +01:00
Lorenzo Tilve Álvaro
8c15af7406 Added a message in print modal window to remind saving
FEA: ItEr75S04BugFixing
2011-11-17 22:47:15 +01:00
Lorenzo Tilve Álvaro
74846eb92a [Bug #1260] Fixed resizing of task information table in allocation popup
FEA: ItEr75S04BugFixing
2011-11-17 22:47:15 +01:00
Lorenzo Tilve Álvaro
cc0fd54a2f [Bug #1268] Removed display property causing progress-types combobox issues
FEA: ItEr75S04BugFixing
2011-11-17 22:47:14 +01:00
Lorenzo Tilve Álvaro
10917a2dc5 Fixed Sahi test : data-types/unit_measures_test.sah
FEA: ItEr75S04BugFixing
2011-11-17 22:47:14 +01:00
Lorenzo Tilve Álvaro
1c4c34c3cf Fixed Sahi test : scheduling/templates_test.sah
FEA: ItEr75S04BugFixing
2011-11-17 22:47:14 +01:00
Manuel Rego Casasnovas
13332ab4fd [Bug #1272] Set progress in TaskElement when its created
FEA: ItEr75S04BugFixing
2011-11-17 20:13:31 +01:00
Manuel Rego Casasnovas
cd9c71d18e [Bug #1269] Fix tooltip text using now configured progress type
FEA: ItEr75S04BugFixing
2011-11-17 19:46:15 +01:00