Open t2gran opened 1 year ago
13:00 CEST Wed 2023-08-23 Thanks to @leonardehrenfried for writing the minutes, I have copied it from Gitter to here.
Fresh development with better maintainability but not building a feature complete replacement.
Since Entur is a major sponsor, the client will use the Transmodel API.
Firefox, Chrome, Safari, Internet Explorer newest versions only
Debug UI will be a separate source module. We aim for the same user experience of the UI being available at http://localhost:8080/. Details of this we will figure out down the road.
If we agree (do we?) that we don't want to add the compiled output of frontend build into the jar somehow, then I have a suggestion for a workflow:
@leonardehrenfried Yes, as a general outline, and without going into the details, I think that's a good idea.
Should we cache the settings in the local storage/session storage and have some reset button available?
{serverInfo {version otpSerializationVersionId buildConfigVersion routerConfigVersion gitCommit gitBranch } }
Route
button.DetailsView
to an overlay on top of the map .I suggest we keep this issue open even after we merge #5334, until we are ready to replace the old client.
I will probably look at the following tasks in the near future:
@leonardehrenfried will take the lead on CDN deployment with help from me, as well as improving on the map
Yesterday I worked on the CDN deployment. Sneak peek: https://github.com/opentripplanner/OpenTripPlanner/actions/runs/7228613899/job/19698335048
My next task is to build vector debug layers. Here is a sneak peek of a simple stop layer:
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 30 days
This list consolidate todoes in this issue with newly identified and tries to list them in a prioritized order from Enturs perspective:
[x] 1. It should be possible to open the route search in GraphiQL. In the first version we will only support linking to the OTP built in GraphiQL client, but we might want to be able to configure this (base url/dialect). This is can be done by adding a button next to the Route button.
[x] 2. Open entities in GraphiQL, query on id, show name - user will need to add other fields to the GraphiQL query in the GraphiQL client.
[ ] 3. Add edge permissions on edge-layer with different colors, similar to the old client
[ ] 4. Add aerial photo map layer (Norwegian specific and bing/google)
[ ] 5. From/to should support Quay/StopPlace id as well as coordinates. It should be possible to type in both coordinates and ids.
[ ] 6. Keep itineraries expanded when another is opened. This is important to be able to compare itineraries.
[ ] 7. UX - Group input parameter (eg. time, modes, to/from, div)
[x] 8. UX - Less line spacing on expanded legs to make it easier to compare two itineraries.
[ ] 9. Additional metadata on areastop (name, type)
[ ] 10. Additional map layers (bike safety, wheelchair access, elevation)
other points that needs elaboration:
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.
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 Speed1.33 m/s
Links
We should link to trip and stop when appropriate. We will link to the bundled graphiQL API for OTP.