Commit graph

2136 commits

Author SHA1 Message Date
sgenoud 94d0590070 Fix the Pitch Black buttons color (#773)
Fix #757
2018-12-10 20:52:24 -08:00
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 6a69b193d5
chore: fix wrong order in now alias command (#770) 2018-12-09 10:39:20 -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 481a567807
chore: fix travis deploy script (#768) 2018-12-08 18:07:50 -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 b73dd548ae
perf: use prefetch instead of preload for svgs (#765) 2018-12-08 16:04:11 -08:00
Nolan Lawson ee45c07314
perf: build separate icons.svg file (#762) 2018-12-08 12:46:16 -08:00
Nolan Lawson dd349e2ae3
chore(tests): update mastodon to v2.6.5 (#764)
* chore(tests): update mastodon to v2.6.5

* fix for travis cache of mastodon git repo
2018-12-08 12:46:00 -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 7954a63588
chore(package): update sapper's deps (#755) 2018-12-07 23:24:28 -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
greenkeeper[bot] 2280ff2832 Update css-loader to the latest version 🚀 (#749)
* fix(package): update css-loader to version 2.0.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:23 -08:00
greenkeeper[bot] 495d9b7438 Update mini-css-extract-plugin to the latest version 🚀 (#748)
* fix(package): update mini-css-extract-plugin to version 0.5.0

* chore(package): update lockfile package-lock.json
2018-12-07 07:55:14 -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 0f0db010eb 0.13.0 2018-12-04 07:26:12 -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 ee3dfd8e28 0.12.0 2018-12-02 16:14:10 -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 ef656301f6
fix(a11y): decrease brightness of hacker theme (#712)
fixes #576
2018-12-02 14:25:30 -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 537ad208a3
chore(editor): add an editorconfig (#710) 2018-12-01 23:06:34 -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 a760687c6d
chore(tests): make focus test less flaky (#708) 2018-12-01 12:56:55 -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 12892d0032
chore(package): update to webpack 4.26.1 (#703) 2018-12-01 00:00:11 -08:00
Nolan Lawson ea4e21281f
chore(package): update now to 12.1.8 (#704) 2018-12-01 00:00:05 -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 58f9c09bb8
fix(scrollbars): use standard CSS for scrollbars (#697)
Also use correct SCSS escaping everywhere, and fix a missing semicolon. Fixes #691
2018-11-26 13:15:33 -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