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
SachaG
dfa4c77314
ESLint fixes
2018-09-16 11:48:38 +09:00
Sacha Greif
fdcdea9301
Merge pull request #2072 from OrigenStudio/fix/locale-change
...
Pass locale as key to IntlProvider to force a rerender on locale change
2018-09-16 11:40:57 +09:00
ochicf
41bcb84d0c
pass locale as key to IntlProvider to force a rerender on locale change
...
See docs: https://github.com/yahoo/react-intl/wiki/Components#dynamic-language-selection
2018-09-15 22:15:31 +02:00
Sara Itani
565cda5979
cleanup: Fix naming after withList -> withMulti change
2018-09-14 22:17:08 -07:00
SachaG
2d4889abcc
Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel
...
# Conflicts:
# packages/vulcan-core/lib/modules/default_resolvers.js
2018-09-14 11:10:55 +09:00
Erik Dakoda
9be92d0903
- Fixed bug in single resolver (slug is undefined)
...
- Fixed bug in Utils.pluralize (pluralizing words ending in 's', for example address => addresses)
2018-09-13 10:46:10 -04:00
ochicf
a3d8accc64
add callbacks to 'router.onUpdate.async' hook
2018-09-12 13:21:25 +02:00