SachaG
|
72be56a590
|
renaming nova-xyz directories to vulcan-xyz
|
2017-03-24 10:19:24 +09:00 |
|
SachaG
|
d970c92f82
|
nova -> vulcan
|
2017-03-23 16:27:59 +09:00 |
|
SachaG
|
45b9de4789
|
Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName
|
2017-01-30 19:46:48 +09:00 |
|
SachaG
|
38de180530
|
Add comment voting using graphql union type
|
2017-01-29 11:17:00 +09:00 |
|
SachaG
|
7e640cc1bd
|
Make new comment mutation return post to auto-update post object in store with new commentCount and list of commenters
|
2017-01-23 11:01:14 +09:00 |
|
SachaG
|
db17e917f8
|
Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code
|
2017-01-18 10:18:33 +09:00 |
|
Sacha Greif
|
171bf9feb9
|
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
|
2017-01-12 17:30:25 +09:00 |
|
xavcz
|
4ca3cab7ce
|
use networkStatus === 1 instead of loading prop from apollo-client hoc
|
2016-12-21 18:14:13 +01:00 |
|
Sacha Greif
|
dd0df7dfc5
|
Telescope.utils -> Utils
|
2016-12-12 11:34:28 +09:00 |
|
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
|
ac713264a3
|
move optimistic UI logic to withList using reducers option instead of inside individual mutations; add extraFragment option to form wrapper and handle query and mutation fragments differently; give remove mutation a return value; pass Terms in listTotal resolver
|
2016-12-05 09:29:49 +09:00 |
|
Sacha Greif
|
09cce8f978
|
get fragmentName from fragment, no need to define it separately anymore
|
2016-12-01 12:13:27 +09:00 |
|
Sacha Greif
|
b16c7ce0be
|
put withCurrentUser back in nova:core after all…
|
2016-11-30 16:58:28 +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
|
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 |
|