ChristopherPHolder / app-speed

🌟 Beyond First Impressions: Measure your apps performance on user interactions
2 stars 0 forks source link

Service to manage User-Flow Step Form #75

Open ChristopherPHolder opened 7 months ago

ChristopherPHolder commented 7 months ago

Description

Logic related to the user-flow step should be moved out of the template and into a separate service.

Public Methods

It should have a method that when called can reset to a default. This actually means clearing it and leaving it with a type control only or it can also add the default values and controls for a newly selected step type.

It should have a method to add new options or props to the step.

Public Properties

It should expose all the necessary information to display the form.

type: formControl; props: stepProp[] optionalProps: stepProp[]