1
0
Commit Graph

56 Commits

Author SHA1 Message Date
Hazelnoot 6ac37b4d6c lint and type fixes 2025-04-01 20:47:04 -04:00
Hazelnoot 66f4976c5e copy changes to SkNoteSub.vue 2025-04-01 11:34:30 -04:00
Hazelnoot c371af34e8 copy sharkey settings into new frontend preferences model 2025-03-31 14:53:02 -04:00
Hazelnoot f861bec1a7 update references from /scripts/ to /utility/ 2025-03-25 17:32:18 -04:00
Marie ad14d2ebfa upd: check for remote url first before providing local url on pleaseLoginContext 2025-03-09 20:26:55 +01:00
Hazelnoot 292d3b9229 add "reject quotes" toggle at user and instance level
+ improve, cleanup, and de-duplicate quote resolution
+ add warning message when quote cannot be loaded
+ add "process error" framework to display warnings when a note cannot be correctly loaded from another instance
2025-02-20 09:57:48 -05:00
Hazelnoot b2d43040b1 factor out shared "compute-merged-cw" routine 2025-02-16 19:20:42 -05:00
Hazelnoot 905b637648 append mandatory CW in all note views (Mk/Sk/Em + basic/Detailed/Simple/Sub) 2025-02-16 19:20:41 -05:00
HellhoundSoftware 5a76b7069f Refactor renote tooltip text 2025-01-18 08:28:57 -05:00
HellhoundSoftware 3717654309 move tooltip message to computed 2025-01-15 16:14:35 -05:00
HellhoundSoftware 2c90eebe86 Add tooltip for shift-boost 2025-01-15 14:38:34 -05:00
HellhoundSoftware 7825f6e95e Open boost visibility menu on shift-click 2025-01-14 19:42:35 -05:00
dakkar 0ebdf91b28 fix pleaseLogin on *NoteSub
we really need to factor these things out
2024-12-12 10:04:54 +00:00
dakkar a930fd9758 probably fix most renamed CSS variables 2024-11-08 17:33:04 +00:00
dakkar 2ca1cbe51b copy changes from MkNote* to SkNote* 2024-11-08 16:04:32 +00:00
Marie e21e2530e6 fix: don't show quoted toast on cancel of quote note 2024-09-16 00:35:26 +02:00
dakkar 5b808a97b2 update all our uses of os.popup 2024-08-14 11:50:39 +01:00
dakkar e082cbe669 make same replacements to Sk* 2024-06-22 16:14:06 +01:00
dakkar b525c5887f add copyright text to all our files 2024-06-15 11:36:55 +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
Marie b0bc69aac8 Reactions not working on child notes in detailed view 2024-02-22 21:16:08 +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
ShittyKopper 27ce301f45 fix: reply hover effect 2024-02-04 16:42:43 +03: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 c61adcf61d upd: expandAllCws also expands all long posts on first click
this mimics glitch-soc behavior
2024-02-04 15:21:57 +03:00
ShittyKopper bffac25c57 upd: smoothly resize reply avatars depending on container size 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
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 96df8c25de Show conversation note hover effect on focus 2024-01-03 16:22:36 +01:00
Volpeon 1ca0cd727e Hover effect for conversation notes (like Firefish) 2024-01-03 14:42:51 +01:00
Marie 0197d3354a fix: lint 2024-01-02 12:32:49 +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
dakkar f42e2bacd4 (probably) fix line length between note and 1st reply 2023-12-31 20:56:16 +00:00
Marie 8336b6c6b4 upd: check for replies length 2023-12-31 18:41:29 +01:00
Marie 70433db9d9 fix: button effect not lining up on sub notes|
Closes #277
2023-12-29 18:36:15 +01:00
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