HacktoberFest OpenSource URLShortener Application - Participate in Hacktoberfest by contributing to any Open Source project on GitHub! Here is a starter project for first time contributors. #hacktoberfest
When a user attempts to shorten a URL using a keyword that has already been taken, the system redirects the user and displays the message "The Keyword Already Exists, Choose a Different One" as a hyperlink (href). This redirection causes confusion and disrupts the user experience, as the error message should be shown on the same page, allowing users to correct their input without leaving the page.
Steps to Reproduce
Go to the URL shortening page.
Enter a keyword that has already been used for another URL.
Click on the "Shorten" button.
The user is redirected, and the error message "The Keyword Already Exists, Choose a Different One" is shown as a hyperlink.
Expected Behavior
If a user enters a keyword that has already been taken:
The user should not be redirected to another page with that error message.
An error message (e.g., "The Keyword Already Exists, Choose a Different One") should appear in the form of an in-place popup, modal, or alert on the same page.
The user should be able to correct the keyword immediately and try again without leaving the current page.
Actual Behavior
The user is being shown a hyperlink which says "The Keyword Already Exists, Choose a Different One" (href).
This breaks the flow of the shortening process.
Environment
OS: [e.g., Windows, macOS, Linux]
Version: [e.g., 1.0.0]
Browser: [e.g., Chrome, Firefox, etc.]
Additional Context
The issue impacts user experience, as redirection causes unnecessary page loads. Adding validation to show the error message as a popup or inline message would allow users to immediately correct the input without page redirection.
Description
When a user attempts to shorten a URL using a keyword that has already been taken, the system redirects the user and displays the message "The Keyword Already Exists, Choose a Different One" as a hyperlink (
href
). This redirection causes confusion and disrupts the user experience, as the error message should be shown on the same page, allowing users to correct their input without leaving the page.Steps to Reproduce
Expected Behavior
If a user enters a keyword that has already been taken:
Actual Behavior
href
).Environment
Additional Context
The issue impacts user experience, as redirection causes unnecessary page loads. Adding validation to show the error message as a popup or inline message would allow users to immediately correct the input without page redirection.