Commit Graph

5621 Commits

Author SHA1 Message Date
Chi Vinh Le f2a67f04f9 Only use Proxy when available 2017-08-18 22:35:13 +07:00
Chi Vinh Le 0a602b79c3 Enable optimization for more slots 2017-08-18 22:21:51 +07:00
Chi Vinh Le b8452b535b Allow passing custom fragments to withReaction and withTag 2017-08-18 22:19:03 +07:00
Chi Vinh Le 0cbf6e24f7 Handle null values 2017-08-18 21:59:43 +07:00
Chi Vinh Le 833e78f99a Integrate ProfileContainer slot into graphql framework 2017-08-18 21:44:56 +07:00
Chi Vinh Le e5156f7fc1 Integrate embed slot in to graphql framework 2017-08-18 21:36:14 +07:00
Chi Vinh Le de90bdbd19 Gracefully handle when data is not available 2017-08-18 21:19:13 +07:00
Chi Vinh Le 00f365ab38 Add missing fragments 2017-08-18 20:40:51 +07:00
Chi Vinh Le 9f62754fd7 Show warnings when slot components uses query data without fragments 2017-08-18 20:33:37 +07:00
Chi Vinh Le dc49d23dc8 Define fragments for PermalinkButton 2017-08-18 19:55:51 +07:00
Chi Vinh Le 8eaac3eaa2 Tiny refactor.. 2017-08-18 19:50:56 +07:00
Chi Vinh Le 6a5f6e3ce1 Adapt loading detection 2017-08-18 17:57:32 +07:00
Chi Vinh Le fabc8b8c46 Check when one of the leaves are empty 2017-08-18 17:49:57 +07:00
Chi Vinh Le 0808f97fb5 Consider state when optimizing comment 2017-08-18 16:40:42 +07:00
Chi Vinh Le af4b01c2ae Correctly handly activeReplyBox optimization 2017-08-17 23:23:18 +07:00
Chi Vinh Le 25c11ad690 Keep old query data when not changed in withFragments 2017-08-17 23:22:30 +07:00
Chi Vinh Le d228d49c7d Optimize rendering when activeReplyBox changes 2017-08-17 22:44:13 +07:00
Chi Vinh Le 7ea6d133c2 Filter queryData in withFragments and optimize rendering 2017-08-17 21:31:09 +07:00
Chi Vinh Le 1ff6c5bdcc Use comment container 2017-08-17 17:16:15 +07:00
Chi Vinh Le df141925fb add hoistStatics to withReaction 2017-08-17 17:15:06 +07:00
Chi Vinh Le f8031be865 callback props from withMutation now keep their identity 2017-08-16 23:41:14 +07:00
Chi Vinh Le ae81d5cb3c Optimize IfSlotIsX rendering 2017-08-16 22:43:48 +07:00
Chi Vinh Le 4aa6b53022 PropTypes for StreamTabPanel 2017-08-16 22:32:44 +07:00
Chi Vinh Le 9ce6ab108a Refactor StreamTabPanel and use hoistStatics for all hocs 2017-08-16 22:15:31 +07:00
Chi Vinh Le 33aea66ff7 Refactor 2017-08-15 21:56:22 +07:00
Chi Vinh Le c3bcf7dd63 Merge branch 'master' into optimization 2017-08-15 21:48:09 +07:00
Chi Vinh Le 2b2e2f9b5f ClickOutside should only toggle action when open 2017-08-15 21:32:44 +07:00
Chi Vinh Le 4cfdb6574b withQuery props should be immutable 2017-08-15 21:23:39 +07:00
Chi Vinh Le b63fce4ebc Optimize Slot rendering 2017-08-15 18:53:06 +07:00
Kim Gardner b81c2e480e Merge pull request #853 from coralproject/rm-immutable-js
Remove immutable js
2017-08-15 11:54:42 +01:00
Kim Gardner d2525ac8cf Merge branch 'master' into rm-immutable-js 2017-08-15 11:49:15 +01:00
Kim Gardner d38128bad9 Merge pull request #850 from coralproject/update-apollo
Update apollo and fix warnings
2017-08-15 11:49:08 +01:00
Kim Gardner 1ca40a3592 Merge branch 'master' into rm-immutable-js 2017-08-15 11:27:45 +01:00
Kim Gardner ad4ea08a6a Merge branch 'master' into update-apollo 2017-08-15 11:21:47 +01:00
Kim Gardner dc3adf0413 Merge pull request #851 from coralproject/fix-ignore-user
Fix Ignored User in permalink
2017-08-15 11:05:23 +01:00
Kim Gardner ac2699856f Merge branch 'master' into fix-ignore-user 2017-08-15 10:50:33 +01:00
Kim Gardner c0f66277b3 Merge pull request #854 from coralproject/fix-error-offtopic
Fix console error in offtopic
2017-08-15 10:50:20 +01:00
Chi Vinh Le db37a0b38e Check existance of featuredComments in query 2017-08-15 16:43:44 +07:00
Kim Gardner cadfb57cd2 Merge branch 'master' into fix-error-offtopic 2017-08-15 10:36:19 +01:00
Kim Gardner 2284692931 Merge branch 'master' into fix-ignore-user 2017-08-15 10:31:26 +01:00
Kim Gardner f159d8a488 Merge pull request #855 from coralproject/fix-create-username-dialog
Fix FakeComment styles
2017-08-15 10:28:46 +01:00
Kim Gardner 15f1733fa1 Merge branch 'master' into fix-create-username-dialog 2017-08-15 10:23:28 +01:00
Kim Gardner 776f29a39d Merge pull request #852 from coralproject/fix-dashboard-links
Fix dashboard links
2017-08-15 10:20:10 +01:00
Chi Vinh Le c52a97338c Fix FakeComment styles 2017-08-14 21:25:48 +07:00
Chi Vinh Le abda77a7e7 Fix console error in offtopic 2017-08-14 19:55:04 +07:00
Chi Vinh Le 06cf33521f Remove immutable-js traces from docs 2017-08-14 19:41:35 +07:00
Chi Vinh Le cdfef8c989 Remove immutable 2017-08-14 16:56:51 +07:00
Chi Vinh Le 2e8863285d Rm immutable-js from admin 2017-08-14 16:49:00 +07:00
Chi Vinh Le 7360a43898 Remove immutable from embed stream 2017-08-11 22:50:12 +07:00
Chi Vinh Le 45cf72256b Fix dashboard links 2017-08-11 21:11:59 +07:00