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
Nolan Lawson
c54aaf2fa4
fix(video): stop playing video when modal closed ( #640 )
...
fixes #622
2018-11-12 16:20:59 -08:00
Nolan Lawson
94baf9e396
feat(metadata): add verified metadata checkmark ( #642 )
...
fixes #641
2018-11-12 16:20:54 -08:00
Nolan Lawson
0964442815
chore(travis): update to mastodon v2.6.1 ( #630 )
...
* chore(travis): update to mastodon v2.6.1
* check if mastodon v2.6.1 has a race condition
* apparently in 2.6.1 direct messages no longer appear in home timeline
* Revert "check if mastodon v2.6.1 has a race condition"
This reverts commit dde8ef8be58eda0563170e6b73165fdcbea54f6b.
* try to fix tests
* fix more tests
2018-11-12 12:59:47 -08:00
Nolan Lawson
4fe0cf3f18
fix: fix null reference error in Safari/Edge ( #618 )
...
fixes #617
2018-11-05 08:28:38 -08:00
Nolan Lawson
dfacbdaaa5
Slight changes to theme settings hint ( #591 )
2018-11-04 15:57:05 -08:00
Nolan Lawson
c1c3c755ce
reduce limit of stored data to 5 days ( #597 )
2018-11-04 14:41:22 -08:00
Nolan Lawson
bc3a74bbcb
don't wait if idb is blocked, remove workerize-loader ( #602 )
...
There are two issues here:
- if IDB is blocked, then the promise never resolves when you log out (and call indexedDB.deleteDatabase) and the app remains in a permanently hung state
- why is IDB blocked? well, something seems to have changed in Chrome 70 such that doing these operations in a web worker causes the blocked error. The benefits of workerizing IDB is so small that I'd rather just remove it at this point.
2018-11-04 13:59:14 -08:00
Pheng Heong TAN
c305a9827a
Provide directions to change the theme ( #585 )
...
* Add directions to change themes
The page 'general' was the first place I looked when I
wanted to change the theme. Not managing to find it,
I went on a search throughout various issues ( #46 , for
example) on Github before locating it.
Now I hope to spare others the search
* Hint the user about themes
When I was on this page, it wasn't immediately apparent
to me that the SettingsListItem was clickable (I thought it
was a list rather than a button)
2018-10-28 15:34:34 -07:00