Skip to content

🐛 Bug - Preview Mode Displays Old Page #4387

@miichaelsmedley

Description

@miichaelsmedley

Requested by: @miichaelsmedley via YakShaver.ai 🦬
cc: @miichaelsmedley, @brookjeynes-ssw, @adamcogan, @babakamyljanovssw

Hi Team!

  🟥  Watch the video (1 min 23 sec)

  Url from screen share: https://ssw.com.au/admin/index.html/collections/consultingv2

Pain

Fix the issue where the preview mode displays the old page instead of the updated page after a pull request.

Acceptance Criteria

  1. Preview mode should display the updated page with all new changes after a pull request.
  2. Ensure that the editor reflects the latest changes made to the page.
  3. Verify that the issue does not occur on other pages or components.

Reproduce Steps

  1. Navigate to the Azure Services page on the SSW Website (Dev - Next.js).
  2. Click on 'Edit in Admin' and make changes to the page.
  3. Submit a pull request with the changes.
  4. Go back to the same page and switch to preview mode.
  5. Observe that the preview mode displays the old page instead of the updated page.

Screenshot

Screenshot
Figure: Preview mode shows outdated page instead of updated content

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    🤷‍♂️ Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions