Commit graph

29 commits

Author SHA1 Message Date
xavcz
22dd58114b get rid of nova:base-containers, move graphql vote-related code to nova:voting, undo mistake on some user fields 2016-11-22 18:39:50 -05:00
Sacha Greif
8689a4de73 clean up callbacks by moving logic to mutations and schema (autoValue) 2016-11-14 17:17:44 +09: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
460efe52f6 move namespace to prefix on user schema: user.telescope.xxx by user.nova_xxx 2016-11-08 18:22:17 +01:00
xavcz
84a73a988d comments.postId available in commentsInput (insertableIf/editableIf) -> add control: "none" where needed in the app ; fix wrong import from previous commit on nova-voting (vote (operateOnItem) is needed on client/server, score algorithm is only server-side (async callback)) 2016-11-08 13:49:41 +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
Sacha Greif
364dacaecf split out user schema fields in appropriate packages 2016-11-08 16:33:25 +09:00
Sacha Greif
bee5eaf373 generate graphQL schemas for posts, comments, and categories from simpleSchema 2016-11-08 14:56:39 +09:00
Sacha Greif
9ce7fe703f make PostsListContainer and PostsSingleContainer stateful components; add refetchQuery on child context; call it from post edit form; clone item in Telescope.operateOnItem to avoid modifying the original by mistake 2016-11-03 14:07:58 +09:00
xavcz
7c88d27d62 have the mutation simulation and server operation returning the same result, add missing viewableIf, pass comment object to Telescope.operateOnItem 2016-11-02 13:29:43 +01:00
xavcz
3390b5af24 test optimistic ui on vote with sleep server-side 2016-11-02 09:53:16 +01:00
Sacha Greif
123da6b79d add latency compensation (a.k.a. optimistic UI) simulation for Telescope.operateOnItem; it now takes the item as argument (not the item _id) 2016-11-02 16:31:15 +09:00
xavcz
328be8b07d define mutation postVote(postId: String, voteType: String), wire it to <Vote /> 2016-10-31 18:21:28 +01:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +02:00
Sacha Greif
42decba8ad used webpack import by mistake 2016-08-25 09:49:59 +09:00
Sacha Greif
e5a1508d98 fix cancelUpvote/cancelDownvote bug 2016-08-24 10:05:47 +09:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
Xavier Cazalot
1d1a556fb8 fix up/down voting (thx @dannyvaughton) 2016-07-22 13:35:01 +02:00
Sacha Greif
3b5d4ea1ab import Users 2016-07-19 18:08:53 +09:00
Sacha Greif
c50bdcb2e4 groups first pass 2016-07-19 17:30:59 +09:00
Sacha Greif
0af967324f add post sharing helpers 2016-07-12 17:36:58 +09:00
Sacha Greif
0e28be3c92 removing Comments global 2016-06-23 12:17:39 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
Sacha Greif
64f357d601 Meteor 1.3.2.4; small fixes and tweaks for easier customisation; bug fixes 2016-04-25 17:02:41 +09:00
Sacha Greif
fbccfa588b more methods clean up 2016-04-14 09:54:41 +09:00
Sacha Greif
4cf74cfc27 clean up publishedFields 2016-04-05 16:27:48 +09:00
Sacha Greif
e3cd1fb017 small scoring tweaks 2016-03-22 10:38:57 +09:00
Sacha Greif
c470057bab finish upvote button 2016-03-21 10:46:00 +09:00
Sacha Greif
733887ca2b working on voting feature; added methods to cheatsheet 2016-03-21 10:27:43 +09:00