SSWConsulting / SSWConsulting/SSW.Website

🐛 Bug - Preview Mode Displays Old Page

Open
#4,387 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Needs Refinement YakShaver
Dominant language
HTML
Stars
14
Forks
10
Avg merge
13h 51m
Merged PRs (30d)
38

Description

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue on the Azure Services page through the SSW Website Dev - Next.js Admin URL, using Edit in Admin, a pull request, and preview mode. Trace how preview mode and the editor load page content, then verify that updated content appears after the pull request and that other pages or components are unaffected.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.