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
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
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
SachaG
47bd12eb80
Make Flash component display HTML
2018-11-04 16:29:38 +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
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
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
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
1404670631
withList -> withMulti
2018-09-12 14:51:44 +09:00
SachaG
bafe350407
withList -> withMulti; add fallback prop for Avatar component
2018-09-12 10:31:36 +09:00
SachaG
97c1ea1630
Improve MutatioButton
2018-07-14 09:09:01 +02:00
SachaG
dfd4bb023e
MutationButton component
2018-07-13 21:47:36 +02:00
SachaG
4af2492e07
Make Card and Datatable components more flexible when working with static data; add title prop
2018-07-11 08:34:01 +02:00
SachaG
d4193fd7e5
Merge branch 'devel' into opencrud
...
# Conflicts:
# packages/vulcan-lib/lib/modules/collections.js
2018-06-14 09:55:52 +09:00
SachaG
b0e7c4bf97
Only reset store when intl fields exist
2018-06-14 08:47:58 +09:00
SachaG
4da86c44a3
Add support for sortable property (bool/string) on datatable columns to make them sortable
2018-06-12 15:24:17 +09:00
SachaG
4ec9c08500
Set correct moment locale
2018-06-12 11:23:36 +09:00
SachaG
60f47a5189
Various small fixes (thanks @justinr1234)
2018-06-08 13:31:15 +09:00
SachaG
20db318c40
More work on withMulti and withSingle
2018-06-05 12:12:04 +09:00
SachaG
809bdd05de
Adapting withMulti and withSingle
2018-06-05 11:51:25 +09:00
SachaG
96eab44309
Start CRUD renaming
2018-06-02 18:49:53 +09:00
SachaG
fc15a4df42
Small core/ui components improvements
2018-05-16 11:40:10 +09:00
SachaG
55d34bd328
Working on locale cookie support for SSR
2018-05-14 17:28:04 +09:00
SachaG
b30b1ae6e6
reset store after locale change
2018-05-10 18:17:53 +09:00
SachaG
a5a43d2f89
Get locale from user
2018-05-10 17:57:12 +09:00
SachaG
af666027c3
Add locale field to user schema; change it when setLocale is called on client
2018-05-10 17:48:06 +09:00
SachaG
e2cba32b15
Clean up
2018-05-10 09:38:25 +09:00
SachaG
19463ceec5
first steps on language switching support
2018-05-04 12:01:12 +09:00
SachaG
13609dd755
Various small improvements
2018-05-04 11:56:49 +09:00
Bernardo Dias
5b9bb61688
Update Flash component and withMessages container
2018-05-02 15:02:52 -03:00
SachaG
a086e6e584
Update flash messages
2018-04-28 18:51:20 +09:00
SachaG
b4f960301b
Isolate bootstrap dependencies in new vulcan-ui-bootstrap package
2018-04-23 09:47:04 +09:00
SachaG
1af50c1247
Improve i18n and make locale switchable via setLocale
on context
2018-04-21 17:58:25 +09:00
SachaG
59c12c27d2
Log slug in default resolver; add rowClass prop to Datatable
2018-04-06 17:59:24 +09:00
SachaG
759899212f
Remove __typename from datatable; fix select options
2018-03-28 11:20:41 +09:00
SachaG
5705de3559
Improve edit/new buttons callback handling
2018-03-28 11:13:39 +09:00
SachaG
1d7cef5556
Work on form errors & validation
2018-03-25 10:54:45 +09:00