aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-12-22 21:00:44 -0800
committerFuwn <[email protected]>2023-12-22 21:00:44 -0800
commitaadf9793ad9bc267a99134951fb7ed5d712e8267 (patch)
tree871d0f72b05b916c01930c7c8d81fe29cfe99cdb /src
parentfeat(schedule): better loading message (diff)
downloaddue.moe-aadf9793ad9bc267a99134951fb7ed5d712e8267.tar.xz
due.moe-aadf9793ad9bc267a99134951fb7ed5d712e8267.zip
feat(routes): better loading message
Diffstat (limited to 'src')
-rw-r--r--src/lib/List/Anime/AnimeListTemplate.svelte4
-rw-r--r--src/lib/Tools/ActivityHistory.svelte4
-rw-r--r--src/lib/Tools/ActivityHistoryGrid.svelte2
-rw-r--r--src/lib/Tools/EpisodeDiscussionCollector.svelte2
-rw-r--r--src/lib/Tools/SequelSpy.svelte2
-rw-r--r--src/routes/+page.svelte4
-rw-r--r--src/routes/completed/+page.svelte2
-rw-r--r--src/routes/updates/+page.svelte4
-rw-r--r--src/routes/user/[user]/+page.svelte2
-rw-r--r--src/routes/user/[user]/badges/+page.svelte4
10 files changed, 15 insertions, 15 deletions
diff --git a/src/lib/List/Anime/AnimeListTemplate.svelte b/src/lib/List/Anime/AnimeListTemplate.svelte
index 957376a1..40f47f5a 100644
--- a/src/lib/List/Anime/AnimeListTemplate.svelte
+++ b/src/lib/List/Anime/AnimeListTemplate.svelte
@@ -31,7 +31,7 @@
{#await fetch(`/api/subsplease?tz=${Intl.DateTimeFormat().resolvedOptions().timeZone}`).then( (r) => r.json() )}
<ListTitle custom={title} />
- <ul><li>Loading ...</li></ul>
+ <ul><li>Subtitle release data ... 33%</li></ul>
{:then subsPlease}
{#await animeLists}
{#if previousAnimeList}
@@ -50,7 +50,7 @@
{:else}
<ListTitle custom={title} />
- <ul><li>Loading ...</li></ul>
+ <ul><li>Loading anime lists ... 66%</li></ul>
{/if}
{:then media}
<CleanAnimeList
diff --git a/src/lib/Tools/ActivityHistory.svelte b/src/lib/Tools/ActivityHistory.svelte
index e0ad7e58..4160bd3a 100644
--- a/src/lib/Tools/ActivityHistory.svelte
+++ b/src/lib/Tools/ActivityHistory.svelte
@@ -76,10 +76,10 @@
Please log in to view this page.
{:else}
{#await activityHistoryData}
- Loading ...
+ Loading activity history ... 33%
{:then activities}
{#if activities === undefined}
- Loading ...
+ Loading activities ... 66%
{:else}
{@const filledActivities = fillMissingDays(activities)}
diff --git a/src/lib/Tools/ActivityHistoryGrid.svelte b/src/lib/Tools/ActivityHistoryGrid.svelte
index 45d53342..e2117595 100644
--- a/src/lib/Tools/ActivityHistoryGrid.svelte
+++ b/src/lib/Tools/ActivityHistoryGrid.svelte
@@ -41,7 +41,7 @@
{#if user === undefined}
Please log in to view this page.
{:else if activityHistoryData === undefined}
- Loading ...
+ Loading activity history ... 50%
{:else}
{@const filledActivities = fillMissingDays(activityHistoryData)}
{@const highestActivity = Math.max(...filledActivities.map((activity) => activity.amount))}
diff --git a/src/lib/Tools/EpisodeDiscussionCollector.svelte b/src/lib/Tools/EpisodeDiscussionCollector.svelte
index faef8ada..f6a049f2 100644
--- a/src/lib/Tools/EpisodeDiscussionCollector.svelte
+++ b/src/lib/Tools/EpisodeDiscussionCollector.svelte
@@ -25,7 +25,7 @@
{#if searchInputFinal !== ''}
{#await threads(searchInputFinal)}
- Loading ...
+ Loading forum threads ... 50%
{:then threads}
<ul>
{#each threads
diff --git a/src/lib/Tools/SequelSpy.svelte b/src/lib/Tools/SequelSpy.svelte
index 0c81505d..633c5af1 100644
--- a/src/lib/Tools/SequelSpy.svelte
+++ b/src/lib/Tools/SequelSpy.svelte
@@ -44,7 +44,7 @@
</p>
{#await currentPrequels}
- <p>Loading ...</p>
+ <p>Loading prequels ... 50%</p>
{:then currentPrequels}
<ul>
{#each currentPrequels as prequel}
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte
index d8ba06f0..2c750acd 100644
--- a/src/routes/+page.svelte
+++ b/src/routes/+page.svelte
@@ -87,7 +87,7 @@
{:else}
<ListTitle custom="Upcoming Episodes" />
- <ul><li>Loading ...</li></ul>
+ <ul><li>Loading user identity ... 50%</li></ul>
{/if}
</details>
{/if}
@@ -99,7 +99,7 @@
{:else}
<ListTitle anime />
- <ul><li>Loading ...</li></ul>
+ <ul><li>Loading user identity ... 50%</li></ul>
{/if}
</details>
{/if}
diff --git a/src/routes/completed/+page.svelte b/src/routes/completed/+page.svelte
index 0606deb9..466f993c 100644
--- a/src/routes/completed/+page.svelte
+++ b/src/routes/completed/+page.svelte
@@ -85,7 +85,7 @@
{:else}
<ListTitle custom="Completed Anime" />
- <ul><li>Loading ...</li></ul>
+ <ul><li>Loading user identity ... 50%</li></ul>
{/if}
</details>
diff --git a/src/routes/updates/+page.svelte b/src/routes/updates/+page.svelte
index 7b3a0f6c..565505d3 100644
--- a/src/routes/updates/+page.svelte
+++ b/src/routes/updates/+page.svelte
@@ -78,7 +78,7 @@
</li>
{/each}
{:else}
- <li>Loading ...</li>
+ <li>Loading feed ... 50%</li>
{/if}
</ul>
</details>
@@ -113,7 +113,7 @@
</li>
{/each}
{:else}
- <li>Loading ...</li>
+ <li>Loading feed ... 50%</li>
{/if}
</ul>
</details>
diff --git a/src/routes/user/[user]/+page.svelte b/src/routes/user/[user]/+page.svelte
index 71e6ba17..9f55aa8b 100644
--- a/src/routes/user/[user]/+page.svelte
+++ b/src/routes/user/[user]/+page.svelte
@@ -26,7 +26,7 @@
Does this user exist?
{:else if userData === undefined}
- Loading ...
+ Loading user ... 50%
{:else}
<div class="user-grid">
<p>
diff --git a/src/routes/user/[user]/badges/+page.svelte b/src/routes/user/[user]/badges/+page.svelte
index 612d32a8..b7a09ca8 100644
--- a/src/routes/user/[user]/badges/+page.svelte
+++ b/src/routes/user/[user]/badges/+page.svelte
@@ -130,7 +130,7 @@
</script>
{#await currentUserIdentity}
- Loading ...
+ Loading user identity ... 50%
{:then identity}
{@const isOwner = identity && identity.name === data.username}
@@ -181,7 +181,7 @@
<div id="badges">
{#if badges === null}
- {@html nbsp('Loading ...')}
+ {@html nbsp('Loading badges ... 50%')}
{:else if badges.length === 0}
{@html nbsp('No badges found for this user.')}
{:else}