Commit graph

1369 commits

Author SHA1 Message Date
greenkeeper[bot] 495d9b7438 Update mini-css-extract-plugin to the latest version 🚀 ()
* 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 ()
* 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 
2018-12-05 21:34:30 -08:00
Nolan Lawson c0f857336a
fix: error msg when logging in to same instance () 2018-12-05 21:34:02 -08:00
Nolan Lawson f7164dd4c0
fix(observers): refactor instance observers, minor optimizations ()
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 () 2018-12-04 22:31:46 -08:00
sgenoud 03d883423c feat(themes): Add the Pitch Black theme ()
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 ()
fixes 
2018-12-04 07:25:22 -08:00
Nolan Lawson d83d7322dc
Revert "chore(store): clean up usage of svelte store ()" ()
This reverts commit 36d90d34e5.

Fixes 
2018-12-04 07:24:55 -08:00
Nolan Lawson 618ea31a57
chore: refactor instance observer code, remove double call () 2018-12-04 06:44:19 -08:00
Nolan Lawson 09f3281e36
chore(package): use events-lights instead of events () 2018-12-04 06:44:13 -08:00
Nolan Lawson 60751b3339
feat(statuses): implement "Delete and redraft" ()
Fixes 
2018-12-03 23:23:29 -08:00
Nolan Lawson 92edb3d835
fix(firefox): fix firefox with blocked images ()
* 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 () 2018-12-02 23:19:15 -08:00
Nolan Lawson e894e031fb
feat(a11y): add option to disable tappable toots ()
fixes . 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 ()
hopefully the final fix for  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 ()
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 () 2018-12-02 14:25:35 -08:00
Nolan Lawson ef656301f6
fix(a11y): decrease brightness of hacker theme ()
fixes 
2018-12-02 14:25:30 -08:00
Nolan Lawson 945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS ()
fixes 
2018-12-02 11:22:18 -08:00
Nolan Lawson 537ad208a3
chore(editor): add an editorconfig () 2018-12-01 23:06:34 -08:00
Nolan Lawson ce61b821c5
feat(ui): add option to always show sensitive media ()
fixes . 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 () 2018-12-01 12:57:00 -08:00
Nolan Lawson a760687c6d
chore(tests): make focus test less flaky () 2018-12-01 12:56:55 -08:00
Nolan Lawson 153e4f4fcd
feat(a11y): add option for short article aria labels ()
Actually fixes  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 ()
* fix(a11y): fix NVDA crash on long aria-label

fixes 

* 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 () 2018-12-01 00:00:11 -08:00
Nolan Lawson ea4e21281f
chore(package): update now to 12.1.8 () 2018-12-01 00:00:05 -08:00
Nolan Lawson e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style ()
fixes  and fixes 
2018-11-27 19:17:18 -08:00
Nolan Lawson 58f9c09bb8
fix(scrollbars): use standard CSS for scrollbars ()
Also use correct SCSS escaping everywhere, and fix a missing semicolon. Fixes 
2018-11-26 13:15:33 -08:00
Nolan Lawson 7f1ec6036d
fix(a11y): default "prefers reduced motion" to OS/browser default ()
fixes 
2018-11-26 13:13:52 -08:00
Nolan Lawson 9c74a072bf
fix(emojos): actually fix trademark character ()
another fix for 
2018-11-25 12:35:52 -08:00
Nolan Lawson 41d7e40662
fix(deps): remove timeago.js () 2018-11-25 10:33:59 -08:00
Nolan Lawson cc81a7bec6
fix(a11y): improved aria-label for status and notifications ()
* fix(a11y): improved aria-label for status and notifications

fixes 

* only calculate formatted date once

* fixup tests

*  fixup tests more

* fixup

* fixup tests again
2018-11-25 01:20:58 -08:00
Nolan Lawson 2db06ea472
chore(package): update npm-run-all to version 4.1.5 ()
* chore(package): update npm-run-all to version 4.1.5

* chore(package): update lockfile package-lock.json
2018-11-24 21:21:42 -08:00
Nolan Lawson bfa37f5105
fix(design): tweak scrollbar colors () 2018-11-24 09:33:07 -08:00
Nolan Lawson 2569b59b32
feat(design): add custom scrollbars for each theme ()
* feat(design): add custom scrollbars for each theme

fixes 

* improve contrast of hotpants theme
2018-11-24 01:39:00 -08:00
Nolan Lawson 48a1bd47b3
refactor(themes): use CSS specificity order for themes ()
The point of this PR is to make it easier to implement scrollbars ().

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 ()
Fixes 
2018-11-23 21:33:03 -08:00
Nolan Lawson e3debcc5e1
fix(emoji): fix ™® characters treated as emoji ()
fixes 
2018-11-23 21:32:57 -08:00
Nolan Lawson 999d560703 0.11.1 2018-11-21 22:09:36 -08:00
Nolan Lawson bae367da7b
test: make tests less flaky () 2018-11-21 22:08:37 -08:00
Nolan Lawson 673e7b951c
chore(package): update deps () 2018-11-21 20:53:43 -08:00
Nolan Lawson 83d92711e1
fix(safari): fix sticky-positioned button ()
fixes 
2018-11-21 07:27:56 -08:00
Nolan Lawson 689dae5d39
fix(dialog): when dialog is hidden, don't scroll to top ()
* 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 5fdba9366a
fix(scroll): prevent horizontal scroll in mobile safari/firefox ()
* fix(scroll): prevent horizontal scroll in mobile safari/firefox

fixes 

* fix safari vs non-safari browsers
2018-11-21 00:17:59 -08:00
Nolan Lawson 3dae883761
fix(emoji): asterisk should not be treated as emoji () 2018-11-20 22:41:41 -08:00
Nolan Lawson 35a42c9fd3
fix(emoji): fix textarea emoji on linux () 2018-11-20 22:41:32 -08:00
Nolan Lawson d9e79daa6a
fix(emoji): emoji replacer should ignore pound sign ()
* fix(emoji): emoji replacer should ignore pound sign

* add test

* fix regex
2018-11-20 09:42:49 -08:00