Commit ff9bc35cc729bf24b356983ed74fafea1d95d641
explicitly initialize lists, menu and extra
Dominic Tarr committed on 7/10/2019, 2:01:17 PMParent: 9f08a6bb50ebb3803a2d0744e645afde23e5bbbd
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -53,11 +53,14 @@ | ||
53 | 53 … | .use('preview', require('./apis/preview')(sbot)) |
54 | 54 … | .use('compose', require('./apis/compose')(sbot)) |
55 | 55 … | .use('publish', require('./apis/publish')(sbot)) |
56 | 56 … | |
57 … | + .list('menu') //links to apps, along top of screen. | |
57 | 58 … | .use('more', require('./apis/more')(sbot)) |
58 | 59 … | .use('search', require('./apis/search')(sbot)) |
59 | 60 … | |
61 … | + .list('extra') //attached to each message, likes, backlinks, etc | |
62 … | + | |
60 | 63 … | //patchthreads |
61 | 64 … | // .use('messages/post', require('./apis/messages/post')(sbot)) |
62 | 65 … | // .use('messages/vote', require('./apis/messages/vote')(sbot)) |
63 | 66 … | |
@@ -65,8 +68,10 @@ | ||
65 | 68 … | .group('gatherings', require('yap-gatherings')(sbot)) |
66 | 69 … | .group('tags', require('yap-tags')(sbot)) |
67 | 70 … | .setDefault('patch/public') |
68 | 71 … | |
72 … | + console.log(coherence.dump()) | |
73 … | + | |
69 | 74 … | var actions = { |
70 | 75 … | //note: opts is post body |
71 | 76 … | |
72 | 77 … | //sets id in cookie |
Built with git-ssb-web