Commit graph

16 commits

Author SHA1 Message Date
Marie
53365159e8 merge: real-time updates on note detail view (#246)
Closes #223

Reviewed-on: https://git.joinsharkey.org/Sharkey/Sharkey/pulls/246
Reviewed-by: Marie <marie@kaifa.ch>
2023-12-23 21:00:00 +01:00
Marie
eb036d558f fix: note footer not properly resizing 2023-12-23 19:21:37 +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
dakkar
d06939bd25 real-time update: hide deleted replies 2023-12-23 14:09:52 +00:00
dakkar
683b4aafb2 real-time updates on note detail view
`useNoteCapture` already subscribes to all updates for a note, so
we can tell it when a note gets replied to, too

Since I'm not actually adding any extra subscription in the client,
just an extra callback, there should be no overhead when replies are
not coming in.

Also, all the timelines already call `useNoteCapture` for each note
displayed, so we know the whole `GlobalEventService` thing works fine.

Many thanks to VueJS for taking care of all the DOM complications
2023-12-23 14:09:51 +00:00
Marie
5db583a3eb merge: upstream 2023-12-23 02:09:23 +01:00
ShittyKopper
05166f79e1 upd: add option for reply depth 2023-12-08 11:35:26 +00: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
10b27ad972
fix: quotes showing in replies on a note 2023-12-03 20:43:25 +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
Marie
f639cc764c
chore: lint 2023-12-03 17:40:24 +01:00
Insert5StarName
5db163bc67 upd: rework threading ui 2/2
Co-authored-by: daph <d@waal.me>
Co-authored-by: Marie <marie@kaifa.ch>
2023-12-02 20:29:01 +01:00
Insert5StarName
183d24d63e fix: replys only going one layer deep 2023-12-02 13:55:15 +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