Skip to content

Commit

Permalink
🔥 Remove the post-trip-prompt code
Browse files Browse the repository at this point in the history
This includes both copies (incident and survey)

Testing done:
- No instances left

```
$ grep -ri posttrip.prompt www/js
$ grep -ri PostTripAutoPrompt www/js
$
```

- UI loaded without errors
  • Loading branch information
shankari committed Feb 17, 2023
1 parent 8004804 commit c13f663
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 525 deletions.
1 change: 0 additions & 1 deletion www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@
<script src="js/survey/one-click-button.js"></script>
<script src="js/incident/post-trip-manual.js"></script>
<script src="js/survey/multilabel/infinite_scroll_filters.js"></script>
<script src="js/survey/multilabel/post-trip-prompt.js"></script>
<script src="js/survey/multilabel/post-trip-map-display.js"></script>
<script src="js/survey/multilabel/trip-confirm-services.js"></script>
<script src="js/survey/multilabel/multi-label-ui.js"></script>
Expand Down
5 changes: 2 additions & 3 deletions www/js/controllers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ angular.module('emission.controllers', ['emission.splash.updatecheck',
'emission.splash.storedevicesettings',
'emission.splash.localnotify',
'emission.splash.remotenotify',
'emission.stats.clientstats',
'emission.survey.multilabel.posttrip.prompt'])
'emission.stats.clientstats'])

.controller('RootCtrl', function($scope) {})

.controller('DashCtrl', function($scope) {})

.controller('SplashCtrl', function($scope, $state, $interval, $rootScope,
UpdateCheck, StartPrefs, PushNotify, StoreDeviceSettings,
LocalNotify, RemoteNotify, ClientStats, PostTripAutoPrompt) {
LocalNotify, RemoteNotify, ClientStats) {
console.log('SplashCtrl invoked');
// alert("attach debugger!");
// PushNotify.startupInit();
Expand Down
259 changes: 0 additions & 259 deletions www/js/incident/post-trip-prompt.js

This file was deleted.

Loading

0 comments on commit c13f663

Please sign in to comment.