Commit graph

4765 commits

Author SHA1 Message Date
Marie
961979b55e merge: [frontend] SkModPlayer drawing optimization with slice display (!1110)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1110

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:21:28 +00:00
Marie
d872c6608f merge: Allow restricting announcement to a set of roles (!1161)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1161

Closes #682

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 08:11:08 +00:00
Marie
46d416e39f merge: Add custom font size option (!1207)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1207

Closes #1166

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-08-16 07:51:29 +00:00
наб
b61c1d5b27
forRoles IS NOT NULL, coalesce to empty=unrestricted 2025-08-11 23:53:05 +02:00
наб
f3b5c3f447
Allow restricting announcement to a set of roles. Fix MkRoleSelectDialog only respecting publicOnly half the time
Closes #682
2025-08-11 23:53:05 +02:00
bunnybeam
ee60795098
change various multiline inputs to use em instead of px for min-height 2025-08-08 17:38:51 +01:00
bunnybeam
55a0e11366
add custom font size option 2025-08-08 17:03:56 +01:00
dakkar
8f7629a819 Merge branch 'stable' into stable-2025.4.4-to-develop 2025-08-02 10:34:25 +01:00
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
215f095a3f sort notifications by creation time
so groups are sorted newest first according to the displayed time
2025-07-25 21:46:01 +01:00
Vavency
4a8c21e143 [frontend] SkModPlayer cleanup extra indents. 2025-07-24 20:53:48 +03:00
Vavency
177a5c048c [frontend] Theme: add SkModPlayer slider knob as a theme-able var. 2025-07-24 20:24:20 +03:00
Vavency
2d9744340f [frontend] SkModPlayer make number row use the same blending technique as the slices. 2025-07-24 20:03:23 +03:00
Vavency
eeb1d774c0 [frontend] SkModPlayer define preferred fonts in text rendering. 2025-07-24 19:34:39 +03:00
Vavency
ad21e89ea0 [frontend] SkModPlayer make slider knob more visible. 2025-07-24 00:03:10 +03:00
Vavency
524fbf8883 [frontend] SkModPlayer change some hex value to Infinity 2025-07-23 23:10:57 +03:00
Vavency
7684c93807 [frontend] SkModPlayer change according to comments
Change refs from lets to consts
Change --SkModPlayer to --MI_THEME so it would be them-able
2025-07-23 22:47:37 +03: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
Vavency
8864269d7c [frontend] SkModPlayer Minor cleanup
Hide the shame of webkit.
2025-07-17 21:36:26 +03:00
bunnybeam
184d116632
add docstrings for components beginning with Sk, along with DynamicNotes 2025-07-17 17:38:45 +01:00
Vavency
30316e543c [frontend] SkModPlayer CSS adjustment. 2025-07-17 19:17:13 +03:00
Vavency
13b22cb70b [frontend] SkModPlayer change number row from maxHeight to height to fix early clipping. 2025-07-17 18:50:14 +03: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
Vavency
9dbd2a6bb4 Merge branch Sharkey:develop into trackeropt 2025-07-17 15:04:33 +00:00
Vavency
4ae3d7453b [frontend] SkModPlayer fix togglePattern not properly skipping optimizations. 2025-07-17 18:02:10 +03:00
Vavency
d61b1e2910 [frontend] SkModPlayer fix toggleVisible completely breaking display. 2025-07-17 14:34:51 +03:00
Vavency
89d396b491 [frontend] SkModPlayer better handling of different display sizes. 2025-07-17 13:43:49 +03:00
Vavency
dfc2e2a9a7 [frontend] SkModPlayer implement webkit scroll hack. 2025-07-17 13:10:04 +03:00
Vavency
046cb125f2 [frontend] SkModPlayer stop a potential infinite nextTick recursion. 2025-07-16 22:19:27 +03:00
Vavency
912f5eb44b [frontend] SkModPlayer fix currentColumn not updating. 2025-07-16 22:08:39 +03:00
Vavency
7f30afd4fd [frontend] SkModPlayer remove old webkit workaround for scrollbars
Fix for channel jumps at the end of x scroll.
2025-07-16 21:19:27 +03: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