1
0
Commit Graph

4217 Commits

Author SHA1 Message Date
Hazelnoot c1af8dfb7f merge: Factor out TransitionGroup dynamic switching into a dedicated component (!1053)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1053

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-31 22:46:12 +00:00
Marie 7ab4d375ed merge: Restore instance banner (!1073)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1073

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-31 19:41:28 +00:00
Marie 6fcc6ba17c fix indenting 2025-05-31 19:35:02 +00:00
Marie 0c49f9daf1 Add back in tossface 2025-05-31 14:50:53 +00:00
piuvas 44f9be3efb fix indentation. 2025-05-31 09:46:43 -03:00
piuvas dcb62a3fcc Update navbar.vue 2025-05-30 23:18:37 -03:00
Hazelnoot f6b71d28a0 revert changes to MkImgWithBlurhash to fix CSS issue 2025-05-30 14:55:59 -04:00
Marie 9637e1b82b merge: apply more styles to our icons - fixes #1081 (!1069)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1069

Closes #1081

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 17:55:25 +00:00
dakkar 0c768524d2 apply more styles to our icons - fixes #1081
the way we replace icons, the `ti` class gets removed, so those styles
were not applied; we always add a `ph-lg` class, so we select on that
one

I've left the `ti` selectors to hopefully make future merge conflicts
clearer
2025-05-30 17:43:15 +01:00
Marie d1ddc6f722 merge: Resolve "Show Muted Words doesn't work" - fixes #1079 (!1057)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1057

Closes #1079

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-30 16:26:28 +00:00
dakkar 988ce94b97 bring back custom search engine url box - fixes #1078
we had accidentally removed the MkInput
2025-05-30 11:29:49 +01:00
dakkar d142e10fbd fix folders in mute/block 2025-05-30 11:06:39 +01:00
dakkar 2d396843ea don't really need to reload 2025-05-30 11:05:21 +01:00
dakkar 9d20848b3f fix guard for "show soft-muted words" 2025-05-30 11:04:53 +01:00
Hazelnoot eed4f7855c fix :animate condition in MkImgWithBlurhash 2025-05-29 13:13:14 -04:00
Hazelnoot 18a6f47082 use SkTransitionGroup in all locations that hardcode use of TransitionGroup 2025-05-29 12:43:12 -04:00
Hazelnoot 2f91c66ba2 fix use of :key on "more" slot in MkReactionsViewer 2025-05-29 12:42:58 -04:00
Hazelnoot 7a003dec73 use SkTransitionGroup for all dynamic TransitionGroup components 2025-05-29 12:41:36 -04:00
Hazelnoot 197d9db8e6 implement SkTransitionGroup to dynamically switch between TransitionGroup or a native element based on the user's animation preference 2025-05-29 12:39:37 -04:00
Marie c9591cf47f merge: fix having double scrollbars (!1035)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1035

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-05-28 21:08:49 +00:00
dakkar 8b9e789895 improve search for some of our settings
* each `SearchMarker` can have at most 1 `SearchLabel` inside
* `SearcMarker`+`MkFolder` need some attributes to play together
2025-05-28 13:54:11 +01:00
Hazelnoot dd95d4a2d6 merge: Avoid use of <template> as a child of <TransitionGroup> (resolves #1059) (!1049)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1049

Closes #1059

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-27 17:12:45 +00:00
Hazelnoot 93d51b8fc1 merge: Fix translate button (!1047)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1047

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-27 17:12:23 +00:00
Hazelnoot eb760e63bc fix lint errors 2025-05-26 22:21:36 -04:00
Hazelnoot 1cc9afc555 avoid use of <template> as a child of <TransitionGroup> 2025-05-25 18:52:44 -04:00
Hazelnoot f8e7e08809 fix clip / translate button styling in MkNoteSub / SkNoteSub 2025-05-25 18:49:22 -04:00
Hazelnoot cc17e1b5ab fix Sub note toolbar not stopping click on mobile 2025-05-25 18:49:22 -04:00
Hazelnoot 5412ae27a6 add clip and translate buttons to MkNoteSub / SkNoteSub 2025-05-25 18:49:22 -04:00
Hazelnoot b5357ac90d disable "translate" button after translating 2025-05-25 18:49:22 -04:00
Hazelnoot 2c8c650216 fix "translate" and "clip" buttons opening the note on mobile 2025-05-25 18:49:22 -04:00
dakkar 9c89c91ded handle "follow" notifs from deleted user
the backend should not send these, but still, let's not explode
2025-05-25 12:35:13 +01:00
Hazelnoot b6a71d2362 merge: make DynamicNote less dynamic - helps with #1059 (!1041)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1041

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-05-24 21:08:38 +00:00
Marie b05b4ec74d merge: Cleanup admin user UI (!1012)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1012

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-23 11:21:29 +00:00
Hazelnoot 639556201a merge: Add warning banner about word mute limitations (resolves #784) (!1017)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1017

Closes #784

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2025-05-23 11:14:15 +00:00
dakkar 5a961119a7 ask to reload when changing noteDesign
since it's not longer super-dynamic
2025-05-21 18:32:43 +01:00
dakkar 7c61b57939 make sure that the DynamicNote component is *not* computed
my current hypothesis to explain #1059:

- we have a timeline, with some notes
- a new note arrives on the websocket
- we replace the items in the pagination inside the timeline
- vue starts re-rendering the notes, using the `:key` values to know
  which ones to leave there and which ones to move / add / delete
- since DynamicNote is `computed`, every time vue needs to instantiate
  it, it does an `await`
- so if another note is waiting in the websocket buffer, it gets
  processed *while vue is rendering*
- processing the new note cause the `items` map (and the array
  computed from it) to be replaced
- at this point vue may well get a new iterator from the start of the
  new list of items, after it had already decided that the first few
  notes did not need to be changed
- which manifests as new notes appearing in the middle of the
  timeline!
- and after enough new notes have arrived, all the old notes are out
  of the items map, so their elements have all been deleted, and
  "normality" is restored

this makes sense in my head, let's see if this change actually fixes
the problem
2025-05-21 18:27:39 +01:00
Hazelnoot 2b2afdd53a look at renoteId / replyId in case the renote / reply was not packed 2025-05-21 08:33:41 -04:00
Hazelnoot aaba16c91b exclude reply OP from preview 2025-05-21 08:31:14 -04:00
Hazelnoot 28551c8103 use config.url instead of "https://${config.host}" 2025-05-21 08:27:23 -04:00
Hazelnoot e74fde8b31 optimize extractUrlFromMfm 2025-05-20 22:33:14 -04:00
Hazelnoot dc1adcc491 skip resolving preview when a link is known to be recursive 2025-05-20 21:37:25 -04:00
Hazelnoot 38d4a7fd56 don't recursively render note previews 2025-05-20 21:21:42 -04:00
Hazelnoot 6c77be64b6 merge: Fix "fetch linked note" button for AP previews (!1037)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1037

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-20 22:03:53 +00:00
Hazelnoot e167ddd72d fix unknownUrl value 2025-05-19 18:50:13 -04:00
Hazelnoot be1326372b add missing import file extension 2025-05-19 18:27:20 -04:00
Hazelnoot f8c53466ef make sure that the "fetch linked note" button actually remembers that the note is fetched 2025-05-19 10:57:42 -04:00
Marie 793ef45bea fix having double scrollbars 2025-05-18 19:18:29 +00:00
Hazelnoot c412f5d69a extract common translation UI into SkNoteTranslation.vue 2025-05-18 14:51:22 -04:00
Hazelnoot cbb0f5a964 fix type errors in note translation source 2025-05-18 14:03:40 -04:00
Hazelnoot 10a2f32947 fix spurious "translation failed" errors in MkNoteSub 2025-05-18 14:01:47 -04:00