Commit graph

36 commits

Author SHA1 Message Date
xavcz
dd32c36f28 more work on removeSuccessCallback (wired with withRemove) ; add options noRemoveMutation (ex for UsersEdit) 2016-11-13 14:12:15 +01:00
xavcz
35302d291f wip on withRemove HOC included in withEdit; fix posts.remove.validate callback 2016-11-12 17:28:08 +01:00
xavcz
be0576d125 fix PostsEditForm (no need of wrapping in container, it already has the data); clean unnecessary propTypes / import 2016-11-12 14:11:36 +01:00
Sacha Greif
1ec194576e fix status bug; add status to list query 2016-11-09 21:54:31 +09:00
Sacha Greif
80bf6ddb12 Merge branch 'apollo' of https://github.com/TelescopeJS/Telescope into apollo
# Conflicts:
#	packages/nova-users/lib/schema.js
2016-11-09 09:31:15 +09:00
Sacha Greif
76d71f13dd small tweaks 2016-11-09 09:30:11 +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
ce13bf11c0 fix a few issues with forms 2016-11-08 14:56:48 +09:00
Sacha Greif
8eae4fda1d get rid of PostsNewFormContainer and PostsEditFormContainer 2016-11-07 22:46:31 +09:00
Sacha Greif
7ce835b0fd apollo forms wip 2016-11-07 17:45:17 +09:00
xavcz
ec0ec6558a PostsEditContainer 2016-11-04 14:14:19 +01:00
Sacha Greif
4c5c696a82 split out set/unset to work around fact that I don't know GraphQL syntax 2016-11-04 15:49:42 +09:00
Sacha Greif
2d0e2fde83 working on postsEdit 2016-11-04 14:38:31 +09:00
Sacha Greif
8398a7c255 redirect after delete 2016-11-03 14:13:26 +09:00
Sacha Greif
9ce7fe703f make PostsListContainer and PostsSingleContainer stateful components; add refetchQuery on child context; call it from post edit form; clone item in Telescope.operateOnItem to avoid modifying the original by mistake 2016-11-03 14:07:58 +09:00
Sacha Greif
c1e1c68c23 disable polling; make posts.edit method work again; run refetch in NovaForms success callback 2016-11-02 19:56:44 +09:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01:00
Sacha Greif
f9ef536280 clean up ListContainer and DocumentContainer 2016-10-28 16:24:23 +09:00
Sacha Greif
67a761569d port PostsEditForm to Apollo container; PostsPageContainer -> PostsSingleContainer 2016-10-27 16:06:42 +09:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
xavcz
0820523750 use CanDo component when relevant, comment & deprecate ol' permission components 2016-08-06 19:47:04 +02:00
Sacha Greif
9cc7840b85 new permissions 2016-07-21 09:40:05 +09:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
xavizalote
6dabd21193 [posts] consistency: post edit success message with post title 2016-06-15 11:53:29 +02: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
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
70779b53cb add stats to post edit form 2016-05-20 09:33:55 +09:00
Sacha Greif
50a5ed8556 show post id to admins in post edit form 2016-05-12 11:49:04 +09:00
Sacha Greif
64f357d601 Meteor 1.3.2.4; small fixes and tweaks for easier customisation; bug fixes 2016-04-25 17:02: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
Sacha Greif
6707099bff working on ui for adding/editing categories 2016-04-14 14:12:06 +09:00
Sacha Greif
24c1dc4722 cleaning up component naming 2016-04-14 10:12:35 +09:00
Renamed from packages/nova-base-components/lib/posts/PostEditForm.jsx (Browse further)