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
|
b16c7ce0be
|
put withCurrentUser back in nova:core after all…
|
2016-11-30 16:58:28 +09:00 |
|
xavcz
|
ddd71eebd1
|
withCurrentUser belongs to nova:users
|
2016-11-29 14:08:24 +01:00 |
|
xavcz
|
7b4e64e97f
|
voting: missing imports, patch on vote helpers in component (uncomment for debug)
|
2016-11-29 12:27:26 +01:00 |
|
Sacha Greif
|
9467837d1f
|
move Users.hasUpvoted to nova:voting
|
2016-11-29 18:52:13 +09:00 |
|
Sacha Greif
|
a6836a5db8
|
move App and Layout components to core; insertableIf, editableIf, and viewableIf also accept group names; clean up
|
2016-11-27 19:12:54 +09:00 |
|
Sacha Greif
|
fa581a85c3
|
lots of cleaning up
|
2016-11-26 11:17:01 +09:00 |
|
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 |
|
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 |
|
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
|
51c605942a
|
withApp hoc ; fix PostsItem (VoteContainer -> Vote)
|
2016-11-11 11:23:39 +01:00 |
|
Sacha Greif
|
884c6a00b9
|
withVoteMutation
|
2016-11-11 18:29:49 +09: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
|
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
|
378cd01ef2
|
make sure user is loaded before loading app
|
2016-11-10 17:26:55 +09:00 |
|
Sacha Greif
|
4e4c4d0b20
|
use Meteor.user() in AppContainer for now
|
2016-11-10 10:11:43 +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
|
222aa4b544
|
split off VoteContainer and Vote
|
2016-11-03 16:19:44 +09:00 |
|
Sacha Greif
|
588d37524c
|
fix issue with refetch
|
2016-11-03 14:55:39 +09:00 |
|
Sacha Greif
|
85eba36199
|
add setMainRefetch and triggerMainRefetch functions to App's context to enable main post list refetch after new post method completion
|
2016-11-03 14:39:27 +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 |
|
Sacha Greif
|
fe5a3ff822
|
add loading spinner for vote mutation (and fix extra "{ }")
|
2016-11-02 14:50:51 +09:00 |
|
xavcz
|
328be8b07d
|
define mutation postVote(postId: String, voteType: String), wire it to <Vote />
|
2016-10-31 18:21:28 +01:00 |
|
xavcz
|
b5709b0a52
|
flash-messages logic handle via redux for all the components
|
2016-10-31 17:13:14 +01:00 |
|
xavcz
|
e78cbe523f
|
telescope's graphql mutations extensible as schema and queries, re-enable context.actions.call with Meteor for now
|
2016-10-31 16:19:37 +01:00 |
|
Sacha Greif
|
230018c066
|
clean up
|
2016-10-29 14:18:16 +09:00 |
|
xavcz
|
3c9c9673a3
|
add currentUser to schema/resolvers and give it to the AppContainer; re-enable canView/canEdit on CanDo comp (got broken at first migration to apollo); give back the document to custom FormComponent (used for example in the NewsletterButton in the account page)
|
2016-10-28 13:56:07 +02:00 |
|
Sacha Greif
|
e160aca568
|
create AppContainer to load categories; remove settings package; todo: load current user with AppContainer
|
2016-10-28 15:45:43 +09:00 |
|
xavcz
|
ab99894207
|
adding 20sec pollInterval + refetchQuery props when voting / submitting a comment
|
2016-10-25 15:48:54 +02:00 |
|
xavcz
|
26f5e73119
|
more work on single post
|
2016-10-19 17:38:21 +02:00 |
|
xavcz
|
f6bbbd14ca
|
redux basic setup (to be improved) - test case on FlashMessages, used in PostNewForm
|
2016-10-19 10:32:24 +02:00 |
|
xavcz
|
21086fe18b
|
UsersMenu: user: props -> currentUser: context
|
2016-10-17 12:26:56 +02:00 |
|
xavcz
|
b04cb52470
|
currentUser is now only given via context, update README about it, add a missing import
|
2016-10-14 08:47:18 +02:00 |
|
Sacha Greif
|
3ec90a04b5
|
remove Telescope global
|
2016-08-08 11:18:21 +09:00 |
|
xavcz
|
830d6015ad
|
small fix on default props value not taken in consideration
|
2016-08-05 18:26:55 +02:00 |
|
xavizalote
|
a2e32140ee
|
fix behavior of newsletter button: display message when subscribing on the banner & update the right account when editing someone's account
|
2016-07-21 00:38:49 +02:00 |
|
Sacha Greif
|
c21b9d0908
|
make headTags extensible again
|
2016-07-19 18:12:17 +09:00 |
|
xavizalote
|
1ef77c8c04
|
meta: avoid repetition (no more concat, should fix Facebook scrape) + favicon setting name
|
2016-07-18 18:01:41 +02:00 |
|
Sacha Greif
|
0870b56c69
|
fix getDomain; make head tags extensible; make redirection logic more flexible
|
2016-07-06 10:21:58 +09:00 |
|
xavizalote
|
7c45773802
|
don't do modification on a var if undefined => fixes #1375 error at startup on HeadTags
|
2016-07-01 08:36:00 +02:00 |
|
xavizalote
|
2328e2f19e
|
use react-helmet instead of dochead
|
2016-06-29 09:15:52 +02:00 |
|
xavizalote
|
c67c04f068
|
fix a bug on go:image/twitter:image and add some clarity
|
2016-06-27 19:55:24 +02:00 |
|
xavizalote
|
8cb454d15f
|
use fat arrow in method callback to give access to the right this
|
2016-06-27 17:35:53 +02:00 |
|
xavizalote
|
c0f4c40e85
|
decouple components actions from Meteor
|
2016-06-24 09:44:32 +02:00 |
|
Sacha Greif
|
41f349d18c
|
removing Users global
|
2016-06-23 15:00:58 +09:00 |
|
Sacha Greif
|
d0275aa77f
|
update readme
|
2016-06-22 18:29:35 +09:00 |
|