Commit graph

14 commits

Author SHA1 Message Date
Tusooa Zhu
68110ce825
Make interact buttons accessible for anonymous users 2023-01-21 15:41:12 -05:00
tusooa
7dc2277453
Use stylelint 2023-01-09 13:02:16 -05:00
HJ
513b81a23b Merge branch 'from/develop/tusooa/remote-xact' into 'develop'
Remote interaction with posts: frontend part

See merge request pleroma/pleroma-fe!1419
2022-11-21 19:34:19 +00:00
Tusooa Zhu
11672bc490 Fix styling on Safari 2022-08-22 20:28:52 +00:00
Tusooa Zhu
97951fccfd Use :focus-visible instead of :focus for focus markers
In this way, after the user clicked with a pointer and moved that
pointer away, the focus marker will no longer show a focused style.

As Safari remains the only major browser engine that does not support
:focus-visible, a fallback to :focus is used if there is no browser
support for :focus-visible.

https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible
2022-08-22 20:28:52 +00:00
Tusooa Zhu
378ed3682e Optimize Reply badge position 2022-08-22 20:28:52 +00:00
Tusooa Zhu
b2e4827741 Add badges to status interacting buttons
Now, the following badges will be added:
0: (+) sign to reply, favourite, repeat, react and extra buttons
1: (-) sign to unfavourite and unrepeat
2: (x) sign to close reply form, close react popover, and close extra buttons popover
3: Check mark to favourited and repeated statuses

https://git.pleroma.social/pleroma/pleroma-fe/-/issues/1092
2022-08-22 20:28:52 +00:00
Tusooa Zhu
5cd18be47b
Enable anonymous users to interact with statuses remotely 2022-07-01 13:03:45 -04:00
Shpuld Shpuldson
276ef31145 fix alternative icons having wrong offsets 2020-11-26 23:01:16 +02:00
Shpuld Shpuldson
bee77ffdb2 fix retweet event handler, fix text being selectable for status action counters 2020-11-26 18:23:53 +02:00
Shpuld Shpuldson
7b99d98c55 Replace all use of <a> + href='#' with proper buttons 2020-11-24 12:32:42 +02:00
Henry Jameson
b6cf2bcefd improved the semantics for our icon scale, fixed preview, fixed navbar desktop 2020-10-28 21:31:16 +02:00
Henry Jameson
3814218277 Some initial work on replacing icons with FA5 2020-10-20 20:28:11 +03:00
Shpuld Shpuldson
f9ac23b9a9 separate reply button to its own component, add changelog entry 2020-09-07 10:35:49 +03:00