Wykres commitów

115 Commity (5eb718304895fe930cd4b98c71a2076016fa64e8)

Autor SHA1 Wiadomość Data
Ringtail Software 5eb7183048
feat: make click on reposter's small avatar image go to reposter's account page (#2260)
Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-11-27 13:22:13 -08:00
Nick Colley b543399e0a
fix: hide invisible content consistently (#2254)
Some other parts of the interface for example URLs in profiles
use the invisible class, move this to the top level global file
so it'll be applied everywhere.
2022-11-25 12:03:26 -08:00
Nick Colley bc664e5ca1
fix: don't rely on colour for boost/favourite state (#2234)
By changing the shape it means no matter what the colour difference between
pressed and non-pressed it'll be possible to know the state.

Co-authored-by: Nolan Lawson <nolan@nolanlawson.com>
2022-11-24 09:20:35 -08:00
Nolan Lawson a318746961
chore: update dev dependencies (#2200) 2022-11-18 09:32:31 -08:00
Nolan Lawson 601c3e40c9
fix: recalculate toot height after voting on poll (#2198) 2022-11-17 19:57:26 -08:00
Nolan Lawson 1c6387a0a4
fix: show proper text for signup notifications (#2182) 2022-11-13 07:00:37 -08:00
Nolan Lawson 19e466aa90
fix(a11y): add aria-live for keyboard shortcuts (#2176)
Fixes #2163
2022-11-12 09:47:02 -08:00
Nolan Lawson 5fd8d0ac23
fix: invalid date strings (#2145)
* fix: invalid date strings

Fixes #2113

* fix: polls without expiry date

Fixes #2112
2022-05-14 11:27:32 -07:00
Nolan Lawson 78687479df
fix: hide embeds in spoilered statuses (#2143)
Fixes #2142
2022-05-07 10:04:57 -07:00
Nolan Lawson 135c51a856
fix: fix votes count on Misskey polls (#2138) 2022-05-01 10:19:57 -07:00
Nolan Lawson c67be9acc2 fix: fix bell notifications, add tests 2022-05-01 08:54:37 -07:00
Nolan Lawson 331f6e8803
fix: fix multiple-choice poll results (#2101)
Fixes #2100
2022-01-02 16:00:41 -08:00
Nolan Lawson 16e66346d7
fix!: remove esm package, use native Node ES modules (#2064)
BREAKING CHANGE: Node v12.20+, v14.14+, or v16.0+ is required

* fix!: remove esm package, use native Node ES modules

* fix: fix some CJS imports
2021-07-04 20:19:04 -07:00
Nolan Lawson c815292b0b
fix: fix aria-labels on relative timestamps (#2028) 2021-04-02 17:01:08 -07:00
Nolan Lawson 69ef9f2798
fix: initialize all Intl formatters lazily (#2026)
fixes #2024
2021-04-02 11:02:01 -07:00
Nolan Lawson 081df2bf82
fix: use day-only time format for wellness setting (#2021)
* fix: use day-only time format for wellness setting

* fix: tweak intl strings

[skip ci]

* test: add test
2021-03-21 18:03:53 -07:00
Calvin Walton 1aa06bc041
feat: add a Wellness option to show absolute timestamps instead of relative (#2014)
Relative timestamps can cause you to feel that things are especially
interesting because they are happening "right now"; the effect is
lessened if you see absolute timestamps instead.

This fixes #2011
2021-03-21 15:06:45 -07:00
Nolan Lawson 8c09ede2d4
feat: implement shortcut for opening/closing all CWs (#1973)
Fixes #1914
2021-02-27 18:31:53 -08:00
Nolan Lawson 0022286b46
fix: first stab at i18n, extract English strings, add French (#1904)
* first attempt

* progress

* working

* working

* test timeago

* rm

* get timeago working

* reduce size

* fix whitespace

* more intl stuff

* more effort

* more work

* more progress

* more work

* more intl

* set lang=LOCALE

* flatten

* more work

* add ltr/rtl

* more work

* add comments

* yet more work

* still more work

* more work

* fix tests

* more test and string fixes

* fix test

* fix test

* fix test

* fix some more strings, add test

* fix snackbar

* fix }

* fix typo

* fix english

* measure perf

* start on french

* more work on french

* more french

* more french

* finish french

* fix some missing translations

* update readme

* fix test
2020-11-29 14:13:27 -08:00
Nolan Lawson 006f0deee8
fix: fix tappable area between toolbar buttons (#1893)
fixes #1884

If "disable entire toot area" is on, then the cursor becomes default between the buttons, and clicking does nothing. If it is off (default), then the cursor is always pointer and clicking between the buttons clicks the whole toot.
2020-11-14 17:22:12 -08:00
Nolan Lawson 870fa0e93c
feat: add "i" as shortcut to open media (#1890)
fixes #1883
2020-11-14 14:13:38 -08:00
Nolan Lawson 1371175bce
feat: use emoji-picker-element, add emoji autocompletions/tooltips (#1804)
* feat: use emoji-picker-element, add emoji autocompletions/tooltips

* fix: fix lint bug

* test: fix emoji in chrome on linux in travis

* test: try bionic in travis

* chore: try to fix travis

* chore: try to fix travis

* fix: filter unsupported emoji

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* chore: try to fix travis

* Revert "chore: try to fix travis"

This reverts commit 3cd2d94469.

* fix: fix emoji autosuggest

* test: fix test
2020-06-28 23:12:14 -07:00
Nolan Lawson dacd9dcc5b
fix: fix polls with content warnings (#1768)
* fix: fix polls with content warnings

fixes #1766

* fixup
2020-05-10 19:41:55 -07:00
Nolan Lawson e1532ed9d1
perf: calculate plaintext from HTML content in advance in rIC (#1748)
On the Nexus 5 especially, this ensures we no longer have nearly so many
"long tasks" (i.e. responsiveness is better). It moves html-to-txt
calculation to the same step as blurhash decoding, where it can be done
in requestIdleCallback (heck, maybe someday it could just be done in a
worker thread as well).
2020-04-26 18:30:49 -07:00
Nolan Lawson 1f0d67fcc4
feat: aria-labels and buttons contain more media info (#1743)
* feat: aria-labels and buttons contain more media info

fixes #1733

* fix lint
2020-04-25 19:03:39 -07:00
Nolan Lawson ec627f9732
fix: fix newlines in poll option titles (#1717) 2020-03-01 13:54:08 -08:00
Nolan Lawson d03d223fd9
fix: remove aria-pressed entirely (#1647)
More progress on #1633
2019-11-23 11:25:36 -08:00
Nolan Lawson 568a3f51fe
fix: convert many toggle buttons into regular buttons (#1643)
work on #1633
2019-11-17 21:23:32 -05:00
Nolan Lawson edc014cf8c
fix: more consistent toggle button aria-label/title (#1626)
* fix: more consistent toggle button aria-label/title

fixes #1624

* fixup

* fix test
2019-11-09 17:25:26 -05:00
Nolan Lawson 4ecb04588c
fix: fix custom emoji in polls (#1619)
fixes #1617
2019-10-31 23:01:35 -07:00
Nolan Lawson b8d9c29bac
perf: move async modules to individual files (#1611) 2019-10-29 18:58:49 -07:00
Vincent 852a8582fb fix: Add the non-truncated text in the title attribute (#1598)
The `.card-title` element carries `text-overflow: ellipsis`, (and
`white-space: nowrap`), resulting in the last part of long article
titles not being visible. By adding it to the `title` attribute,
one can see the full title on hovering without having to visit the
article first.

The main concern I had was that the text is now technically
duplicated in the source code, and for short titles, also in the
UI. The primary concern there, however, was screen reader users
getting duplicate announcements. However, I believe the title
attribute is not announced by screen readers, which this (old)
article seems to confirm:
https://developer.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/

That leaves the following two disadvantages:
- This doesn't solve anything for mobile users, who will still
  have to follow the link to see the full title.
- Desktop users can however a (non-truncated) title to see the same
  title again.
2019-10-23 21:54:57 -07:00
Alex Berg 5e150b31df fix: Add "unfavorite/unboost" label (#1540)
* Add "unfavorite" label.

* fixup, also fix Boost/Unboost

* fix test
2019-09-26 05:24:05 -07:00
Nolan Lawson ea4c1ad819
fix: return focus to sensitive media button (#1535)
* fix: return focus to sensitive media button

fixes #1517

* additional fix for media sensitive focus

* fix audio/video name in aria-label of button

* fix hotkeys
2019-09-24 22:31:56 -07:00
Nolan Lawson af27c8b26b
fix: remove relative timestamp from tab focus order (#1534)
fixes #1533
2019-09-24 22:30:26 -07:00
Nolan Lawson 1bbe2a5612
fix: improve focus styles (#1526)
* fix: improve focus styles

* fixup
2019-09-24 00:50:35 -07:00
Nolan Lawson 91c491fd8d
fix: more CSS tweaks for very small screens (#1527) 2019-09-24 00:29:42 -07:00
Nolan Lawson 59b6c7e0ce
fix: improve styles on poll form (#1525) 2019-09-24 00:29:24 -07:00
Nolan Lawson d0b7f981d2
fix: fix pleroma hashtag links (#1511)
fixes #832
2019-09-22 15:12:51 -07:00
Nolan Lawson 41270f9210
fix: more fixes for tiny screen sizes (#1509) 2019-09-21 18:16:55 -07:00
Nolan Lawson 38b16c91d1
fix: improve style on very small mobile screens (#1505) 2019-09-21 13:45:48 -07:00
Nolan Lawson 489319a3a6
fix: improve nav height on tiny screens, use variables (#1503) 2019-09-20 23:17:57 -07:00
Nolan Lawson 54db8752d2
fix: remove avatars from tab order / screenreaders (#1491)
* fix: remove avatars from tab order / screenreaders

* fixup
2019-09-15 18:27:52 -07:00
Nolan Lawson 1a8de05083
fix: fix style/a11y of search/toots on small devices (#1489)
* fix: fix style/a11y of search/toots on small devices

fixes #3

* fixup

* fixup

* fixup

* fix test
2019-09-15 16:33:44 -07:00
Nolan Lawson 2112361fef
fix: fix case sensitivity in hashtag links (#1478)
fixes #1477
2019-09-13 19:04:22 -07:00
Nolan Lawson 88ab0b929c
fix: improve style of "large inline" media (#1428) 2019-08-24 10:43:50 -07:00
Sorin Davidoi da668c5330 fix(components/media): Handle autoplay with blurhash (#1425)
Closes https://github.com/nolanlawson/pinafore/issues/1424.
2019-08-23 07:13:25 -07:00
Nolan Lawson 7188454790
perf: use more efficient CSS selectors for inline media (#1423) 2019-08-22 09:10:02 -07:00
Nolan Lawson 8c6a701d6f
fix: ensure "disable blurhash" setting is honored (#1422)
* fix: ensure "disable blurhash" setting is honored

fixes #1421

* remove play button for audio/video
2019-08-22 09:09:21 -07:00
Nolan Lawson dd625b80a0
fix: remove unused nCols computation (#1420) 2019-08-21 23:26:16 -07:00