Nolan Lawson
b2f5f36207
fix(svg): re-inline svg into html ( #772 )
...
* Revert "fix(icons): fix icons.svg url (#769 )"
This reverts commit 1d34d45da7
.
* Revert "perf: use prefetch instead of preload for svgs (#765 )"
This reverts commit b73dd548ae
.
* Revert "perf: build separate icons.svg file (#762 )"
This reverts commit ee45c07314
.
* move svg to end of 2xx.html
2018-12-10 00:13:54 -08:00
Nolan Lawson
1d34d45da7
fix(icons): fix icons.svg url ( #769 )
...
in #762 I forgot to set the absolute path for these; it fails on
subpages
2018-12-08 20:04:32 -08:00
Nolan Lawson
8eb30d02e9
chore: cleanup travis scripts ( #766 )
...
* chore: cleanup travis scripts
* remove unused script
2018-12-08 17:15:01 -08:00
Nolan Lawson
ee45c07314
perf: build separate icons.svg file ( #762 )
2018-12-08 12:46:16 -08:00
Nolan Lawson
7876f82871
fix: build inline script using Rollup ( #761 )
...
* fix: build inline script using Rollup
This reduces code duplication and allows the theme engine to work the
same without modifying the code in two places. It does extra extra deps,
but I tried to keep them to a minimum.
* change code comment
* remove unnecessary constant
2018-12-08 11:21:54 -08:00
Nolan Lawson
34cfaf27b3
fix: make inline media changes suggested in #747 ( #760 )
2018-12-08 09:44:12 -08:00
sgenoud
530ad6b35c
feat: Allow Media to be shown in a grid (as an option) ( #747 )
...
* Allow Media to be shown in a grid
* Bring back the sidebar for ungrouped images
2018-12-08 09:42:38 -08:00
Nolan Lawson
ab548a0a5d
fix(scroll): slightly tweak flicker fix ( #758 )
2018-12-08 07:53:14 -08:00
Nolan Lawson
99c44f348a
fix(scroll): improve flicker on back navigation ( #756 )
...
* fix(scroll): improve flicker on back navigation
It's still not perfect in Firefox for Android, but it's improved.
Partial fix for #753
* the double raf makes no difference here
2018-12-07 23:23:48 -08:00
Nolan Lawson
4b028b1a62
fix: use native smooth scroll when possible ( #751 )
2018-12-07 08:20:16 -08:00
Nolan Lawson
0e524f3e9a
fix: detect private browsing and safari blocked cookies ( #733 )
...
* WIP: detect private browsing and safari blocked cookies
* just check for indexeddb
* just check for indexeddb
* change warning text
* change text
* change text again
* change text again
fixes #444
2018-12-05 21:34:30 -08:00
Nolan Lawson
c0f857336a
fix: error msg when logging in to same instance ( #735 )
2018-12-05 21:34:02 -08:00
Nolan Lawson
f7164dd4c0
fix(observers): refactor instance observers, minor optimizations ( #730 )
...
try to defer more work, split everything up into more functional code for easier reading
2018-12-05 00:21:54 -08:00
Nolan Lawson
ef32bfb278
fix(a11y): fix a11y issues caught by lighthouse ( #729 )
2018-12-04 22:31:46 -08:00
sgenoud
03d883423c
feat(themes): Add the Pitch Black theme ( #727 )
...
This theme is made with mobile OLED screens (iPhone XS for instance)
2018-12-04 20:40:47 -08:00
Nolan Lawson
aae73f0cc6
fix(design): "add instance" input has dark bg on dark theme ( #726 )
...
fixes #723
2018-12-04 07:25:22 -08:00
Nolan Lawson
d83d7322dc
Revert "chore(store): clean up usage of svelte store ( #713 )" ( #725 )
...
This reverts commit 36d90d34e5
.
Fixes #724
2018-12-04 07:24:55 -08:00
Nolan Lawson
618ea31a57
chore: refactor instance observer code, remove double call ( #722 )
2018-12-04 06:44:19 -08:00
Nolan Lawson
09f3281e36
chore(package): use events-lights instead of events ( #721 )
2018-12-04 06:44:13 -08:00
Nolan Lawson
60751b3339
feat(statuses): implement "Delete and redraft" ( #719 )
...
Fixes #469
2018-12-03 23:23:29 -08:00
Nolan Lawson
92edb3d835
fix(firefox): fix firefox with blocked images ( #718 )
...
* fix(firefox): fix firefox with blocked images
* remove excessive perf marks
* fixup
* fix lint
2018-12-03 23:08:38 -08:00
Nolan Lawson
da7a29d503
chore: refactor PR #716 ( #717 )
2018-12-02 23:19:15 -08:00
Nolan Lawson
e894e031fb
feat(a11y): add option to disable tappable toots ( #716 )
...
fixes #163 . also fixed the issue where selecting text would cause the toot to be tapped
2018-12-02 21:12:58 -08:00
Nolan Lawson
b22a1ec90c
fix(iOS): fix faux-sticky button placement ( #715 )
...
hopefully the final fix for #667 to make it actually work
2018-12-02 15:57:39 -08:00
Nolan Lawson
26b84c435a
fix(design): use dark compose button halo on dark themes ( #714 )
...
Also only show the halo when we're actually scrolled down, because the
point is to make it more visible against arbitrary content.
2018-12-02 14:25:40 -08:00
Nolan Lawson
36d90d34e5
chore(store): clean up usage of svelte store ( #713 )
2018-12-02 14:25:35 -08:00
Nolan Lawson
945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS ( #711 )
...
fixes #667
2018-12-02 11:22:18 -08:00
Nolan Lawson
ce61b821c5
feat(ui): add option to always show sensitive media ( #709 )
...
fixes #699 . I also went ahead and divided the settings into two groups: Preferences and Accessibility
2018-12-01 14:09:08 -08:00
Nolan Lawson
f3254bb22d
feat(settings): add theme settings to general ( #706 )
2018-12-01 12:57:00 -08:00
Nolan Lawson
153e4f4fcd
feat(a11y): add option for short article aria labels ( #705 )
...
Actually fixes #694 by providing an option to make the labels like they used to be.
2018-12-01 11:53:20 -08:00
Nolan Lawson
0515133ece
fix(a11y): fix NVDA crash on long aria-label ( #702 )
...
* fix(a11y): fix NVDA crash on long aria-label
fixes #694
* use the word truncated instead of ellipsis
* fix test
* really fix tests
2018-12-01 00:10:30 -08:00
Nolan Lawson
e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style ( #701 )
...
fixes #698 and fixes #700
2018-11-27 19:17:18 -08:00
Nolan Lawson
7f1ec6036d
fix(a11y): default "prefers reduced motion" to OS/browser default ( #696 )
...
fixes #695
2018-11-26 13:13:52 -08:00
Nolan Lawson
9c74a072bf
fix(emojos): actually fix trademark character ( #693 )
...
another fix for #679
2018-11-25 12:35:52 -08:00
Nolan Lawson
41d7e40662
fix(deps): remove timeago.js ( #692 )
2018-11-25 10:33:59 -08:00
Nolan Lawson
cc81a7bec6
fix(a11y): improved aria-label for status and notifications ( #690 )
...
* fix(a11y): improved aria-label for status and notifications
fixes #689
* only calculate formatted date once
* fixup tests
* fixup tests more
* fixup
* fixup tests again
2018-11-25 01:20:58 -08:00
Nolan Lawson
48a1bd47b3
refactor(themes): use CSS specificity order for themes ( #684 )
...
The point of this PR is to make it easier to implement scrollbars (#683 ).
With this PR, the themes move from a body tag-based system (e.g. `body.theme-scarlet`) to a system where they simply declare global CSS and we use CSS specificity order to give us the right theme.
2018-11-24 00:41:36 -08:00
Nolan Lawson
f0b3115be1
fix(scrolling): fix body scrollable when modal is open ( #681 )
...
Fixes #680
2018-11-23 21:33:03 -08:00
Nolan Lawson
e3debcc5e1
fix(emoji): fix ™® characters treated as emoji ( #682 )
...
fixes #679
2018-11-23 21:32:57 -08:00
Nolan Lawson
689dae5d39
fix(dialog): when dialog is hidden, don't scroll to top ( #672 )
...
* fix(dialog): when dialog is hidden, don't scroll to top
* update package-lock.json
2018-11-21 00:33:46 -08:00
Nolan Lawson
3dae883761
fix(emoji): asterisk should not be treated as emoji ( #668 )
2018-11-20 22:41:41 -08:00
Nolan Lawson
d9e79daa6a
fix(emoji): emoji replacer should ignore pound sign ( #666 )
...
* fix(emoji): emoji replacer should ignore pound sign
* add test
* fix regex
2018-11-20 09:42:49 -08:00
Nolan Lawson
5f5cb0d36d
fix(scroll): fix offsetHeight for scrolling whole document ( #664 )
2018-11-20 08:58:13 -08:00
Nolan Lawson
20ae390308
fix(design): input bg should be white on "add instance" page ( #663 )
2018-11-20 07:54:40 -08:00
Nolan Lawson
4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows ( #661 )
...
* fix(emojos): fix emojos on Ubuntu and Chrome on Windows
* fixup
* start working on unit tests
* fixup
* add more tests and fix emoji
2018-11-20 00:01:23 -08:00
Nolan Lawson
639c6eaed7
fix(eventBus): increase event listeners to 1000 ( #657 )
2018-11-18 09:07:32 -08:00
Nolan Lawson
b7f5d04b4c
fix(scrolling): use body as scrolling container ( #656 )
...
* fix(scrolling): use body as scrolling container
Fixes #526
* fixup tests and focus
2018-11-17 18:06:49 -08:00
Nolan Lawson
c1820f62f7
fix(design): fix large metadata cells ( #655 )
...
fixes #654
2018-11-17 12:24:09 -08:00
Nolan Lawson
92d2dbddfc
perf(virtuallist): add contain:content to virtual list items ( #650 )
...
* perf(virtuallist): add contain:content to virtual list items
* add a few more contain:contents
2018-11-16 00:37:28 -08:00
Nolan Lawson
62ac7330fc
feat(title): add dynamic document title ( #645 )
...
* feat(title): add dynamic document title
fixes #490 and #643
* fix code style
2018-11-12 18:28:43 -08:00