Skip to content

Commit 2d35cb0

Browse files
committed
Merge branch 'v9.0.1/VersionBranch' of https://github.com/jmayer913/JMayer-Example-ASPReact into v9.0.1/VersionBranch
2 parents c4a8492 + fb030f0 commit 2d35cb0

1 file changed

Lines changed: 37 additions & 5 deletions

File tree

README.md

Lines changed: 37 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,30 @@ find a flight in the flight schedule to determine what sort destination the bag
55

66
On startup, the example project pregenerates a few airlines, gates and sort destinations and then, a flight schedule is pregenerated; a flight every 10 minutes between 4AM and 10PM. The example has two pages, airlines and flight schedule.
77

8-
## Airline
8+
## Airlines Page
9+
910
The airlines page allows the user to add/edit/delete airlines.
1011

11-
<img width="1919" alt="image" src="https://github.com/user-attachments/assets/ef3c14f2-02a2-478b-aab8-9ec72e8824e1" />
12+
<img width="1919" height="590" alt="image" src="https://github.com/user-attachments/assets/10863f13-529e-4c2a-aa07-c05cb587803f" />
13+
14+
### Add / Edit
15+
16+
On the airlines page, the user can create a new airline or edit an existing airline.
17+
18+
* Name - The friendly name for the airline; required and must be unique.
19+
* Description - A description about the airline; optional.
20+
* IATA - The code assigned by the International Air Transport Association to the airline; required and must be two letters or a letter and a number.
21+
* ICAO - The code assigned by the International Civil Aviation Organization to the airline; required, must be 3 letters and must be unique.
22+
* Number Code - The number code assigned by the International Air Transport Association to the airline; required, must be 3 digits and must be unique unless 000 (unassigned).
23+
* Sort Destination - The default sort destination for the airline; required.
24+
25+
<img width="401" height="553" alt="image" src="https://github.com/user-attachments/assets/f25e4ee8-f610-425f-a88f-f7422c7dae31" />
26+
27+
<img width="398" height="549" alt="image" src="https://github.com/user-attachments/assets/ebe27af6-34f3-4b20-ac5c-040d5bbb7bb2" />
1228

13-
<img width="425" alt="image" src="https://github.com/user-attachments/assets/a7e93abf-cb9d-458a-824d-fc496cbcb775" />
29+
### Delete
1430

15-
<img width="407" alt="image" src="https://github.com/user-attachments/assets/108c4aa0-0d33-4c35-ba09-99442a745c58" />
31+
On the airlines page, the user can delete an airline. The user will be required to confirm the deletion or cancel. On confirmation, the airline will be deleted.
1632

1733
<img width="413" alt="image" src="https://github.com/user-attachments/assets/de48d6ec-4046-44fa-850c-298005312601" />
1834

@@ -21,14 +37,30 @@ The flight schedule page allows the user to add/edit/delete flights in the sched
2137

2238
<img width="1906" alt="image" src="https://github.com/user-attachments/assets/91b40650-d124-451c-8515-8837d9e1e107" />
2339

40+
### Add / Edit
41+
42+
On the flight schedule page, the user can create a new flight or edit an existing flight.
43+
44+
* Gate - The gate the flight will be docked at for departure; required.
45+
* Airline - The airline which owns the plane; required.
46+
* Flight Number - The number assigned to the flight; required and must be 4 digits or 4 digits and a letter.
47+
* Destination - The next destination for the flight; required and must be 3 letters.
48+
* Depart Time - The schedule time the plane will depart from the gate; required.
49+
* Sort Destination - The sort destination bags will be sorted too for the flight; required.
50+
2451
<img width="404" alt="image" src="https://github.com/user-attachments/assets/cd3dbf00-6797-4f05-b683-7fe5b8e49294" />
2552

2653
<img width="401" alt="image" src="https://github.com/user-attachments/assets/9953df72-ecef-45fb-9821-95964a7e45ba" />
2754

28-
<img width="399" alt="image" src="https://github.com/user-attachments/assets/cd04326b-4f16-4b9a-90e8-1f2a7a86b020" />
55+
### Delete
2956

57+
On the flight schedule page, the user can delete a flight. The user will be required to confirm the deletion or cancel. On confirmation, the flight will be deleted.
3058

59+
<img width="399" alt="image" src="https://github.com/user-attachments/assets/cd04326b-4f16-4b9a-90e8-1f2a7a86b020" />
3160

61+
## Edit Conflict
3262

63+
When two users are editing an airline or flight at the same time, whoever submits first will win; the other user will be told to try again.
3364

65+
<img width="400" height="188" alt="image" src="https://github.com/user-attachments/assets/f5c7e697-7ba7-4177-bd40-4be5d3a03a95" />
3466

0 commit comments

Comments
 (0)