Commit graph

808 commits

Author SHA1 Message Date
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
c0f857336a
fix: error msg when logging in to same instance () 2018-12-05 21:34:02 -08:00
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
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
aae73f0cc6
fix(design): "add instance" input has dark bg on dark theme ()
fixes 
2018-12-04 07:25:22 -08:00
d83d7322dc
Revert "chore(store): clean up usage of svelte store ()" ()
This reverts commit 36d90d34e5.

Fixes 
2018-12-04 07:24:55 -08:00
618ea31a57
chore: refactor instance observer code, remove double call () 2018-12-04 06:44:19 -08:00
09f3281e36
chore(package): use events-lights instead of events () 2018-12-04 06:44:13 -08:00
60751b3339
feat(statuses): implement "Delete and redraft" ()
Fixes 
2018-12-03 23:23:29 -08:00
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
da7a29d503
chore: refactor PR () 2018-12-02 23:19:15 -08:00
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
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
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
36d90d34e5
chore(store): clean up usage of svelte store () 2018-12-02 14:25:35 -08:00
945c1e7a23
fix(iOS): fix horizontal scroll, use fake sticky button on iOS ()
fixes 
2018-12-02 11:22:18 -08:00
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
f3254bb22d
feat(settings): add theme settings to general () 2018-12-01 12:57:00 -08:00
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
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
e44cafb5fb
feat(scrollbars): add option to disable scrollbars, fix macOS style ()
fixes  and fixes 
2018-11-27 19:17:18 -08:00
7f1ec6036d
fix(a11y): default "prefers reduced motion" to OS/browser default ()
fixes 
2018-11-26 13:13:52 -08:00
9c74a072bf
fix(emojos): actually fix trademark character ()
another fix for 
2018-11-25 12:35:52 -08:00
41d7e40662
fix(deps): remove timeago.js () 2018-11-25 10:33:59 -08:00
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
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
f0b3115be1
fix(scrolling): fix body scrollable when modal is open ()
Fixes 
2018-11-23 21:33:03 -08:00
e3debcc5e1
fix(emoji): fix ™® characters treated as emoji ()
fixes 
2018-11-23 21:32:57 -08:00
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
3dae883761
fix(emoji): asterisk should not be treated as emoji () 2018-11-20 22:41:41 -08:00
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
5f5cb0d36d
fix(scroll): fix offsetHeight for scrolling whole document () 2018-11-20 08:58:13 -08:00
20ae390308
fix(design): input bg should be white on "add instance" page () 2018-11-20 07:54:40 -08:00
4124da2439
fix(emojos): fix emojos on Ubuntu and Chrome on Windows ()
* 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
639c6eaed7
fix(eventBus): increase event listeners to 1000 () 2018-11-18 09:07:32 -08:00
b7f5d04b4c
fix(scrolling): use body as scrolling container ()
* fix(scrolling): use body as scrolling container

Fixes 

* fixup tests and focus
2018-11-17 18:06:49 -08:00
c1820f62f7
fix(design): fix large metadata cells ()
fixes 
2018-11-17 12:24:09 -08:00
92d2dbddfc
perf(virtuallist): add contain:content to virtual list items ()
* perf(virtuallist): add contain:content to virtual list items

* add a few more contain:contents
2018-11-16 00:37:28 -08:00
62ac7330fc
feat(title): add dynamic document title ()
* feat(title): add dynamic document title

fixes  and 

* fix code style
2018-11-12 18:28:43 -08:00
c54aaf2fa4
fix(video): stop playing video when modal closed ()
fixes 
2018-11-12 16:20:59 -08:00
94baf9e396
feat(metadata): add verified metadata checkmark ()
fixes 
2018-11-12 16:20:54 -08:00
0964442815
chore(travis): update to mastodon v2.6.1 ()
* 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
4fe0cf3f18
fix: fix null reference error in Safari/Edge ()
fixes 
2018-11-05 08:28:38 -08:00
dfacbdaaa5
Slight changes to theme settings hint () 2018-11-04 15:57:05 -08:00
c1c3c755ce
reduce limit of stored data to 5 days () 2018-11-04 14:41:22 -08:00
bc3a74bbcb don't wait if idb is blocked, remove workerize-loader ()
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 ()
* 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 (  , 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
bf0eb99fe4
refactor instance settings () 2018-10-28 15:28:22 -07:00
Sorin Davidoi
e45af16bf9 Push notifications ()
* feat: Push notifications

* feat: Feature-detect push notifications support

* feat: Prompt user to reauthenticate when missing push scope

* fix(service-worker): Add tags to notifications

* feat: Push notification actions for mentions
2018-10-06 13:06:10 -07:00