Commit graph

57 commits

Author SHA1 Message Date
Nolan Lawson
ea58242b85
fix: fix malformed URLs in statuses (#1385)
fixes #1384
2019-08-11 11:09:51 -07:00
Nolan Lawson
98e02cf650
perf: avoid measureText() where possible (#1375) 2019-08-07 09:11:15 -07:00
Nolan Lawson
00945a3608
chore: update standard to v13 (#1370) 2019-08-03 13:49:37 -07:00
Louise de Beaufort
53f0fdf1a8 fix: Fix the style of blockquotes, ul and li in toots (#1348)
* Fix the style of blockquotes, ul and li in toots

* fixup based on review comments

fixes #1324
2019-07-21 15:31:05 -07:00
Nolan Lawson
ade28cca5d
fix: remove useless noop methods (#1325) 2019-07-08 19:26:37 -07:00
Nolan Lawson
68343a7a09
fix: use pure CSS for focus effect (#1323)
* fix: use pure CSS for focus effect

fixes #1322

* apply elsewhere too

* fix comment
2019-07-08 09:42:45 -07:00
Nolan Lawson
7fd6cdc22c
fix: fix event propagation for click delegates (#1317)
fixes #1316
2019-07-07 17:32:50 -07:00
Nolan Lawson
e5125a5a63
fix: fix poll color inside of notifications (#1304)
fixes #1271
2019-07-07 11:06:52 -07:00
Nolan Lawson
d31f2ce010
feat: add support for audio attachments (#1293)
This is a new thing in Mastodon v2.9. I kept the "camera" icon because I like it better than the paperclip, and I think it covers the 99% use case.
2019-06-23 09:41:31 -07:00
Nolan Lawson
a35f5ee2d9
feat: implement wellness settings (#1256)
* implement wellness settings

fixes #1192

Adds
- grayscale mode (as well as separate grayscale/dark grayscale
themes)
- disable follower/boost/fav counts (follower counts capped at 10)
- disable unread notification count (red dot)

* fix lint

* fix crawler
2019-06-01 13:07:31 -07:00
Nolan Lawson
8672ade314
fix: unescape html in card titles/descriptions (#1252) 2019-05-28 22:24:16 -07:00
Nolan Lawson
34e82cbaf2
fix: statuses in own thread should not have cursor:pointer (#1250) 2019-05-27 17:38:59 -07:00
Nolan Lawson
37d3cac7d2
fix: add tests for polls, improve a11y of poll form (#1239) 2019-05-27 12:31:35 -07:00
Nolan Lawson
2c1de66592
feat: vote on polls (#1234)
more work on #1130
2019-05-26 20:45:42 -07:00
Nolan Lawson
45441d3a9e
fix: show poll results, time remaining, allow refresh (#1233)
more work towards #1130
2019-05-26 18:48:04 -07:00
Nolan Lawson
dac4b493c8
fix: poll for updates to timeago displays (#1232)
* fix: poll for updates to timeago displays

* code cleanup

* avoid some recomputes

* avoid costly recomputes
2019-05-26 16:01:14 -07:00
Nolan Lawson
8f477eeccb
feat: add poll notifications (#1229)
more work on #1130
2019-05-26 09:54:35 -07:00
Nolan Lawson
c18168d913
fix: tweak poll results style and fix a11y (#1220) 2019-05-25 13:20:45 -07:00
sgenoud
af955492e8 feat: Add poll results to a status (#1219) 2019-05-25 08:36:44 -07:00
Nolan Lawson
ecaeec226c
feat: add option to disable open graph cards (#1161)
fixes #1155
2019-04-20 09:12:42 -07:00
sgenoud
2ce2453d8f fix: Unstretch the card image (#1157)
Fix #1156
2019-04-20 07:52:14 -07:00
Nolan Lawson
b3098c8c5a fix: tweaks to conversations (direct) UI (#1137)
- make the url `/direct`
- call it "Direct messages"
- fix sapper export
- retain DM background color
- add test
2019-04-13 15:30:49 -07:00
Steve Genoud
622dbde258 feat: Adds a basic conversations timeline (#1137)
fixes #639
2019-04-13 15:30:49 -07:00
sgenoud
79184570b1 fix: Manage the width to take scrollbars into account (#1138)
* Manage the width to take scrollbars into account

* Additional modal layout styles changes
2019-04-13 11:02:25 -07:00
sgenoud
5642b10c72 fix: Add hostname when description is missing (#1145) 2019-04-10 07:57:37 -07:00
sgenoud
49b0633a8d feat: Add a shortcut to opening the cards link (#1134)
* Add a shortcut to opening the cards link

* minor aesthetic tweaks
2019-04-10 07:56:24 -07:00
sgenoud
1dec3b55f9 fix: Remove placeholder for cards without images (#1135)
* Remove placeholder for cards without images

* remove no longer needed svg
2019-04-08 19:14:18 -07:00
Nolan Lawson
8549c3a79a
fix: add placeholder icon for opengraph cards without images (#1131) 2019-04-01 20:48:41 -07:00
Nolan Lawson
44c45d0b64
fix: slight tweaks to opengraph card (#1128) 2019-03-31 14:11:24 -07:00
sgenoud
6bae770bf5 feat: Add support for Open Graph cards (#1121)
* Add support for Open Graph cards

* use <strong> and aria-hidden on image to improve a11y
2019-03-31 12:04:24 -07:00
Nolan Lawson
c896836ce8
fix: fix spaces in status aria-labels (#1111)
fixes #1108
2019-03-21 14:38:37 -07:00
Nolan Lawson
f0af8178af
feat: implement "." keyboard shortcut (#1105)
fixes #1052
2019-03-18 09:09:24 -07:00
Nolan Lawson
8b0dd86605
fix: fix media button focus outline (#1103)
fixes #1037
2019-03-17 12:37:19 -07:00
Nolan Lawson
880bc7a38a
perf: use a separate icons.svg file (#1067)
* perf: use a separate icons.svg file

This splits icons into inline and non-inline. The inline ones are high
priority; the rest go in an icons.svg file.

* create SvgIcon.html

* determine inlined svgs at build time
2019-03-02 19:02:06 -08:00
Nolan Lawson
63003c3763
fix: fix aria-posinset should be 1-based (#1055)
* fix: fix aria-posinset should be 1-based

fixes #1053

* second attempt to fix tests

* try to fix test

*  fixup

* lint fix

* fix more tests

* simplify test math
2019-02-28 08:56:25 -08:00
Nolan Lawson
8c37a7cc02
refactor: refactor parent focus styles (#1036) 2019-02-23 12:50:56 -08:00
Nolan Lawson
56162c7a69
fix: fix timeline jumping on focus (#1039)
This should fix #840. I can't see any reason why we would want it to scroll when we're focusing these things.
2019-02-23 12:32:18 -08:00
Nolan Lawson
547ee14f88
refactor: use ids instead of attrs for delegate/shortcut/focus (#1035)
* refactor: use ids instead of attrs for delegate/shortcut/focus

fixes #1034

* console log on error

* fix test
2019-02-23 12:32:00 -08:00
Nolan Lawson
c9ca605cfe
fix: fix keyboard shortcuts for pinned toots (#1033)
* fix: fix keyboard shortcuts for pinned toots

fixes #908

* fix test
2019-02-23 09:47:36 -08:00
Nolan Lawson
e16c312788
fix: use focus ring rather than background for status/notifications (#1030)
I don't like clicking on a status, clicking back, and suddenly it has a
different background. The focus ring is less distracting. Unfortunately
it doesn't look right on the article element itself, so we have to apply
the style to its parent, but that's not too hard.
2019-02-22 20:35:04 -08:00
Nolan Lawson
42e466f3c2
fix: j/k shortcuts correctly set active element (#1028)
fixes #1018
2019-02-21 23:50:27 -08:00
Nolan Lawson
df09b0a995
perf: prefetch all internal links (#981) 2019-02-13 18:40:02 -08:00
Nolan Lawson
9cb15a3396
fix: fix hand cursor on non-tappable status (#955)
fixes #951
2019-02-09 17:31:24 -08:00
Nolan Lawson
9d594f0bac
feat: add carousel for media modal (#928) 2019-02-02 23:03:40 -08:00
Nolan Lawson
648d9a3cf6
fix: tweak underlining of links (#920) 2019-01-26 13:50:45 -08:00
Nolan Lawson
74ab056f18
fix: fix notification m/p keyboard shortcuts (#907)
fixes #905
2019-01-19 23:52:39 -08:00
Nolan Lawson
45d70e8e6b
feat: add more keyboard shortcuts (#904)
* feat: add more keyboard shortcuts

largely fixes #895

* oops wrong test name
2019-01-19 16:40:31 -08:00
Nolan Lawson
b014778761
fix: fix keyboard shortcuts in notifications (#903)
fixes #894
2019-01-19 16:04:06 -08:00
Nolan Lawson
cb58a49c04
fix: use more consistent method for checking external links (#893) 2019-01-13 17:11:27 -08:00
Will Pearson
cb35a088f4 Make external links open in new tab (#892) 2019-01-13 16:05:41 -08:00