Skip to content

back button when user finishes creating poll #100

@divine-comedian

Description

@divine-comedian

when the user creates a poll and then goes to view the poll we should change how the back button functions

if I view the poll then hit the back button currently it takes me to the create poll page, in this case we should instead send the user to the explore all list of polls.

In addition we should ensure back button functionality for other scenarions on the poll details page works in a logical manner. (check AC)

AC

  • After creating a poll, when the user navigates from the success modal to the poll details page, and pressing the back button from the poll details page should take the user to the "Explore All Polls" page (main list of polls), not the poll creation screen.
  • If going to the poll details page from user activities page, hitting the back button should take the user back to user activities page
  • If going to the poll details page from "most recent" category page, hitting the back button should take the user back to "most recent" category page
  • If going to the poll details page from "trending polls" category page, hitting the back button should take the user back to "trending polls" category page
  • If going to the poll details page from "my votes" category page, hitting the back button should take the user back to "my votes" category page
  • If going to the poll details page from "user profile" page, hitting the back button should take the user back to "user profile" page
  • If going to the poll details page from "my profile" page, hitting the back button should take the user back to "my profile" page

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions