Commit 1a009f9efc348c22f8582567ddc65f0dfdec8446
fix up channel looping and partial scroll failure
Matt McKegg committed on 3/13/2017, 5:12:41 PMParent: 9403dbfd2676f11563ac280b635c929cc14dafba
Files changed
modules/page/html/render/channel.js | changed |
package.json | changed |
modules/page/html/render/channel.js | ||
---|---|---|
@@ -42,9 +42,9 @@ | ||
42 | 42 | 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' |
43 | 43 | }) |
44 | 44 | ] |
45 | 45 | |
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 }) | |
47 | 47 | }) |
48 | 48 | |
49 | 49 | function subscribe (id) { |
50 | 50 | api.sbot.async.publish({ |
package.json | ||
---|---|---|
@@ -34,9 +34,9 @@ | ||
34 | 34 | "mutant-pull-reduce": "^1.1.0", |
35 | 35 | "non-private-ip": "^1.4.1", |
36 | 36 | "on-change-network": "0.0.2", |
37 | 37 | "on-wakeup": "^1.0.1", |
38 | - "patchcore": "~0.3.5", | |
38 | + "patchcore": "~0.4.1", | |
39 | 39 | "prebuild": "github:mmckegg/prebuild#use-npm-conf", |
40 | 40 | "pull-abortable": "^4.1.0", |
41 | 41 | "pull-file": "~1.0.0", |
42 | 42 | "pull-identify-filetype": "^1.1.0", |
@@ -44,9 +44,9 @@ | ||
44 | 44 | "pull-notify": "^0.1.1", |
45 | 45 | "pull-pause": "0.0.0", |
46 | 46 | "pull-ping": "^2.0.2", |
47 | 47 | "pull-pushable": "^2.0.1", |
48 | - "pull-scroll": "^1.0.3", | |
48 | + "pull-scroll": "github:mmckegg/pull-scroll#0fddc085fc82cfce9f3ccfd4096fce99843a1e51", | |
49 | 49 | "pull-stream": "~3.4.5", |
50 | 50 | "scuttlebot": "^9.4.4", |
51 | 51 | "sorted-array-functions": "~1.0.0", |
52 | 52 | "ssb-avatar": "^0.2.0", |
Built with git-ssb-web