Okay, this is enough time-math for the moment. Let's now use the elements that we've created to shape some components that will help us gather user input.
In this section, we will create two components to manage efforts:
- Duration component: The duration component is a simple UI component, enabling user input of time durations using the formatted time strings we dealt with in the previous topics. It uses an editor component to enable user input and makes use of the time formatting pipe as well as the parseDuration utility function.
- Efforts component: The efforts component is just a composition of two duration components that represent the estimated effort and the effective effort spent on a given task. Following ...