Commit graph

36 commits

Author SHA1 Message Date
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
xavcz
990f21aae1 withMessages hoc to avoid having redux code in components 2016-12-08 09:42:50 +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
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
xavcz
2e72185a2c wip on comments 2016-12-02 13:43:26 +01:00
Sacha Greif
212cdf48c2 Telescope.components.CanDo -> ShowIf 2016-12-01 16:09:54 +09:00
Sacha Greif
b16c7ce0be put withCurrentUser back in nova:core after all… 2016-11-30 16:58:28 +09:00
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
Comus Leong
464e20a96c eslint & clean up code, also fixed some bugs (#1515)
* [eslint] update eslint rules & add .eslintignore to ignore non-ready nova packages

* [clean-up] nova-voting

* [clean-up] [bug] nova-users: missing user parameter

* [clean-up] nova-users

* [clean-up] nova-subscribe

* [clean-up] nova-settings

* [clean-up] nova-rss

* [clean-up] [bug] nova-posts: correct UsersRemoveDeletePosts

* [clean-up] nova-posts

* [clean-up] nova-notifications

* [clean-up] [bug] nova-newsletter: no error.message on throw error

* [clean-up] nova-newsletter

* [clean-up] nova-lib

* [clean-up] nova-kadira

* [clean-up] nova-inject-data

* [clean-up] nova-getting-started

* [clean-up] nova-forms

* [clean-up] nova-events

* [clean-up] [bug] nova-embedly: no FlowRouter

* [clean-up] nova-embedly

* [clean-up] nova-email-templates

* [clean-up] nova-email

* [clean-up] nova-debug

* [clean-up] nova-core

* [clean-up] [bug] nova-comments: correct UsersRemoveDeleteComments

* [clean-up] nova-comments

* [clean-up] [bug] nova-cloudinary: use Telescope.settings.collection instand

* [clean-up] nova-cloudinary

* [clean-up] nova-categories

* [clean-up] nova-base-components

* [clean-up] nova-api

* [eslint] extends react recommended

* [clean-up] for jsx files

* [eslint] extends meteor recommended

* i forgot this one little change
2016-11-25 13:46:55 -05: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
600ab15c4d Apollo branch up to date with v0.27.4 2016-11-15 12:51:43 +01:00
xavcz
dd32c36f28 more work on removeSuccessCallback (wired with withRemove) ; add options noRemoveMutation (ex for UsersEdit) 2016-11-13 14:12:15 +01:00
xavcz
b2620befbd update CommentsItem state on mutation success callback 2016-11-08 18:50:50 +01:00
Sacha Greif
ce13bf11c0 fix a few issues with forms 2016-11-08 14:56:48 +09:00
Sacha Greif
4e91966072 working on commentsListContainer 2016-11-07 23:46:12 +09:00
Sacha Greif
02b3e785c5 working on commentsEdit 2016-11-07 15:03:45 +09:00
Curtis G
eb0536a662 Only show comment reply button for logged in users 2016-11-06 13:31:58 -05:00
Sacha Greif
a0a7d235e9 working on comments mutations 2016-11-05 18:37:46 +09: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
xavcz
0820523750 use CanDo component when relevant, comment & deprecate ol' permission components 2016-08-06 19:47:04 +02:00
Sacha Greif
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +09:00
xavizalote
c0f4c40e85 decouple components actions from Meteor 2016-06-24 09:44:32 +02:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09: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
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +09:00
Sacha Greif
5ee570299a replacing packages with their npm equivalents 2016-06-07 15:03:00 +09:00
Sacha Greif
b25c44bc7d fix component name bugs 2016-05-22 21:56:17 +09:00
Sacha Greif
e8a7c657ad change component import syntax to be more explicit 2016-05-22 16:42:24 +09:00
Justin Gross
bcfa305530 Complete soft delete feature for comments
- Add deleteComment function to CommentsItem.jsx
- Add Delete link next to Edit link in CommentsItem.jsx
- Hide reply link if comment.isDeleted
- Add styling for Delete link element in _comments.scss
- Add check for document.isDeleted in Users.can.edit in permissions.js
2016-05-06 17:07:40 -04:00
Sacha Greif
0907733208 more work on consistent naming 2016-04-19 15:54:53 +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/comments/list/CommentItem.jsx (Browse further)