xavcz
|
bb0d4f2076
|
extract withNew & withEdit HOCs from FormWithMutation component, wrap FormWrapper with them
|
2016-11-12 15:49:07 +01:00 |
|
xavcz
|
be0576d125
|
fix PostsEditForm (no need of wrapping in container, it already has the data); clean unnecessary propTypes / import
|
2016-11-12 14:11:36 +01:00 |
|
xavcz
|
c2117a6fcc
|
use fragments for categories, add optional fragment prop to nova forms
|
2016-11-11 17:36:32 +01:00 |
|
xavcz
|
51c605942a
|
withApp hoc ; fix PostsItem (VoteContainer -> Vote)
|
2016-11-11 11:23:39 +01:00 |
|
xavcz
|
df58d8a9dd
|
Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo
|
2016-11-11 10:38:26 +01:00 |
|
xavcz
|
b4ddddf5a7
|
withCategoriesList HOC with the new syntax
|
2016-11-11 10:35:29 +01:00 |
|
Sacha Greif
|
884c6a00b9
|
withVoteMutation
|
2016-11-11 18:29:49 +09:00 |
|
Sacha Greif
|
7a170786c8
|
use better syntax for HoCs
|
2016-11-11 18:25:47 +09:00 |
|
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
|
2b79907ffd
|
escape .telescope on users schema when generating graphql schemas on app startup, fix thumbnails of dummy content (got caught in the refactoring 🌊)
|
2016-11-10 16:53:06 +01:00 |
|
xavcz
|
6e2819919e
|
keep the user.telescope settings schema for migration and backward compatibility with full-Meteor powered app
|
2016-11-10 16:00:17 +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 |
|
Sean Song
|
f764ca2b46
|
finish the "status bug" off with its field schema legacy(autoValue) changed to nova(defaultValue)
|
2016-11-10 10:36:35 +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
|
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 |
|
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
|
1b7574d8fe
|
add missing properties
|
2016-11-08 15:16:58 +09:00 |
|
Sacha Greif
|
9b7cdcd8bc
|
add typeName to each collection
|
2016-11-08 15:12:23 +09:00 |
|
Sacha Greif
|
4907310480
|
extract queries into their own files
|
2016-11-08 15:04:17 +09:00 |
|
Sacha Greif
|
ce13bf11c0
|
fix a few issues with forms
|
2016-11-08 14:56:48 +09:00 |
|
Sacha Greif
|
bee5eaf373
|
generate graphQL schemas for posts, comments, and categories from simpleSchema
|
2016-11-08 14:56:39 +09:00 |
|
xavcz
|
1c5ac622d3
|
remove obsolete option (apollo-client 0.5)
|
2016-11-07 23:14:38 +01:00 |
|
xavcz
|
6e82219c5b
|
wip on categories mutation, comment logs on comments (🤔)
|
2016-11-07 23:04:41 +01:00 |
|
xavcz
|
6a6fbb9ce2
|
add debug option on apollo server
|
2016-11-07 21:39:12 +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 |
|