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

An Error page is shown after refreshing the Edit contact page #122

Open
weaponsforge opened this issue Apr 29, 2023 · 0 comments
Open

An Error page is shown after refreshing the Edit contact page #122

weaponsforge opened this issue Apr 29, 2023 · 0 comments
Labels
ui ux polishing UI updates and optimizations for a smoother UX

Comments

@weaponsforge
Copy link
Owner

weaponsforge commented Apr 29, 2023

Description

  • Currently, refreshing the contact page from the /contacts/edit/{docId} route yields an error page.
  • Refreshing a contact from the /contacts/edit/{docId} page should not display an error page. It should either:
    • display the Contact document and it's Contact photo
    • Redirect back to the /contacts page

Steps to Reproduce

  1. Sign-in to your account in https://weaponsforge.github.io/
  2. Start editing a Contact by pressing it's Contact card thumbnail
  3. Press the refresh button once inside the /contacts/edit/{docId} edit page.
    • Take note of 404 (this could not be found page)
    • Also, take note of the React console errors when working on localhost

Please view the attached video and and screenshots for reproducing this bug for reference.

Video: Error when refreshing the edit contact page

edit-contact.mp4

Error Screenshot From the Live Website

Capture

Error Screenshot On Localhost Development

error2

@weaponsforge weaponsforge added the ui ux polishing UI updates and optimizations for a smoother UX label Apr 29, 2023
@weaponsforge weaponsforge changed the title Refreshing a contact from the /contacts/edit/{docId} yields an error page Display a Contact document after refreshing the contact page from the /contacts/edit/{docId} Apr 29, 2023
@weaponsforge weaponsforge changed the title Display a Contact document after refreshing the contact page from the /contacts/edit/{docId} Do not display an Error page after refreshing the contact page from the /contacts/edit/{docId} route Apr 29, 2023
@weaponsforge weaponsforge changed the title Do not display an Error page after refreshing the contact page from the /contacts/edit/{docId} route Do not display an Error page after refreshing the Edit contact page Apr 29, 2023
@weaponsforge weaponsforge changed the title Do not display an Error page after refreshing the Edit contact page An Error page is shown after refreshing the Edit contact page Apr 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui ux polishing UI updates and optimizations for a smoother UX
Projects
None yet
Development

No branches or pull requests

1 participant