Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save and Return UX #819

Open
dthomps1 opened this issue Jul 6, 2016 · 1 comment
Open

Save and Return UX #819

dthomps1 opened this issue Jul 6, 2016 · 1 comment
Labels

Comments

@dthomps1
Copy link

dthomps1 commented Jul 6, 2016

User feedback - when returning to a claim, users are returned to page 1, rather than the page they left. Details are saved, but users comment that they would rather return to the page they left.

@dthomps1 dthomps1 added the ux label Jul 6, 2016
@matias-eduardo
Copy link

You could add a navigation_stack similar to the one in the tax tribunals-datacapture repo.

This implementation is super simple and adds two key pieces of functionality: 1) saves the current step so that I can take the user directly to it, and 2) adds a working back button.

The only difference in my implementation is that I call the update function explicitly within the "show" step page rather than using a before_action callback.

Here's how it gets saved on the db:

navigation_stack: [
   "/profiles/16/steps/name",
   "/profiles/16/steps/email",
   "/profiles/16/steps/do_you_have_a_linkedin",
   "/profiles/16/steps/linkedin",
   "/profiles/16/steps/use_linkedin_as_resume",
   "/profiles/16/steps/are_you_currently_in_pr",
   "/profiles/16/steps/current_location"
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants