Skip to content

feat: Add "Back to Home" button to signup page - #229

Merged
yash-pouranik merged 1 commit into
geturbackend:mainfrom
Arushi28-hub:main
May 29, 2026
Merged

feat: Add "Back to Home" button to signup page #229
yash-pouranik merged 1 commit into
geturbackend:mainfrom
Arushi28-hub:main

Conversation

@Arushi28-hub

@Arushi28-hub Arushi28-hub commented May 29, 2026

Copy link
Copy Markdown
Contributor

🚀 Pull Request Description

Fixes #228

🛠️ Type of Change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📝 Documentation update
  • 🎨 UI/UX improvement (Frontend only)
  • ⚙️ Refactor / Chore

📋 Changes Made

  • Added a "Back to Home" button at the top of the signup form
  • Button navigates users to the homepage (/) for easy exit
  • Imported Home icon from lucide-react for visual consistency
  • Styled button with btn btn-outline class to match the design system
  • Button is positioned before the GitHub sign-in option for immediate visibility

🧪 Testing & Validation

Frontend Verification:

  • Verified the UI changes on different screen sizes (Responsive)
  • Checked for any console errors in the browser dev tools
  • Button navigation works correctly - clicking redirects to homepage
  • Button styling is consistent with existing design system
  • No new warnings or errors in the dev console

📸 Screenshots

  • Home button visible at top of signup form
image

✅ Checklist

  • My code follows the code style of this project
  • I have performed a self-review of my code
  • My changes generate no new warnings or errors
  • No breaking changes to existing functionality
  • Button uses existing design system components (btn, lucide-react icons)

💡 Benefits

  • Improves navigation accessibility from the signup page
  • Provides users with a clear exit path without relying on the browser back button
  • Enhances overall user experience and reduces confusion
  • Maintains design consistency with existing UI patterns

Built with ❤️ for urBackend

Summary by CodeRabbit

  • New Features
    • Added a "Back to Home" button on the signup page for easier navigation to the home page.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 29, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 045f4a21-eb3a-4dd6-8b92-72ab71092b97

📥 Commits

Reviewing files that changed from the base of the PR and between a743727 and 8a76465.

📒 Files selected for processing (1)
  • apps/web-dashboard/src/pages/Signup.jsx

📝 Walkthrough

Walkthrough

The Signup page now imports the Home icon from lucide-react and includes a "Back to Home" button within the signup form. The button uses the useNavigate hook to redirect users to the homepage (/) when clicked. No signup logic, form fields, or submission behavior is altered.

Changes

Back-to-Home Navigation Enhancement

Layer / File(s) Summary
Back-to-Home Button Implementation
apps/web-dashboard/src/pages/Signup.jsx
The Home icon is added to the lucide-react imports. A "Back to Home" button (type button) is inserted into the AuthShell content to allow users to navigate back to the homepage using useNavigate.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Suggested labels

enhancement, level:beginner, type:design, quality:clean

Suggested reviewers

  • yash-pouranik

Poem

🐰 A button springs forth, pure and kind,
Home awaits those of wandering mind,
One click, and the journey returns to start,
Navigation made simple—an art! 🏠

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately and concisely describes the main change: adding a 'Back to Home' button to the signup page, which is the primary objective of this changeset.
Linked Issues check ✅ Passed The PR successfully implements all coding requirements from issue #228: adds a visible 'Back to Home' button at the top of the signup page, imports the Home icon from lucide-react, ensures navigation to the homepage using useNavigate, and applies consistent styling with existing btn btn-outline classes.
Out of Scope Changes check ✅ Passed All changes are directly related to the PR objective. The modifications to Signup.jsx are limited to adding the Home icon import and implementing the 'Back to Home' button with navigation, with no extraneous changes to other components or functionality.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint skipped: no ESLint configuration detected in root package.json. To enable, add eslint to devDependencies.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@yash-pouranik

Copy link
Copy Markdown
Member

@Arushi28-hub
please read my last comment on issue #222
what I want to add in UI

@yash-pouranik

Copy link
Copy Markdown
Member

And please from now onwards, never go blindly.
I didnt assigned u the issue even though u created the PR.
U should always wait for the maintainer to assign and then only u have to create pr.
and first communicate properly, what they really want and all.

@yash-pouranik

Copy link
Copy Markdown
Member

@Arushi28-hub

@Arushi28-hub

Arushi28-hub commented May 29, 2026

Copy link
Copy Markdown
Contributor Author

Hi @yash-pouranik,

Thank you for the feedback! I really appreciate the guidance on following proper communication and process.
I've now read issue #222 thoroughly. I noticed there's mention of a scroll-to-top button (the circular one with an up arrow), but I wanted to make sure I understood correctly.

Based on the issue

  • Do you want a breadcrumb header at the top: ← HOME / CREATE ACCOUNT
  • A "Back to Home" button that navigates back to the home page
image

Something like this ?

Is this exactly what you wanted, or would you like any changes to:

  • The button styling or position?
  • The breadcrumb format?
  • The navigation behavior?

I'm ready to iterate based on your feedback.

@yash-pouranik

Copy link
Copy Markdown
Member

yh exactly this
@Arushi28-hub
u can remove that big button 'back to home'

@yash-pouranik

Copy link
Copy Markdown
Member

I just like UI things descent.

@yash-pouranik

Copy link
Copy Markdown
Member

so
Thank you for the PR
hope to see more meaning full Contributions from u
All the besT
Also please leave a star at repo :)

@yash-pouranik
yash-pouranik merged commit 7114111 into geturbackend:main May 29, 2026
8 checks passed
@yash-pouranik

Copy link
Copy Markdown
Member

Hello
i literally forget that u havent done the commit :<
Can u please commit and create the PR?
@Arushi28-hub

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve User Navigation with a Dedicated Back-to-Home Button on signup page

2 participants