Thread viewer for Bluesky

trailing whitespace

+2 -2
like_stats_page.js
··· 27 e.preventDefault(); 28 29 if (!this.scanStartTime) { 30 - this.findLikes(); 31 } else { 32 this.stopScan(); 33 } ··· 228 tr.append( 229 $tag('td.no', { text: i + 1 }), 230 $tag('td.handle', { 231 - html: `<img class="avatar" src="${user.avatar}"> ` + 232 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 233 }), 234 $tag('td.count', { text: user.count })
··· 27 e.preventDefault(); 28 29 if (!this.scanStartTime) { 30 + this.findLikes(); 31 } else { 32 this.stopScan(); 33 } ··· 228 tr.append( 229 $tag('td.no', { text: i + 1 }), 230 $tag('td.handle', { 231 + html: `<img class="avatar" src="${user.avatar}"> ` + 232 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 233 }), 234 $tag('td.count', { text: user.count })
+1 -1
menu.js
··· 124 async loadCurrentUserAvatar() { 125 try { 126 let url = await api.loadCurrentUserAvatar(); 127 - this.showLoggedInStatus(true, url); 128 } catch (error) { 129 console.log(error); 130 this.showLoggedInStatus(true, null);
··· 124 async loadCurrentUserAvatar() { 125 try { 126 let url = await api.loadCurrentUserAvatar(); 127 + this.showLoggedInStatus(true, url); 128 } catch (error) { 129 console.log(error); 130 this.showLoggedInStatus(true, null);
+5 -5
posting_stats_page.js
··· 57 e.preventDefault(); 58 59 if (!this.scanStartTime) { 60 - this.scanPostingStats(); 61 } else { 62 this.stopScan(); 63 } ··· 320 keepLastPage: true 321 }); 322 323 - this.updateResultsTable(posts, startTime, requestedDays, { showReposts: false }); 324 } else if (scanType == 'users') { 325 let dids = Object.keys(this.selectedUsers); 326 ··· 375 let lastDate = feedPostTime(last); 376 let daysBack = (startTime - lastDate) / 86400 / 1000; 377 378 - this.progressBar.value = daysBack; 379 } 380 381 /** @param {string[]} dids */ ··· 548 tr.append($tag('td.percent', { text: '' })); 549 } 550 551 - this.tableBody.append(tr); 552 } 553 554 let sorted = Object.values(users).sort(this.sortUserRows); ··· 560 tr.append( 561 $tag('td.no', { text: i + 1 }), 562 $tag('td.handle', { 563 - html: `<img class="avatar" src="${user.avatar}"> ` + 564 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 565 }), 566
··· 57 e.preventDefault(); 58 59 if (!this.scanStartTime) { 60 + this.scanPostingStats(); 61 } else { 62 this.stopScan(); 63 } ··· 320 keepLastPage: true 321 }); 322 323 + this.updateResultsTable(posts, startTime, requestedDays, { showReposts: false }); 324 } else if (scanType == 'users') { 325 let dids = Object.keys(this.selectedUsers); 326 ··· 375 let lastDate = feedPostTime(last); 376 let daysBack = (startTime - lastDate) / 86400 / 1000; 377 378 + this.progressBar.value = daysBack; 379 } 380 381 /** @param {string[]} dids */ ··· 548 tr.append($tag('td.percent', { text: '' })); 549 } 550 551 + this.tableBody.append(tr); 552 } 553 554 let sorted = Object.values(users).sort(this.sortUserRows); ··· 560 tr.append( 561 $tag('td.no', { text: i + 1 }), 562 $tag('td.handle', { 563 + html: `<img class="avatar" src="${user.avatar}"> ` + 564 `<a href="https://bsky.app/profile/${user.handle}" target="_blank">${user.handle}</a>` 565 }), 566
+2 -2
private_search_page.js
··· 25 e.preventDefault(); 26 27 if (!this.fetchStartTime) { 28 - this.fetchTimeline(); 29 } else { 30 this.stopFetch(); 31 } ··· 133 let lastDate = feedPostTime(last); 134 let daysBack = (startTime - lastDate) / 86400 / 1000; 135 136 - this.progressBar.value = daysBack; 137 } 138 139 stopFetch() {
··· 25 e.preventDefault(); 26 27 if (!this.fetchStartTime) { 28 + this.fetchTimeline(); 29 } else { 30 this.stopFetch(); 31 } ··· 133 let lastDate = feedPostTime(last); 134 let daysBack = (startTime - lastDate) / 86400 / 1000; 135 136 + this.progressBar.value = daysBack; 137 } 138 139 stopFetch() {
+2 -2
style.css
··· 923 border-radius: 14px; 924 vertical-align: middle; 925 margin-right: 2px; 926 - padding: 2px; 927 } 928 929 #posting_stats_page .scan-result td.no { ··· 999 border-radius: 14px; 1000 vertical-align: middle; 1001 margin-right: 2px; 1002 - padding: 2px; 1003 } 1004 1005 #private_search_page {
··· 923 border-radius: 14px; 924 vertical-align: middle; 925 margin-right: 2px; 926 + padding: 2px; 927 } 928 929 #posting_stats_page .scan-result td.no { ··· 999 border-radius: 14px; 1000 vertical-align: middle; 1001 margin-right: 2px; 1002 + padding: 2px; 1003 } 1004 1005 #private_search_page {
+1 -1
test/ts_test.js
··· 19 /** @type {never} */ let x3 = html; 20 21 document.addEventListener('click', (e) => { 22 - let target = $(e.target); 23 /** @type {never} */ let x4 = target; 24 }); 25
··· 19 /** @type {never} */ let x3 = html; 20 21 document.addEventListener('click', (e) => { 22 + let target = $(e.target); 23 /** @type {never} */ let x4 = target; 24 }); 25
+1 -1
thread_page.js
··· 23 } 24 25 return p; 26 - } 27 28 /** @param {string} url, @returns {Promise<void>} */ 29
··· 23 } 24 25 return p; 26 + } 27 28 /** @param {string} url, @returns {Promise<void>} */ 29