Commit graph

32 commits

Author SHA1 Message Date
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
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
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
9f4fe1a917 withCurrentUser hoc in nova:core 2016-11-15 18:33:16 +01:00
Sacha Greif
7a170786c8 use better syntax for HoCs 2016-11-11 18:25:47 +09:00
Sacha Greif
0ed0f24303 refactoring PostsListContainer and CommentsListContainer into HoCs 2016-11-11 16:42:19 +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
cab93c1128 re-enable comment nesting 2016-11-09 11:55:12 +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
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09:00
Sacha Greif
858c2b78c4 Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo 2016-10-26 14:46:39 +09:00
Sacha Greif
03fd4c19d6 clean up 2016-10-26 14:46:36 +09:00
xavcz
ab99894207 adding 20sec pollInterval + refetchQuery props when voting / submitting a comment 2016-10-25 15:48:54 +02:00
xavcz
e15093824a sketchy example on single post 2016-10-19 11:07: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
Sacha Greif
0e28be3c92 removing Comments global 2016-06-23 12:17:39 +09:00
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +09:00
Sacha Greif
241ba651e8 change import syntax; add listId to all ListContainers 2016-06-06 10:06:53 +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
ea1791b253 more naming fixes 2016-04-19 16:14:41 +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