Commit graph

26 commits

Author SHA1 Message Date
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
SachaG
ebb38cf643 Working on new fragments API 2017-02-02 11:56:52 +09:00
SachaG
dce38c1a28 Simplify custom fragment code 2017-02-01 10:39:18 +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
SachaG
c1131422a0 Use immutability helper for vote; pass currentUser to Vote.jsx as prop 2017-01-22 10:12:05 +09:00
xavcz
c3bff57cab customization-demo: import order + comments 2017-01-19 08:32:33 +01: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
SachaG
db17e917f8 Remove “__” prefix to avoid conflicts with GraphQL introspection types and simplify code 2017-01-18 10:18:33 +09:00
xavcz
9d84fbec98 add graphql date type (fix problem with node simple schema), fix an update bug on date picker, add edit check on custom post item, add blackbox: true for arrays field (validation problem with simple-schema) 2017-01-10 11:17:16 +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
fc982bc20f Make voting generic (posts, comments, etc.) WIP 2017-01-09 15:42:24 +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
4e1a82c130 Callbacks.add -> addCallback; and other callback functions 2016-12-13 11:40:24 +09:00
Sacha Greif
1bf4933ebb clean up Telescope imports 2016-12-13 11:32:23 +09:00
Sacha Greif
b8662441e0 Telescope.strings.add -> addString 2016-12-12 15:10:53 +09:00
Sacha Greif
dd0df7dfc5 Telescope.utils -> Utils 2016-12-12 11:34:28 +09:00
Sacha Greif
aa85aaf9c8 Telescope.routes -> Routes, addRoute; no more indexRoute 2016-12-12 11:12:41 +09:00
Sacha Greif
5e1e124a8f Telescope.callbacks -> Callbacks; Telescope.createCollection -> createCollection 2016-12-12 10:24:34 +09:00
xavcz
2638023f4e harmonize apollo branch to be on v0.27.5 2016-12-08 23:48:16 +01:00
Sacha Greif
991748e154 make user edit form work 2016-12-08 11:03:20 +09: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
4e6e312469 permission API: [editable/insertable/viewable](If) -> (By) ; anonymous -> guests ; default -> members 2016-12-06 10:55:47 +01: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
d0c72c98f1 clean up packages names 2016-11-29 11:35:20 +09:00