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

Adding Booking Page #64

Closed
1 of 2 tasks
pragyanbhatt1213 opened this issue Oct 5, 2024 · 6 comments
Closed
1 of 2 tasks

Adding Booking Page #64

pragyanbhatt1213 opened this issue Oct 5, 2024 · 6 comments
Assignees
Labels
enhancement New feature or request gssoc-ext GSSOX'24 Extended hacktoberfest-accepted Hacktoberfest level 2 25 Points Issue

Comments

@pragyanbhatt1213
Copy link
Contributor

🖥️ Frontend Issue

Description

Added new booking page component with search functionality and train class filters

Steps to Reproduce

  1. Go to Homepage
  2. Click on 'Booking' icon
  3. Navigate to new booking page with search functionality

Expected behavior

The booking page should:

  • Display a search interface with from/to station inputs
  • Include date picker for journey selection
  • Show train class filters (1AC, 2AC, 3AC, Sleeper)
  • Match existing application theme and styling
  • Navigate correctly from homepage booking icon

Actual behavior

New booking page implementation includes:

  • Search form with station inputs and date picker
  • Train class selection with visual toggles
  • Responsive design matching login/register pages
  • Navigation from homepage booking icon

Screenshots or Video

image

Implementation Details

  • Created new booking.jsx component
  • Added routing in App.jsx
  • Implemented station search with date filter
  • Added train class selection cards
  • Matched existing application theme
  • Connected navigation from homepage booking icon

Files Changed

  • Added: /src/Pages/booking.jsx
  • Modified: /src/App.jsx (added route)
  • Modified: /src/Pages/Herosection.jsx (added navigation)

Are you participating in GSSoC?

  • Yes
  • No

Additional Notes

The booking page follows the existing design system and implements core train booking functionality. Future enhancements could include:

  • Station autocomplete
  • Fare calculator
  • Recent searches
  • Seat availability indicator
Copy link
Contributor

github-actions bot commented Oct 5, 2024

Thank you for raising this issue! We'll look into it as soon as possible. Please ensure that the issue is not duplicate, and you read CONTRIBUTING.md carefully. Your contributions are highly appreciated! 😊

@dhairyagothi
Copy link
Owner

Bro check figma design first
We don't want to book train
We have 3 booking options to add

Wheelchair booking
Cloak room booking

Check figma design
And design just booking page only
Don't add different types of booking for now

Assigned @pragyanbhatt1213

@dhairyagothi dhairyagothi added enhancement New feature or request level 2 25 Points Issue gssoc-ext GSSOX'24 Extended hacktoberfest-accepted Hacktoberfest labels Oct 5, 2024
@pragyanbhatt1213
Copy link
Contributor Author

Bro check figma design first We don't want to book train We have 3 booking options to add

Wheelchair booking Cloak room booking

Check figma design And design just booking page only Don't add different types of booking for now

Assigned @pragyanbhatt1213

Ohhk let me make the changes according to the Figma design.
Then I will update the issue.

@dhairyagothi
Copy link
Owner

Bro check figma design first We don't want to book train We have 3 booking options to add

Wheelchair booking Cloak room booking

Check figma design And design just booking page only Don't add different types of booking for now

Assigned @pragyanbhatt1213

Ohhk let me make the changes according to the Figma design.
Then I will update the issue.

Directly make PR after doing change

@pragyanbhatt1213
Copy link
Contributor Author

Bro check figma design first We don't want to book train We have 3 booking options to add

Wheelchair booking Cloak room booking

Check figma design And design just booking page only Don't add different types of booking for now

Assigned @pragyanbhatt1213

Ohhk let me make the changes according to the Figma design.
Then I will update the issue.

Directly make PR after doing change

Okay I will do it.

Copy link
Contributor

Hello @pragyanbhatt1213! Your issue #64 has been closed. Thank you for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request gssoc-ext GSSOX'24 Extended hacktoberfest-accepted Hacktoberfest level 2 25 Points Issue
Projects
None yet
Development

No branches or pull requests

2 participants