Hi all,
TOPIC
Which approach would you choose? Details below.
CONTEXT
The context here relates to management of a file that contains multiple user journeys for multiple user types and role.
A common user journey displays the different states of a form in a modal as the user completes the form.
Given this journey is completed on one screen, but it contains one frame per step of the user journey as the user fills in the fields which cause the next field to become enabled, the exact same background is displayed under the modal per frame. This is a common pattern across our journeys.
In addition, this same file contains:
- This same user journey for different user types, each with multiple roles. Some roles within and across user types see some fields disabled or some content hidden depending on the role.
- Different user journeys that also start from the same page.
SOLUTIONS
Consequently, we can either:
- Copy/paste the background screen once per frame per journey, or
- Create the background screen as a component and insert once instance of the component per frame and manually hiding layers or manually setting components to their disabled state when required, or
- Create the background screen as a component and one variant per user role that sees different content and inserting one instance of the component per frame which wouldn’t require any manual hiding of layers or setting components to their disabled state
CHALLENGE
- We believe that solution 1 will use the most memory and be most effort to maintain.
- We believe that solution 2 would be more memory efficient than solution 1, but will be less memory efficient and require more time to maintain than solution 3.
- We believe that solution 3 will be most memory efficient and require the least time in the long-run, albeit more time to setup at the beginning.
QUESTION
Not all our team members agree, so to help settle this debate, would you go with solution 1, 2, 3 or something else? Why?