Commit graph

370 commits

Author SHA1 Message Date
Sacha Greif
d31fc6b70a continue HoC refactoring, get rid of function syntax in withXYZ() after all 2016-11-11 18:19:18 +09:00
Sacha Greif
0ed0f24303 refactoring PostsListContainer and CommentsListContainer into HoCs 2016-11-11 16:42:19 +09:00
xavcz
fb0bf92140 fix mutations on categories 2016-11-10 22:30:46 +01:00
xavcz
322882d78b utils.stripTelescopeNamespace used in graphql schema gen, components, helpers when requesting a collection schema 2016-11-10 22:18:51 +01:00
xavcz
83020ce65c small tweaks: no more users.current subscription on startup, fix child context App, fix getting started callback 2016-11-10 22:18:36 +01:00
xavcz
db5605bd2e use a more generic prefix (__) for users settings and adapt Users.methods.setSetting 2016-11-10 14:22:47 +01:00
xavcz
400b4d8c72 load categories with their own container (with loading handled in the presentational component); handle login / logout / register with fixed client.resetStore (apollo 0.5.1) 2016-11-10 10:54:43 +01:00
Sacha Greif
7e344476a4 update to Meteor 1.4.2.1 2016-11-10 17:27:06 +09:00
Sacha Greif
378cd01ef2 make sure user is loaded before loading app 2016-11-10 17:26:55 +09:00
Sacha Greif
a621d01b1b first try at making PostsListContainer a HoC 2016-11-10 15:39:04 +09:00
Sacha Greif
9fcb9f753d make sure we don't affect the props passed by CommentsListContainer 2016-11-10 10:55:38 +09:00
Sacha Greif
4e4c4d0b20 use Meteor.user() in AppContainer for now 2016-11-10 10:11:43 +09:00
Sacha Greif
a2f2a2e0fe fix comment reply callback 2016-11-09 21:54:56 +09:00
Sacha Greif
1ec194576e fix status bug; add status to list query 2016-11-09 21:54:31 +09:00
Sacha Greif
0f6aeb3670 small fixes on user mutations 2016-11-09 11:55:28 +09:00
Sacha Greif
cab93c1128 re-enable comment nesting 2016-11-09 11:55:12 +09:00
Sacha Greif
80bf6ddb12 Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo
# Conflicts:
#	packages/nova-users/lib/schema.js
2016-11-09 09:31:15 +09:00
Sacha Greif
76d71f13dd small tweaks 2016-11-09 09:30:11 +09:00
xavcz
b2620befbd update CommentsItem state on mutation success callback 2016-11-08 18:50:50 +01:00
xavcz
460efe52f6 move namespace to prefix on user schema: user.telescope.xxx by user.nova_xxx 2016-11-08 18:22:17 +01:00
xavcz
ec95b3c591 wip on nova:base-containers, rename nova:base-apollo in nova:apollo for the sake of clarity, remove some obsolete/experimental functions (triggerMainRefetch, refetchQuery, ..) 2016-11-08 12:58:53 +01:00
xavcz
e563257996 fix categories mutations (missing import + resolver definition..) 2016-11-08 10:29:05 +01:00
Sacha Greif
364dacaecf split out user schema fields in appropriate packages 2016-11-08 16:33:25 +09:00
Sacha Greif
ce13bf11c0 fix a few issues with forms 2016-11-08 14:56:48 +09:00
xavcz
6e82219c5b wip on categories mutation, comment logs on comments (🤔) 2016-11-07 23:04:41 +01:00
xavcz
bca4b38358 fix commenters (UI / schema / resolvers), pass documentId to postsVote, move PostsListsContainer query to Posts.graphQLQueries.list, FormWrapper.clearErrors() -> FormWrapper.clearForm({clearErrors, clearCurrentValues}): prevent bug of keeping latest value when submitting a formNew that doesn't unmount 2016-11-07 18:03:07 +01:00
xavcz
2e16a46e16 fix CommentsListContainer 2016-11-07 16:46:55 +01:00
xavcz
8777c33c2b clean up & experiment error catching normally swallowed on rendering 2016-11-07 16:33:52 +01:00
Sacha Greif
3347af0a09 clean up some console.logs 2016-11-07 23:52:39 +09:00
Sacha Greif
4e91966072 working on commentsListContainer 2016-11-07 23:46:12 +09:00
Sacha Greif
4d7ec25bc9 fix small issue 2016-11-07 22:48:37 +09:00
Sacha Greif
8eae4fda1d get rid of PostsNewFormContainer and PostsEditFormContainer 2016-11-07 22:46:31 +09:00
Sacha Greif
2b91a715a7 fix errors somehow??! 2016-11-07 22:27:34 +09:00
Sacha Greif
7ce835b0fd apollo forms wip 2016-11-07 17:45:17 +09:00
Sacha Greif
2aab82f685 add body 2016-11-07 15:19:13 +09:00
Sacha Greif
02b3e785c5 working on commentsEdit 2016-11-07 15:03:45 +09:00
Sacha Greif
a74744d2c7 work on updateQueries for commentsNew 2016-11-07 13:00:09 +09:00
Sacha Greif
1c47da69e0 small fixes 2016-11-07 11:46:58 +09:00
Curtis G
eb0536a662 Only show comment reply button for logged in users 2016-11-06 13:31:58 -05:00
Sacha Greif
d217c93eba small fixes 2016-11-05 18:42:57 +09:00
Sacha Greif
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09:00
xavcz
ec0ec6558a PostsEditContainer 2016-11-04 14:14:19 +01:00
xavcz
f92bb15079 PostsNewFormContainer ; fix typo on postsVote mutation 2016-11-04 13:57:27 +01:00
xavcz
d382c995d0 specify explicit dependencies (npm & meteor packages) 2016-11-04 08:40:21 +01:00
Sacha Greif
4c5c696a82 split out set/unset to work around fact that I don't know GraphQL syntax 2016-11-04 15:49:42 +09:00
Sacha Greif
2d0e2fde83 working on postsEdit 2016-11-04 14:38:31 +09:00
Curtis G
38aecb78a0 Add i18n messages for no more posts, no results, and load more days 2016-11-03 23:00:30 -04:00
Sacha Greif
ae94226990 use updateQueries to update the main post list after new post 2016-11-04 10:53:06 +09:00
Sacha Greif
f332c8810b use Apollo for new post mutation 2016-11-04 10:28:54 +09:00
Sacha Greif
222aa4b544 split off VoteContainer and Vote 2016-11-03 16:19:44 +09:00