1
0
Commit Graph

57 Commits

Author SHA1 Message Date
dakkar 51b031d3fc avoid double spaces 2024-08-06 20:30:14 +01:00
dakkar b4624ce035 copy from MkNoteDetailed to SkNoteDetailed
plus some extra fixes in MkNoteDetailed
2024-08-02 13:01:12 +01:00
dakkar e082cbe669 make same replacements to Sk* 2024-06-22 16:14:06 +01:00
dakkar 7c6312833f fix "react" button style in SkNoteDetailed
thanks fEmber for noticing!
2024-06-13 14:17:04 +01: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
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
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 af548d05ca merge upstream for 2024.2.1 2024-03-02 16:36:49 +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 592f77371f upd: rename SkNoteSub property 2024-02-04 15:21:57 +03:00
ShittyKopper 5ef8e3123b upd: only enable hover effect on SkNoteDetailed and replies 2024-02-04 15:21:57 +03:00
ShittyKopper 3818e9531f upd: make note footer wider on smaller screens
https://git.gay/eepy.zone/Sharkey/commit/3cc8320eb7d840e2a1bf458d4adfd8f41ac43e26

Co-authored-by: blueb <ihateblueb@proton.me>
2024-02-04 15:21:57 +03:00
ShittyKopper 1bc2da2bda upd: make avatars smaller on replies to allow more space for text
i'm unsure about the batch of @container blocks at the end of the CSS,
they seem like leftovers from a previous implementation. removing them
didn't seem to change anything but i may be overlooking something.
2024-02-04 15:21:57 +03:00
blueb fae3af4342 fix: adjust alignment and margin of icon in detailed note tabs 2024-02-04 15:21:57 +03:00
Marie 6b068d2311 upd: add back focus 2024-02-03 21:17:46 +00:00
dakkar dff7b98ebc add types like upstream did in MkNoteDetailed 2024-02-03 21:14:00 +00:00
Marie 23e9067f57 fix: accidental replacing of noteEl to rootEl 2024-02-03 21:37:51 +01:00
Marie bd0186296c fix: scrolling to note 2024-02-03 21:35:55 +01: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 4be70a8d98 fix: boost being available on DMs on detailed view
Closes #346
2024-01-26 00:56:09 +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
Volpeon 1ca0cd727e Hover effect for conversation notes (like Firefish) 2024-01-03 14:42:51 +01:00
Volpeon 43b3b5a34b Ported Firefish's note focus behavior 2024-01-03 13:52:46 +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
Insert5StarName 2b06b822ac fix: detailed view being dashed 2023-12-31 15:55:00 +01:00
dakkar fea6428245 add missing .value 2023-12-23 14:47:14 +00:00
dakkar 576a87118c real-time update: adjust replyCount up/down
this also fixes the connecting lines in the Sk-style view

thanks @ShittyKopper for reporting the bug!

NOTE: at this point, the `isDeletedRef` boolean is pretty much
useless, because we're directly removing deleted notes from the
`replies` array and therefore from the DOM (we were just hiding them,
before); I'm intentionally not touching `isDeletedRef` to simplify
merges from upstream
2023-12-23 14:09:52 +00:00