Commit graph

99 commits

Author SHA1 Message Date
4387c17cbd
fix: add federated/favorites to crawled pages ()
another thing I missed in  and 
2019-02-16 12:33:22 -08:00
7f1ba74c37
fix: fix missing export pages in node v8 ()
For reasons that are mysterious to me,  works in Node v10 but not v8. And Zeit runs v8. Moving the hidden links to a different page fixes it. ¯\_(ツ)_/¯
2019-02-16 11:33:05 -08:00
2debddaaf6
fix: add some pages that "sapper export" missed ()
Unfortunately it looks like `sapper export` works by crawling the
non-logged-in site, which means that any pages that are inaccessible
when you're not logged in don't get generated, including "pinned,"
"muted," "blocked," "requests," and "share."

Normally this isn't a problem, but it is in browsers that don't
have Service Worker; you get a 404 when you try to refresh those pages.

My fix is to just add a hidden div that links to these pages. It's not
pretty, but it works.
2019-02-16 00:48:45 -08:00
7887d2c848
fix: remove deferred polyfill caching ()
As of  we can no longer rely on JS files containing , let alone . This was a nice idea, but it's just not maintainable anymore nor does it provide a huge benefit.
2019-02-15 20:31:22 -08:00
59544d2cf4
fix: improve a11y, move preview box inside label () 2019-02-15 19:03:24 -08:00
25aea9f30a
fix: improve active state of navbar () 2019-02-15 19:03:18 -08:00
425d4c74aa
fix: use "public" for cache-control ()
another attempt to address 
2019-02-14 22:54:18 -08:00
75db2c0dac
fix: fix broken CSP in dev mode ()
It seems  occasionally breaks dev mode due to missing SW script. This fixes that.
2019-02-14 21:26:41 -08:00
1b9d3b1cd0
feat: implement Web Share API ()
fixes 
2019-02-14 21:26:28 -08:00
a97600d4a2
fix: set max-age to 3600 for html ()
another attempt to address 
2019-02-14 21:26:20 -08:00
d947f819ab
fix: increase cache, use csp checksums over nonce ()
attempt to address 
2019-02-14 19:39:24 -08:00
752715becb
fix: tweak primary button border color () 2019-02-14 19:38:54 -08:00
623c2c79cb
fix: fix style of compose box in reply ()
Fixes 
2019-02-14 08:46:43 -08:00
df09b0a995
perf: prefetch all internal links () 2019-02-13 18:40:02 -08:00
58d1f62b2b
feat: implement web share target ()
fixes 
2019-02-13 18:38:44 -08:00
df6b75e994
fix: fix slim size compose dialog ()
fixes 
2019-02-13 18:38:34 -08:00
4074f09f65
fix: fix default contrast ratio for button ()
this gets us up to 100% accessibility score on lighthouse
2019-02-13 18:38:19 -08:00
3aee6fb050
fix: only call Royal the default theme if it is () 2019-02-11 22:36:31 -08:00
652ffffec4
fix: fix SettingsListItem missing className dev warning () 2019-02-11 21:04:08 -08:00
4bf3c2fd28
fix: don't show theme picker if not logged in ()
Also tweak some of the styles and layout in the theme picker itself
2019-02-11 21:04:00 -08:00
8179c1b53f
fix: set dark theme based on prefers-color-scheme ()
* fix: set dark theme based on prefers-color-scheme

fixes 

* add an explicit banner fill color
2019-02-11 21:03:51 -08:00
de4016029f
fix: fix legibility of settings text in dark themes () 2019-02-11 19:49:18 -08:00
795999e5ac
perf: use keyed each for media () 2019-02-10 13:27:29 -08:00
fdcaa864af
fix: allow right-click to save image ()
fixes 
2019-02-10 13:03:24 -08:00
37c85ec7e2
fix: disable smooth scroll for users who prefer reduced motion () 2019-02-09 19:52:40 -08:00
56f5a45221
fix: fix aria-hidden on hidden icons () 2019-02-09 19:05:59 -08:00
2884955d67
fix: carousel should use ul/li for a11y () 2019-02-09 18:06:58 -08:00
9cb15a3396
fix: fix hand cursor on non-tappable status ()
fixes 
2019-02-09 17:31:24 -08:00
135fb24873
fix indicator button size on small screens () 2019-02-09 15:25:30 -08:00
e82066dcc2
fix: fix scroll-snap in firefox when scrolling manually () 2019-02-09 14:31:49 -08:00
73eb9fba2c
fix: fix carousel and scrollbars for edge browser () 2019-02-09 12:01:29 -08:00
180055da70
fix: fix items appearing over nav ()
fixes 
2019-02-06 22:24:03 -08:00
2a96e0eeda
fix: minor fixups for accessibility and responsive design ()
* fix: minor fixups for accessibility and responsive design

* fix lint
2019-02-06 22:23:54 -08:00
157f5db690
fix: fix zoomable videos ()
fixes 
2019-02-06 21:00:30 -08:00
Isabelle Knott
503378a400 feat: Add 'switch to instance' buttons next to instances in instance list. () 2019-02-06 20:56:30 -08:00
6e0f2ef6bb
fix: do not add duplicates to threads ()
attempt to fix 
2019-02-06 11:36:46 -08:00
10b14abcdb
fix: tweak carousel to show button change sooner () 2019-02-05 09:54:38 -08:00
e17d3974d5
fix: add label to dummy icon to prevent svelte warning () 2019-02-03 14:47:14 -08:00
f5be28d99a
fix: use intrinsicsize for images/videos ()
* fix: use intrinsicsize for images/videos

* add comment
2019-02-03 14:01:45 -08:00
6d2b3ec072
feat: add pinch-zoom to media dialog ()
* feat: add pinch-zoom to media dialog

* fix zoom buttons
2019-02-03 12:33:15 -08:00
4c430bd1c9
fix: remove dead code from MediaDialog () 2019-02-03 11:56:27 -08:00
Ivan Kupalov
437236bf3c feat: Add shortcuts to the media dialog ()
* Add shortcuts to the media dialog

* fix: unify logic for next/prev buttons and keyboard shortcuts

* fix: add info about left/right shortcuts
2019-02-03 11:56:07 -08:00
84e9bfc8e5
fix: fix rounding of scroll math on Safari () 2019-02-03 11:10:58 -08:00
9231e66612
fix: fix pressed color on media dialog buttons () 2019-02-03 11:10:52 -08:00
9d594f0bac
feat: add carousel for media modal () 2019-02-02 23:03:40 -08:00
648d9a3cf6
fix: tweak underlining of links () 2019-01-26 13:50:45 -08:00
109022fab9
feat: add option to underline links in toot text ()
* feat: add option to underline links in toot text

* change text
2019-01-26 12:58:11 -08:00
0b1efab0c1
fix: fix "copy link" on iOS ()
* fix: fix "copy link" on iOS

fixes 

* fix lint
2019-01-26 12:05:14 -08:00
Stephane Zermatten
2656e11bb0 fix: Follow-up for pull request ()
* Cache main-nav in scrollIntoView.js.

This change avoids continuously calling document.getElementById for the
same element.

* Fix firstVisibleElementIndex to always return a dictionary.

Before this change, firstVisibleElementIndex would return -1 if it
doesn't find anything. This made no sense since this function returns a
dictionary on success.

With this change, the function always returns a dictionary with the
expected keys.

* lint fix
2019-01-26 10:14:27 -08:00
d976b621b8
chore: move inline-script to src () 2019-01-26 10:14:15 -08:00