Commit graph

44 commits

Author SHA1 Message Date
Sacha Greif
c73b7611c0 making some progress on daily view 2016-12-05 16:30:31 +09:00
Sacha Greif
714d89a1ed pass extra fields to form fragment 2016-12-04 19:00:01 +09: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
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
e09022b350 add fragments inside components 2016-11-23 11:07:48 +09:00
xavcz
1137fb96aa adapt the Telescope.createCollection api to all the collections, some clean up in old containers files 2016-11-22 18:14:51 -05: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
xavcz
08a686f496 use Collection.fragments in queries/mutations 2016-11-14 20:27:23 +01:00
xavcz
78802d6790 add query collectionListTotal (= list total count) on every collection by default, query list from the ui : getCollectionList(..) { collectionListTotal(..) collection(..) } ; withRemove "automation" based on these queries 2016-11-13 13:43:36 +01: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
2b91a715a7 fix errors somehow??! 2016-11-07 22:27:34 +09:00
Sacha Greif
7ce835b0fd apollo forms wip 2016-11-07 17:45:17 +09:00
Sacha Greif
1c47da69e0 small fixes 2016-11-07 11:46:58 +09:00
Sacha Greif
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09:00
xavcz
ec0ec6558a PostsEditContainer 2016-11-04 14:14:19 +01:00
xavcz
f92bb15079 PostsNewFormContainer ; fix typo on postsVote mutation 2016-11-04 13:57:27 +01:00
xavcz
d382c995d0 specify explicit dependencies (npm & meteor packages) 2016-11-04 08:40:21 +01:00
Sacha Greif
2d0e2fde83 working on postsEdit 2016-11-04 14:38:31 +09:00
Sacha Greif
ae94226990 use updateQueries to update the main post list after new post 2016-11-04 10:53:06 +09:00
Sacha Greif
f332c8810b use Apollo for new post mutation 2016-11-04 10:28:54 +09:00
Sacha Greif
85eba36199 add setMainRefetch and triggerMainRefetch functions to App's context to enable main post list refetch after new post method completion 2016-11-03 14:39:27 +09:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01:00
xavcz
f6bbbd14ca redux basic setup (to be improved) - test case on FlashMessages, used in PostNewForm 2016-10-19 10:32:24 +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
xavcz
2f58e4ef80 draft a CanDo reusable component and test it on PostsItem, PostsNewForm & UsersEdit 2016-08-04 10:50:03 +02:00
Sacha Greif
d9e69110a6 removing Posts global 2016-06-23 11:40:35 +09:00
xavizalote
cfb720cdcf [posts] add contextTypes on PostsNewButton -> PostsNewForm can access it ; on ModalTrigger -> PostsEditForm can delete posts! 2016-06-15 11:30:48 +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
f5021a0a1e reenable old categories/views behavior 2016-06-14 10:17:11 +09:00
Sacha Greif
550ca85258 complete work on react-router 2016-06-14 10:01:44 +09:00
Sacha Greif
d812eacddf i18n error messages 2016-06-10 10:43:23 +09:00
Sacha Greif
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +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
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
Renamed from packages/nova-base-components/lib/posts/PostNewForm.jsx (Browse further)