SSWConsulting / SSWConsulting/SSW.Website

🐛 Bug - Incorrect Preview Link for New Pages on SSW Website

Open
#4,053 0 comments 0 reactions 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: @louisroa8189 via YakShaver.ai 🦬
cc: @louisroa8189, @brookjeynes-ssw, @adamcogan, @babakamyljanovssw

Hi Team!

  🟥  Watch the video (41 sec)

  Url from screen share: https://app-sswwebsite-qa2b-6745.azurewebsites.net/

Pain

When creating a new landing page on the SSW Website (Dev - Next.js), the preview button generates a broken link instead of the correct deployment link.

Acceptance Criteria
  1. The preview button should generate the correct link for newly created pages.
  2. The link should match the actual deployment link of the demo site.
  3. Ensure the issue is resolved for all types of new pages created on the platform.
Reproduce Steps
  1. Create a new page on the SSW Website (Dev - Next.js), such as a Rewards (Mobile app) page.
  2. Click on the preview button.
  3. Observe the link generated and compare it to the actual deployment link.
  4. Note the discrepancy between the generated link and the correct link.
Screenshot

Screenshot
Figure: Preview button leads to incorrect link

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 with the Next.js website's preview-button flow and reproduce the issue by creating a new Rewards page, then compare the generated URL with the actual deployment link. Done means newly created pages of all types open through the correct deployment link.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.