Commit graph

107 commits

Author SHA1 Message Date
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
SachaG
f7da9108f7 Use getFormType(); make user.services object viewable to owner only; clean up Datatable props 2018-03-22 16:54:50 +09:00
SachaG
7061483af8 Improve Datatable new/edit buttons; simplify FormWrapper loading check 2018-03-20 14:56:09 +09:00
SachaG
09de6392f3 Handle urls in cards/datatable 2018-02-24 18:58:14 +09:00
SachaG
748e2f8fea Charges dashboard improvements 2018-02-24 18:26:56 +09:00
SachaG
582dc2010b Add support for Users objects to cards & datatables 2018-02-24 18:15:54 +09:00
SachaG
8e27870bf0 processCharge -> processEvent; call processEvent after subscription, too; add Charges dashboard 2018-02-24 18:15:42 +09:00
SachaG
97e0883f31 Refactor NewButton/EditButton code 2018-02-15 12:04:51 +09:00
SachaG
e3ba347f80 Better way: just use options' fragmentName as mutationFragment 2018-02-15 09:32:41 +09:00
SachaG
f9893aa615 Pass down newFragmentName and editFragmentName 2018-02-14 22:22:51 +09:00
SachaG
2eeb252bd5 Let EditButton, NewButton pass through props to SmartForm 2018-02-12 18:49:22 +09:00
SachaG
31621b39b2 Add createdAtFormattedShort field to charges 2018-02-09 11:30:15 +09:00
Vincent Roman
d03963680b Datatable - spacing consistency 2018-02-03 07:06:56 +00:00
Vincent Roman
dd3384d195 Merge branch 'upstream-devel' into vincro-devel
# Conflicts:
#	packages/vulcan-core/lib/modules/components/Datatable.jsx
2018-02-03 06:59:39 +00:00
Vincent Roman
47e5db0068 Datatable - add targetting className for column headers like data-item-* 2018-02-03 06:41:10 +00:00
Vincent Roman
e9c088136d Datatable - amend replace to change SPACE for more than first instance with REGEX 2018-02-03 06:39:57 +00:00
SachaG
44bff952b1 Make datatable accept static JSON as data property; add Routes admin dashboard 2018-02-02 18:43:35 +09:00
Vincent Roman
77733d2b81 Datatable - replace SPACE with - in the datatable-item-* className 2018-01-31 15:39:03 +00:00
SachaG
ab7ca9e53e Un-revert the revert 2018-01-27 12:46:45 +09:00