Commit graph

4710 commits

Author SHA1 Message Date
Marie
04d45859e6 merge: prevent excessive trimming in emoji picker's input box - fix #1165 (!1197)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1197

Closes #1165

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-30 18:50:51 +00:00
dakkar
2b083287a5 mark the callback as "passive", should improve performance
see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#using_passive_listeners
2025-07-28 15:55:36 +01:00
dakkar
b3857c6d9a remove mousemove callback when there's no longer a cat 2025-07-28 15:53:16 +01:00
dakkar
884ccad588 prevent excessive trimming in emoji picker's input box
there's no reason to trim before assigning to `q.value` (which gets
reflected to the `<input>` control and ends up trimming end spaces
when back-spacing)

the stated reason for messing with the control's own value every time
it changes, is to handle changes while Android is composing; I've
tested that, while I'm composing a character with my input method on
X11, search responds to each keypress, and I think it's good enough
2025-07-28 15:27:20 +01:00
Hazelnoot
7d005876fb merge: make trustedDomains persist across reloads (!1174)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1174

Approved-by: Marie <github@yuugi.dev>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-27 20:33:37 +00:00
Hazelnoot
07295ad62d merge: Split descriptions. (!1167)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1167

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:29:41 +00:00
Marie
b41027c6e4 merge: replace URL path for inlined SearchMarkers - fixes #1154 (!1171)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1171

Closes #1154

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 14:21:50 +00:00
Hazelnoot
cd5a4ee392 support ApiError responses in renderError 2025-07-26 20:18:05 -04:00
Hazelnoot
dc1416d5d8 fix rendering of errors from Chat API 2025-07-26 20:05:13 -04:00
Hazelnoot
c803228952 implement printError function for frontend 2025-07-26 20:05:03 -04:00
Hazelnoot
45212cbd56 show popup when chat API returns an error 2025-07-26 19:14:49 -04:00
dakkar
ab7fd2a7b0 allow editing trustedDomains and sync across devices 2025-07-23 14:22:22 +01:00
dakkar
df0f682518 make trustedDomains persist across reloads
we can't just write to `prefer.s.*`, we need to `.commit`

also, there's no need to use the reactive view (`prefer.r.*`) in
non-reactive contexts
2025-07-23 10:46:01 +01:00
Hazelnoot
ed68230811 merge: Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported (!1165)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1165

Closes #891

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-21 18:42:29 +00:00
Hazelnoot
31344bb816 merge: Add docstrings for Sharkey components (!1172)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1172

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2025-07-21 15:40:30 +00:00
bunnybeam
705e65e2d2
clarify that SkNote files are in the Sharkey style 2025-07-17 21:31:46 +01:00
bunnybeam
ff477e3bc7
changes to docstrings based on feedback 2025-07-17 21:28:17 +01:00
bunnybeam
184d116632
add docstrings for components beginning with Sk, along with DynamicNotes 2025-07-17 17:38:45 +01:00
dakkar
8b1a0f1226 replace URL path for inlined SearchMarkers - fixes #1154
The search index looks like:

```ts
[
 {
   id: 'foo', label: 'security',
   path: '/settings/security', inlining: ['2fa'],
 },
 {
   id: '2fa',
   label: 'two-factor auth',
   path: '/settings/2fa', // guessed wrong by the index generation
 },
 {
   id: 'aaaa',
   parentId: '2fa',
   label: 'totp',
 },
 …
]
```

This file post-processes that index and re-parents the inlined
sections. Problem was, it left the (wrong) `path` untouched.

Replacing the `path` makes the search work fine.
2025-07-17 16:36:50 +01:00
наб
6abbf955fc
Uniquify exportEntityName and importEntityName 2025-07-16 18:32:19 +02:00
наб
a00a3c6841
Add importCompleted notification. Send importCompleted when antenna/customEmoji/muting/userList is imported
The only userImportableEntities that don't notify
are blocking and following because they fork off a batch of single

Closes #891
2025-07-16 18:32:18 +02:00
piuvas
c97fafa071
requested changes. 2025-07-16 12:43:35 -03:00
piuvas
1696e31797
initial split descriptions impl. 2025-07-15 18:37:29 -03:00
bunnybeam
7ee0245cdc
remove empty onMounted and unnecessary log line 2025-07-10 13:48:47 +01:00
bunnybeam
89b5901e46
disable confetti switch on banner announcements 2025-07-08 21:47:22 +01:00
bunnybeam
a8db24e074
add confetti on dialog announcements 2025-07-08 20:41:07 +01:00
bunnybeam
e1bd8c5909
remove old logging lines 2025-07-07 21:41:29 +01:00
bunnybeam
45bf8262aa
implement optional confetti on announcements 2025-07-07 20:03:28 +01:00
dakkar
13d045d813 merge: misskey 2025.5.0 (!1028)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1028

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-29 09:54:12 +00:00
Marie
f4fe14f5b7 merge: feat: Add Bio Length Setting (!1136)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1136

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:41 +00:00
Marie
559a7566ab merge: smarter "clean remote files" - fixes #801 (!1143)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1143

Closes #801

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-06-28 22:47:27 +00:00
dakkar
a450f801cf warn about extra db load 2025-06-27 11:16:56 +01:00
dakkar
d847dd00c5 frontend dialog for "clear cached files" 2025-06-24 17:15:21 +01:00
Hazelnoot
d44935b1d9 collapse renotes that we've renoted or favorited 2025-06-24 09:46:56 -04:00
Hazelnoot
7200c3d6c8 implement note mutings and move favorited/renoted status into note entity directly 2025-06-23 13:47:04 -04:00
Hazelnoot
9bebf7718f hide muted threads behind a CW 2025-06-23 13:47:04 -04:00
Hazelnoot
23cfb5647c fix spacing between SkUrlPreviewGroup 2025-06-23 13:47:04 -04:00
Hazelnoot
c9389b013a fix Vue error in SkNoteDetailed and MkNoteDetailed 2025-06-23 13:47:04 -04:00
Lilly Schramm
1cd478ab36 feat(frontend): Respect New Bio Length Setting 2025-06-22 01:13:34 +02:00
Lilly Schramm
6d98c9068c feat(frontend): Add Clone Button To Role Page 2025-06-20 21:12:51 +02:00
dakkar
886160bdec Merge branch 'develop' into upstream/2025.5.0 2025-06-20 10:44:34 +01:00
Hazelnoot
8926ba06a6 merge: Extract inline media from remote posts (resolves #1074, #1104, and #1105) (!1113)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1113

Closes #1074, #1104, and #1105

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-19 23:36:44 +00:00
Hazelnoot
b97e505709 fix usage of appearNote in frontend components 2025-06-18 10:35:38 -04:00
Hazelnoot
e3cf30ad09 update to sfm-js version 0.24.8 2025-06-14 19:40:04 -04:00
Hazelnoot
f6964f6e27 merge: Show signup reason in user admin screen (resolves #1090) (!1114)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1114

Closes #1090

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 17:30:17 +00:00
Marie
c54d0ace90 merge: Auto-select the first page of reactions on the note "reactions" tab (resolves #448) (!1121)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1121

Closes #448

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:18:58 +00:00
Marie
057d661544 merge: Fix broken CSS in instance-info (!1118)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1118

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-06-14 16:16:54 +00:00
Hazelnoot
0a1e10e18b auto-select the first page of reactions on the note "reactions" pgae 2025-06-14 00:36:34 -04:00
Hazelnoot
57fb95753e fix broken CSS in instance-info caused by leftover code 2025-06-13 22:31:17 -04:00
Hazelnoot
69cf9a011a copy changes to MkSubNoteContent and welcome.timeline.note 2025-06-13 22:13:31 -04:00