Sacha Greif
|
381cdc7cff
|
Telescope.headtags -> Headtags; Telescope.actions -> Actions; Telescope.reducers -> Reducers; Telescope.operateOnItem -> operateOnItem; TODO: fix withMessages
|
2016-12-12 16:43:23 +09:00 |
|
Sacha Greif
|
dd0df7dfc5
|
Telescope.utils -> Utils
|
2016-12-12 11:34:28 +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
|
b86ac7c12b
|
withApp: class with lifecycle hooks so it can preload fields from feature/custom packages; fix Users.getSettings; ssr: plug again the cookies to the request
|
2016-12-09 13:26:46 +01:00 |
|
xavcz
|
990f21aae1
|
withMessages hoc to avoid having redux code in components
|
2016-12-08 09:42:50 +01:00 |
|
Sacha Greif
|
ce103c568c
|
make withSingle accept slug parameter; no need for variables in withMutation anymore; port newsletter methods to Apollo
|
2016-12-07 15:30:40 +09:00 |
|
Sacha Greif
|
711a7b1153
|
add withMutation helper HoC for mutations that return a single JSON object
|
2016-12-06 16:25:50 +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 |
|
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
|
56c04baf3b
|
use new group-based syntax for permissions; various tweaks
|
2016-12-01 15:29:07 +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 |
|
Sacha Greif
|
25f685c06c
|
fix user helpers; add Users.canViewField helper
|
2016-11-30 10:21:25 +09:00 |
|
xavcz
|
ddd71eebd1
|
withCurrentUser belongs to nova:users
|
2016-11-29 14:08:24 +01:00 |
|
Sacha Greif
|
404dd6214c
|
work on withCurrentUser
|
2016-11-29 12:35:00 +01:00 |
|
Sacha Greif
|
384cc3ccc2
|
small fixes
|
2016-11-27 08:39:25 +09:00 |
|
Sacha Greif
|
6fbfe4399b
|
simplify structure of mutation HoCs, improve form component names
|
2016-11-26 11:17:43 +09:00 |
|
Sacha Greif
|
e57ac73a50
|
clean up console.log
|
2016-11-25 12:24:21 +09:00 |
|
Sacha Greif
|
043f7df114
|
use refetch() instead of updateQueries for now
|
2016-11-25 12:22:13 +09:00 |
|
Sacha Greif
|
698141e6fa
|
clean up and comment withNew
|
2016-11-25 10:58:32 +09:00 |
|
Sacha Greif
|
b0bd39f657
|
cleaning up fragments and debugging
|
2016-11-24 16:58:08 +09:00 |
|
Sacha Greif
|
395a5926be
|
make movies package work independently; nova:base-routes -> nova:routing
|
2016-11-24 15:47:51 +09:00 |
|
Sacha Greif
|
dfe2d2d0df
|
give edit forms their own FormWithSingle data loader
|
2016-11-23 17:22:29 +09:00 |
|
Sacha Greif
|
e09022b350
|
add fragments inside components
|
2016-11-23 11:07:48 +09:00 |
|
Sacha Greif
|
dd13571291
|
cleaning up
|
2016-11-23 08:41:50 +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
|
9e8fd36a75
|
more work on withNew, withEdit, withRemove
|
2016-11-22 21:12:14 +09:00 |
|
Sacha Greif
|
612e817a3f
|
update apollo packages; use new fragments syntax (see https://github.com/apollostack/graphql-fragments#migrating); create new MoviesDetails, MoviesEditForm, MoviesItem components; simplify withEdit and withNew containers; create new withSingle container
|
2016-11-22 16:15:00 +09:00 |
|
Sacha Greif
|
f445239763
|
clean up Movies collection declaration; implement new check system for mutations, tie everything together
|
2016-11-21 19:23:43 +09:00 |
|
Sacha Greif
|
bfdc921523
|
add Telescope.createCollection and use it in Movies package to centralize everything; also create withList2
|
2016-11-21 16:18:08 +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
|
4ac4c4cd06
|
centralize withList, withNew, withEdit, withRemove HOCs to nova:core
|
2016-11-19 11:20:18 +01:00 |
|
xavcz
|
4487464a33
|
remove duplicated withCurrentUser
|
2016-11-17 14:12:13 +01:00 |
|
xavcz
|
9f4fe1a917
|
withCurrentUser hoc in nova:core
|
2016-11-15 18:33:16 +01:00 |
|
xavcz
|
b5709b0a52
|
flash-messages logic handle via redux for all the components
|
2016-10-31 17:13:14 +01:00 |
|
xavcz
|
f6bbbd14ca
|
redux basic setup (to be improved) - test case on FlashMessages, used in PostNewForm
|
2016-10-19 10:32:24 +02:00 |
|
Sacha Greif
|
3ec90a04b5
|
remove Telescope global
|
2016-08-08 11:18:21 +09:00 |
|
Sacha Greif
|
e7e0d33339
|
clean up nova:core
|
2016-08-08 10:54:33 +09:00 |
|
Sacha Greif
|
93537d2900
|
make getPostsListUsers non-reactive; stop calling settings.getJSON; make default RSS view overwritable
|
2016-07-05 16:55:11 +09:00 |
|
Sacha Greif
|
4ce55702eb
|
removing Events global
|
2016-06-23 15:16:32 +09:00 |
|
xavizalote
|
d777b6d9a9
|
App container: default export -> App component: from props to context
|
2016-06-14 22:36:54 +02:00 |
|
Sacha Greif
|
b51c48b117
|
pass actions, messages, and events as part of context instead of depending on them from within base-components
|
2016-06-14 17:03:35 +09:00 |
|
Sacha Greif
|
550ca85258
|
complete work on react-router
|
2016-06-14 10:01:44 +09:00 |
|