Traffic Screens
Screen flow
Refer to the following schema to learn more about different interactions and how to navigate between module screens:
graph TB
DisruptedLines(Disrupted lines) --> LineNetworkDisruptions(Line / Network disruptions)
DisruptedLines(Disrupted lines) --> SubscribedLines(Subscribed lines)
DisruptedLines(Disrupted lines) --> LineSelection(Line selection)
SubscribedLines(Subscribed lines) --> LineSelection(Line selection)
LineSelection(Line selection) --> SubscriptionSchedule(Subscription schedule)
All disruptions
The all disruptions screen allows the user to view all the line and network disruptions sorted by transport category.
When clicking on a disrupted line, the message and the application period of the disruption shows up along with an All disruptions button. This button redirects the user to the line disruptions screen.
Filters
The all disruptions screen integrated a menu accessible through the header right button. This menu shows the different transport categories with a default selection.
If the user hits the Apply button after changing the selection state, the all disruptions screen will refresh and will show the disruptions according to the updated filters.
Line/network disruptions
This screen lists the disruptions related to the selected line or to all disrupted networks. Each element shows the title, the message and the application period of a target disruption.
Some disruptions have messages with included hyperlinks. Those links are also accessible to the user and will redirect him to an external browser to view the related link.
If the alert subscription feature is enabled, a bell button appears allowing the user to subscribe/unsubscribe to/from the line alerts.
Line selection
This screen includes an autocompletion that enables the user to search the transport line needed for alert subscription.
The parameter transport_networks
allows to show the network providing the searched line.
Subscription schedule
After selecting a line from the autocompletion screen, this screen appears giving the ability to the user to choose/modify the periods in which the alert subscription can be received.
Please verify that you have passed valid Kronos API credentials to the module initialization method in order to ensure a successful alert subscription process.
Subscriptions list
This screen lists all the alert subscriptions that the user have registered. The subscriptions are also grouped by transport categories allowing to filter the subscriptions depending on the impacted line transport mode.