Apollinaire
d912e4a224
Add failureComponent and failureComponentName to withAccess
2019-01-15 17:34:51 +01:00
Apollinaire
ac2349f2ff
Update validation callbacks' debug page
...
The API for validation callbacks changed some time ago and the debug page was not updated to reflect this.
2019-01-10 15:12:19 +01:00
Apollinaire
1e6e6f88f3
Wrap ErrorCatcher with withSiteData
...
This way you can add multiple error catchers in your react tree. My use case is adding one in the Modal component, so that when you add a buggy thing in the modal it's caught here and the user can exit the modal and the rest of the app is still rendered.
2019-01-10 14:23:50 +01:00
SachaG
553a0627d4
v1.12.13
2019-01-02 14:41:41 +09:00
SachaG
3e1571e1e8
Fix ESLint unused variables
2018-12-31 15:26:22 +09:00
SachaG
111e00ecae
Fix semicolons and other linting issues
2018-12-31 15:22:17 +09:00
SachaG
00683ba83e
v1.12.12
2018-12-31 15:03:19 +09:00
SachaG
10f867e123
Merge branch 'devel' into bs4
2018-12-28 09:16:30 +09:00
SachaG
b2a3e04fcf
Fix pollInterval SSR issue (see https://github.com/apollographql/apollo-client/issues/1704#issuecomment-322995855 )
2018-12-28 09:16:07 +09:00
SachaG
857b20867c
Update to Bootstrap 4
2018-12-28 08:52:40 +09:00
Apollinaire
1e7ae073a9
Merge branch 'master' into devel
2018-12-19 16:10:54 +01:00
neobii
bbe973b13e
fixed whitespace to pass linting test
2018-12-18 13:23:20 -06:00
SachaG
290c9ae4f5
Pass down Components prop
2018-12-17 17:04:30 +09:00
Sacha Greif
d51ae7591b
Merge pull request #2065 from OrigenStudio/feature/router-hook-props
...
Add async hook to RouterHook and provide props as argument
2018-12-16 22:52:00 +09:00
Eric Burel
c55aa27983
Merge pull request #2126 from lbke/cleanup-components
...
Cleanup Datatable / withComponents pattern
2018-12-15 17:31:33 +01:00
SachaG
b05b35ed57
v1.12.11
2018-12-15 15:10:18 +09:00
neobii
82d320cea7
added refetch to props on withSingle
2018-12-05 06:14:17 -06:00
SachaG
3d920138b2
Pass document to callback
2018-12-02 10:53:24 +09:00
SachaG
50315bcf73
Fix linting
2018-12-02 10:28:04 +09:00
SachaG
8330accba7
centralize error throwing in new throwError function
2018-12-02 10:01:48 +09:00
eric-burel
f8f08fb7fd
can render the datatable
2018-11-29 14:56:24 +01:00
eric-burel
d65c83bde9
added test for container withComponents
2018-11-29 14:24:20 +01:00
eric-burel
4e33ac4a24
use withComponents
2018-11-29 14:24:20 +01:00
eric-burel
7162870564
split Datatable into purely visual components
2018-11-29 14:24:19 +01:00
eric-burel
0046649b98
temporarily remove depreaction message
2018-11-29 14:24:19 +01:00
eric-burel
a3b47c1301
created a withComponents HOC to load Components
2018-11-29 14:24:18 +01:00
eric-burel
c8299cffed
refactored test initialization with a new package
2018-11-29 14:24:17 +01:00
eric-burel
6d97bfc52b
add basic test for datatable
2018-11-29 14:24:15 +01:00
SachaG
46bdfe0f57
Add app.mounted callback to App.jsx; move error tracking init to server/client init.js file
2018-11-24 10:49:37 +09:00
SachaG
6f11c9cf89
v1.12.10
2018-11-24 09:57:55 +09:00
SachaG
9e5528e6d5
Add sourceVersion to server; add withSiteData HoC
2018-11-24 09:56:41 +09:00
SachaG
a3a14c8489
v1.12.9
2018-11-23 11:39:38 +09:00
SachaG
4208af65f8
Merge branch 'errors' into devel
2018-11-23 09:20:14 +09:00
eric-burel
0824b3bb49
rollback callbacks test
2018-11-05 14:03:22 +01:00
SachaG
0cae07f42a
Call ErrorCatcher in App.jsx
2018-11-05 09:46:17 +09:00
Sacha Greif
783f3ad0d5
Merge pull request #2116 from OrigenStudio/fix/mutation-button
...
Mutation button small fixes
2018-11-04 17:38:01 +09:00
SachaG
47bd12eb80
Make Flash component display HTML
2018-11-04 16:29:38 +09:00
SachaG
e4dd4ac603
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-11-04 12:59:40 +09:00
SachaG
fa2fe776de
Revert some of the changes in #2112 ( fix #2118 )
2018-11-04 12:58:16 +09:00
ochicf
7573e17e18
delete props to avoid unknown props warning
2018-10-31 12:16:19 +01:00
ochicf
dbd41a39f0
update loading state on mutation error
2018-10-31 12:15:57 +01:00
Apollinaire Lecocq
f162054a0b
Merge pull request #2113 from Apollinaire/datatableSortFix
...
Fix datatable bug when sorting a column
2018-10-30 09:43:45 +01:00
Eric Burel
e981503a4b
Merge branch 'devel' into single-documentId
2018-10-30 09:06:14 +01:00
Eric Burel
284cdbae18
start splitting code, reuse options handler
2018-10-29 22:08:41 +01:00
Eric Burel
10603d000f
new behaviour: single resolver returns null if documentId is not defined
2018-10-29 18:53:31 +01:00
Apollinaire
83a908e22a
Fix datatable bug when sorting a column
...
see https://github.com/VulcanJS/Vulcan/issues/2090#issuecomment-433860782
Previously : when you clicked on a sortable column, the results of the fired query would be null, and the next polling would make it right. You had a long time with no results displayed.
Now : The query fired when you click to sort a column returns the right result, with the props updating correctly, so no need to wait for the polling to update the results.
See #2090 for an in-depth explanation
2018-10-29 18:52:47 +01:00
Eric Burel
4dda9919fe
prettier commit :)
2018-10-29 18:36:18 +01:00
Eric Burel
c932c4b5c7
wrote test for single resolver + failing test
2018-10-29 18:36:02 +01:00
Eric Burel
d13d0a05b4
cleanup tests
2018-10-23 17:00:00 +02:00
SachaG
4ebe32eb1c
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-10-13 14:17:57 +09:00