Airways cross-check#53
Open
Iogsotot wants to merge 226 commits into
Open
Conversation
Config: eslint and MUI #12#11
Add styles constants
…shopping-card-page
* fix: oneWay logic * feat: delete tickets on unselect btn * fix: select btn logic * refactor: code cleanup
…nto fix/shopping-card-page
…shopping-card-page
…rways into fix/shopping-card-page
* feat: add theme to user-account and shopping pages * feat: add actual data to shopping page * feat: add currency change * feat: add draft edit * fix: fix edit * fix: add workaround for getCityAndCodeFromString fn * fix: delete console log --------- Co-authored-by: Anna Iustus <ajustusa@gmail.com>
Fix/booking page
* feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * fix: travel-time direction
Fix/shopping card page
* feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * fix: travel-time direction * fix: del redundant currency
* feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * feat: increase the budgets * fix: add theme classes for dark mode into flight-info-menu & ticket cards * fix: travel-time direction * fix: del redundant currency * fix: slider styles * fix: styles for edit form * fix: payment btn styles * fix: responsive * fix: decrease animation time for Edit form, add warn for continue btn in SelectFlight page and add spinner * feat: add error handler
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task: Airways

Screenshot:
Deploy: link
Done 28.05.2023 / deadline 29.05.2023
Score: 700 / 700
Hello, colleague!
We put a lot of effort into creating a beautiful and functional project, and we even incorporated some best practices. Our project has a unique feature - we use a live API called AviaSales.
Since it's not a mock but a real working API, it has some behaviors worth mentioning:
4.* And we also added a dark theme, just because we can =) and because it's much more pleasant to review the task during the dark hours of the day.

We hope you like everything. If you have any questions, observations, or suggestions, feel free to reach out to any of us:
Andrey
Anna
another Anna
Technical requirements
The maximum number of available points for the task evaluation is 700
Page layout (+150)
General Requirements:
Header:
Content Container:
Footer:
User authentication (+50)
The app should provide a user registration flow that guides the user through the process of creating an account. The flow should include two tabs - "Login" and "Sign Up."
Login tab
Sign Up tab
Once a user has logged in or signed up, they should stay on the same page where they initiated the authentication process.
Flight Search (Main) Page (+100)
The entry point of the app. Available for anonymous users.
The flight search form should include the following fields:
All the fields are required
The "switch" button changes the positions of the "destination from" and "destination to" fields.
The form should have client-side validation that prevents submission and shows invalid fields if any of the required data is missing.
Once a user filled in all the required fields and clicks the “Search” button, he’s taken to the “Flight Selection” page
Flight Selection Page (+150)
Available for anonymous users.
The Flight Selection Page is the second step of the booking process, following the Flight Search form.
It should show the progress of booking and the current step
The page displays previously selected destinations, dates, flight types, and amount of passengers.
The "Edit" button should allow the user to modify their search criteria if needed in a quick way by showing a floating panel with the same fields as on the Flight Search Page.
Each flight section should be displayed in a separate container with a header that displays the flight destination.
The number of flights should represent the selected flight type: one-way or round trip
A calendar should be displayed for each flight section. It includes price as well
Dates in the past should be disabled by default.
Each selected date should contain the following information:
Each selected date should be displayed with a color indicator that shows the availability of seats (green - more than half of available seats, orange - less than half of seats are available, red - less than 10 seats are available).
Once the user selects a date, they should click the "Select" button which confirms the current choice.
If the user selects a round-trip flight on the previous page, the same process should be followed for the return trip.
Once the user has selected all the required flights (clicking the “Select” button), the "Continue" button should be enabled, allowing the user to proceed to the Booking Process Page.
The "Continue" button is disabled until the user selects all the flights
The "Back" button should allow the user to return to the Flight Search form with previously pre-filled data.
Booking Process Page (+100)
Available for authenticated users and only if flight data is provided from the previous step.
The Booking Process Page is the second step of the booking process, following the Flight Selection Page.
It should show the progress of booking and the current step
The page should list all previously selected passengers and provide the following input fields:
These fields should include appropriate validation to ensure that the entered data is accurate.
Contact Information: The page should include input fields for:
These fields should also include appropriate validation
The page should include two buttons, "Back" and "Continue". Clicking the "Back" button should take the user back to the previous page, with all the data preserved. Clicking the "Continue" button should take the user to the summary page with all the information provided.
Summary Page (+50)
The Summary page is the final step before confirming the flight booking. It will display all the details entered by the user during the booking process, including:
The Summary page should also include the following elements:
Shopping Cart (User Account) Page (+100)
These two pages are visually similar and represent either the added booking to a cart or already finished ones.
Shopping Cart page:
User Account page: