| Commit message (Collapse) | Author | Age | Lines |
|
|
|
|
| |
Sometimes this can be a long way down,
if e.g. extra Open311 questions above.
|
|
|
|
|
|
|
|
|
| |
getFeaturesWithinDistance now returns an array of features sorted by
their distance from the pin.
This also replaces calls to getNearestFeature with calls to
getFeaturesWithinDistance and updates the code to use the first entry in
the array for the nearest object.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Rather than trying to work out if the response is part of the current
set, track existing responses and abort them if a new request is
started.
|
|
|
|
|
|
| |
A few bits weren't being correctly hidden, as the code didn't account
for someone going directly from a report page to a reporting page via
the Report another problem here button.
|
| |
|
| |
|
|
|
|
|
| |
Allows assets to display when zoomed in.
Remove very zoomed out views as not useful.
|
|
|
|
|
| |
Add a WMTS config to use Buckinghamshire's own map tiles to display
house numbers.
|
|
|
|
|
|
| |
Rather than having to go into the database to see any error details
display it in the admin. The error only shows the first few lines by
default and expands on hover.
|
| |
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
If you switch from an asset category to a district category,
`asset_not_found()` is called, and would disable the form,
with nothing re-enabling it. This change also pleasingly
gives it the same structure as the road not found call.
|
| | |
|
|/
|
|
|
|
| |
Also displays the structures asset layer for the correct categories.
Fixes mysociety/fixmystreet-commercial#1327
|
| |
|
| |
|
|
|
|
| |
No need for bullets here, nor margins above/below each label.
|
|
|
|
|
|
|
| |
Call newRequest directly rather than with an event to avoid resetting
all the layers that have been used and hence removing all the features.
Fixes mysociety/fixmystreet-commercial#1354
|
|
|
|
|
| |
Use carriageway layers for these instead of Tree layer as Tree layer was
not always appropriate.
|
|
|
|
|
| |
The live ans staging sites use different layers to set the correct ones
depending on whether is_live is true
|
|
|
|
|
| |
this is required so that any hiding of messages etc occurs when the
layer is hidden.
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#1343
|
| |
|
|
|
|
|
|
| |
If a field has a maximum length set in the javascript validation then
add a maxlength attribute so the user doesn't have to wait till
submission to find out about it.
|
|
|
|
|
|
| |
Prevent people from using very long titles.
Fixes mysociety/fixmystreet-commercial#1344
|
|
|
|
|
| |
The tile URL includes a parameter for the client number which we were
not using so configure this based on live or staging.
|
|
|
|
|
| |
Layers that are always visible mean that we can end up with a count of 1
which means we don't re-display the pin
|
|
|
|
|
|
|
|
| |
The code to stop submission of an emergency category and the code to
stop submission of reports with no assets were conflicting. This makes
the emergency code take precedence over the asset code as there is no
point in telling the user they have not selected an asset and then
telling them to phone the council.
|
| |
|
|
|
|
|
| |
Prevent the user from making a report unless they have clicked on an
asset.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes mysociety/fixmystreet-commercial#1272
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Otherwise, e.g. going straight to /report/new when category groups
enabled may cause always visible layers to disappear because bodies
gets emptied.
|
| |
| |
| |
| | |
This gives us the "set up on load" functionality.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Shared margin rules for `.box-warning` and `.extra-category-questions`
in `_base.scss` and `_layout.scss` (where the margin can potentially
change based on the `$mappage-sidebar-padding` variable).
* Move the Sass rules for `.box-warning` further up `_base.scss` to be
next to `.extra-category-questions` since they’re both so similar.
* No need for `.full-width` on the `.extra-category-questions` div since
we were overriding the margin-top anyway.
* Remove the little triangle between the category select box and the
grey `.extra-category-questions` div, since the category questions
isn’t always presented immediately after the category select box.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
Run immediately, not onready, so the category change listener is in
place; listen to a better event, removing need for a debouncer; don't
look up if empty category.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
When an expanded list item has a single image, it would previously float
to the right of the list item action buttons, which looked messy.
Now, the buttons clear below the floated image, just like the buttons in
the individual report page `.problem-header`.
|