Skip to content

Peterson implemented an error toast for invalid links in the user profile.#4905

Open
peterson337 wants to merge 1 commit intodevelopmentfrom
peterson-implement-error-message-toast
Open

Peterson implemented an error toast for invalid links in the user profile.#4905
peterson337 wants to merge 1 commit intodevelopmentfrom
peterson-implement-error-message-toast

Conversation

@peterson337
Copy link
Contributor

Description

This PR has been opened to replace the existing error message with a toast notification when a user attempts to add an invalid link to their profile.

Related PRS (if any):

None

Main changes explained:

The EditLinkModal.jsx component has been modified to fix the bug.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. Log in as an admin or owner user.
  5. Go to welcome → view profile.
  6. On the user profile page, click on Edit Link, add an invalid link, and attempt to submit it. A red toast notification should appear indicating the error.

Screenshots or videos of changes:

After.my.fix.mp4

Note:

None.

@netlify
Copy link

netlify bot commented Feb 27, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit d364f5f
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69a0e607bdd5a40008c95d10
😎 Deploy Preview https://deploy-preview-4905--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Copy link
Contributor

@JuliaHa0902 JuliaHa0902 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have reviewed the pull request and confirm the toast error show up for invalid links in the user profile.

Image

I have a problem scrolling down the user page, but it doesn't seem to come from your PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants