Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Prompt Form Component for Improved User Navigation #345

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

FindMalek
Copy link

This pull request addresses an enhancement in the user navigation experience by modifying the behavior of the 'IconPlus' component in the components/prompt-form.tsx file.

Previously, clicking the 'IconPlus' component would redirect the user to the /new route. However, upon careful consideration, it was determined that redirecting to the root / route would be more intuitive and beneficial for the overall user experience.

The following changes were made to achieve this:

// Before
onClick={() => {
  router.push('/new')
}}

// After
onClick={() => {
  router.push('/')
}}

This update ensures that users are directed to the most relevant and useful page, enhancing the overall usability and flow of the application.

I kindly request your review and feedback on these changes. Thank you for your time and consideration!

Redirecting to /new is unnecessary, I thinkredirecting to '/' would make more sense
Copy link

vercel bot commented May 21, 2024

@FindMalek is attempting to deploy a commit to the Uncurated Tests Team on Vercel.

A member of the Team first needs to authorize it.

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.

None yet

1 participant