aboutsummaryrefslogtreecommitdiffstats
path: root/app
AgeCommit message (Collapse)Author
2018-02-06Fix StopAreas filters when no filter is presentZog
2018-02-06Refs #5417; Fix specsZog
2018-02-06Refs #5417; Update parents checksum when children are created or updatedZog
2018-02-06Refs #3542; Small css fixZog
2018-02-06Refs #3542; Add an anchor to filters URLsZog
2018-02-06Refs #3542; Better display for short referentialsZog
2018-02-06Refs #3542; Add a date lookupZog
2018-02-06Refs #3542 @2h; Various UI improvements (hopefully)Zog
2018-02-06Refs #3542 @1h; Add sticky headerZog
2018-02-06Refs #3542 @1h; Adds filtersZog
2018-02-06Refs #3542 @1h; Add Time navigationZog
2018-02-06Refs #3542; Adds paginationZog
2018-02-06Refs #3542 @4h; First UIZog
Still missing: - Pagination - Filters
2018-02-06Refs #5835; Timetables inherit application days from calendarsZog
2018-02-06Refs #5832 @1h; Show active filtersZog
2018-02-06Refs 5832; Fix bug on ReferentialVehicleJourneys#index filtersZog
By default a value was always set on the "Line" filter, yielding misleading results.
2018-02-06Fix jest specsZog
2018-02-06Refs #5825; Fix paginationZog
2018-02-06Refs #5830; Fix RouteDecorator's duplicate actionZog
2018-02-06Refs #5825 @1h; Fix info window behaviour on VJs editorZog
2018-02-06Define @year in CalendarsController as expected by view. Refs #5682Alban Peignier
2018-02-06Prevent problem with StopArea#kind. Refs #5817Alban Peignier
2018-02-06Refs #5758; Fix messed rebaseZog
2018-02-06Refs #5758; Set a default kind for StopAreasZog
2018-02-06:fire: logZog
2018-02-06VehicleJourney.lines: Change query to only get lines for routeTeddy 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-06ReferentialVehicleJourneys#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-06_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-06ReferentialVehicleJourneys#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-06ReferentialVehicleJourneys#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-06ReferentialVehicleJourneys#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-06Fix broken TimeTableDecoratorZog
2018-02-06ReferentialVehicleJourneys#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-06Refs #5758; Add corresponding feature `stop_area_localized_names`Zog
2018-02-06Refs #5758 @1h; Add localized names to StopAreasZog
2018-02-06Fix cssZog
2018-02-06Refs #5762; Update JS to accomodate stops without locationZog
2018-02-06Refs #5762; Disable default position for stopsZog
2018-02-06Refs #5762; Make coordinates optional on stop areasZog
2018-02-06:fire: logZog
2018-02-06Refs #5798 @3h; Show return journeys on the journeys' editor.Zog
2018-02-06Refs #5796; Fix dropdown menuZog
2018-02-06Refs #5796: Add some legroom in the JourneyPatterns editorZog
2018-02-06Refs #5682; Fix timetables bulk updateZog
2018-02-06Refs #5682 @3h; Use same UI as for timetablesZog
2018-02-06Refs #5682; Set default value for application daysZog
2018-02-06Refs #5682; Fix warningZog
2018-02-06Refs #5682; Add application_days field to calendarsZog
2018-02-06Fix specsZog
2018-02-06Refs #5754; Add a filter on calendars for ReferentialVJs#indexZog