Sacha Greif
|
f810c7166b
|
Wrap PostsList with withCurrentUser instead of wrapping PostsItem (move it one level up); get rid of ContextPasser and pass closeModal as props instead of context;
|
2017-01-10 17:49:03 +09:00 |
|
Sacha Greif
|
834c33fecf
|
simplify PostsDailyList logic a bit
|
2017-01-10 11:27:08 +09:00 |
|
Sacha Greif
|
b065e8c27a
|
loading improvements
|
2017-01-09 22:09:09 +09:00 |
|
Sacha Greif
|
94b514675f
|
fix daily view pagination
|
2017-01-09 21:14:25 +09:00 |
|
Sacha Greif
|
fc982bc20f
|
Make voting generic (posts, comments, etc.) WIP
|
2017-01-09 15:42:24 +09:00 |
|
xavcz
|
4ca3cab7ce
|
use networkStatus === 1 instead of loading prop from apollo-client hoc
|
2016-12-21 18:14:13 +01:00 |
|
Sacha Greif
|
62368a0d48
|
NovaForm -> SmartForm
|
2016-12-20 09:27:16 +09:00 |
|
Sacha Greif
|
70ddd87039
|
update to apollo-client 0.5.22; small fixes and clean-up; Posts.parameters.get -> Posts.getParameters; add sorting to withList (even though it doesn't work yet); add getParameters to all collections;
|
2016-12-18 19:04:11 +09:00 |
|
Sacha Greif
|
b931fb0df2
|
pass entire mutation fragment to NovaForm after all
|
2016-12-15 12:07:13 +09:00 |
|
Sacha Greif
|
f384b78cd2
|
rework withList reducer; fix post slug bug
|
2016-12-15 10:10:18 +09:00 |
|
Sacha Greif
|
83f72c9646
|
when a document is edited, test if it still belongs to a list or not
|
2016-12-14 22:35:02 +09:00 |
|
Sacha Greif
|
8591b49ea3
|
show log in form when creating new post when not logged in; small fixes
|
2016-12-14 11:29:52 +09:00 |
|
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 |
|