Sacha Greif
|
98fef8ef62
|
Telescope.settings.get -> getSetting
|
2016-12-12 15:00:56 +09:00 |
|
Sacha Greif
|
dd0df7dfc5
|
Telescope.utils -> Utils
|
2016-12-12 11:34:28 +09:00 |
|
Sacha Greif
|
292a5e5566
|
various fixes: upgrade react-apollo; handle array fields in forms; fix "daily" view
|
2016-12-12 09:55:24 +09:00 |
|
Sacha Greif
|
8fa846fda3
|
withSingle -> withDocument
|
2016-12-12 09:54:16 +09:00 |
|
Sacha Greif
|
b6b31222fd
|
remove limit on categories and daily lists; re-export stuff from nova:core; add copyHoCs function;
|
2016-12-10 21:58:40 +09:00 |
|
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 |
|
xavcz
|
5071a86266
|
fix categories container & forms
|
2016-12-06 10:29:10 +01:00 |
|
Sacha Greif
|
42dbc8efb6
|
fix offset pagination
|
2016-12-06 14:48:35 +09:00 |
|
Sacha Greif
|
deb35f0772
|
finish daily view
|
2016-12-06 14:46:28 +09:00 |
|
Sacha Greif
|
c73b7611c0
|
making some progress on daily view
|
2016-12-05 16:30:31 +09: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 |
|
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 |
|
Sacha Greif
|
09cce8f978
|
get fragmentName from fragment, no need to define it separately anymore
|
2016-12-01 12:13:27 +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
|
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 |
|
Sacha Greif
|
d5be97b56c
|
split out withCurrentUser and loadCurrentUser for now
|
2016-11-30 10:50:04 +09:00 |
|
xavcz
|
ddd71eebd1
|
withCurrentUser belongs to nova:users
|
2016-11-29 14:08:24 +01:00 |
|
Sacha Greif
|
002599e51e
|
add preload:true option to Users schema
|
2016-11-29 18:54:12 +09: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 |
|
Sacha Greif
|
e57ac73a50
|
clean up console.log
|
2016-11-25 12:24:21 +09: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 |
|
Sacha Greif
|
cb1b65fd32
|
remove withList wrapper from posts/comments/categories for now
|
2016-11-22 16:15:26 +09: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
|
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
|
600ab15c4d
|
Apollo branch up to date with v0.27.4
|
2016-11-15 12:51:43 +01:00 |
|
xavcz
|
08a686f496
|
use Collection.fragments in queries/mutations
|
2016-11-14 20:27:23 +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
|
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
|
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 |
|
xavcz
|
51c605942a
|
withApp hoc ; fix PostsItem (VoteContainer -> Vote)
|
2016-11-11 11:23:39 +01:00 |
|
Xavier Cazalot
|
4717100099
|
Merge pull request #1507 from sherryxiao1988/patch-1
Fix react setState race condition
|
2016-11-11 10:52:02 +01:00 |
|
xavcz
|
b4ddddf5a7
|
withCategoriesList HOC with the new syntax
|
2016-11-11 10:35:29 +01:00 |
|
Sacha Greif
|
7a170786c8
|
use better syntax for HoCs
|
2016-11-11 18:25:47 +09:00 |
|
Sacha Greif
|
d31fc6b70a
|
continue HoC refactoring, get rid of function syntax in withXYZ() after all
|
2016-11-11 18:19:18 +09:00 |
|
Sacha Greif
|
0ed0f24303
|
refactoring PostsListContainer and CommentsListContainer into HoCs
|
2016-11-11 16:42:19 +09:00 |
|
xavcz
|
400b4d8c72
|
load categories with their own container (with loading handled in the presentational component); handle login / logout / register with fixed client.resetStore (apollo 0.5.1)
|
2016-11-10 10:54:43 +01:00 |
|
Sacha Greif
|
7e344476a4
|
update to Meteor 1.4.2.1
|
2016-11-10 17:27:06 +09:00 |
|
Sacha Greif
|
a621d01b1b
|
first try at making PostsListContainer a HoC
|
2016-11-10 15:39:04 +09:00 |
|
Sacha Greif
|
9fcb9f753d
|
make sure we don't affect the props passed by CommentsListContainer
|
2016-11-10 10:55:38 +09:00 |
|