Apollinaire
b2e3aaaeb5
fix lint errors
2019-01-21 18:10:34 +01:00
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
111e00ecae
Fix semicolons and other linting issues
2018-12-31 15:22:17 +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
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
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
9e5528e6d5
Add sourceVersion to server; add withSiteData HoC
2018-11-24 09:56:41 +09:00
SachaG
4208af65f8
Merge branch 'errors' into devel
2018-11-23 09:20:14 +09: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
SachaG
4ebe32eb1c
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
2018-10-13 14:17:57 +09:00
SachaG
8fc6268631
Keep track of locale method; set locale cookie for root path
2018-10-13 14:13:08 +09:00
Bogdan Dimofte
881a6533f8
datatable: add i18n for the search field
2018-10-11 10:42:37 +03:00
SachaG
d5cad5288a
Document is not defined in create mutation
2018-10-10 17:40:16 +09:00
SachaG
335cda6cf0
Improve thrown errors
2018-10-10 17:35:01 +09:00
Sacha Greif
d81385e7b7
Merge pull request #2093 from Apollinaire/devel
...
Restore Edge support
2018-10-03 07:53:19 +09:00
Apollinaire
735f49aa2b
Remove default on arrow function core:App.jsx:getLocale
2018-10-02 17:49:26 +02:00
SachaG
57225bee57
Pass locale to App.jsx during SSR process (as a cookie for now); keep original headers during SSR process; get locale from headers
2018-10-02 12:25:14 +09:00
SachaG
a4ec3fcf1f
Minor refactoring in App.jsx; apolloTracing setting -> apolloServer.tracing; improve i18n server-side locale setting logic to account for cookie and accepted language headers
2018-10-02 10:15:47 +09:00
SachaG
649f74e25b
Used could be null
2018-09-18 09:52:50 +09:00