Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Domain Search: The back button doesn't work as expected #95922

Open taipeicoder opened 1 day ago

taipeicoder commented 1 day ago

Quick summary

The back button seems to take users to the domains management page which is not always the expected behavior. See the back button in the screenshot below for reference:

Image

Steps to reproduce

  1. Start at /mailboxes/:domain
  2. Click on the "Just search for a domain" button
  3. Once in the domain search screen, click on the back button
  4. The user is taken to the domain management page instead of the "My Mailboxes" screen

What you expected to happen

To be taken back to the last visited page

What actually happened

Landed on the domains management page

Impact

One

Available workarounds?

No but the platform is still usable

If the above answer is "Yes...", outline the workaround.

No response

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

Robertght commented 1 day ago

📌 REPRODUCTION RESULTS

📌 ACTIONS

📌 Message to Author @taipeicoder it appears that I'm missing a step or two from the instructions shared above. Is it possible to share a video recording of this process instead perhaps?

taipeicoder commented 23 hours ago

Thanks for the follow-up. The issue is that if I started the user journey in "My Mailbox" (/mailboxes/:domain), then click on the "Just search for a domain" button:

Image

I land on the Domains Search page. If I click on the Back button:

Image

I expected to be back in "My Mailbox". Instead, I was taken to the Domains page (/domains/manage/:domain). Let me know this needs further clarification.