Commit graph

239 commits

Author SHA1 Message Date
SachaG
11a8889dee fix limit 2017-03-23 15:50:35 +09:00
SachaG
c2a8815ad9 Added movies-example package (simplified version of framework-demo) 2017-03-18 16:04:27 +09:00
SachaG
2a60fc729f Simplify framework-demo code; add default value for withList’s queryName; export individual graphql-related methods; remove events package’s dependency on posts; add Utils.performCheck; move contents of search package to posts; add getViewableFields collection helper and use it in getParameters 2017-03-18 15:59:31 +09:00
SachaG
32ae7d8b32 Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel 2017-03-12 10:27:07 +09:00
SachaG
b649b52a37 Merge branch 'Discordius-voting' into devel 2017-03-12 10:25:51 +09:00
SachaG
a3364eaa30 Remove “publish” option from SimpleSchema; small clean-ups 2017-03-12 10:25:29 +09:00
Comus Leong
1a71317382 the first dispatch will generate a newDispatch function from middleware, dispatch it inside routing 2017-03-11 11:43:28 +08:00
Comus Leong
8381416e67 fix safari issues, remove defineName, improve apolloClientReducer to get the initialState 2017-03-11 11:17:50 +08:00
xavcz
f43436bf22 bump to nova 1.2.0 2017-03-08 11:48:47 +00:00
SachaG
46236b572b withList errors shouldn’t clear our results 2017-03-05 08:09:53 +00:00
SachaG
bfbd5869d9 Get rid of preload schema option; use new UsersCurrent fragment instead; trigger users.profileCompleted.async hook when profile is completed during user update, too 2017-02-28 11:49:40 +01:00
SachaG
03d5fe77c8 Clean up a couple things 2017-02-22 18:04:59 +01:00
SachaG
8b821725c8 Add layout and error components to core so we always have something to display even without themes; small clean-ups 2017-02-17 20:45:11 +09:00
xavcz
d195d366c8 Nova v1.1.0 🔭
* bump packages version
* update to Meteor 1.4.3! 🚀
2017-02-16 11:50:22 +01:00
Comus Leong
b8b0480cb0 better core/lib improvement and update 2017-02-12 22:00:13 +08:00
Comus Leong
3968e49d7c withRenderContext 2017-02-08 09:15:09 +08:00
Comus Leong
665547efce renderContext fix 2017-02-08 04:36:57 +08:00
Comus Leong
8a8596a75b move renderContext from core to lib, so that every components/containers includes core’s (such as withList, App) can use renderContext.get() to get store, apolloClient, loginToken, history, reducers, middlewares 2017-02-06 23:56:15 +08:00
Comus Leong
33b3b5bf24 change nova-core folder structure 2017-02-06 22:24:05 +08:00
Comus Leong
dfd01fdc1a get rid of meteor.subscribe error during SSR, because std:accounts-ui LoginForm needs meteor.subscribe 2017-02-06 21:14:07 +08:00
Comus Leong
9992f0063e new routing 2017-02-06 14:36:42 +08:00
SachaG
3cde24d4fb Merge branch 'devel' of https://github.com/TelescopeJS/Telescope into devel
# Conflicts:
#	packages/nova-base-components/lib/posts/PostsList.jsx
#	yarn.lock
2017-02-03 15:37:52 +09:00
SachaG
cf1ee06273 pass error to PostsList and show error message 2017-02-03 15:36:40 +09:00
SachaG
afebadba55 Adapt withEdit/withNew to support new fragments API 2017-02-03 15:16:48 +09:00
xavcz
e533dd47e7 fix some lint issues, remove some dead code, remove double imports from the same package & import from core instead of lib except for packages depending explicitly on lib (users, emails, ..) 2017-02-02 16:18:33 +01:00
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