Sacha Greif
|
dfe2d2d0df
|
give edit forms their own FormWithSingle data loader
|
2016-11-23 17:22:29 +09:00 |
|
Sacha Greif
|
9e8fd36a75
|
more work on withNew, withEdit, withRemove
|
2016-11-22 21:12:14 +09:00 |
|
Sacha Greif
|
612e817a3f
|
update apollo packages; use new fragments syntax (see https://github.com/apollostack/graphql-fragments#migrating); create new MoviesDetails, MoviesEditForm, MoviesItem components; simplify withEdit and withNew containers; create new withSingle container
|
2016-11-22 16:15:00 +09:00 |
|
Sacha Greif
|
f445239763
|
clean up Movies collection declaration; implement new check system for mutations, tie everything together
|
2016-11-21 19:23:43 +09:00 |
|
xavcz
|
4ac4c4cd06
|
centralize withList, withNew, withEdit, withRemove HOCs to nova:core
|
2016-11-19 11:20:18 +01:00 |
|
xavcz
|
8429502a64
|
schemas good practice: change control: "none" to hidden: true
|
2016-11-18 10:03:01 +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
|
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
|
dd32c36f28
|
more work on removeSuccessCallback (wired with withRemove) ; add options noRemoveMutation (ex for UsersEdit)
|
2016-11-13 14:12:15 +01:00 |
|
xavcz
|
35302d291f
|
wip on withRemove HOC included in withEdit; fix posts.remove.validate callback
|
2016-11-12 17:28:08 +01:00 |
|
xavcz
|
bb0d4f2076
|
extract withNew & withEdit HOCs from FormWithMutation component, wrap FormWrapper with them
|
2016-11-12 15:49:07 +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
|
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
|
ce13bf11c0
|
fix a few issues with forms
|
2016-11-08 14:56:48 +09: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 |
|
Sacha Greif
|
4e91966072
|
working on commentsListContainer
|
2016-11-07 23:46:12 +09:00 |
|
Sacha Greif
|
8eae4fda1d
|
get rid of PostsNewFormContainer and PostsEditFormContainer
|
2016-11-07 22:46:31 +09:00 |
|
Sacha Greif
|
7ce835b0fd
|
apollo forms wip
|
2016-11-07 17:45:17 +09:00 |
|