Difference between revisions of "TeamHope"

From mn/ifi/inf5750
Jump to: navigation, search
(A lot)
(Added division of labor + a few edits)
Line 1: Line 1:
 
== Group members ==
 
== Group members ==
 
Mikkel Bakken
 
Mikkel Bakken
+
 
 
Ingvild Larsen
 
Ingvild Larsen
  
Line 7: Line 7:
  
 
Kristian Pedersen
 
Kristian Pedersen
 
+
==='''Assignment'''===
=== '''Assignment :''' ===
 
 
[[Stock Level Visualisations]]
 
[[Stock Level Visualisations]]
 
+
==='''Requirements'''===
=== '''Requirements:''' ===
+
===='''Description'''====
 
 
==== '''Description:''' ====
 
 
The application shall have two modes:
 
The application shall have two modes:
  
Line 19: Line 16:
  
 
- Time trend, showing time trend of stock for a single organization unit.
 
- Time trend, showing time trend of stock for a single organization unit.
 +
===='''Functional requirements'''====
 +
The user can choose between the two modes described above.
  
==== '''Functional requirements:''' ====
+
'''Both:'''
The user can choose between the two modes described above.
+
 
 +
- Default min/max boundaries can be set by an administrator (administrator view in mockup).
 +
 
 +
- The user can specify their own desired min/max boundaries as well (user view in mockups).
 +
 
 +
- If the administrator has not set a default min/max boundary, there is no default min/max boundary in the plot.
  
For "Estimates":
+
'''For "Estimates":'''
  
 
- The user can specify one stock type, and multiple organization units.
 
- The user can specify one stock type, and multiple organization units.
Line 33: Line 37:
 
- Estimates are calculated based on average consumption over the last 3 months, and current stock levels ((current stock) / (average consumption) = estimated months left).
 
- Estimates are calculated based on average consumption over the last 3 months, and current stock levels ((current stock) / (average consumption) = estimated months left).
  
For "Time trend":
+
- Default min/max boundaries are shared by all organization units.
 +
 
 +
'''For "Time trend":'''
  
 
- The user can select an organization unit, and a stock type.
 
- The user can select an organization unit, and a stock type.
  
- Show time trend as a graph (to do).
+
- Show time trend(months) of available stock as a graph.
  
 
- The min/max boundaries are shown as lines in the graph.
 
- The min/max boundaries are shown as lines in the graph.
Line 43: Line 49:
 
- The user can choose the time period they wish to see the time trend for (by default the last 6 months).
 
- The user can choose the time period they wish to see the time trend for (by default the last 6 months).
  
Both:
+
- Default min/max boundaries are associated with a specific organization unit and stock type.
 +
===='''Mockups'''====
 +
==='''Architecture'''===
 +
We have chosen React, because of the view focused framework. We also feel that the group as a whole has more experience with React.
 +
 
 +
- Highcharts
 +
==='''Licensing'''===
 +
To do
 +
 
 +
=== '''Timeline''' ===
 +
{| class="wikitable"
 +
!Milestone
 +
!Goal
 +
!Date
 +
!Comment
 +
|-
 +
|1
 +
|Wiki page ready
 +
|November 1st
 +
|
 +
|-
 +
|2
 +
|App ready for use
 +
|November 20th
 +
|
 +
|}
 +
 
 +
=== '''Division of labour''' ===
 +
 
 +
==== '''Components''' ====
 +
- Select mode (ModeSelector)
 +
 
 +
'''Estimates:'''
 +
 
 +
Sidebar:
 +
 
 +
- Search for organization units (MultipleOrgSearch)
 +
 
 +
- Search field (OrgSearch)
 +
 
 +
- Selected orgs list (OrgList)
 +
 
 +
- Input min/max boundary (UserBoundaryInput)
 +
 
 +
- Min (InputNumber)
 +
 
 +
- Max (InputNumber)
 +
 
 +
- Select stock (StockSelector)
 +
 
 +
- Showbutton (Showbutton)
 +
 
 +
- Admin box (AdminBox)
 +
 
 +
- Input min/max boundary (AdminBoundaryInput)
 +
 
 +
- OK button (OK)
 +
 
 +
Visualization:
 +
 
 +
- Diagram (EstimateDiagram)
 +
 
 +
'''Time trend:'''
 +
 
 +
Sidebar:
 +
 
 +
- Search for organization unit (SingleOrgSearch)
 +
 
 +
- Search field (OrgSearch)
 +
 
 +
- Input min/max boundary (UserBoundaryInput)
 +
 
 +
- Min (InputNumber)
 +
 
 +
- Max (InputNumber)
  
- Default min/max boundaries can be set by an administrator (administrator view in mockup).
+
- Select stock (StockSelector)
 +
 
 +
- Select period (PeriodSelector)
 +
 
 +
- From (SelectDate)
 +
 
 +
- To (SelectDate)
 +
 
 +
- Showbutton (Showbutton)
  
- The user can specify their own desired min/max boundaries as well (user view in mockups).
+
- Admin box (AdminBox)
  
- If the administrator has not set a default min/max boundary, there is no default min/max boundary in the plot.
+
- Input min/max boundary (AdminBoundaryInput)
  
==== '''Mockups:''' ====
+
- OK button (OK)
  
=== '''Architecture:''' ===
+
Visualization:
We have chosen React, because of the view focused framework. We also feel that the group as a whole has more experience with React.
 
  
- Highcharts
+
- Time trend (TimeTrendGraph)
  
=== '''Licensing:''' ===
+
'''Division:'''
To do
 
  
=== '''Repository:''' ===
+
==='''Repository'''===
 
https://github.uio.no/TeamHope/project
 
https://github.uio.no/TeamHope/project

Revision as of 12:03, 27 October 2017

Group members

Mikkel Bakken

Ingvild Larsen

Carl Petter Boehlke

Kristian Pedersen

Assignment

Stock Level Visualisations

Requirements

Description

The application shall have two modes:

- Estimates, showing estimated months left of a selected stock, for chosen organization units.

- Time trend, showing time trend of stock for a single organization unit.

Functional requirements

The user can choose between the two modes described above.

Both:

- Default min/max boundaries can be set by an administrator (administrator view in mockup).

- The user can specify their own desired min/max boundaries as well (user view in mockups).

- If the administrator has not set a default min/max boundary, there is no default min/max boundary in the plot.

For "Estimates":

- The user can specify one stock type, and multiple organization units.

- Show current estimates as columns in a column diagram.

- Columns outside the specified min/max boundaries will be highlighted.

- Estimates are calculated based on average consumption over the last 3 months, and current stock levels ((current stock) / (average consumption) = estimated months left).

- Default min/max boundaries are shared by all organization units.

For "Time trend":

- The user can select an organization unit, and a stock type.

- Show time trend(months) of available stock as a graph.

- The min/max boundaries are shown as lines in the graph.

- The user can choose the time period they wish to see the time trend for (by default the last 6 months).

- Default min/max boundaries are associated with a specific organization unit and stock type.

Mockups

Architecture

We have chosen React, because of the view focused framework. We also feel that the group as a whole has more experience with React.

- Highcharts

Licensing

To do

Timeline

Milestone Goal Date Comment
1 Wiki page ready November 1st
2 App ready for use November 20th

Division of labour

Components

- Select mode (ModeSelector)

Estimates:

Sidebar:

- Search for organization units (MultipleOrgSearch)

- Search field (OrgSearch)

- Selected orgs list (OrgList)

- Input min/max boundary (UserBoundaryInput)

- Min (InputNumber)

- Max (InputNumber)

- Select stock (StockSelector)

- Showbutton (Showbutton)

- Admin box (AdminBox)

- Input min/max boundary (AdminBoundaryInput)

- OK button (OK)

Visualization:

- Diagram (EstimateDiagram)

Time trend:

Sidebar:

- Search for organization unit (SingleOrgSearch)

- Search field (OrgSearch)

- Input min/max boundary (UserBoundaryInput)

- Min (InputNumber)

- Max (InputNumber)

- Select stock (StockSelector)

- Select period (PeriodSelector)

- From (SelectDate)

- To (SelectDate)

- Showbutton (Showbutton)

- Admin box (AdminBox)

- Input min/max boundary (AdminBoundaryInput)

- OK button (OK)

Visualization:

- Time trend (TimeTrendGraph)

Division:

Repository

https://github.uio.no/TeamHope/project