mz8i
997e92d27d
Add GLA boundary to map ( #464 )
2019-10-28 16:48:59 +00:00
mz8i
5d3eff4800
Branding adjustments ( #471 )
...
* Synchronise category colours with WIX page version
* Display static colourful logo on map pages
2019-10-28 16:46:22 +00:00
Maciej Ziarkowski
c2ea90a372
Fix typo in likes legend
2019-10-28 16:07:22 +00:00
Maciej Ziarkowski
3cecb62993
Adjust likes colour scale and legend
2019-10-28 15:55:40 +00:00
Maciej Ziarkowski
86b252f186
Add field labels to multi edit view
2019-10-25 18:07:24 +01:00
Maciej Ziarkowski
09c343f91d
Move all field titles/tooltips to data_fields.ts
2019-10-25 17:43:39 +01:00
Maciej Ziarkowski
0f88627ab2
Update code documentation
2019-10-24 15:57:09 +01:00
Maciej Ziarkowski
8bc56fbbe2
Add edit history frontend routing
2019-10-24 12:20:48 +01:00
Maciej Ziarkowski
2e47d85faa
Add edit history components
2019-10-24 12:19:54 +01:00
Maciej Ziarkowski
946209282c
Use fields info in age container
2019-10-24 12:16:23 +01:00
Maciej Ziarkowski
3892191144
Add data fields definition, populate Age and Like
2019-10-24 12:15:41 +01:00
Maciej Ziarkowski
d70f341448
Move buttons code out from ContainerHeader
2019-10-24 12:13:07 +01:00
Maciej Ziarkowski
ab04483479
Sort edit history from new to old
2019-10-24 12:05:52 +01:00
Maciej Ziarkowski
aa59067d9e
Add edit history route/controller
2019-10-21 16:29:44 +01:00
mz8i
c63f42f921
Refactor types and await for user/building backend ( #476 )
...
* Refactor buildings API for async/await, types
* Return building data after update
* Refactor users API for await, TS types
* Refactor building service to remove repetition
As part of this refactor, these changes in functionality were made:
- tx isolation lvl for save/like/unlike building is always serializable
- both reverse and forward patch updated for like/unlike
- comparing old and new data uses == instead of ===
(this is because the new data even for numbers comes in as string)
- the checking of no data change in case of building unlike was fixed
(didn't work because it re-used code for like which is different)
* Improve param order, docs for updateBuildingData
2019-10-21 15:19:35 +01:00
Maciej Ziarkowski
f8c10c622f
Allow discard edits, activate save button on edit
2019-10-21 11:20:10 +01:00
Maciej Ziarkowski
dced56d004
Move to onChange/onLike handlers only, add types
2019-10-18 15:06:50 +01:00
Maciej Ziarkowski
f54fcf0cc4
Improve types for Building across app
2019-10-17 17:38:44 +01:00
Maciej Ziarkowski
c2396e8881
Remove old TODO comments
2019-10-17 17:07:34 +01:00
Maciej Ziarkowski
b6b87c8304
Process input value inside TextboxDataEntry
2019-10-17 17:00:01 +01:00
Maciej Ziarkowski
0e1aca0e9e
Fix DataEntry errors
2019-10-17 16:15:28 +01:00
Maciej Ziarkowski
e1e1bc7aa5
Process input inside SelectDataEntry
2019-10-17 15:32:41 +01:00
Maciej Ziarkowski
7c042dd58e
Process input value inside CheckboxDataEntry
2019-10-17 14:38:52 +01:00
Maciej Ziarkowski
ca4750b0be
Process input value inside DataEntry
2019-10-17 13:15:48 +01:00
Maciej Ziarkowski
7e9cc4cde4
Parse numbers in NumericDataEntry
2019-10-16 21:16:10 +01:00
Maciej Ziarkowski
b489b15d8f
Remove static ID from like checkbox
2019-10-16 20:34:29 +01:00
Maciej Ziarkowski
9d4d24aefc
Fix label click on like checkbox with non-uniq id
...
The label for the like checkbox was not clickable because the ID #like
was not unique on the website. The ID has been changed to like_check
to avoid that.
2019-10-16 13:30:59 +01:00
Maciej Ziarkowski
f189ae603e
Clear all state fields on select change
2019-10-16 13:11:25 +01:00
Maciej Ziarkowski
b81d49df43
Store only current edits in data container state
2019-10-15 19:16:48 +01:00
Maciej Ziarkowski
0a1b41cc07
Add DataTitle types
2019-10-15 15:44:22 +01:00
Maciej Ziarkowski
f498f4730b
Fix view/edit route redirect
2019-10-15 14:53:01 +01:00
Maciej Ziarkowski
3b8594a604
Improve scroll area UI
2019-10-15 14:38:07 +01:00
Maciej Ziarkowski
3a35f5dab5
Type, simplify, fix data containers
...
This contains a couple fixes for minor bugs
that were discovered after adding static types
to the category data editing code.
The other changes are mostly refactoring and styling
2019-10-15 14:37:23 +01:00
Maciej Ziarkowski
ce473cb453
Fix checkbox inputs
2019-10-15 13:20:09 +01:00
Maciej Ziarkowski
4cd21088ce
Add field groups to Size (storeys expanded)
2019-10-09 14:12:19 +01:00
Maciej Ziarkowski
38d84ff5ce
Rewrite DataEntryGroup with hooks, child count
2019-10-09 12:52:38 +01:00
Maciej Ziarkowski
0240e94adc
Allow zoom level 19 with OS basemap interpolation
2019-10-08 17:40:30 +01:00
Maciej Ziarkowski
354d8a6f96
Add data entry groups to planning category
2019-10-08 14:20:43 +01:00
Maciej Ziarkowski
4320e20952
Add DataEntryGroup component
2019-10-08 14:20:22 +01:00
Maciej Ziarkowski
27ba5310bb
Cache base layers but don't clear on bbox clear
2019-10-07 17:27:22 +01:00
Maciej Ziarkowski
ed999e1311
Use gravity instead of top/left for tile composite
2019-10-07 17:01:41 +01:00
Maciej Ziarkowski
14b79ce891
Simplify tile stitching with sharp
...
The new method uses the composite() method of sharp
to reduce the number of times a PNG buffer is created.
The number could be further reduced from two to one,
if the issue #1908 from lovell/sharp is resolved so that
composite and resize can be chained without an
intermediate call to .png().toBuffer()
2019-10-07 16:21:36 +01:00
Maciej Ziarkowski
5417b5c8b6
Use functions instead of classes in tile rendering
2019-10-07 13:34:22 +01:00
Tom Russell
98a826179c
Fix link to Streetscape Wix page (URL is /greenery)
2019-10-04 15:00:29 +01:00
mz8i
c0f2c75ca8
Merge branch 'master' into fix/multi-edit
2019-10-03 15:29:33 +01:00
Maciej Ziarkowski
dd7d66e5fc
Add OS map data and UPRN licencing
2019-10-03 14:55:54 +01:00
Maciej Ziarkowski
2a395d5f2e
Update Open Graph website description text
2019-10-03 13:24:48 +01:00
Maciej Ziarkowski
d3cc69fda6
Add square logo for social sharing image
2019-10-03 13:19:44 +01:00
Tom Russell
67114ebd88
Add attribution note to contact page
2019-10-03 07:50:04 +01:00
Tom Russell
386fb22c10
Link contact email as mailto
2019-10-03 07:49:49 +01:00
Tom Russell
bcfd89196c
Add licensing/attribution note to downloads page
2019-10-03 07:39:13 +01:00
Tom Russell
8e3d3c5622
Add reference links to agreements on account page
2019-10-03 07:36:17 +01:00
Tom Russell
f100e7b751
Add attribution note to welcome box
2019-10-03 07:32:54 +01:00
Tom Russell
860bb0b237
Enable copying dates
2019-10-02 22:35:57 +01:00
Tom Russell
173d5128ef
Update multi-edit style
...
Drop unused code paths which relied on shared
config data structure.
Present simplified key/value data entries
Use category colour in header
2019-10-02 22:33:42 +01:00
Tom Russell
7899588f87
Fix multi-edit shouldn't deselect building
...
If a user is in multi-edit mode and clicks where there is no building,
this should be a no-op.
Previous behaviour would clear the building and incidentally the
URL query string, losing selected attributes to copy, and triggering
URL-parsing error (caught as of fa785a7
).
2019-10-02 22:17:37 +01:00
Tom Russell
fa785a726c
Add JSON.parse error-handling when parsing from URL
2019-10-02 22:13:34 +01:00
Maciej Ziarkowski
40891cd4ce
Add Sustainability DEC description to legend
2019-10-02 19:41:53 +01:00
Maciej Ziarkowski
564640d94b
Add data accuracy agreement
2019-10-02 19:26:18 +01:00
Maciej Ziarkowski
2eddd8ac3d
Amend login/signup format, add email notice
2019-10-02 19:17:25 +01:00
Maciej Ziarkowski
8eb0923098
Move Save button to top of edit view
2019-10-02 19:16:55 +01:00
Maciej Ziarkowski
d408978165
Move download links towards end of header
2019-10-02 19:16:05 +01:00
Maciej Ziarkowski
c1b7cfa644
Amend welcome text
2019-10-02 18:40:42 +01:00
Maciej Ziarkowski
1f5abba409
Add Contact page
2019-10-02 18:38:12 +01:00
mz8i
64dc5bb334
Merge pull request #448 from tomalrussell/fix/minor-text
...
Fix/minor text
2019-10-02 16:51:40 +01:00
mz8i
13495ab495
Fix/map update ( #450 )
...
* Move building deselect logic from map-app to mapp
* Use building_id instead of ref_toid in handleClick
2019-10-02 16:47:45 +01:00
mz8i
e7b7e3fe67
Feature/misc ui fixes ( #449 )
...
* Re-style category links, remove More button
* Fix colour, order and text of categories
* Increase legend max height
2019-10-02 16:28:11 +01:00
Tom Russell
d6a6bf4fb0
Update privacy policy with password reset emails
2019-10-02 15:28:18 +01:00
Tom Russell
c43651830a
Remove 'draft' note from privacy policy
2019-10-02 15:27:55 +01:00
Tom Russell
48fa3fc3ad
Remove 'draft' note from contributor agreement
2019-10-02 15:27:21 +01:00
Tom Russell
bc53605f3f
Handle inactive/no-building view/edit combinations
2019-10-02 15:15:13 +01:00
Tom Russell
b1941ae358
Drop colouring-may-be-slow message
2019-10-02 15:14:47 +01:00
Tom Russell
91a29affb3
Add text around GItHub link
2019-10-02 15:07:12 +01:00
Tom Russell
fb9952b2a6
Fix typo
2019-10-02 15:06:55 +01:00
Tom Russell
7dc286bdbe
Disable Height to eaves (re-enable after db field)
2019-10-02 15:06:10 +01:00
mz8i
606a36ce6c
Activate type category and colour map ( #446 )
2019-10-02 14:34:44 +01:00
mz8i
fa089f10e1
Feature/435 activate sustainability ( #445 )
...
* Add colour scale definition for sustainability DEC
* Add sustainability DEC data render definition
* Activate sustainability category
2019-10-02 13:32:00 +01:00
Tom Russell
0954f5aa36
Merge pull request #444 from tomalrussell/fix/selectbox
...
Fix SelectDataEntry
2019-10-02 12:32:37 +01:00
Tom Russell
34fb8a62c7
Fix propTypes name for onChange in MultiDataEntry
2019-10-02 12:28:35 +01:00
Tom Russell
1043d0e7a9
Fix onChange handler for select data entry
...
E.g. in Age > Source of Information, allows selecting
data.
2019-10-02 12:28:19 +01:00
Tom Russell
9ba928b5e1
Run onLike when checking/unchecking like building
2019-10-02 12:19:42 +01:00
Tom Russell
b755b99040
Name building_like consistently in Like container
2019-10-02 12:18:22 +01:00
Tom Russell
1612b66062
Pass building_like down to data components
2019-10-02 12:18:02 +01:00
mz8i
ecc928b910
Use tile scale cache suffix for scale above 1 only ( #440 )
...
The tile params formatting is used for caching.
Don't add the @1x suffix for scale 1, in order to
re-use old cache from before retina tiles were enabled
2019-10-01 17:03:08 +01:00
Maciej Ziarkowski
5f4a939a51
Add downloads link to header
2019-10-01 14:57:23 +01:00
Maciej Ziarkowski
6614cdfb4b
Handle case of no extracts available
2019-10-01 14:46:28 +01:00
Maciej Ziarkowski
844bedc596
Move data extracts to new folder structure
2019-09-30 16:03:16 +01:00
Maciej Ziarkowski
6783a00e21
Merge branch 'develop' into feature/342-bulk-extract
2019-09-30 15:06:01 +01:00
mz8i
dafd43b64e
Merge pull request #428 from mz8i/feature/414-reorganise-categories
...
Feature 414: reorganise categories
2019-09-30 14:38:35 +01:00
mz8i
a83a027f14
Merge pull request #423 from mz8i/feature/tile-server-refactor
...
Tile server refactor, highlight colour, retina tiles
2019-09-30 14:29:21 +01:00
mz8i
0a5c14762e
Merge pull request #424 from mz8i/feature/286-validate-username
...
Feature 286: validate username
2019-09-30 12:43:36 +01:00
mz8i
8be81b3999
Merge pull request #426 from mz8i/feature/412-semantic-tags
...
Feature 412: semantic tags
2019-09-30 12:41:34 +01:00
mz8i
da4f998fb0
Merge pull request #417 from mz8i/feature/mobile-ui
...
UI/UX Improvements
2019-09-30 12:23:46 +01:00
mz8i
37278fd639
Merge pull request #418 from mz8i/feature/415-no-password-log
...
Prevent logging passwords in failed login attempts
2019-09-30 12:07:46 +01:00
Maciej Ziarkowski
9de8113e20
Add web app manifest and icons
2019-09-18 18:43:21 +01:00
Maciej Ziarkowski
6f113282ad
Add html form validation to sign up form
2019-09-18 15:20:56 +01:00
Maciej Ziarkowski
e2e37d88b8
Set max pass length to 128
...
OWASP Authentication cheatsheet says 128 is typical max password length
It suggests to not set it too low to let users use complex passwords
2019-09-18 15:17:22 +01:00
Maciej Ziarkowski
8d28d1be66
Reposition legend expand button
2019-09-18 14:52:21 +01:00
Maciej Ziarkowski
33dc30612b
Collapse header when clicking on link
2019-09-18 14:33:23 +01:00
Maciej Ziarkowski
3ba8cdd7a4
Merge branch 'feature/mobile-ui' into feature/tile-server-refactor
2019-09-18 12:38:52 +01:00