Commit graph

37 commits

Author SHA1 Message Date
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
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
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
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
Marie
5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
Marie
c92c2d065f upd: replace mfm with sfm 2023-12-18 03:03:05 +01:00
Mar0xy
d586d1e6f8
upd: add additional check to visibility selector for boost 2023-12-04 00:26:47 +01:00
Mar0xy
fb75282ea8
add: choose boost visibility when clicking boost
Closes transfem-org/Sharkey#195
2023-12-04 00:19:34 +01:00
Mar0xy
e5667913f7
add: expand all long notes option 2023-12-03 20:08:21 +01:00
Mar0xy
620be4a9e1
add: auto uncollapse CW on all notes option
Closes transfem-org/Sharkey#191
2023-12-03 19:35:39 +01:00
Mar0xy
f0fe8eceaf
upd: add option to select between note designs
Adds the ability to choose between `Sharkey` or `Misskey`
2023-12-02 13:09:25 +01:00