Commit graph

81 commits

Author SHA1 Message Date
Sacha Greif
85eba36199 add setMainRefetch and triggerMainRefetch functions to App's context to enable main post list refetch after new post method completion 2016-11-03 14:39:27 +09:00
xavcz
7c88d27d62 have the mutation simulation and server operation returning the same result, add missing viewableIf, pass comment object to Telescope.operateOnItem 2016-11-02 13:29:43 +01:00
xavcz
3390b5af24 test optimistic ui on vote with sleep server-side 2016-11-02 09:53:16 +01:00
Sacha Greif
123da6b79d add latency compensation (a.k.a. optimistic UI) simulation for Telescope.operateOnItem; it now takes the item as argument (not the item _id) 2016-11-02 16:31:15 +09:00
Sacha Greif
fe5a3ff822 add loading spinner for vote mutation (and fix extra "{ }") 2016-11-02 14:50:51 +09:00
xavcz
328be8b07d define mutation postVote(postId: String, voteType: String), wire it to <Vote /> 2016-10-31 18:21:28 +01:00
xavcz
b5709b0a52 flash-messages logic handle via redux for all the components 2016-10-31 17:13:14 +01:00
xavcz
e78cbe523f telescope's graphql mutations extensible as schema and queries, re-enable context.actions.call with Meteor for now 2016-10-31 16:19:37 +01:00
Sacha Greif
230018c066 clean up 2016-10-29 14:18:16 +09:00
xavcz
3c9c9673a3 add currentUser to schema/resolvers and give it to the AppContainer; re-enable canView/canEdit on CanDo comp (got broken at first migration to apollo); give back the document to custom FormComponent (used for example in the NewsletterButton in the account page) 2016-10-28 13:56:07 +02:00
Sacha Greif
e160aca568 create AppContainer to load categories; remove settings package; todo: load current user with AppContainer 2016-10-28 15:45:43 +09:00
xavcz
ab99894207 adding 20sec pollInterval + refetchQuery props when voting / submitting a comment 2016-10-25 15:48:54 +02:00
xavcz
26f5e73119 more work on single post 2016-10-19 17:38:21 +02:00
xavcz
f6bbbd14ca redux basic setup (to be improved) - test case on FlashMessages, used in PostNewForm 2016-10-19 10:32:24 +02:00
xavcz
21086fe18b UsersMenu: user: props -> currentUser: context 2016-10-17 12:26:56 +02:00
xavcz
b04cb52470 currentUser is now only given via context, update README about it, add a missing import 2016-10-14 08:47:18 +02:00
Sacha Greif
3ec90a04b5 remove Telescope global 2016-08-08 11:18:21 +09:00
xavcz
830d6015ad small fix on default props value not taken in consideration 2016-08-05 18:26:55 +02:00
xavizalote
a2e32140ee fix behavior of newsletter button: display message when subscribing on the banner & update the right account when editing someone's account 2016-07-21 00:38:49 +02:00
Sacha Greif
c21b9d0908 make headTags extensible again 2016-07-19 18:12:17 +09:00
xavizalote
1ef77c8c04 meta: avoid repetition (no more concat, should fix Facebook scrape) + favicon setting name 2016-07-18 18:01:41 +02:00
Sacha Greif
0870b56c69 fix getDomain; make head tags extensible; make redirection logic more flexible 2016-07-06 10:21:58 +09:00
xavizalote
7c45773802 don't do modification on a var if undefined => fixes #1375 error at startup on HeadTags 2016-07-01 08:36:00 +02:00
xavizalote
2328e2f19e use react-helmet instead of dochead 2016-06-29 09:15:52 +02:00
xavizalote
c67c04f068 fix a bug on go:image/twitter:image and add some clarity 2016-06-27 19:55:24 +02:00
xavizalote
8cb454d15f use fat arrow in method callback to give access to the right this 2016-06-27 17:35:53 +02:00
xavizalote
c0f4c40e85 decouple components actions from Meteor 2016-06-24 09:44:32 +02:00
Sacha Greif
41f349d18c removing Users global 2016-06-23 15:00:58 +09:00
Sacha Greif
d0275aa77f update readme 2016-06-22 18:29:35 +09:00
xavizalote
e73e8bbbfa make custom package work again: routes, moment & newsletter button 2016-06-17 11:14:49 +02:00
Sacha Greif
fd946158fc Merge pull request #1342 from GameDevTV/ts-custom-site-image
Hook up siteImage in settings to the open graph meta tags.
2016-06-16 17:16:47 +09:00
Sacha Greif
d6835d266d update react-router; update react-intl; make intl polyfill available to client too 2016-06-16 10:43:25 +09:00
Sam Pattuzzi
425de4710d Silly typo 2016-06-15 15:00:24 +01: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
eefa2b9203 remove currentRoute 2016-06-14 12:50:08 +09:00
Sacha Greif
f5021a0a1e reenable old categories/views behavior 2016-06-14 10:17:11 +09:00
Sacha Greif
550ca85258 complete work on react-router 2016-06-14 10:01:44 +09:00
Sacha Greif
bc22398192 react-router wit (fix later) 2016-06-11 16:37:03 +09:00
Sacha Greif
5ce95e4229 react router first pass 2016-06-11 16:36:18 +09:00
Ben Tristem
5e65b4c81d Hook up siteImage in settings to the open graph meta tags. 2016-06-10 13:47:06 +01:00
Sacha Greif
2c6e3d0d30 more i18n work 2016-06-10 10:25:38 +09:00
Sacha Greif
15f8808b67 fix en locale 2016-06-09 20:45:58 +09:00
Sacha Greif
f899713408 more work on i18n 2016-06-09 20:26:33 +09:00
Sacha Greif
c1572344ba working on i18n 2016-06-09 17:42:20 +09:00
Sacha Greif
0d28817ac0 small tweaks 2016-06-06 15:03:02 +09:00
Sacha Greif
241ba651e8 change import syntax; add listId to all ListContainers 2016-06-06 10:06:53 +09:00
Sacha Greif
204fa1d8b7 added support for field groups; small tweaks to user edit form 2016-06-03 11:03:36 +09:00
xavizalote
262c7ffc2b clearer & cleaner 2016-05-26 10:46:30 +02:00
xavizalote
d9ae45b32b isomorphic cookies + meteor-node-stubs (~= browserify), componentWillReceiveProps + context to hide/show banner reactively 2016-05-26 10:13:13 +02:00