aboutsummaryrefslogtreecommitdiffstats
path: root/app/javascript
AgeCommit message (Collapse)Author
2018-02-02Fix jest specsZog
2018-02-01Merge pull request #273 from af83/5798-show-return-times-on-vjs-editorLuc Donnet
5798 Show return journeys on the journeys' editor.
2018-02-01Merge pull request #265 from af83/5758-localized-stop-areas-namesLuc Donnet
5758 Add localized names to StopAreas
2018-02-01Merge pull request #272 from af83/5796-fix-vjs-indexLuc Donnet
5796 Add some legroom in the JourneyPatterns editor
2018-02-01:fire: logZog
2018-02-01Merge pull request #266 from af83/5762-stoparea-coordinates-are-optionalLuc Donnet
5761 Make coordinates optional on stop areas
2018-02-01Refs #5762; Update JS to accomodate stops without locationZog
2018-02-01:fire: log5798-show-return-times-on-vjs-editorZog
2018-02-01Refs #5798 @3h; Show return journeys on the journeys' editor.Zog
2018-01-31Refs #5796: Add some legroom in the JourneyPatterns editorZog
2018-01-31Refs #5682 @3h; Use same UI as for timetablesZog
2018-01-31Fix specsZog
2018-01-31Merge pull request #269 from ↵Luc Donnet
af83/5574-vehicle-journeys--fix-transporter-deletion-in-modal--rb 5574 vehicle journeys fix transporter deletion in modal rb
2018-01-31VehicleJourneys#index: Allow company deletion in 'add' modal5574-vehicle-journeys--fix-transporter-deletion-in-modal--rbTeddy Wing
While the 'x' button in the Select2 was available in the 'edit' modal for a vehicle journey, it was not in the 'add' modal. Thus, once you added an associated company, you couldn't remove it in the modal. You'd either have to cancel and create your vehicle journey again, or create it an delete the company in the 'edit' modal later. This enables the 'x' button in the 'add' modal (it previously was only enabled when `editMode` was active) and sets the proper action/reducer to remove the company. The `allowClear` attribute was changed to only work in the 'edit' modal in 0079238842263768b88b0fa0fd977824b49eabd5. That commit appears to be changing things so that certain functions work when not in 'edit' mode. The case we're concerned about is that the 'edit' modal can be opened when in 'view' mode (not 'edit' mode) in order to get more detailed information about a vehicle journey. This means the company Select2 is available in 'view' mode, and the 'x' button should not be visible in that case. But, when I tested this, even with `allowClear: true`, the 'x' button wasn't visible. This, I can only assume, is because the Select2 is in a 'disabled' state, so it's smart enough to know not to show the 'x' button. Which works great for us, because this allows us to not show the 'x' button here and still show it in the 'add' and 'edit' modals. Refs #5574
2018-01-31Merge pull request #263 from af83/5750-non-commercial-stop-areasLuc Donnet
5750 non commercial stop areas
2018-01-31Refs #5750; Remove useless validation5750-non-commercial-stop-areasZog
2018-01-31Disable immature featureZog
2018-01-30Merge pull request #259 from af83/5717-fix-periods-on-timetablesLuc Donnet
5717 Fix TZ related issues
2018-01-29Refs #5750; Add a validation on VehicleJourneysZog
Ensure a time is set for all non-commercial stops
2018-01-29Refs #5750 @1h; Manage non-commercial StopAreasZog
- Add a `kind` attribute - Hide irrelevant fields in the form
2018-01-26Refs #5750 @1h; Add a "kind" attribute to StopAreasZog
This determines if the StopArea is commercial or not The useless fields are hidden in the form for the non-commercials ones
2018-01-26Refs #5741 @2h; Add a map of all routes on a line#showZog
2018-01-25Refs #5717; Fix month selection5717-fix-periods-on-timetablesZog
2018-01-25Refs #5717; Fix TZ related issuesZog
2018-01-25Refs #5598; Enable button to view a JourneyPattern when the user is not ↵Zog
allowed to edit it
2018-01-17Refs #5623; Show journey departure time inputs when JP is prefilled5623-fix-schedule-when-jp-is-prefilledZog
2018-01-17Refs #5614 @0.5h; Fix schedule computation when departure minutes are not set5614-fix-schedule-computationZog
2018-01-12Refs #5529 @0.5h; Refactor buttons5529-prevent-double-submitting-of-react-formsZog
2018-01-12Refs #5529 @0.5h; Prevent double submitting of react formsZog
2018-01-11Refs #5535; Fix specsZog
2018-01-11Refs #5535; set day offsets when neededZog
2018-01-11Refs #5535; Apply timezones during schedule calculationZog
2018-01-11:fire: logZog
2018-01-11Refs #5535; Don't generate time for disabled stopsZog
2018-01-11Fix specsZog
2018-01-11Merge pull request #227 from af83/5551-handle-custom-fields-in-vjs-editorLuc Donnet
5551 Handle custom fields in VJs editor
2018-01-11Refs #5493 @1h; Use local time in the Journeys editorZog
We store UTC times in the database though
2018-01-11Refs #5551; Fix bug when the user reopens the modal5551-handle-custom-fields-in-vjs-editorZog
2018-01-11Fixes icons and order of total. Refs #55565556-total-time-on-j-editorAlban Peignier
2018-01-11Refs #5556 @0.25h; Show total time and distance in JP editorZog
2018-01-11Merge pull request #221 from af83/5465-dezoom-map-if-too-close-to-bordersLuc Donnet
5465 Dezoom map if stop areas are too cleose to borders
2018-01-11Refs #5551 @0.5h; Implement the custom fields in the creation modalZog
And Refactor the component in the process
2018-01-11Refs #5551 @1.5h; Implement Custom fields editionZog
RBD: implement the same in the creation modal
2018-01-11Refs #5544; Fix bug preventing VJ creationZog
When the company has not been set
2018-01-11Merge pull request #225 from af83/5535-compute-vehicle-journeys-timesLuc Donnet
5535 compute vehicle journeys times
2018-01-11Refs #5536; Fix JourneyPattern creationZog
2018-01-10Merge pull request #218 from af83/5520-fix-company-in-vjs-editorAlban Peignier
Fix company in vjs editor. Refs #5520
2018-01-10Merge pull request #217 from af83/5502-remove-search-from-selectsAlban Peignier
Don't use Ajax in JP selector in VJs editor. Refs #5502
2018-01-10Refs #5535 @2H; Automatically fill VJs tilmes when possibleZog
2018-01-10Import createLogger. Refs #51565156-handle-long-distance-routesAlban Peignier