-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: supoprt individual arrival and departure rerouts #91
This commit will update the previous rerouting feature to support individual use cases using either the `reroutedArrivalStation` or `reroutedDepartureStation` parts of the API for a desired UI. Changes to be committed: new file: apiExamples/reroute1.html new file: apiExamples/reroute2.html modified: demo/demo.md modified: docs/partials/demo.md modified: src/auro-flight-main.js modified: test/auro-flight-main.test.js
- Loading branch information
1 parent
7cca093
commit 1448823
Showing
6 changed files
with
214 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<auro-flight | ||
flights='["AS 8"]' | ||
duration="330" | ||
departureTime="2022-07-30T07:40:00-07:00" | ||
departureStation="SEA" | ||
arrivalTime="2022-07-30T16:40:00-04:00" | ||
arrivalStation="EWR" | ||
reroutedArrivalStation="AVP"> | ||
<auro-flightline></auro-flightline> | ||
<span slot="departureHeader">Scheduled <auro-datetime type="tzTime" setDate="2022-07-30T07:20:00-07:00"></auro-datetime></span> | ||
<span slot="arrivalHeader">Scheduled <auro-datetime type="tzTime" setDate="2022-05-04T17:48:00-04:00"></auro-datetime></span> | ||
</auro-flight> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<auro-flight | ||
flights='["AS 8"]' | ||
duration="330" | ||
departureTime="2022-07-30T07:40:00-07:00" | ||
departureStation="SEA" | ||
arrivalTime="2022-07-30T16:40:00-04:00" | ||
arrivalStation="EWR" | ||
reroutedDepartureStation="PAE"> | ||
<auro-flightline></auro-flightline> | ||
<span slot="departureHeader">Scheduled <auro-datetime type="tzTime" setDate="2022-07-30T07:20:00-07:00"></auro-datetime></span> | ||
<span slot="arrivalHeader">Scheduled <auro-datetime type="tzTime" setDate="2022-05-04T17:48:00-04:00"></auro-datetime></span> | ||
</auro-flight> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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