Commit graph

4500 commits

Author SHA1 Message Date
Hazelnoot
5924e27859 all MkFolder to not have a sticky header 2025-05-29 23:13:15 -04:00
Hazelnoot
b3022e853e fix refresh / dialog promises in admin-user.vue 2025-05-29 23:04:17 -04:00
Hazelnoot
30f0e5002c refresh instance info after applying moderation rules, and make sure that API calls show a dialog while running 2025-05-29 23:03:24 -04:00
Hazelnoot
5b8764d6df allow os.promiseDialog to accept a callback 2025-05-29 22:41:59 -04:00
Hazelnoot
fadf39d8e7 re-order instance-info tabs to match admin-user 2025-05-29 22:21:59 -04:00
Hazelnoot
979c7628b1 disable status badge strip in admin-user and instance-info 2025-05-29 22:20:21 -04:00
Hazelnoot
f303cb1171 implement SkBadgeStrip 2025-05-29 22:19:51 -04:00
Hazelnoot
756096e498 re-order moderation toggles to match admin-user 2025-05-29 21:16:58 -04:00
Hazelnoot
db7e0d9353 add missing oneline flag to delivery status 2025-05-29 21:14:42 -04:00
Hazelnoot
586c9974a4 add icons to buttons 2025-05-29 21:13:51 -04:00
Hazelnoot
d86920d2f6 match gap size to admin-user 2025-05-29 21:12:13 -04:00
Hazelnoot
43495fbd0d move all buttons to a group 2025-05-29 21:11:13 -04:00
Hazelnoot
b082797c69 improve styling of Description section 2025-05-29 21:08:19 -04:00
Hazelnoot
9595997b93 move well-known resources to a collapsible section 2025-05-29 21:05:33 -04:00
Hazelnoot
23f0748e60 move instance description into a section with divider 2025-05-29 18:27:23 -04:00
Hazelnoot
afbe3a95c0 translate "Refresh metadata" and use same icon as user controls 2025-05-29 18:13:25 -04:00
Hazelnoot
529014e7f2 move moderation note into collapsible section 2025-05-29 18:12:57 -04:00
Hazelnoot
f2c346d085 consolidate details into collapsible "details" section 2025-05-29 18:10:11 -04:00
Hazelnoot
6e58a320ca add missing translations 2025-05-29 17:45:18 -04:00
Hazelnoot
83a2f90842 use instance host as placeholder for name 2025-05-29 17:45:11 -04:00
Hazelnoot
5575c797a4 don't render instance icon if it doesn't have one 2025-05-29 17:36:09 -04:00
Hazelnoot
2c2dff72e4 remove duplicate horizontal swipe 2025-05-29 17:33:46 -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
dakkar
d7ee652eb8 bump VueJS again
People have reported that #1059 happens even with the older version,
so there's no reason to not upgrade
2025-05-21 18:26:49 +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
Marie
48d4841656 merge: Fix surious translation errors (!1034)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1034

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-05-20 19:02:26 +00:00
dakkar
121898e5b1 downgrade vue, may help with #1059 2025-05-20 15:50:06 +01:00
Hazelnoot
e167ddd72d fix unknownUrl value 2025-05-19 18:50:13 -04:00