git ssb

0+

alanz / patchwork



forked from Matt McKegg / patchwork

Commit 13baa686fc5af661ef4162f781dcc97e108f2875

don't display progress for "checking", only indexing and downloading

Matt McKegg committed on 3/13/2017, 2:42:14 AM
Parent: c57e834c351ebc843cc933402c6d24b4184c48ab

Files changed

modules/app/html/progress-notifier.jschanged
modules/app/html/progress-notifier.jsView
@@ -34,10 +34,10 @@
3434 return 1
3535 }
3636 })
3737
38- var hidden = computed([progress.incomplete, progress.feeds, queryProgress.pending], (incomplete, feeds, indexing) => {
39- return incomplete <= 10 && indexing <= 10 && feeds
38+ var hidden = computed([progress.incomplete, queryProgress.pending], (incomplete, indexing) => {
39+ return incomplete <= 10 && indexing <= 10
4040 })
4141
4242 var hasDownloadProgress = computed([progress.feeds, progress.incomplete], (feeds, incomplete) => {
4343 if (feeds) {
@@ -51,9 +51,9 @@
5151 when(hasDownloadProgress,
5252 ['Downloading new messages', h('progress', { style: {'margin-left': '10px'}, min: 0, max: 1, value: downloadProgress })],
5353 when(queryProgress.pending, [
5454 ['Indexing database', h('progress', { style: {'margin-left': '10px'}, min: 0, max: 1, value: indexProgress })]
55- ], 'Checking for changes...')
55+ ], 'Scuttling...')
5656 )
5757 ])
5858 ])
5959 ])

Built with git-ssb-web