Commit graph

22 commits

Author SHA1 Message Date
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
xavcz
5b3f2105d1 apply the new API registerComponent to the base-components 2016-11-17 20:42:16 +01:00
xavcz
17513c1a98 change the API to register components / extend them and illustrate it in my-custom-package 2016-11-17 20:00:20 +01:00
xavcz
9f4fe1a917 withCurrentUser hoc in nova:core 2016-11-15 18:33:16 +01:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01: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
xavizalote
a2e32140ee fix behavior of newsletter button: display message when subscribing on the banner & update the right account when editing someone's account 2016-07-21 00:38:49 +02:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
xavizalote
e73e8bbbfa make custom package work again: routes, moment & newsletter button 2016-06-17 11:14:49 +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
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
xavizalote
262c7ffc2b clearer & cleaner 2016-05-26 10:46:30 +02:00
xavizalote
d9ae45b32b isomorphic cookies + meteor-node-stubs (~= browserify), componentWillReceiveProps + context to hide/show banner reactively 2016-05-26 10:13:13 +02:00
xavizalote
8ad7efae59 delete user from list to make it possible for him to resubscribe, default props for the button, style newsletter settings in the UsersEdit 2016-05-25 09:30:29 +02:00
xavizalote
460c81c598 fix required PropTypes 2016-05-25 08:57:48 +02:00
xavizalote
571d1877d0 handle errors & avoid repeating code in the component NewsletterButton with "subscriptionAction" 2016-05-25 08:57:12 +02:00
xavizalote
63c5a11b43 NewsletterButton linked to method called with certain props 2016-05-25 08:52:04 +02:00
xavizalote
a6991a3a28 don't use newsletter_showBanner anymore 2016-05-23 08:15:05 +02: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
Renamed from packages/nova-base-components/lib/common/NewsletterForm.jsx (Browse further)