Commit graph

339 commits

Author SHA1 Message Date
SachaG
73eeabcca2 Add label prop to edit/new buttons 2019-03-02 17:48:14 +09:00
SachaG
67834716da Make core components more compatible with Storybook 2019-03-02 16:28:11 +09:00
SachaG
c423a8de3d Remove intl from App context (it was overwritten by intl from provider anyway); add locale to intl provider 2019-03-02 16:27:41 +09:00
SachaG
4261470fad Component fixes 2019-02-25 11:12:10 +09:00
SachaG
cab8ce1379 Add mock props for core & ui components 2019-02-24 21:55:08 +09:00
SachaG
9866c58761 Wrap 404 component in layout 2019-02-21 17:03:34 +09:00
SachaG
abf7322c16 Use context for flash message handling 2019-02-17 22:11:10 +09:00
SachaG
dac8c568c7 Fix asc/desc sort icon 2019-02-16 16:24:07 +09:00
Apollinaire
f6f8ae3a41 Merge branch 'devel-apollo1' into devel 2019-02-12 15:15:46 +01:00
Apollinaire
815a65d853 prettier & lint code 2019-02-12 13:00:46 +01:00
SachaG
8d62887f84 router.push -> history.push (RR4) 2019-02-12 11:21:28 +09:00
eric-burel
fb16f38d97 prettier commit + fix startup 2019-01-30 21:26:43 +01:00
Apollinaire
99012d5673 Rewrite Card getLabel 2019-01-30 12:38:24 +01:00
Apollinaire
bf227ac8a7 Add formatLabel to Datatable 2019-01-30 11:39:51 +01:00
SachaG
fd33c7675b More linting fixes 2019-01-30 10:45:28 +09:00
SachaG
a13327340c Linting 2019-01-30 10:42:17 +09:00
SachaG
6d1e8da40b Merge branch 'devel' into apollo2
# Conflicts:
#	packages/vulcan-core/lib/modules/components/App.jsx
#	packages/vulcan-core/lib/modules/components/Card.jsx
#	packages/vulcan-core/lib/modules/default_mutations.js
#	packages/vulcan-core/lib/modules/index.js
#	packages/vulcan-debug/lib/components/Routes.jsx
#	packages/vulcan-lib/lib/server/intl.js
2019-01-30 10:36:59 +09:00
SachaG
19ea8159b3 Merge branch 'devel' into apollo2 2019-01-30 10:34:27 +09:00
eric-burel
f51f558cb1 prettier commit 2019-01-29 17:32:08 +01:00
SachaG
5f941d7d76 Remove Formsy dependency 2019-01-24 18:01:53 +09:00
Apollinaire
b2e3aaaeb5 fix lint errors 2019-01-21 18:10:34 +01:00
SachaG
90d961902c Small fixes 2019-01-18 14:55:23 +09:00
SachaG
1b36fe2ea1 Add ScrollToTop component 2019-01-18 14:05:53 +09: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
190b76159c Re-enable currentRoute and ErrorCatcher 2019-01-03 21:40:11 +09:00
eric-burel
eeada2d231 linting, removing apollo package 2019-01-02 18:11:10 +01:00
eric-burel
022a72e41b Merge Apollo2 branch 2019-01-02 17:18:54 +01:00
eric-burel
f5039d4952 added router.client.wrapper callback and setup redux 2019-01-02 11:45:25 +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