aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views
Commit message (Collapse)AuthorAgeLines
* Remove next button from confirm location screenStruan Donald2013-08-20-4/+1
| | | | | | | Potentially confusing to user that there is a confirm location and a next button and as they do the same remove the most ambigously titled one. Fixes #105
* Remember user's name once enteredStruan Donald2013-08-19-0/+4
| | | | Fixes #102
* Reset submission type on choices screenStruan Donald2013-08-19-1/+6
| | | | | Removes problems with starting one type of submission, going back and the state not being properly cleared
* Shorter intro help textStruan Donald2013-08-19-1/+0
| | | | Fixes #100
* Hide errors on submit login password pageStruan Donald2013-08-16-0/+2
| | | | Otherwise they are still there if you are asked to confirm your name
* Correctly close location error message tagStruan Donald2013-08-15-1/+2
|
* Geolocation error was never shown if accuracy check failedStruan Donald2013-08-15-3/+2
| | | | | | If we got a geolocation fix but not one that met the accuracy check then the locating screen was being hidden but the error message was never being displayed.
* Better name and even less duplicate code for first time help displayStruan Donald2013-08-14-10/+7
|
* Refactor first time help showing code to a methodStruan Donald2013-08-14-4/+7
| | | | For the reduction of duplicate code
* Display help the first time the app is runStruan Donald2013-08-12-0/+10
| | | | | | Also record when help has been viewed so we don't display it again. For #92.
* fix missing ]Struan Donald2013-08-12-1/+1
|
* Remove hardcoded location search placeholder textStruan Donald2013-08-09-1/+1
|
* Remove hardcoded submission error dialog button stringsStruan Donald2013-08-09-1/+1
|
* Put in place timeout for file uploadStruan Donald2013-08-09-1/+3
| | | | | | | A timeout mechanism that checks that the file is uploading and if not then bails out, and even if it is bails out after 2 minutes Fixes #87
* Reset submission type if confirming by emailStruan Donald2013-08-08-0/+1
| | | | | | Prevents the app form attempting to log you in if you've attempted password login, it's failed and you've gone back to email confirmation. Fixes #88
* Fix glitchy drafts to offline transitionStruan Donald2013-08-07-0/+20
| | | | | | | Make sure offline page is scrolled to top before it's displayed and also hide drafts page to make avoid popup effects Fixes #85
* correct transition direction for offline -> draftsStruan Donald2013-08-07-2/+2
|
* make sure the relocate button is hidden before map displayStruan Donald2013-08-07-0/+1
|
* Force saving of draft if removing a photoStruan Donald2013-08-07-1/+1
| | | | | | | | Becuase we don't save drafts that are only a location once you remove the photo from a report that only has a location and a photo that change isn't saved as it becomes a report with only a location hence add a force option so saveCurrentDrafts and use it when removing a photo. Fixes #86
* Improve feel of photo adding screenStruan Donald2013-08-06-0/+8
| | | | | | Now we hide the placeholder image to stop jerky resizing Also display a busy indicator so the user knows something is happening Fixes #83 after a fashion.
* only hide search errors if there is a mapStruan Donald2013-08-06-2/+4
| | | | | Otherwise when the inital search fails bluring the search box removes the errors which doesn't seem very helpful
* Return to details extra page from submit page as appropriateStruan Donald2013-08-05-2/+17
| | | | Fixes #82
* Only stop listening to search events once search completeStruan Donald2013-08-05-2/+4
| | | | | | Don't stop listening to all locator events as that stops the current location GPS function working. Fixes #80.
* fix .attr callStruan Donald2013-08-05-1/+1
|
* Improve display of error messages on confirm screenStruan Donald2013-08-05-0/+3
| | | | | | | Hide start blurb and replace with errors in order to stop the screen getting too long. Fixes #77.
* Merge remote-tracking branch 'origin/master'Struan Donald2013-08-05-1/+1
|\
| * Fixed text for no-location search boxJedidiah Broadbent2013-08-05-1/+1
| |
* | Display reposition report button after recentering mapStruan Donald2013-08-05-1/+21
| | | | | | | | | | | | | | If recentering the map moves the crosshair position to somewhere different to the current report location then display the reposition button. Includes small margin of error for GPS noise etc. Fixes #75
* | Improve name validationStruan Donald2013-08-05-1/+1
| | | | | | | | | | Insist on a space somewhere in the name to match server side rules. Fixes #76
* | Add basic validation to set password screenStruan Donald2013-08-05-5/+7
|/ | | | Fixes #78
* Improve the select draft -> map transitionStruan Donald2013-08-02-0/+16
| | | | | | | | Hide the list of reports to stop the weird popup things and start off the map change before we navigate to the map screen as it then looks part of the same action rather than transition followed by map move. Fixes #72
* do not highlight the email field for general login errorsStruan Donald2013-08-02-2/+2
|
* always dismiss onscreen keyboard when logging inStruan Donald2013-08-02-2/+1
|
* improve display of search errorsStruan Donald2013-08-01-2/+22
|
* Make sure drafts button is hidden initiallyStruan Donald2013-08-01-0/+1
| | | | | Avoids it appearing and disappearing if yo go back to the screen from the photo page
* Do not perform background map blurring unless iPhone 4s+Struan Donald2013-08-01-1/+3
| | | | | On iPhone 4 it slows things down too much and as there's no way to sensibly limit this on Android devices just don't do it on Android.
* server actually sends back titles_list not title_listStruan Donald2013-08-01-2/+2
|
* force bbox update if we cancel the current reportStruan Donald2013-07-30-0/+2
| | | | Fixes #71
* Hide popup and make sure crosshairs visible when click New ReportStruan Donald2013-07-30-0/+2
| | | | Fixes #67
* Provide options if report submission failsStruan Donald2013-07-26-3/+22
| | | | | Rather that just please retry offer user ability to either save the report for later or to try again.
* More reliably make sure crosshair is displayedStruan Donald2013-07-26-5/+2
| | | | | | | The touchstart event seem unreliable in combination with openlayers and also the ability of backbone to capture events from an element not managed by it is also suspect so use touchend which is more reliable and directly manage handling it. It's not as neat but it works reliably :/
* display keyboard automatically on locating failed screen. Fixes #65Struan Donald2013-07-25-0/+1
|
* redisplay the corsshairs if the user touches the map. Fixes #5Struan Donald2013-07-25-0/+5
|
* move cancelling of offline locate click default up to the view the eventStruan Donald2013-07-25-3/+7
| | | | | is for rather because locator.locate usually doesn't get an event and it's silly to put a guard clause there
* add and remove background-map class to map_box when map enters/leaves ↵Struan Donald2013-07-25-0/+2
| | | | background. Fixes #64
* stop phantom click throughs from canceling the locating screen and also from ↵Struan Donald2013-07-25-2/+4
| | | | it starting and immediately returning on the offline screen
* Stop locating screen being able to scroll. Fixes #60Struan Donald2013-07-25-0/+3
|
* change to use phonegap API alert call so we can use a title inStruan Donald2013-07-23-8/+8
| | | | | the alert box and then use own internal function to call this to ensure consistency
* If we pause the app then it seems to fire the report synced event on iOSStruan Donald2013-07-23-0/+3
| | | | | | | which means we change page. However, it does this outside the report model so we set a success flag on the report and then check for that in the sync event handler to make sure it's a genuine report sync event. Fixes #59.
* improve handling of upload errorsStruan Donald2013-07-22-2/+2
|