Skip to content

New OTP Debug UI #5330

@t2gran

Description

@t2gran

Skjermbilde 2023-08-31 kl  14 27 48

Search Bar

The first set of controls are fixed, while the menu allow some "custom" controls to be added. In this case the Street Preferences is included. If there is not enough space to show all input controls the controls should flow over to a second (and third) line of controls and the hight of the bar should be adjusted.

Advanced controls

A control with a meny button(Transit Modes and Walk Preferences). The menu button open a "drop down/floating" input control, while the text-field display a very short summary of the values. We can create a service for parsing/serializing the summary text in OTP - so we do not have to do this in JS.

Time Input

Clear box or write now + enter/tab to insert current time. This will update both the time and date.

Itinerary List

Itinerary

We only need to show the graphical "time-line". De vil si vi kan droppe Start, End and Trip Summary.

Legs

We can skip walk/driving directions for now and list of intermediate stops.

12:00:11 - 12:56:00 Walk 3.8 km, 55m49s to Rådhuset [✓]

12:00:00 - 12:56:10[red] 12:55:00 Bus M1 Flekkerøy - Sørlandsparken, Agder Kollektivtrafikk, from Rådhuset to Vågsbygd kirke [✓]

Expanding itineraries and selecting legs

Multiple itineraries can be expanded. Each leg has a check box. When selected the itinerary and leg information is added as a line in the "Details View - Compare table"

Elevation profile

Skip for now, see Details View.

Details View

Show details for selected elements in the itinerary list.

Compare Itineraries and legs

Show selected itineraries in the same order they are in the list.

Elevation profile

I would start without the elevation profile. I think we should show it in the Details View , not in the list.

Formats

Time: 23:00:01[+/-1d] Seconds are only shown if not zero, offset days are only shown if not zero and relative to search date.
Cost: $ 200 000
Reluctance: 1.2 (scalar)
Duration: 1d 2h 3m 56s Only none zero element are shown
Speed 1.33 m/s

Links

We should link to trip and stop when appropriate. We will link to the bundled graphiQL API for OTP.

Metadata

Metadata

Assignees

Labels

!ImprovementA functional improvement or micro feature!Technical DebtImprove code quality, no functional changes.+OTP Debug UIOTP bundled client, the OTP server is normally not changed

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions