Difference between revisions of "Full-Stock-Developers"

From mn/ifi/inf5750
Jump to: navigation, search
(Division of labour)
(Product overview)
Line 11: Line 11:
  
 
The application will include two different features:  
 
The application will include two different features:  
* '''Stock visualiser:''' Display estimated months of stock left for a given selection of organisational units, and a given selection of stock.   
+
* '''Stock visualizer:''' Display estimated months of stock left for a given selection of organizational units, and a given selection of stock.   
* '''Time trend view:''' Dislplay a graph of historical levels of a given stock in a given organisational unit.     
+
* '''Time trend view:''' Display a graph of historical levels of a given stock in a given organizational unit.     
 +
as well as a third feature:
 +
* '''Admin control:''' Display controls for adding stock groups as well as editing minimum and maximum values.
 +
We display Stock visualizer as a bar graph, where each bar is an organizational unit's months of stock left. This number is calculated by dividing the current level of stock left with the average use of that stock.
  
As of now we imagine the data from the stock visualiser displayed in a grid, with the Y- axis consisting of the selected org. units, and the  X-axis being the selected subset of avaliable stock units. Estimated months left wil be calculated based on usage in the last three months, and minimum and maximum values will be set by an administrator.
+
Time trend view displays a line graph with the fluctuating availability of a stock, as well as an average of this availability.
  
In the time trend view we will have a line-graph with minimum and maximum stock levels being indicated with dotted lines. These levels will be adjustable by users with administrative privileges.
+
The Admin control shows a user interface to add stock groups and one to edit the minimum and maximum values of existing stock spaces.  
 
 
These designs are subject to change as we test different ways of displaying the data.
 
  
 
=== Requirements ===
 
=== Requirements ===
Line 44: Line 45:
 
[[File:Rough timeline.png|none|thumb|480x480px]]
 
[[File:Rough timeline.png|none|thumb|480x480px]]
  
=== Division of labour ===
+
=== Division of labor ===
 
1.nov:  
 
1.nov:  
 
* Kristoffer: get a basic visual framework up and running.  
 
* Kristoffer: get a basic visual framework up and running.  
 
* Andreas: start working on finding the API calls for the parameters of the stock visualizer view.  
 
* Andreas: start working on finding the API calls for the parameters of the stock visualizer view.  
* Ole: start working on finding the API calls neccecary in the time trend view.  
+
* Ole: start working on finding the API calls necessary in the time trend view.  
 
* Lukas: start working on creating a table in the API for registering min and max values for a given OU/SKU pair.  
 
* Lukas: start working on creating a table in the API for registering min and max values for a given OU/SKU pair.  
  
Line 54: Line 55:
 
''Discuss the implications (if any) on the product you are development from the software licenses of the frameworks and libraries you are using.''
 
''Discuss the implications (if any) on the product you are development from the software licenses of the frameworks and libraries you are using.''
  
Angular uses MIT license.
+
All our frameworks use the liberal MIT license. This means that only credit is needed.
 
 
TODO later
 
  
 
== Github repository ==
 
== Github repository ==
 
[https://github.uio.no/krisaso/Stock-Level-Visualiser Github]
 
[https://github.uio.no/krisaso/Stock-Level-Visualiser Github]

Revision as of 18:18, 6 December 2017

Members

  • Andreas Finn Hansen (andrefh)
  • Kristoffer Solheim (krisaso)
  • Lukas Vannini (lukasva)
  • Ole Marius Haanæs (omhaanae)

Assignment

Stock Level Visualisations

Product overview

The application will include two different features:

  • Stock visualizer: Display estimated months of stock left for a given selection of organizational units, and a given selection of stock.
  • Time trend view: Display a graph of historical levels of a given stock in a given organizational unit.

as well as a third feature:

  • Admin control: Display controls for adding stock groups as well as editing minimum and maximum values.

We display Stock visualizer as a bar graph, where each bar is an organizational unit's months of stock left. This number is calculated by dividing the current level of stock left with the average use of that stock.

Time trend view displays a line graph with the fluctuating availability of a stock, as well as an average of this availability.

The Admin control shows a user interface to add stock groups and one to edit the minimum and maximum values of existing stock spaces.

Requirements

Architecture

Describe the technical architecture of the product, including what frameworks you will be using (e.g. react, angular, others) and /why/ you have chosen these.

Main frameworks

Angular

Angular Material

ng2-charts (based on Chart.js)

Other frameworks

Angular CLI

Angular Flex-Layout

Material Design Icons

Sass

Development

Rough timeline.png

Division of labor

1.nov:

  • Kristoffer: get a basic visual framework up and running.
  • Andreas: start working on finding the API calls for the parameters of the stock visualizer view.
  • Ole: start working on finding the API calls necessary in the time trend view.
  • Lukas: start working on creating a table in the API for registering min and max values for a given OU/SKU pair.

Licensing

Discuss the implications (if any) on the product you are development from the software licenses of the frameworks and libraries you are using.

All our frameworks use the liberal MIT license. This means that only credit is needed.

Github repository

Github