git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 1a009f9efc348c22f8582567ddc65f0dfdec8446

fix up channel looping and partial scroll failure

Matt McKegg committed on 3/13/2017, 5:12:41 PM
Parent: 9403dbfd2676f11563ac280b635c929cc14dafba

Files changed

modules/page/html/render/channel.jschanged
package.jsonchanged
modules/page/html/render/channel.jsView
@@ -42,9 +42,9 @@
4242 placeholder: 'Write a message in this channel\n\n\n\nPeople who follow you or subscribe to this channel will also see this message in their main feed.\n\nTo create a new channel, type the channel name (preceded by a #) into the search box above. e.g #cat-pics'
4343 })
4444 ]
4545
46- return api.feed.html.rollup(api.feed.pull.channel(channel), { prepend })
46+ return api.feed.html.rollup(api.feed.pull.channel(channel), { prepend, windowSize: 100 })
4747 })
4848
4949 function subscribe (id) {
5050 api.sbot.async.publish({
package.jsonView
@@ -34,9 +34,9 @@
3434 "mutant-pull-reduce": "^1.1.0",
3535 "non-private-ip": "^1.4.1",
3636 "on-change-network": "0.0.2",
3737 "on-wakeup": "^1.0.1",
38- "patchcore": "~0.3.5",
38+ "patchcore": "~0.4.1",
3939 "prebuild": "github:mmckegg/prebuild#use-npm-conf",
4040 "pull-abortable": "^4.1.0",
4141 "pull-file": "~1.0.0",
4242 "pull-identify-filetype": "^1.1.0",
@@ -44,9 +44,9 @@
4444 "pull-notify": "^0.1.1",
4545 "pull-pause": "0.0.0",
4646 "pull-ping": "^2.0.2",
4747 "pull-pushable": "^2.0.1",
48- "pull-scroll": "^1.0.3",
48+ "pull-scroll": "github:mmckegg/pull-scroll#0fddc085fc82cfce9f3ccfd4096fce99843a1e51",
4949 "pull-stream": "~3.4.5",
5050 "scuttlebot": "^9.4.4",
5151 "sorted-array-functions": "~1.0.0",
5252 "ssb-avatar": "^0.2.0",

Built with git-ssb-web