xavcz
|
2d42bd5bf3
|
fragmentName from fragment in withRemove; destructure args in usersSingle resolver; ShowIf on PostsNewForm & UsersEditForm; connect as the "most-right" HOC on Newsletter
|
2016-12-01 16:12:39 +01:00 |
|
Sacha Greif
|
212cdf48c2
|
Telescope.components.CanDo -> ShowIf
|
2016-12-01 16:09:54 +09:00 |
|
Sacha Greif
|
09cce8f978
|
get fragmentName from fragment, no need to define it separately anymore
|
2016-12-01 12:13:27 +09:00 |
|
xavcz
|
4b4d40f6b3
|
fix updateQueries: queryName for every hoc => queryToUpdate on withNew/Remove ≠ queryName on withSingle; fix removeSuccessCallback redirect; telescope object on user = blackbox
|
2016-11-30 10:31:19 +01:00 |
|
Sacha Greif
|
b16c7ce0be
|
put withCurrentUser back in nova:core after all…
|
2016-11-30 16:58:28 +09:00 |
|
Sacha Greif
|
868194de59
|
id -> documentId in single document resolver; various fixes
|
2016-11-30 16:54:58 +09:00 |
|
Sacha Greif
|
d5be97b56c
|
split out withCurrentUser and loadCurrentUser for now
|
2016-11-30 10:50:04 +09:00 |
|
xavcz
|
ddd71eebd1
|
withCurrentUser belongs to nova:users
|
2016-11-29 14:08:24 +01:00 |
|
Sacha Greif
|
002599e51e
|
add preload:true option to Users schema
|
2016-11-29 18:54:12 +09:00 |
|
Sacha Greif
|
fa581a85c3
|
lots of cleaning up
|
2016-11-26 11:17:01 +09:00 |
|
Sacha Greif
|
e57ac73a50
|
clean up console.log
|
2016-11-25 12:24:21 +09:00 |
|
Sacha Greif
|
e09022b350
|
add fragments inside components
|
2016-11-23 11:07:48 +09:00 |
|
xavcz
|
1137fb96aa
|
adapt the Telescope.createCollection api to all the collections, some clean up in old containers files
|
2016-11-22 18:14:51 -05:00 |
|
Sacha Greif
|
cb1b65fd32
|
remove withList wrapper from posts/comments/categories for now
|
2016-11-22 16:15:26 +09:00 |
|
xavcz
|
afcb8f12c5
|
provide a nicer way to define options/config of a withList hoc (maybe re-inventing the wheel there), remove outdated CollectionContainers components
|
2016-11-20 02:25:16 +01:00 |
|
xavcz
|
6c14712a74
|
work on withList and queries generation
|
2016-11-19 20:01:17 +01: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 |
|
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
|
08a686f496
|
use Collection.fragments in queries/mutations
|
2016-11-14 20:27:23 +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
|
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 |
|
xavcz
|
35302d291f
|
wip on withRemove HOC included in withEdit; fix posts.remove.validate callback
|
2016-11-12 17:28:08 +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
|
51c605942a
|
withApp hoc ; fix PostsItem (VoteContainer -> Vote)
|
2016-11-11 11:23:39 +01:00 |
|
Xavier Cazalot
|
4717100099
|
Merge pull request #1507 from sherryxiao1988/patch-1
Fix react setState race condition
|
2016-11-11 10:52:02 +01:00 |
|
xavcz
|
b4ddddf5a7
|
withCategoriesList HOC with the new syntax
|
2016-11-11 10:35:29 +01: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
|
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
|
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
|
1ec194576e
|
fix status bug; add status to list query
|
2016-11-09 21:54:31 +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
|
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 |
|
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
|
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
|
1c47da69e0
|
small fixes
|
2016-11-07 11:46:58 +09:00 |
|