xavcz
|
37f4bdaf91
|
Telescope.components.Foo -> Components.Foo, same for related components utils like registerComponent, getRawComponent & replaceComponent
|
2016-12-06 18:06:29 +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 |
|
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
|
5b3f2105d1
|
apply the new API registerComponent to the base-components
|
2016-11-17 20:42:16 +01:00 |
|
xavcz
|
9f4fe1a917
|
withCurrentUser hoc in nova:core
|
2016-11-15 18:33:16 +01:00 |
|
Sacha Greif
|
884c6a00b9
|
withVoteMutation
|
2016-11-11 18:29:49 +09:00 |
|
Sacha Greif
|
222aa4b544
|
split off VoteContainer and Vote
|
2016-11-03 16:19:44 +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
|
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
|
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 |
|
xavizalote
|
8cb454d15f
|
use fat arrow in method callback to give access to the right this
|
2016-06-27 17:35:53 +02:00 |
|
Sacha Greif
|
41f349d18c
|
removing Users global
|
2016-06-23 15:00:58 +09:00 |
|
Sacha Greif
|
b51c48b117
|
pass actions, messages, and events as part of context instead of depending on them from within base-components
|
2016-06-14 17:03:35 +09:00 |
|
Sacha Greif
|
e8a7c657ad
|
change component import syntax to be more explicit
|
2016-05-22 16:42:24 +09:00 |
|
Sacha Greif
|
b7ec5598eb
|
better import syntax
|
2016-05-22 15:23:30 +09:00 |
|
Sacha Greif
|
453634c4c4
|
small improvements and clean up to components
|
2016-05-03 12:44:50 +09:00 |
|
Sacha Greif
|
6665a7c968
|
making component names and class names more consistent.
- Posts, Comments, Users, etc. are always pluralized.
- CSS classes are based off component names (PostsTitle -> posts-title)
|
2016-04-19 15:45:36 +09:00 |
|
Sacha Greif
|
24c1dc4722
|
cleaning up component naming
|
2016-04-14 10:12:35 +09:00 |
|