User History Introduction - Seeding Rate Calculator
The user history feature enables users to save their calculation process, so they don’t have to reselect options each time they log in. When users log in again, the application retrieves this data from the backend, allowing them to resume their previous selections without reconfiguring their choices. This enhances user experience by providing a personalized interaction with the app.
Schema definition:
The history data saved in the backend is defined by schema
, and will update constantly.
You can find the documentation about setting up schema
here.
The schema
number currently used is specified in .env
file. Currently the schema
contains most redux data and is structured as follows:
User experience:
To utilize the user history feature, the user must sign up and log in first. At Site Condition
page, click on Create New Calculation
button to create a new history record with a nickname. After that, when the user make any selection and switch page, the history will be saved in the backend.
To load the history, use the dropdown on first page to select one record and click Import
button to load the history. This allows the user retrieve the previous calculation and make any changes. However, there are some data on Site Condition
which are unable to change (like state
or location
since these will affect the further result). When the user attempt to make change, a popup will prompt the user to create a new record. Also, for selections on Species Selection
and Mix Ratios
page, the user still have options to update their selections, but this will replace the data in the further steps of the calculation.
Except for this, the user is able to edit other information in other steps, and the changes will be saved in the history.