Commit df3ed53
authored
fix: consolidated site UX & content fixes (#202)
* fix: opt RSS link out of client-side navigation
Closes #183
The blog RSS button used a SvelteKit anchor with no reload hint. The
(marketing) layout sets trailingSlash: 'always', which causes the
client router to redirect /blog/rss.xml to /blog/rss.xml/ on
client-side navigation. The +server.js endpoint is prerendered to a
file at /blog/rss.xml, so the trailing-slash form falls through to
the SPA shell (or errors), and visitors saw a 500.
Adding data-sveltekit-reload makes the browser perform a full
navigation, bypassing the client router so the static file is served
directly. Direct URLs already worked because they are not subject to
the router's trailing-slash rewrite.
* fix: extend cryptify retry budget to cover restart window
The default pg-js retry policy (5 attempts, 500ms initial delay,
multiplier 2) exhausts in ~7.5s of total wait time. That's shorter
than a typical cryptify service restart, so users see a hard failure
during what should be a recoverable outage.
Bump maxAttempts to 8 and initialDelayMs to 1000ms so the retry
budget covers ~90s of total wait — long enough to ride out a
restart while still failing fast for genuinely down backends.
Closes #181
* fix: prevent light-mode flash on initial page load
Add a synchronous inline script in app.html that reads the user's theme
preference (localStorage 'preferredtheme', falling back to
prefers-color-scheme) and applies the .dark class to <html> before the
browser paints. Previously the class was only set during Svelte
hydration, causing a brief light-mode flash on every refresh in dark
mode.
Closes #180
* fix: add cancel button during file upload (#182)
Closes #182. The encryption/upload progress UI rendered by SendButton
exposed only a spinner and progress bar; users had no in-app way to
abort a long upload. Adds a Cancel button to the upload-info-box that
calls AbortController.abort() on the existing encryption/upload signal,
flips selfAborted so the catch path resets to FileSelection, and
provisions a fresh AbortController for the next attempt.
* fix(blog): tone down exclamation marks in May update post
Closes #184
---------
Co-authored-by: dobby-yivi-agent[bot] <275734547+dobby-yivi-agent[bot]@users.noreply.github.com>1 parent 358d000 commit df3ed53
5 files changed
Lines changed: 48 additions & 3 deletions
File tree
- src
- content/blog
- lib
- components/filesharing
- routes/(marketing)/blog
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
8 | 21 | | |
9 | 22 | | |
10 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
269 | 281 | | |
270 | 282 | | |
271 | 283 | | |
| |||
365 | 377 | | |
366 | 378 | | |
367 | 379 | | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
368 | 388 | | |
369 | 389 | | |
370 | 390 | | |
| |||
651 | 671 | | |
652 | 672 | | |
653 | 673 | | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
654 | 679 | | |
655 | 680 | | |
656 | 681 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
0 commit comments