xavcz
|
990f21aae1
|
withMessages hoc to avoid having redux code in components
|
2016-12-08 09:42:50 +01:00 |
|
Sacha Greif
|
991748e154
|
make user edit form work
|
2016-12-08 11:03:20 +09:00 |
|
xavcz
|
311948fb9b
|
grab cookies directly in graphql server (step forward to simpler ssr)
|
2016-12-07 10:19:55 +01:00 |
|
Sacha Greif
|
ce103c568c
|
make withSingle accept slug parameter; no need for variables in withMutation anymore; port newsletter methods to Apollo
|
2016-12-07 15:30:40 +09:00 |
|
xavcz
|
7d83b93b81
|
embedly: use withMutation + make getEmbedlyData mutation returning a JSON type
|
2016-12-06 18:09:26 +01: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 |
|
xavcz
|
4e6e312469
|
permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members
|
2016-12-06 10:55:47 +01:00 |
|
xavcz
|
5071a86266
|
fix categories container & forms
|
2016-12-06 10:29:10 +01:00 |
|
xavcz
|
94edfc01ec
|
small tweaks on loadMore buttons, update graphql-tools (JSON scalar fix), fix remove callback on comments
|
2016-12-06 09:45:36 +01:00 |
|
Sacha Greif
|
711a7b1153
|
add withMutation helper HoC for mutations that return a single JSON object
|
2016-12-06 16:25:50 +09:00 |
|
Sacha Greif
|
1386467e5c
|
implement Embedly methods as graphql mutations
|
2016-12-06 15:51:59 +09:00 |
|
Sacha Greif
|
42dbc8efb6
|
fix offset pagination
|
2016-12-06 14:48:35 +09:00 |
|
Sacha Greif
|
deb35f0772
|
finish daily view
|
2016-12-06 14:46:28 +09:00 |
|
Sacha Greif
|
c73b7611c0
|
making some progress on daily view
|
2016-12-05 16:30:31 +09: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
|
714d89a1ed
|
pass extra fields to form fragment
|
2016-12-04 19:00:01 +09:00 |
|
xavcz
|
2e72185a2c
|
wip on comments
|
2016-12-02 13:43:26 +01:00 |
|
xavcz
|
e61e009196
|
profile.isDummy -> isDummy; don't try to send email on dummy comments
|
2016-12-02 09:19:41 +01:00 |
|
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
|
56c04baf3b
|
use new group-based syntax for permissions; various tweaks
|
2016-12-01 15:29:07 +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
|
1c421f7c9e
|
queryName -> queryToUpdate
|
2016-12-01 09:10:51 +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
|
0c2b9da97c
|
working on post schema and resolvers check
|
2016-11-30 16:55:34 +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 |
|
Sacha Greif
|
25f685c06c
|
fix user helpers; add Users.canViewField helper
|
2016-11-30 10:21:25 +09:00 |
|
xavcz
|
b4896ae521
|
work on comments remove callback
|
2016-11-29 19:33:13 +01:00 |
|
xavcz
|
ddd71eebd1
|
withCurrentUser belongs to nova:users
|
2016-11-29 14:08:24 +01:00 |
|
Sacha Greif
|
404dd6214c
|
work on withCurrentUser
|
2016-11-29 12:35:00 +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
|
002599e51e
|
add preload:true option to Users schema
|
2016-11-29 18:54:12 +09:00 |
|
Sacha Greif
|
00fcc01c0d
|
clean up imports/exports and other small things
|
2016-11-29 18:53:31 +09:00 |
|
Sacha Greif
|
9467837d1f
|
move Users.hasUpvoted to nova:voting
|
2016-11-29 18:52:13 +09:00 |
|
Sacha Greif
|
cbcfc1bcaf
|
clean up i18n files
|
2016-11-29 11:39:35 +09:00 |
|
Sacha Greif
|
d0c72c98f1
|
clean up packages names
|
2016-11-29 11:35:20 +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
|
384cc3ccc2
|
small fixes
|
2016-11-27 08:39:25 +09:00 |
|
Sacha Greif
|
6d376a5f1c
|
remove dependency on Events
|
2016-11-26 11:51:52 +09:00 |
|
Sacha Greif
|
fc8837ff51
|
more cleaning up and reorganizing packages
|
2016-11-26 11:33:27 +09:00 |
|
Sacha Greif
|
6fbfe4399b
|
simplify structure of mutation HoCs, improve form component names
|
2016-11-26 11:17:43 +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
|
043f7df114
|
use refetch() instead of updateQueries for now
|
2016-11-25 12:22:13 +09:00 |
|
Sacha Greif
|
4b70802c00
|
clean up
|
2016-11-25 11:46:31 +09:00 |
|
Sacha Greif
|
d2948e487a
|
prevent rerenderings to prevent FormWithMutations from unmounting
|
2016-11-25 11:15:46 +09:00 |
|
Sacha Greif
|
698141e6fa
|
clean up and comment withNew
|
2016-11-25 10:58:32 +09:00 |
|
Sacha Greif
|
b0bd39f657
|
cleaning up fragments and debugging
|
2016-11-24 16:58:08 +09:00 |
|