This repository has been archived by the owner on Feb 3, 2025. It is now read-only.
[UX] - Add buttons for pre-filled equations on DVA-T #35
Labels
enhancement
New feature or request
User Experience
Enhancement specifically for user experience on the site
Since there isn't really a simple way for the user to input their DVA-T graphs we had them input equations to form a piecewise function to represent the graph, while this makes the transformations between graphs feasible it makes the tool a little confusing, eventually an explanation on how to use the graphs will be added but even with that I'd guess it would leave many people just as lost as when they first went to the page.
To counteract this we should have a couple of pre-generated equations that they can easily use, just add a couple of buttons that fill out the table for the user, we could have a system that has multiple buttons i.e.
Example 1
Example 2
Example 3
... but this would most likely get cluttered fairly quickly and possibly overwhelm the user. I think there should just be an array of prefilled equations and have aNext Example
button to cycle between them, we could also have aPrevious Example
button but I'm not sure how that will look and feel in the final result, so whoever adds this should add the button at their own discretion, though I'd recommend at least trying it as it shouldn't be hard.In the code for this feature we can keep the piecewise functions in an array / other data structure. try to keep it functionalized with utility functions and specifically a function that can load a piecewise function from a given index, then we just increment/decrement the index when the button is pressed.
The text was updated successfully, but these errors were encountered: