pinafore/src/routes/_utils
Nolan Lawson ebd10a43d2
perf: fetch lists from database on page load (#1450)
* perf: fetch lists from database on page load

follow-up to #1448, I would like for there not to be a flash on the /community page where the lists suddenly load in, but I would still like to avoid the network request if possible. So when the page first loads, we can load the lists from the database and only fetch them from the network if not in the cache.

* add comment
2019-08-29 18:41:36 -07:00
..
ajax.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
animate.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
arrays.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
asyncModules.js feat: add OCR for image descriptions using tesseract.js (#1433) 2019-08-25 18:33:44 -07:00
asyncPolyfills.js fix: improve focal points draggable style/perf (#1371) 2019-08-04 13:31:51 -07:00
base64.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
blurhash.js fix: ensure "disable blurhash" setting is honored (#1422) 2019-08-22 09:09:21 -07:00
checkDomAncestors.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
classname.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
convertCssPropertyToDataUrl.js fix: ensure "disable blurhash" setting is honored (#1422) 2019-08-22 09:09:21 -07:00
coordsToPercent.js feat: add ability to set focal points for media (#1303) 2019-07-07 00:14:19 -07:00
createAutosuggestAccessibleLabel.js fix: fix lint 2019-08-19 20:23:58 -07:00
createStatusOrNotificationUuid.js feat: implement "." keyboard shortcut (#1105) 2019-03-18 09:09:24 -07:00
decodeImage.js fix: remove firefox UA sniff for img.decode (#1393) 2019-08-17 15:35:43 -07:00
decodeURIComponentWithPluses.js feat: implement web share target (#980) 2019-02-13 18:38:44 -08:00
delegate.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
doubleRAF.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
emojifyText.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
emojiRegex.js fix: update url regex to match latest mastodon (#1026) 2019-02-19 23:34:06 -08:00
eventBus.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
events.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
forceOnline.js fix: fix streaming gap (#1349) 2019-07-21 15:31:26 -07:00
formatters.js feat: date title shows absolute date (#890) 2019-01-13 15:56:39 -08:00
fullscreen.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
getIdFromItemSummaries.js refactor: use timeline item summaries instead of ids (#1072) 2019-03-03 13:24:55 -08:00
getMainTopMargin.js fix: simplify window.matchMedia (#1359) 2019-07-23 20:33:40 -07:00
handleRegex.js fix: update url regex to match latest mastodon (#1026) 2019-02-19 23:34:06 -08:00
historyEvents.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
loadCSS.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
loadingMask.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
loadPolyfills.js fix: improve focal points draggable style/perf (#1371) 2019-08-04 13:31:51 -07:00
lodash-lite.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
marks.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
massageStatusPlainText.js fix: fix html style of glitch-soc markdown content (#1350) 2019-07-21 15:31:17 -07:00
massageUserText.js fix: fix html style of glitch-soc markdown content (#1350) 2019-07-21 15:31:17 -07:00
measureText.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
mediaUploadFileCache.js fix: prefer local file URLs for OCR (#1436) 2019-08-25 21:48:59 -07:00
once.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
pointerEvents.js fix: improve focal points draggable style/perf (#1371) 2019-08-04 13:31:51 -07:00
PromiseThrottler.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
RealmStore.js perf: call revokeObjectURL() on stale blurhash blob URLs (#1403) 2019-08-18 15:15:13 -07:00
removeEmoji.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
replaceEmoji.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
requestPostAnimationFrame.js perf: use requestPostAnimationFrame to reduce layout thrashing (#1376) 2019-08-07 09:11:34 -07:00
reselect.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
resize.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
runMediumPriorityTask.js fix: remove unnecessary function cache (#1358) 2019-07-23 20:33:31 -07:00
runTesseract.js perf: terminate tesseract worker after a delay (#1449) 2019-08-29 08:51:41 -07:00
safeLocalStorage.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
scheduleIdleTask.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
scrollContainer.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
scrollIntoView.js fix: fix lint 2019-08-19 20:23:58 -07:00
scrollToTop.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
serviceWorkerClient.js fix: fix service worker for real (#1258) 2019-06-01 13:07:38 -07:00
setFavicon.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
shortcuts.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
smoothScroll.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
statusHtmlToPlainText.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
statusIdSorting.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
strings.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
sync.js perf: fetch lists from database on page load (#1450) 2019-08-29 18:41:36 -07:00
tesseractWorker.js perf: terminate tesseract worker after a delay (#1449) 2019-08-29 08:51:41 -07:00
testStorage.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
themeEngine.js chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
throttleTimer.js perf: only update draggable x/y state at end of drag (#1379) 2019-08-07 20:38:01 -07:00
thunk.js fix: update Sapper to latest (#775) 2018-12-11 07:31:48 -08:00
timelineItemToSummary.js fix: fix lint 2019-08-19 20:23:58 -07:00
urlIsCrossOrigin.js fix: fix malformed URLs in statuses (#1385) 2019-08-11 11:09:51 -07:00
urlRegex.js perf: build url regex in advance (#1069) 2019-03-02 22:02:59 -08:00
urlRegexSource.js perf: build url regex in advance (#1069) 2019-03-02 22:02:59 -08:00