GeneralMagicio / GeneralMagicio/worldview-fe

back button when user finishes creating poll

Open
#100 2 comments 0 reactions 1 assignee Claimed by @RamRamez View on GitHub
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.