aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2018-02-02Refs #3542; Small css fix3542-referential-overviewZog
2018-02-02Refs #3542; Add an anchor to filters URLsZog
2018-02-02Refs #3542; Better display for short referentialsZog
2018-02-02Refs #3542; Add a date lookupZog
2018-02-02Refs #3542 @2h; Various UI improvements (hopefully)Zog
2018-02-02Refs #3542, Fix specsZog
2018-02-02Refs #3542 @1h; Add sticky headerZog
2018-02-02Refs #3542 @1h; Adds filtersZog
2018-02-02Refs #3542 @1h; Add Time navigationZog
2018-02-02Refs #3542; Adds paginationZog
2018-02-02Refs #3542 @4h; First UIZog
Still missing: - Pagination - Filters
2018-02-02Fix jest specsZog
2018-02-01Define @year in CalendarsController as expected by view. Refs #5682Alban Peignier
2018-02-01Prevent problem with StopArea#kind. Refs #5817Alban Peignier
2018-02-01Fixes vehicle_journeys#index specAlban Peignier
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 #274 from af83/5576-vehicle-journeys--filter-by-lineLuc Donnet
5576 vehicle journeys filter by line
2018-02-01Merge pull request #265 from af83/5758-localized-stop-areas-namesLuc Donnet
5758 Add localized names to StopAreas
2018-02-01Refs #5758; Fix messed rebase5758-localized-stop-areas-namesZog
2018-02-01Merge pull request #272 from af83/5796-fix-vjs-indexLuc Donnet
5796 Add some legroom in the JourneyPatterns editor
2018-02-01Refs #5758; Set a default kind for StopAreasZog
2018-02-01:fire: logZog
2018-02-01VehicleJourney.lines: Change query to only get lines for route5576-vehicle-journeys--filter-by-lineTeddy Wing
Johan recommended using an `IN` query to only get the lines in the current scope. I assumed I'd be covered by the schema and how only the lines for the current referential are in the schema, but this is probably a more reasonable way to get associated lines. Refs #5576
2018-02-01ReferentialVehicleJourneys#index: Use ransack filter for line idTeddy Wing
I went with this custom filter because I couldn't get it to work with a symbol-based filter in the template. But Johan suggested trying it and I guess it works. Not sure what I was doing that didn't work before. Refs #5576
2018-02-01_select2.sass: Prevent drop-down arrow from overlapping selectionTeddy Wing
When the text of the current selection was very long, it could extend to the end of the input, the farthest right: +-------------------+ | Long text is long | +-------------------+ The problem is that the arrow indicating you can click on the input to bring up a drop-down list of options would cover the "g" in "long" in the above example (well, not exactly because of proportional width characters, but you get the idea). Fix the overlap by overriding Bootstrap Select2's style from app/assets/stylesheets/vendor/select2-bootstrap.css:306-309, which looks like this: .select2-container--bootstrap .select2-selection--single .select2-selection__rendered { color: #555555; padding: 0; } Obviously, the padding is wrong. We need some right padding to give room for the arrow. What are you thinking Bootstrap Select2? Refs #5576
2018-02-01ReferentialVehicleJourneys#index: Pre-fill line select filterTeddy Wing
Pre-fill this box with the value from `params[:q]` so users can see their selected line after filtering. For some reason Select2 wants to keep it selected even after clicking "Effacer". Not sure what that's about, but the HTML `<select>` clearly doesn't have a `selected` attribute/option. Refs #5576
2018-02-01ReferentialVehicleJourneys#index: Add padding to line filterTeddy Wing
Add some padding inside the drop-down so that the filter select box doesn't run up against the sides of the drop-down. Refs #5576
2018-02-01ReferentialVehicleJourneys#index: Add 'line' filterTeddy Wing
Filter vehicle journeys by their associated route's line. The `with_line_id` scope is modeled on `with_stop_area_ids`. The HTML filter is modeled on the line filter from `app/views/workbenches/_filters.html.slim`. Refs #5576
2018-02-01Merge pull request #275 from ↵teddywing
af83/5809-referential-vehicle-journeys-index--fix-nil-error-for-s ReferentialVehicleJourneys#index: Fix `nil` error on `stop_area_ids`
2018-02-01Fix broken TimeTableDecoratorZog
2018-02-01ReferentialVehicleJourneys#index: Fix `nil` error on `stop_area_ids`Teddy Wing
This wasn't checking that `params[:q]` was present before trying to access `[:stop_area_ids]`, and thus caused an error on the page when no filters were applied. Refs #5809
2018-02-01Refs #5758; Add corresponding feature `stop_area_localized_names`Zog
2018-02-01Refs #5758 @1h; Add localized names to StopAreasZog
2018-02-01Merge pull request #266 from af83/5762-stoparea-coordinates-are-optionalLuc Donnet
5761 Make coordinates optional on stop areas
2018-02-01Merge pull request #260 from af83/5718-show-times-in-vehiclejourneys-indexLuc Donnet
5718 Show times at stops in ReferentialVehicleJourneys#index
2018-02-01Merge pull request #255 from af83/5682-add-days-to-calendarsLuc Donnet
Add application days to calendars
2018-02-01Fix css5762-stoparea-coordinates-are-optionalZog
2018-02-01Refs #5762; Update JS to accomodate stops without locationZog
2018-02-01Refs #5762; Disable default position for stopsZog
2018-02-01Refs #5762; Make coordinates optional on stop areasZog
2018-02-01Revert webpacker to 3.0.2. Refs #5807Alban Peignier
2018-02-01Remove first :default_environment. Refs #5803Alban Peignier
2018-02-01Use upcase PATH variable in :default_environment. Refs #5803Alban Peignier
2018-02-01Use default_environment (for capistrano 2). Refs #5803Alban Peignier
2018-02-01Fix yarn installation with no production for ci and force yarn install ↵Luc Donnet
before jest launch du to webpacker bug
2018-02-01Fixes typo in deploy.rb. Refs #5803Alban Peignier
2018-02-01Add env variable to disable ci:jest if needed. Refs #5802Alban Peignier
2018-02-01Change path in capistrano default_env to make bundle available for webpacker ↵Alban Peignier
compiler. Refs #5803
2018-02-01:fire: log5798-show-return-times-on-vjs-editorZog
2018-02-01Refs #5798 @3h; Show return journeys on the journeys' editor.Zog