Commit graph

4334 commits

Author SHA1 Message Date
Sacha Greif
57faed2368 use other syntax for withList 2016-11-19 19:00:17 +09:00
Sacha Greif
7567d967bf make withList pagination work 2016-11-19 18:14:33 +09:00
Sacha Greif
eafac17683 use generic withList container for movies demo 2016-11-19 18:01:05 +09:00
Ben Gott
48cd5c83d7 add this.props.user back to NewsletterButton
…and use this.props.user instead of this.context.currentUser (allows an
admin to edit another user)
2016-11-18 11:35:48 -06:00
Ben Gott
20aefa707f missed a rename in i18 strings 2016-11-18 04:00:35 -06:00
xavcz
8429502a64 schemas good practice: change control: "none" to hidden: true 2016-11-18 10:03:01 +01:00
xavcz
dcd7269f74 small tweak on mutations & userId field 2016-11-18 09:28:32 +01:00
Sacha Greif
e0d5165146 Meteor update v1.4.2.3 2016-11-18 16:01:44 +09:00
Sacha Greif
e1744f9f93 working on custom collection demo package 2016-11-18 16:01:27 +09:00
xavcz
ae568422a8 go further on link between auth & apollo-client 2016-11-17 21:54:03 +01:00
Ben Gott
846e5c43ad rename newsletter settings
correctly this time! ;)
2016-11-17 14:43:35 -06:00
xavcz
5b3f2105d1 apply the new API registerComponent to the base-components 2016-11-17 20:42:16 +01:00
xavcz
17513c1a98 change the API to register components / extend them and illustrate it in my-custom-package 2016-11-17 20:00:20 +01:00
Ben Gott
8192b06451 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into newsletter-subcription-fixes 2016-11-17 11:39:59 -06:00
Ben Gott
cb55efbd81 whitespace edits 2016-11-17 11:38:35 -06:00
Ben Gott
f3d15944b6 minor grammar fix in mailchimp logging 2016-11-17 11:38:10 -06:00
Ben Gott
dc594af50f fix newsletter banner dismissal persistence 2016-11-17 11:37:26 -06:00
xavcz
4487464a33 remove duplicated withCurrentUser 2016-11-17 14:12:13 +01:00
xavcz
4dc2dea872 callback fix on users.edit.sync 2016-11-17 10:32:16 +01:00
xavcz
82edaeeab2 give access to the form props in the options of a form component, compose HOCs on FormWrapper 2016-11-17 10:22:31 +01:00
xavcz
71e0a00e34 update apollo-related packages + add graphql-type-json & graphql-subscriptions 2016-11-17 10:21:49 +01:00
xavcz
f2b623e46b withCurrentUser: component returned as a class so it can be extended 2016-11-17 10:19:52 +01:00
xavcz
3c913c437b mutations: form HOC type based on the document prop & fix collection.edit.validate cb by assigning it to the modifier 2016-11-17 09:46:35 +01:00
Sacha Greif
29585b2e9f Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-11-17 17:38:44 +09:00
Sacha Greif
3d5fbe7b54 comment out publications code 2016-11-17 17:38:38 +09:00
Sacha Greif
041c7f4ad7 more clean-up 2016-11-17 16:53:07 +09:00
Xavier Cazalot
ad3e90bdfe Merge pull request #1511 from comus/patch-1
npm run lint support for jsx files
2016-11-17 07:50:31 +01:00
Xavier Cazalot
62735ae1f4 Merge pull request #1512 from comus/patch-2
fix wrong comment in deep function
2016-11-17 07:50:04 +01:00
Comus Leong
97a027217f it s important, fix wrong comment in deep function 2016-11-17 14:16:53 +08:00
Comus Leong
747b93896f npm run lint support for jsx files 2016-11-17 13:53:11 +08:00
xavcz
d1389e732f messy but working integration, will need some refactoring for react-apollo@0.6.0 + apollo-client@0.5.3 anyway 2016-11-16 16:34:37 +01:00
xavcz
9891551567 remove queries and mutations on state dehydration, hide debug logs 2016-11-16 16:26:53 +01:00
xavcz
f5ef406bf7 got something ~working with a hacks on reactrouter:react-router-ssr 2016-11-16 16:17:12 +01:00
xavcz
620572887d no need to use withApollo in withCurrentUser 2016-11-16 11:02:19 +01:00
xavcz
9f4fe1a917 withCurrentUser hoc in nova:core 2016-11-15 18:33:16 +01:00
xavcz
600ab15c4d Apollo branch up to date with v0.27.4 2016-11-15 12:51:43 +01:00
xavcz
c8615d3439 v0.27.4 2016-11-15 10:44:01 +01:00
Xavier Cazalot
ef99d39aca Merge pull request #1508 from TelescopeJS/devel
v0.27.4 - latest version before Apollo official release
2016-11-15 10:34:54 +01:00
xavcz
52c50933e7 repair deepValue utils (error introduced by "errors linting" fix) 2016-11-15 10:17:27 +01:00
xavcz
28cf7a20c7 Update to Meteor 1.4.2.1, add npm babel-runtime, remove some Meteor packages constraints versions 2016-11-15 09:55:05 +01:00
xavcz
5152eb5a9f Update History.md 2016-11-15 09:28:39 +01:00
xavcz
4ae1c01eec complete eslint devDeps and fix lint errors 2016-11-15 09:02:30 +01:00
Xavier Cazalot
c842dfbf80 Merge pull request #1474 from moimikey/patch-1
add eslint with basic plugins and configuration. fixes #1470
2016-11-15 08:28:19 +01:00
Sacha Greif
5df3377418 clean up published_fields files; clean up unnecessary packages; more work on callbacks 2016-11-15 15:59:34 +09:00
xavcz
6893685b4f add action to categories and users mutation generators 2016-11-14 20:50:11 +01:00
xavcz
179f7bb1aa disable dependency between fragments (causes error on mutations) 2016-11-14 20:29:14 +01:00
xavcz
08a686f496 use Collection.fragments in queries/mutations 2016-11-14 20:27:23 +01:00
Sacha Greif
8689a4de73 clean up callbacks by moving logic to mutations and schema (autoValue) 2016-11-14 17:17:44 +09:00
xavcz
dd32c36f28 more work on removeSuccessCallback (wired with withRemove) ; add options noRemoveMutation (ex for UsersEdit) 2016-11-13 14:12:15 +01:00
xavcz
78802d6790 add query collectionListTotal (= list total count) on every collection by default, query list from the ui : getCollectionList(..) { collectionListTotal(..) collection(..) } ; withRemove "automation" based on these queries 2016-11-13 13:43:36 +01:00