Commit Graph

36 Commits

Author SHA1 Message Date
Tom Russell
00687dbaed Switch to JSON in URL for copy
In preparation for multi-attribute copy.
2019-08-06 20:47:02 +01:00
Tom Russell
8aeb92705b Coerce revision id to number 2019-05-27 20:22:41 +01:00
Tom Russell
0008bbb860 Lint whitespace, case, prop-types 2019-05-27 20:13:43 +01:00
Tom Russell
426c7ff9f6 Click 'Copy' to move to quick/multi edit
- works with single values
- leans on server-side validation
- special case for likes (like +1 only)
- positioning of 'Copy' link not quite right against 'Hint'
- puts like/update fetch call in App component
2019-05-27 20:02:19 +01:00
Tom Russell
60371afd03 Sketch out hardcoded multi-edit 2019-05-27 19:51:15 +01:00
Tom Russell
f6e933ff8f Lint empty lines 2019-05-27 18:33:36 +01:00
Tom Russell
9b96872922 Lint prop-types, camelCase 2019-05-27 18:26:29 +01:00
Tom Russell
af9c23d883 Lint 4-space indent 2019-05-27 16:39:16 +01:00
Tom Russell
0ec551c14e Lint HTML escapes 2019-05-27 16:23:58 +01:00
Tom Russell
7553fcf597 Drop client-side console.log 2019-04-18 17:07:00 +01:00
Tom Russell
2a676103ba Top-level docstring for app.js 2019-02-05 21:41:31 +00:00
Tom Russell
544f929fcd Drop unused react-transitions 2019-01-22 18:39:14 +00:00
Tom Russell
f6ccd51393 Include if current user likes building in view 2019-01-22 17:21:44 +00:00
Tom Russell
377149975b Sketch out new flow (with URL change) 2018-11-29 22:00:53 +00:00
Tom Russell
447b5acf09 Redirect from edit if not logged in 2018-11-21 22:19:51 +00:00
Tom Russell
5a6076e3d7 Don't import unused (EditIcon/BetaBanner) 2018-11-13 10:35:50 +00:00
Tom Russell
a11d6f47f5 Remove beta banner 2018-11-13 09:24:36 +00:00
Tom Russell
7b8b4226c9 Show UPRNs in building view
- add /building/id/uprns.json endpoint
- hide children behind details

[Closes #83]
2018-10-25 14:36:52 +01:00
Tom Russell
665b4f32ff Relabel view/edit pages to 'Building data' and add 'Edit maps' to header
[Closes #88, #93]
2018-10-25 11:18:42 +01:00
Tom Russell
ab2db30bc4 Allow requesting user API key 2018-10-20 12:21:11 +01:00
Tom Russell
daca8e46ee Split main.css to app/sidebar/transitions.css 2018-10-20 11:33:27 +01:00
Tom Russell
6733be79c2 Delete stray console.log 2018-10-05 21:45:27 +01:00
Tom Russell
3539e1126c Refactor top-level routing 2018-10-03 21:47:18 +01:00
Tom Russell
72a626e267 Squares turn to arrows on hover
Closes #33
2018-10-01 00:13:01 +01:00
Tom Russell
aae5c1ca32 Handle errors logging in 2018-09-30 20:28:33 +01:00
Tom Russell
9a06d35bd8 Add logos block to login/register pages (Closes #35) 2018-09-17 21:27:52 +01:00
Tom Russell
853def333e Debug routing, id corner cases 2018-09-13 23:55:53 +01:00
Tom Russell
4c2aecd73d Welcome/sidebar transitions 2018-09-13 22:13:53 +01:00
Tom Russell
9fb4fa052a Handle building not found 2018-09-13 21:12:01 +01:00
Tom Russell
1ea6b0b75b Handle and show login/signup errors 2018-09-13 16:58:05 +01:00
Tom Russell
a2e995839e Handle POST/GET building 2018-09-11 23:30:17 +01:00
Tom Russell
05604e32b6 Select building, show view/edit 2018-09-10 23:34:56 +01:00
Tom Russell
fb9ff4f584 Render colour map for URL 2018-09-10 22:14:09 +01:00
Tom Russell
a48423bdaf Link legend 2018-09-10 21:49:58 +01:00
Tom Russell
60ad6fb1a4 Sketch in legend, map on welcome page 2018-09-10 12:41:00 +01:00
Tom Russell
a005643746 Merge frontend/api into universal react app 2018-09-09 22:22:44 +01:00