Commit graph

6129 commits

Author SHA1 Message Date
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
Eric Burel
c932c4b5c7 wrote test for single resolver + failing test 2018-10-29 18:36:02 +01:00
Eric Burel
6114ee9da6 add change callback to wrapper props 2018-10-29 08:50:51 +01:00
Eric Burel
5d0ff2d05f add a changeCallback to forms 2018-10-29 08:50:51 +01:00
Eric Burel
44bc79552a skipped some tests 2018-10-29 08:50:51 +01:00
Eric Burel
3cacbc8cb7 form components layout are now replaceable 2018-10-29 08:50:51 +01:00
Eric Burel
6ab0b49a46 Merge remote-tracking branch 'upstream/devel' into devel 2018-10-29 08:41:20 +01:00
Sacha Greif
9bac294a43
Merge pull request #2110 from Apollinaire/emailDefaults
set default email and siteName for Accounts related emails
2018-10-27 12:56:29 +09:00
Sacha Greif
7ac988a4df
Merge pull request #2106 from lbke/warn-no-searchable
Warn when no searchable field is set and terms.query is set
2018-10-27 12:56:04 +09:00
Sacha Greif
a086e10295
Merge pull request #2109 from lbke/devel
Pass context to the defaultView too
2018-10-27 12:54:04 +09:00
Apollinaire
1b61d80e02 set default email and siteName for Accounts related emails 2018-10-26 18:46:28 +02:00
Eric Burel
c217dfe993 Merge remote-tracking branch 'upstream/devel' into devel 2018-10-26 11:32:55 +02:00
Eric Burel
1dae8f8445
undo breaking change in i18n error properties 2018-10-25 15:55:47 +02:00
Eric Burel
406b17d6d5 pass context to the defaultView too 2018-10-25 15:01:31 +02:00
Eric Burel
c0c02b808c
Merge pull request #2057 from lbke/feature/arrays-form
Support arrays with primitives
2018-10-25 10:28:38 +02:00
Eric Burel
3c912215d3 fix FormNested proptypes 2018-10-25 10:26:54 +02:00
Eric Burel
154b511a5c fix intl message, add tests 2018-10-25 10:23:00 +02:00
Eric Burel
562400dc77 fixed field path and default setup 2018-10-24 16:52:34 +02:00
Eric Burel
5d71a2c59a pass down form components to NestedArray/NestedObject 2018-10-24 14:56:55 +02:00
Eric Burel
295a6482b1 started to write a test for array items 2018-10-23 17:32:05 +02:00
Eric Burel
d13d0a05b4 cleanup tests 2018-10-23 17:00:00 +02:00
Eric Burel
49ad11b861 update to 1.18 2018-10-23 16:59:59 +02:00
Eric Burel
04fb76ae16 allow override of Array and Object nested inputs
Input props was ignored for arrays and nested objectsw
2018-10-23 14:33:20 +02:00
Eric Burel
ae6b45f847 clean createField and allow to create field for the array subfield 2018-10-23 14:31:17 +02:00
Eric Burel
767f075e1e do not discard subfield definition in arrays 2018-10-23 14:29:46 +02:00
SachaG
75eb7f3c81 Change email.data() and email.subject() signatures to single object; also pass locale; add __ and ___ handlebar helpers 2018-10-20 16:41:02 +09:00
SachaG
14ff4ce21e Create new central getString method called from vulcan:i18n and other places 2018-10-20 15:55:38 +09:00
SachaG
adabf3882f Pass params to testVariables function; add debug output for email variables 2018-10-20 12:42:55 +09:00
Eric Burel
dd670f3c4e fix boilerplate version 2018-10-19 15:55:59 +02:00
Eric Burel
14535c1e61 add warning when no field is searchable and query is set 2018-10-19 15:53:33 +02:00
SachaG
cdb702cddd Pass query results to email's data() function as second argument (fix #2048) 2018-10-18 15:21:17 +09:00
SachaG
2ca34ba335 Various small fixes 2018-10-14 18:10:32 +09:00
SachaG
5f90af03ad Pass context to callback properties 2018-10-14 18:10:19 +09:00
SachaG
cd41fe1d98 Avoid doing values replacement when message is not defined 2018-10-14 18:10:01 +09:00
Sacha Greif
4fb1953765
Merge pull request #2099 from dimofte/devel
vulcan-form-tags: refactor and fix
2018-10-14 17:04:57 +09:00
Sacha Greif
e434ac4c50
Merge pull request #2104 from Apollinaire/patch-1
Update fr_FR.js: add datatable.search entry
2018-10-14 08:17:30 +09:00
Apollinaire Lecocq
cd828cb098
Update fr_FR.js 2018-10-13 11:52:12 +02: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
Sacha Greif
b36209938d
Merge pull request #2103 from dimofte/feature/datatables-i18n-search
datatable: add i18n for the search field
2018-10-13 12:29:10 +09:00
SachaG
615302c238 Update boilerplate-generator and fourseven:scss 2018-10-13 12:02:36 +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
0b78ac68f8 Merge branch 'devel' of https://github.com/VulcanJS/Vulcan into devel 2018-10-10 17:35:03 +09:00
SachaG
335cda6cf0 Improve thrown errors 2018-10-10 17:35:01 +09:00
Sacha Greif
12784b487e
Merge pull request #2102 from Apollinaire/revertSlug
Revert changes made to getUnusedSlug in #2075
2018-10-10 17:34:33 +09:00
SachaG
1bc5ddc005 Merge branch 'lbke-fix-formComponents' into devel 2018-10-10 17:33:40 +09:00
Eric Burel
4e31ead9c9 fix default props 2018-10-09 15:09:52 +02:00
Apollinaire
de1c13b3d1 Revert changes made to getUnusedSlug in #2075 2018-10-09 15:09:30 +02:00