Tom Russell
2d6a18f81b
Add verification for Facade Data, thread info through frontend
2020-08-04 15:54:49 +01:00
Maciej Ziarkowski
dbd6487b0b
Add API helpers
2020-01-02 10:59:13 +00:00
Maciej Ziarkowski
739bcad08a
Lint semicolons
2019-11-07 09:13:30 +01:00
Maciej Ziarkowski
175d3236eb
Organise imports in frontend and API
2019-11-07 07:45:19 +00:00
Maciej Ziarkowski
daf36c9750
Add propTypes generation, remove manual propTypes
2019-11-05 20:13:10 +00:00
Maciej Ziarkowski
740b788246
Only accept view/edit modes for building view
2019-10-30 12:28:10 +00:00
mz8i
06eb4e53ed
Merge branch 'develop' into feature/84-show-edit-history
2019-10-29 17:58:01 +00:00
Maciej Ziarkowski
d70f341448
Move buttons code out from ContainerHeader
2019-10-24 12:13:07 +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
c2396e8881
Remove old TODO comments
2019-10-17 17:07:34 +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
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
8eb0923098
Move Save button to top of edit view
2019-10-02 19:16:55 +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
1612b66062
Pass building_like down to data components
2019-10-02 12:18:02 +01:00
Maciej Ziarkowski
4bfee10508
Allow no selection in categories/building-view
2019-09-09 01:10:52 +01:00
Tom Russell
065a49c7c5
Fix multi-entry
2019-08-23 17:46:22 +01:00
Tom Russell
541a307b99
Unpack building edit to data-components with mode
2019-08-23 17:35:17 +01:00
Tom Russell
51d8ac3ed7
Fold edit-handling functionality into data-container
...
The intention is to wrap components using withCopyEdit and to use
a 'mode' prop to control view/edit/copy/paste mode.
Next steps to unpack form field data components and update in eaech
category container.
2019-08-23 12:59:50 +01:00
Tom Russell
1997c34470
Avoid dependency loop
...
- building-view contained BuildingVIew and withCopyEdit
- and imported each data-container
- which each imported withCopyEdit to create their data-container
seemed okay from ts/webpack dev environment
but failed in jest test
2019-08-23 12:58:40 +01:00