aboutsummaryrefslogtreecommitdiffstats
path: root/app/assets/javascripts
AgeCommit message (Collapse)Author
2018-05-31Merge pull request #594 from af83/7059-failed-clonescedricnjanga
7059 failed clones
2018-05-30Fix assets compilingZog
2018-05-28Refs #6955 Add new translation + custom delete confirmation modalcedricnjanga
2018-05-14Refs #6955 Add new translation + custom delete confirmation modalcedricnjanga
2018-04-26ReferentialVehicleJourneys: Fix line drop-down placeholderTeddy Wing
After adding the `initvalue` data attribute, the placeholder was no longer rendered. Fix this by: 1. Removing all elements from the collection to ensure that boolean options don't get added by default to the select (https://github.com/plataformatec/simple_form/blob/84e4465/lib/simple_form/inputs/collection_input.rb#L36-L41) 2. Not setting an `initSelection` on the Select2 config if the initial selection fields are empty. This finally gets the placeholder to display correctly again. Refs #5889
2018-04-16Refs #6337; Make date validation JS locale-agnosticZog
2018-04-10Refs #6426; Disable "Create opposite route" action instead of hiding itZog
2018-03-14Refs #5972 @1h; Automatic registration_number generationZog
2018-02-23Refs #5952; Add an hysteresis on the sticky headerZog
2018-02-19Refs #5911 @2h; Better stops filters on ReferentialVJs#indexZog
2018-02-09Refs #4126 @6h; Add i18n to JSZog
2018-01-11Refs #5557 @0.5h; Fix select25557-fix-calendar-creationZog
2017-12-28Merge pull request #184 from af83/5313_stop_areas_parentAlban Peignier
Manage stop area parent in form and show. Refs #5313
2017-12-28Fix non-matching class names for sticky actionsZog
2017-12-28Small esthetical changes in main_menu.coffee. Refs #54265426-refactor-sticky-actionsAlban Peignier
2017-12-28Refs #5426; Refactor sticky actionsZog
2017-12-27Add validation on stop_area parent_id area_typeXinhui
Refs #5313
2017-12-26Refs #5367 @2H; Add a ColorSelectInputZog
- Added to PurchaseWindow form - Reuse already exisiting JS + CSS - We may want to change the colors names
2017-12-26Select2 stop_area form parent_id fieldXinhui
2017-12-21Refs #5358 @0.1h; Fix `undefined` appearing in header5358-fix-undefined-in-headerZog
2017-10-06Add vehicle journey appcedricnjanga
2017-10-06Add webpacker gem and migrate the React appscedricnjanga
2017-10-03Refs #4665cedricnjanga
Adapt date filters helpers according to this new concern Try to correct build error : "ransack period range undefined" All tests pass on my machine Refs #4661 Remove string column from ComplianceCheckSet
2017-09-29Refs Adapt transport mode & submode translationscedricnjanga
2017-09-29Refs #4611 Disable edit button if editMode == falsecedricnjanga
2017-09-26Refs #4614cedricnjanga
Add small helper to create a clone from the window variable the backend send to the JS part We then only deal with variable shared within the app and not with window variable than we delete if we specify it
2017-09-26Refs #4614cedricnjanga
Add trad to React itineraries
2017-09-26Refs #4603 : Add translations to React Timetable appcedricnjanga
2017-09-26Refs #4602 fix period updatecedricnjanga
2017-09-25Refs: #4601 Fix bug to keep the routes stop points if validation dont passcedricnjanga
- Added functions to itineraries/form_helper to handle empty fields and modifiy input regarding the user input - Update the stop point checker to not add the error span each time the user hit the form's submit button
2017-09-21Vehicle journey message error update to show the sort_id and not the local_idcedricnjanga
2017-09-21Merge pull request 55 into mastercedricnjanga
=> Debug to add the possibility to add included dates in a period (outside of day types) => Refacto in the timetable reducer to share more code between some actions
2017-09-20Fix error in UPDATE_DAY_TYPE action in timetable reducercedricnjanga
The condition to remove the right dates was not well implemented
2017-09-20Merge master to branch and resolve all the conflictscedricnjanga
We also needed to take remove the right time table dates when we update day types : - excluded dates that are out of day types - included dates that are in day types and in periods
2017-09-19Resolve merge conflictscedricnjanga
2017-09-14Change wayback values in route Refs #3395 @4Luc Donnet
2017-09-13use new human OID in select2scedricnjanga
2017-09-13Change humanOID function to take into account different object id syntaxcedricnjanga
2017-09-12Change the import filter to include two inputs and tweak ransack filter to ↵cedricnjanga
convert date object to dateTime object
2017-09-06Change humanOID function to take into account objectid changescedricnjanga
2017-09-06Updated imports#index date filter : used the same logic for the ↵cedricnjanga
Calendar#index date filter (ransackable scope) I realized that we could submit the form with incomplete date which caused an 500 error. So I added a small JS script to prevent user from subnitting filter form with incomplete dates Since it was really similar with previous work I added two folders : /helpers & /filters to be more DRY The JS files are loaded in 4 views for the moment, hence the update in the assets.rb file
2017-08-30Refs #4177cedricnjanga
2017-08-29Refs #3367 Change Time table overlap querycedricnjanga
2017-08-28Timetable validate form updatecedricnjanga
2017-08-28Refs #4319 fix timetable autocompletecedricnjanga
2017-08-25Clean timetable dates after updating day typescedricnjanga
2017-08-25Disable duplicate modal submit button on conditionscedricnjanga
2017-08-24Edit VJ to enable shift and to go past midnight (DayOffset)cedricnjanga
2017-08-21Add the possibility to add included days in a periodcedricnjanga
2017-08-16Add VJ Delete company actioncedricnjanga