Skip to content

Commit

Permalink
Angular: Train-A. Edited links (#1690)
Browse files Browse the repository at this point in the history
* edited links

* fixed spelling errors
  • Loading branch information
OlehDulebaEpam authored Aug 20, 2024
1 parent b36cb13 commit a26561a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions tasks/train-a/admin/carriages.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ Each train can consist of carriages of different types. Manager can create sever

Carriage is composed with parameters:

- **code** - auto-generated unique code for item. User to update carriage.
- **code** - auto-generated unique code for item. It is used in update http-request.
- **name** - unique name of the carriage type.
- **rows** - number of rows (16 in example below)
- **leftSeats** - - the number of seats to the left of the aisle in a row (2 in example below)
- **leftSeats** - the number of seats to the left of the aisle in a row (2 in example below)
- **rightSeats** - the number of seats to the right of the aisle in a row (3 in example below)

![Designation of carriage elements](../designs/search-details/carriage%20hints.png)
Expand All @@ -30,7 +30,7 @@ Carriage is composed with parameters:
- Below the "Create" button, there must be a list of already created carriages displayed vertically.
- Each carriage in the list must include:
- The name of the carriage type.
- A rendered picture of the train car based on its configuration parameters: rows, leftSeats, and rightSeats.
- A rendered picture of the train car based on its configuration parameters: rows, leftSeats and rightSeats.
- If the manager clicks the "Create" button or the "Update" button for any existing carriage, a form must appear at the top of the page.

#### Requirement 2: Carriage configuration form
Expand Down Expand Up @@ -60,7 +60,7 @@ Carriage is composed with parameters:
#### Acceptance Criteria 2: Displaying carriage configuration form (15)

- When the manager clicks the "Create" button:
- A form must appear at the top with fields for rows, leftSeats, and rightSeats.
- A form must appear at the top with fields for name, rows, leftSeats, and rightSeats.
- A "Save" button must be present in the form.
- A dynamically rendered prototype of the carriage must be displayed based on the values entered in the form fields.
- When the manager clicks the "Update" button for an existing carriage:
Expand Down
2 changes: 1 addition & 1 deletion tasks/train-a/profile.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,5 +175,5 @@ Page allows authenticated users to view and update their personal information. U

## Next section

- [Home page](./home.md)
- [Home page](./search.md)
- [Manager page](./admin)
2 changes: 1 addition & 1 deletion tasks/train-a/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Since user passed authorization and `{token: "some-token-here"}` was replied to
### Currency
Server saves only the number for the price. Frontend can be configured for whatever price you want.
Server saves only the number for the price. Frontend can be configured for whatever currency you want.
## Assessment
Expand Down
2 changes: 1 addition & 1 deletion tasks/train-a/sign-in.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ User can enter _email_ and _password_ into relative form fields and be granted t

- User should be authenticated and redirected to the homepage upon entering valid email and password.
- Once signed in, the user should not be able to access the Sign-In page again until they log out.
- If an authenticated user tries to access the Sign-In page directly via the browser URL, they should be redirected to the [Homepage](./home.md).
- If an authenticated user tries to access the Sign-In page directly via the browser URL, they should be redirected to the [Homepage](./search.md).
- After successful authentication each following http-requests must comply with [Authorization record](./readme.md#authorization-token)

#### Acceptance Criteria 2: Error message for incorrect password (5)
Expand Down

0 comments on commit a26561a

Please sign in to comment.