Commit graph

57 commits

Author SHA1 Message Date
dakkar
fdd9df8ae9 Merge branch 'develop' into future-2024-05-31 2024-06-14 11:19:13 +01:00
dakkar
a22450d4f3 merge: feat: add an option to collapse replies (!545)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/545

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-06-14 10:13:59 +00:00
dakkar
ed8b1b8f07 keep renoteCollapsed as it was before adding reply collapse 2024-06-13 10:13:46 +02:00
dakkar
b2cbd507fe Merge branch 'develop' into future-2024-05-31 2024-06-13 09:06:24 +01:00
dakkar
73323a70a3 use configured boost visibility, instead of note's 2024-06-12 17:51:35 +01:00
dakkar
935cb73c0b more robust "only one renote at a time" logic
this blocks the button as well, not just the hotkey
2024-06-12 17:49:13 +01:00
dakkar
f98229d3e0 semicolons 2024-06-12 17:47:34 +01:00
dakkar
58c77c4d5c fix accesses to canRenote 2024-06-12 17:47:25 +01:00
Sugar
a061c6c2d5 reduce margin-top for collapsed in replies to in small containers 2024-06-11 20:33:22 +02:00
Sugar
c149734fba avoid renoteCollapsed dependency in inReplyToCollapsed 2024-06-11 19:57:31 +02:00
Sugar
460e7f05ab correct collapsed in reply to line alignment with small screen sizes 2024-06-11 17:24:45 +02:00
Sugar
9ce2c8c081 include usernames in collapsed notes replied to 2024-06-11 17:19:24 +02:00
Sugar
c808147292 replace reply with inReplyTo in in-reply-to collapse code 2024-06-11 16:28:09 +02:00
Sugar
c9d0b81555 feat: add an option to collapse replies 2024-06-11 15:25:43 +02:00
dakkar
0b39869bdc merge: better block display for <bdi> elements - fixes #550 (!538)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/538

Closes #550

Approved-by: Marie <marie@kaifa.ch>
Approved-by: Tess K <me@thvxl.se>
2024-06-09 08:50:22 +00:00
dakkar
f64e6e8646 semicolons 2024-06-08 17:33:15 +01:00
dakkar
c0f9e44712 fix accesses to canRenote 2024-06-08 17:30:56 +01:00
dakkar
5dc8c2827c Merge branch 'develop' into future-2024-05-31 2024-06-08 16:45:53 +01:00
dakkar
388926775e I meant finally, not then, thanks fEmber 2024-06-07 14:47:16 +01:00
dakkar
cb43994841 only allow a single boost via hotkey - fixes #467 #468
As usual, have to write the same thing four times ☹

The parentheses around `q` tell the hotkey/keymap code to ignore
auto-repeat events (which works fine in Chrome but not in Firefox, I
reported the bug https://bugzilla.mozilla.org/show_bug.cgi?id=1900397
)

In addition, I've added a guard variable that is true while calling
the backend to boost/renote, and false otherwise. This way, even in
Firefox we don't spam-boost. Unboosting is still *only with the
mouse*, I have not added that functionality.
2024-06-07 11:40:44 +01:00
dakkar
43c0ffe7f8 better block display for <bdi> elements
We use MfM in all sorts of places, and only some of them are actual
blocks. We can now tell the `Mfm` component to make the top-level
`<bdi>` a block when we need to (mostly note bodies, user
descriptions, announcements) and leave it inline in all other places.

This should still rendener inline rtl content embedded in ltr text in
a sensible way, while providing right-alignment for fully rtl blocks.
2024-06-07 11:18:25 +01:00
tess
85339cdfeb fix: event propagation for reactions button 2024-05-16 18:07:31 +02:00
dakkar
886f5dd391 port changes from MkNote* to SkNote* 2024-04-11 13:44:47 +01:00
dakkar
aad06a0e8b copy MkNote* changes to SkNote* 2024-03-24 12:02:58 +00:00
dakkar
760df9ebf0 copy changes to SkNote* 2024-03-08 16:10:52 +00:00
dakkar
8ab3f3aad6 copy changes to SkNote* 2024-03-07 16:20:43 +00:00
dakkar
aa72db76c4 rework boost visibility #388
* only show allowed visibilities
* "local only" is a switch

notice that the backend will limit the visibility, too
2024-02-16 13:26:13 +00:00
Marie
1fa347390a
fix: add missing diff between SkNote* and MkNote* 2024-02-06 21:27:42 +01:00
Marie
6a94a52131
merge: upstream 2024-02-06 21:23:37 +01:00
blueb
9b0d078fba upd: replace pencil icon, widget icon 2024-02-05 06:39:15 -05:00
ShittyKopper
3818e9531f upd: make note footer wider on smaller screens
3cc8320eb7

Co-authored-by: blueb <ihateblueb@proton.me>
2024-02-04 15:21:57 +03:00
ShittyKopper
44a8249404 fix: blue highlight on chromium when using click to open 2024-02-04 15:21:57 +03:00
ShittyKopper
cd52686fd3 fix: click to open on quotes 2024-02-04 15:21:57 +03:00
Marie
2a50e6e9e7
upd: apply changes 2024-02-03 21:29:46 +01:00
Marie
11628e4b6a
merge: upstream 2024-02-03 20:19:44 +01:00
Marie
f091b84c6e
chore: change sfm registry and name 2024-02-03 15:01:09 +01:00
Marie
55ea66127a
fix: close button not closing auto expanded notes
Closes #359
2024-01-22 20:11:26 +01:00
dakkar
f87483feb7 align Sk & Mk variants of components
some whitespace, some types, a missing sound, and a probably wrong API
URL
2024-01-21 12:37:41 +00:00
Marie
db012fc8c3
merge: upstream (1) 2024-01-21 13:11:23 +01:00
Marie
d974b30e56
merge: upstream 2024-01-09 10:35:10 +01:00
Marie
7552cea69a
merge: upstream 2024-01-09 02:57:57 +01:00
dakkar
3b75e93706 remove extraneous renoteUr[il] filters 2024-01-08 13:59:15 +00:00
ShittyKopper
ca3770470e re-re-fix: hide preview of quote-renote 2024-01-08 13:55:14 +00:00
Volpeon
bafb197b62
Fix: Thread line misalignment on smaller viewports (#307) 2024-01-03 20:38:40 +01:00
Volpeon
43b3b5a34b
Ported Firefish's note focus behavior 2024-01-03 13:52:46 +01:00
Volpeon
32f60f9969
Bring renote indicator closer to note (like Firefish) 2024-01-03 11:37:50 +01:00
Marie
b87142d2f7
fix: like button not playing reaction sound 2024-01-02 00:47:08 +01:00
Marie
c9ca1dd3f1
upd: add boost settings 2024-01-01 20:34:18 +01:00
Volpeon
f92f474088
Bring note style closer to Firefish 2024-01-01 17:44:13 +01:00
Marie
eb036d558f fix: note footer not properly resizing 2023-12-23 19:21:37 +01:00