Commit graph

34 commits

Author SHA1 Message Date
SachaG
8fc6268631 Keep track of locale method; set locale cookie for root path 2018-10-13 14:13:08 +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
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
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
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
96eab44309 Start CRUD renaming 2018-06-02 18:49:53 +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
1af50c1247 Improve i18n and make locale switchable via setLocale on context 2018-04-21 17:58:25 +09:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
SachaG
4d55c2f788 Small fixes 2017-12-17 18:00:48 +09:00
SachaG
983c08d52f Pass current route to router.onUpdate hook; trigger router.onUpdate from new RouterHook component; Add new event.identify hook; refactor events package, add new events-ga and events-segment packages 2017-12-17 17:42:06 +09:00
Sacha Greif
5d444df3a5 Enable adding components to HeadTags outside of Helmet 2017-10-17 10:26:38 +09:00
Sacha Greif
0af5e365d3 Add new HeadComponent to make it easier to add permanent head tags 2017-10-14 11:05:36 +09:00
SachaG
984021cd7f Clean up/refactor settings; add registerSetting and /settings route 2017-09-22 12:24:15 +02:00
SachaG
27af668f87 improve Vulcan onboarding with default route screens 2017-08-31 12:54:09 +09:00
SachaG
eafd294d49 Add route name to wrapper class in layout; add support for custom layouts; export RoutesTable 2017-06-14 09:53:42 +09:00
SachaG
35a7904f92 performCheck fix 2017-06-07 05:04:05 -07:00
SachaG
56129faa78 various small fixes 2017-06-06 17:22:17 -07:00
SachaG
7e2de51bde react-i18n -> vulcan:i18n 2017-06-01 11:42:30 +09:00
Michel Herszak
2e7b461e24 Added PropTypes package and changed Component to PureComponent 2017-05-23 08:42:28 -06:00
Michel Herszak
14f5ba8971 Added PropTypes from 'prop-types'; 2017-05-19 14:42:43 -06:00
SachaG
0cf99ead83 Show global app loading inside Layout, so that HeadTags are always included 2017-05-09 10:14:10 +09:00
SachaG
404ce0a52c Use currentUserLoading instead of loading; add setFormState helper to form context 2017-04-20 16:04:24 +09:00
SachaG
72be56a590 renaming nova-xyz directories to vulcan-xyz 2017-03-24 10:19:24 +09:00
Renamed from packages/nova-core/lib/modules/components/App.jsx (Browse further)