Commit graph

42 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
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
c73b7611c0 making some progress on daily view 2016-12-05 16:30:31 +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
b16c7ce0be put withCurrentUser back in nova:core after all… 2016-11-30 16:58:28 +09:00
Sacha Greif
868194de59 id -> documentId in single document resolver; various fixes 2016-11-30 16:54:58 +09:00
xavcz
ddd71eebd1 withCurrentUser belongs to nova:users 2016-11-29 14:08:24 +01:00
Sacha Greif
fa581a85c3 lots of cleaning up 2016-11-26 11:17:01 +09: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
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
51c605942a withApp hoc ; fix PostsItem (VoteContainer -> Vote) 2016-11-11 11:23:39 +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
xavcz
bca4b38358 fix commenters (UI / schema / resolvers), pass documentId to postsVote, move PostsListsContainer query to Posts.graphQLQueries.list, FormWrapper.clearErrors() -> FormWrapper.clearForm({clearErrors, clearCurrentValues}): prevent bug of keeping latest value when submitting a formNew that doesn't unmount 2016-11-07 18:03:07 +01:00
Sacha Greif
8eae4fda1d get rid of PostsNewFormContainer and PostsEditFormContainer 2016-11-07 22:46:31 +09:00
xavcz
ec0ec6558a PostsEditContainer 2016-11-04 14:14:19 +01:00
Sacha Greif
222aa4b544 split off VoteContainer and Vote 2016-11-03 16:19:44 +09:00
xavcz
ab99894207 adding 20sec pollInterval + refetchQuery props when voting / submitting a comment 2016-10-25 15:48:54 +02:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +02:00
xavcz
e15093824a sketchy example on single post 2016-10-19 11:07:21 +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
c748bdc5bd permissions clean up & refactoring 2016-07-20 10:25:05 +09:00
xavizalote
448a6464d7 avoid intl error on date not defined in PostsItem base component (happen on pending view) 2016-07-07 11:19:01 +02: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
Sacha Greif
f1e9e02e22 fix posts links 2016-06-17 09:54:25 +09:00
Sacha Greif
1104777be3 working on rr 2016-06-13 16:02:27 +09:00
Sacha Greif
829f42e342 more work on react router 2016-06-12 12:11:05 +09:00
Sacha Greif
5ce95e4229 react router first pass 2016-06-11 16:36:18 +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
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
Kien
307f1807da Only admin see post stats 2016-05-03 23:53:45 +07:00
Sacha Greif
453634c4c4 small improvements and clean up to components 2016-05-03 12:44:50 +09:00
Sacha Greif
1d419b9c3c update readme 2016-04-26 09:12:38 +09: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/posts/list/PostItem.jsx (Browse further)