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
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
SachaG
f5e44dc68e
v1.12.8
2018-09-17 09:54:10 +09:00