SachaG
|
d87c13a9a5
|
finish new fragments API; add extendFragment
|
2017-02-02 13:24:29 +09:00 |
|
Comus Leong
|
98ff9c2730
|
client side exportable redux store
|
2017-01-31 10:24:12 +08:00 |
|
Comus Leong
|
1991cd4f4b
|
getMiddleware to getMiddlewares
|
2017-01-31 10:24:12 +08:00 |
|
SachaG
|
5a26d4f047
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
|
2017-01-31 10:23:54 +09:00 |
|
SachaG
|
45b9de4789
|
Add new fragments API (registerFragment/getFragment); move fragments to own fragments.js file; registerComponent doesn’t return anything anymore; withList & withDocument accept either fragment or fragmentName
|
2017-01-30 19:46:48 +09:00 |
|
xavcz
|
7e52047c4d
|
withList: grab the client prop and rename it to apolloClient to be used further in the withList logic
|
2017-01-29 12:49:44 +01:00 |
|
SachaG
|
ae92ac3d45
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
|
2017-01-29 09:51:48 +09:00 |
|
SachaG
|
33446172a6
|
Pass Apollo client object to parameters callback to fix #1546
|
2017-01-29 09:51:38 +09:00 |
|
xavcz
|
a6e8e69c69
|
clean withMessages, make the router.onUpdate callback usable with store & apollo-client, move the logic to clear flash messages inside the router.onUpdate callback
|
2017-01-26 09:56:53 +01:00 |
|
Comus Leong
|
1a7cc3c7db
|
Actions/Reducers/Middleware convert to getActions()/getReducers()/getMiddleware()
|
2017-01-26 12:41:02 +08:00 |
|
SachaG
|
957fe56df9
|
clean up before merge back to master
|
2017-01-23 11:00:44 +09:00 |
|
SachaG
|
4661ec9583
|
Wrap PostsPage with currentUser
|
2017-01-23 10:30:58 +09:00 |
|
SachaG
|
844d678888
|
returnPartialData option breaks SSR
|
2017-01-22 10:32:23 +09:00 |
|
SachaG
|
c1131422a0
|
Use immutability helper for vote; pass currentUser to Vote.jsx as prop
|
2017-01-22 10:12:05 +09:00 |
|
SachaG
|
301d1017f9
|
Add underscore package; update Apollo-client package; add HoC aliases; disable categories polling; remove required schema properties; use strings for dates client-side
|
2017-01-21 10:02:03 +09:00 |
|
SachaG
|
04182efe22
|
Make mutation hoc accept mutations without arguments
|
2017-01-20 14:08:45 +09:00 |
|
SachaG
|
c6a1bf3617
|
pollInterval is NOT a variable!
|
2017-01-20 10:30:15 +09:00 |
|
SachaG
|
3861cb8b53
|
Fix component export
|
2017-01-19 11:19:36 +09:00 |
|
xavcz
|
79e4cf5266
|
make FormWrapper exportable again, routes can accept either component or componentName property
|
2017-01-18 15:11:31 +01:00 |
|
xavcz
|
c0fcc944d7
|
Nova's components & routes registered in a declarative way: no load order mess, better control of the flow, no changes for the end user
|
2017-01-18 12:51:10 +01:00 |
|
Sacha Greif
|
2130bf5efe
|
Add missing Utils
|
2017-01-15 22:06:50 +09:00 |
|
Sacha Greif
|
e9bc54426f
|
Call Utils.convertDates when loading and sorting data to convert any date field stored as a string into an actual date object
|
2017-01-14 17:57:44 +09:00 |
|
Sacha Greif
|
2707b8348d
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
|
2017-01-14 08:29:55 +09:00 |
|
Sacha Greif
|
7de9912c92
|
add container aliases
|
2017-01-14 08:29:51 +09:00 |
|
xavcz
|
99548ca918
|
fix list filtering: de-couple pagination terms & props terms in withList; re-enable form cleaning: performed only if the form has not been unmounted; remove annoying eslint warnings
|
2017-01-13 18:17:08 +01:00 |
|
Sacha Greif
|
171bf9feb9
|
extraFragment -> fragment; deprecate Users.canEdit; add alias; use new withCurrentUser
|
2017-01-12 17:30:25 +09:00 |
|
xavcz
|
c505fcbaac
|
polling to 20s by default
|
2017-01-11 10:36:08 +01:00 |
|
xavcz
|
871f8c65ca
|
poll interval option on withDocument too, specific name for fragment on CustomPostsItem
|
2017-01-10 10:07:13 +01:00 |
|
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
|
bcda2bafef
|
Add option to disable polling; add support for both incremental and non-incremental pagination (call loadMore or loadMoreInc)
|
2017-01-10 11:26:33 +09:00 |
|
xavcz
|
31c2f22acd
|
update graphql related packages, clean withMesages
|
2017-01-09 13:33:26 +01:00 |
|
Sacha Greif
|
fc982bc20f
|
Make voting generic (posts, comments, etc.) WIP
|
2017-01-09 15:42:24 +09:00 |
|
Sacha Greif
|
ebf929774c
|
sort movies list by createdAt; wrap MoviesNewForm with withMessages to fix setState bug
|
2017-01-08 18:14:41 +09:00 |
|
Sacha Greif
|
8f5891eb30
|
Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
# packages/nova-categories/lib/resolvers.js
# packages/nova-comments/lib/resolvers.js
# packages/nova-core/lib/containers/withList.js
# packages/nova-posts/lib/resolvers.js
# packages/nova-users/lib/resolvers.js
|
2017-01-08 16:25:30 +09:00 |
|
Sacha Greif
|
2d627a9609
|
Refactor withList to use non-incremental pagination to work around polling+fetchMore incompatibility
|
2017-01-07 16:44:50 +09:00 |
|
xavcz
|
3666401364
|
withList: allow terms to be passed via options too, then merge it with the one passed via props ; disable events on CategoriesEditForm (todo: re-enable events client-side)
|
2017-01-05 17:11:38 +01:00 |
|
xavcz
|
b3bcb4de87
|
improve Nova's redux utils (configureStore, addAction, addReducer)
|
2017-01-04 14:31:38 +01:00 |
|
xavcz
|
746da29d72
|
semver bump: 1.0.0 🚀
|
2016-12-27 11:58:58 +01:00 |
|
Dominic Tracey
|
7ac15e28d3
|
updates per @xavcz
|
2016-12-26 10:30:59 -05:00 |
|
xavcz
|
45e032d7b9
|
update npm react deps, clean some dead code/packages, use query deduplication sent to the server (apollo-client 0.5.24)
|
2016-12-23 12:01:16 +01:00 |
|
Sacha Greif
|
6c5fc6c0dd
|
fix small issue with users edit form when logged out
|
2016-12-22 10:47:44 +09:00 |
|
xavcz
|
4ca3cab7ce
|
use networkStatus === 1 instead of loading prop from apollo-client hoc
|
2016-12-21 18:14:13 +01:00 |
|
xavcz
|
78ba0e8530
|
more work on currentUser, withApp is not needed anymore (=== withCurrentUser), fix missing import on users schema
|
2016-12-21 12:04:43 +01:00 |
|
xavcz
|
1558531c84
|
update grapqhl-tools to be able to ask for terms as JSON type, propTypes on UsersMenu
|
2016-12-20 15:19:13 +01:00 |
|
Sacha Greif
|
e6324788dc
|
rollback version change for now to fix issue on run
|
2016-12-20 10:55:11 +09:00 |
|
Sacha Greif
|
fa7987d67a
|
v0.3.0
|
2016-12-20 09:50:14 +09:00 |
|
Sacha Greif
|
fbff53d761
|
fix user log in bug (maybe?)
|
2016-12-20 09:45:55 +09:00 |
|
Sacha Greif
|
03794b1275
|
fix reducer bug (I think?); remove console.logs
|
2016-12-20 09:26:36 +09:00 |
|
Sacha Greif
|
f6182c4cd8
|
copy array results to make reordering work
|
2016-12-19 08:30:19 +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 |
|