Commit graph

63 commits

Author SHA1 Message Date
SachaG
5c43de929c Fix withEdit imports; fix dropdown bug 2018-05-10 17:48:22 +09:00
Sacha Greif
cb0e8f5d5a
Merge pull request #1978 from Apollinaire/withAccess
check for redirect before trying to redirect
2018-05-09 07:59:33 +09:00
Apollinaire
5c15120113 check for redirect before trying to redirect
using `withAccess` without setting redirect used to crash the client because there was no test on `redirect`.  Current behaviour is: if redirect is not a string then no redirection is done and the component simply is not displayed.
2018-05-05 16:12:40 +02:00
Sacha Greif
9118d8f8ad
Merge pull request #1975 from Apollinaire/devel
withList Loading prop adjustment
2018-05-04 16:14:53 +09:00
Apollinaire
b6669a3f7e withList Loading improved
Follows the recommanded loading from Apollo. See the Apollo docs about `[data.networkstatus](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-query-data-networkStatus)` and `[data.loading](https://www.apollographql.com/docs/react/api/react-apollo.html#graphql-query-data-loading)`
2018-05-03 10:27:23 +02:00
Bernardo Dias
5b9bb61688 Update Flash component and withMessages container 2018-05-02 15:02:52 -03:00
ochicf
041eb4254d Mingo.Query is a class now, instantiate it with new 2018-03-14 12:20:30 +01:00
SachaG
e63c412198 Don't try to reorder items on vote (fix https://github.com/VulcanJS/Vulcan-Starter/issues/34) 2018-03-03 12:04:41 +09:00
SachaG
bf4aba4a32 Small clean up for withList and withDocument 2018-02-18 18:00:07 +09:00
SachaG
bb43a16e68 Revert "Pass an extraTerms argument to all extra queries"
This reverts commit ab8fd47d76.
2018-02-18 17:42:12 +09:00
SachaG
ab8fd47d76 Pass an extraTerms argument to all extra queries 2018-02-18 16:56:58 +09:00
SachaG
cee5fa6b6c Make currentUser available as a variable for withDocument and withList 2018-02-14 19:10:29 +09:00
SachaG
88c69b9d78 Pass down currentUserData 2018-02-08 12:21:45 +09:00
SachaG
ac838a65e4 Add notifyOnNetworkStatusChange option to withList 2018-02-05 10:45:20 +09:00
Justin Reynolds
0b9289d549 #1865 Fix upsert 2018-01-31 18:29:49 -06:00
Justin Reynolds
9212a1970e Add upsert mutation 2018-01-28 22:26:05 -06:00
Sacha Greif
8e507552df
Merge pull request #1851 from MHerszak/withEdit-withRemove
Added getCollection to withEdit & withRemove
2018-01-28 11:34:59 +09:00
Michel Herszak
f38d0ca3b0 Added getCollection to withEdit & withRemove 2018-01-27 19:11:03 -07:00
Sacha Greif
0e7b7297e7
Merge pull request #1850 from MHerszak/withNew
Added getCollection to withNew
2018-01-28 10:59:41 +09:00
Michel Herszak
392fdbd1ce Added getCollection to withNew 2018-01-27 18:53:28 -07:00
SachaG
8602bdcc27 Fix withDocument 2018-01-27 15:58:09 +09:00
Justin Reynolds
9cb5db5c67 Consolidate getCollection code 2018-01-26 22:00:36 -06:00
SachaG
832fd5198d Make withDocument accept collectionName too like withList 2018-01-27 12:42:12 +09:00
Justin Reynolds
75b6ece0a4 Fix linting 2018-01-25 15:03:03 -06:00
Justin Reynolds
020d970beb Fix circular dependency in example-forum 2018-01-25 12:53:19 -06:00
SachaG
4985ba2571 Fix withAccess 2018-01-25 18:12:32 +09:00
Luca Hagel
0f4eff8183 Use prop-types package in withDocument 2018-01-06 07:07:38 +01:00
Luca Hagel
bf5a67f790 Use prop-types package in withList 2018-01-06 07:06:48 +01:00
SachaG
6659bd14e6 Add support for throwing/showing "document not found" errors in withDocument and default resolvers 2018-01-04 09:41:48 +09:00
SachaG
c6d3911fd1 Small fixes 2018-01-02 13:05:34 +09:00
SachaG
20e8bab810 fix typo 2017-12-30 10:56:54 +09:00
SachaG
79b38f4d03 withAccess 2017-12-30 10:52:11 +09:00
SachaG
abe0a5e639 Forum example: categories -> categoriesIds 2017-12-29 08:59:58 +09:00
SachaG
aefefc9a7a Pass on data from withDocument and withList and accept new extraQueries option 2017-12-28 11:30:13 +09:00
SachaG
0cbb904f2d Set enableCache when defining HoC rather than when defining resolvers for more granularity 2017-12-13 18:39:19 +09:00
SachaG
68351674da Work on adding caching option to default resolvers; add loadingMore prop to withList 2017-11-30 23:08:27 +09:00
Sacha Greif
712f258a7c make pollInterval globally configurable via a setting 2017-11-03 11:41:12 +09:00
Sacha Greif
33296c1421 Add fetchPolicy and propertyName options to withList and withDocument 2017-11-01 15:37:57 +09:00
SachaG
7a921915c3 Small fixes 2017-10-05 10:17:14 +09:00
SachaG
6a9f53e82b Update to Meteor 1.5.2.1 2017-09-29 09:19:23 +09:00
SachaG
c8f35e88e2 vulcan:embedly -> vulcan:embed 2017-09-15 10:05:18 +02:00
SachaG
364559d7de add new Datatable component and use it for Users dashboard 2017-08-02 16:19:15 +09:00
SachaG
dfa2609e43 register CollectionDefaultFragment as regular fragment, too 2017-08-02 15:51:11 +09:00
SachaG
9a9b42bf86 add fields option to Card component; make withDocument use default fragments 2017-07-29 09:26:31 +09:00
SachaG
cf7d41d009 add new "default" fragment used by withList if no fragment is specified 2017-07-25 18:37:23 +09:00
SachaG
665f37ce97 add totalResolver option to withList to enable/disable total resolver (enabled by default) 2017-07-07 09:10:11 +09:00
SachaG
56129faa78 various small fixes 2017-06-06 17:22:17 -07:00
SachaG
7bf856fd1e merge terms from 3 sources in withList; permission check in PostsEditForm; do not default to current date in DateTime component; email subject accepts string; show email properties in debug preview; add async callbacks to charge hook 2017-06-04 13:56:40 +09:00
SachaG
90e850abbb import recompose properly 2017-06-02 07:56:46 +09:00
SachaG
ed5a0d87bd Change posts list resolver’s check; small fixes 2017-05-30 09:57:57 +09:00