Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Line Timetable ] schedule preview page #61

Open
bbonnesoeur opened this issue Oct 5, 2015 · 3 comments
Open

[Line Timetable ] schedule preview page #61

bbonnesoeur opened this issue Oct 5, 2015 · 3 comments
Milestone

Comments

@bbonnesoeur
Copy link

In order to preview schedule a preview page must be implemented.

notes

  • page should be displayed in a full page (not a modal) as in stop point timecard
  • layout / render should be like the TISSEO one for both timetable module (line / stop point).
@bbonnesoeur bbonnesoeur added this to the 1.10 milestone Oct 6, 2015
@vpassama
Copy link

vpassama commented Nov 5, 2015

For information, I'm stuck for the moment with a Navitia issue, you can see the @eturck description of the problem : hove-io/navitia#1033.

To sum up, when I'm parsing each trip notes to make them appear like this :

notes

I can't make distinction between a line note and a trip note because their type is the same and they appear at the same level of description in the route_schedules headers.

For the moment we use a trick consisting in parsing a specific pattern in the note to differentiate them, but I can't merge this code, it's too specific.

For now, I can add all the notes without any distinction but we'll have to modify the code later. Or I don't add any notes and we add them after the issue is solved.

@bbonnesoeur
Copy link
Author

@stifoon, are you aware of this problem ? Is there a planned resolution ? thanks !

@vpassama
Copy link

vpassama commented Nov 5, 2015

I realized we may have a 2nd problem with notes. We have to discuss about it with both teams (Mtt and Navitia).

As you can see in our Navitia response, we have a static code added to the note because we want a specific letter associated to the comment ( m - mercredi for example).

notes

Currently, Mtt generates its own note codes and as you can see in the next screenshot, we introduced our specific need by forcing our notes' codes in the alphabet generation :

notes_stop

So, we should speak about the possibility to add note codes in Navitia or how to manage this need in Mtt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants