1
0
Commit Graph

1861 Commits

Author SHA1 Message Date
dakkar f66e534f26 fix the defaults 2025-02-10 11:54:47 +00:00
dakkar c6eb1ffde3 hide note preview if it's already quoted - fixes #888
I do not particularly _love_ this solution, but it is simple and
effective

I can't find another reliable way to determine if a link goes to a
local note of the given id, apart from fetching the link
2025-02-10 11:42:10 +00:00
Marie d6c4b728df merge: Add "follow back" button on follow-related notifications (resolves #895) (!873)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/873

Closes #895

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:50:12 +00:00
Marie d629b882b0 merge: Allow users to set a default content warning for their new posts (resolves #901) (!881)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/881

Closes #901

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:47:20 +00:00
Marie de7ecdc487 merge: Add buttons to accept/reject follow request from the requestor's profile (resolves #896) (!872)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/872

Closes #896

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:43:45 +00:00
Marie 2928ccf1e4 merge: handle more complex ruby from/to html - fixes #605 (!866)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/866

Closes #605

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-02-07 03:40:55 +00:00
Hazelnoot 337326ed07 fix check for parts.length 2025-02-05 14:22:50 -05:00
Hazelnoot 8af91d9673 extract variable hasExistingDefaultCW to improve code readability 2025-02-05 14:22:50 -05:00
Hazelnoot 90e71ba413 apply default content warning to new posts 2025-02-05 14:22:50 -05:00
Hazelnoot d6a38b6cab show a "follow back" button on "user followed you" and "received follow request" notifications 2025-02-05 14:21:13 -05:00
Hazelnoot 9f88ccec5f emit waiting status from MkFollowButton 2025-02-05 14:20:39 -05:00
Hazelnoot 9934e4d948 allow MkFollowButton to be disabled 2025-02-05 14:20:39 -05:00
dakkar 60c937606b merge: enhance: Open boost visibility menu on shift-click (!859)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/859

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 17:28:02 +00:00
Marie b2ed14e1f5 merge: Fix: Emoji categories with subfolders, but no emoji, erroneously duplicate the subfolder's emoji (!860)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/860

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <github@yuugi.dev>
2025-01-18 16:56:34 +00:00
HellhoundSoftware 5a76b7069f Refactor renote tooltip text 2025-01-18 08:28:57 -05:00
dakkar 01a5300be8 handle more complex ruby from/to html - fixes #605
this is not exactly great, but it should be "good enough"

note that the new `group` function should not escape in the wild, as
we don't document it and only use it internally

I tried using `$[scale foo bar]` instead of `$[group foo bar]`, but
that would be rendered as `<i>foo bar</i>` when sent over the network
to non-misskey instances, and we don't want that
2025-01-18 12:51:38 +00:00
dakkar 65c03e3e54 actually show off the syntax highlighting
at some point the default language stopped being AiScript, so we have
to mark our little example to make the colors happen
2025-01-18 11:05:44 +00:00
dakkar 49d6fc6782 show the border MFM function in cheatsheet - fixes #533 2025-01-18 11:05:40 +00:00
HellhoundSoftware 794c7f9a1a Change let to const 2025-01-15 21:04:35 -05:00
HellhoundSoftware ef60a1a8ed Create CustomEmojiFolderTree nodes with correct path 2025-01-15 20:18:20 -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
Marie a723ece4b6 merge: fix url preview spacing for very narrow viewports (!852)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/852

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-01-02 20:12:25 +00:00
dakkar 3aeca799a5 fix url preview spacing for very narrow viewports
on wide viewports, the url preview only leaves space for a thumbnail
when such thumbnail exists.

on small phones, or in busy deck views, it always left that space

this was not very evident for simple previews (which are pretty much a
title line, a favicon, and the site name), but it became very obvious
with the note embedding in 2024.11

this patch makes the thumbnail space conditional on the existence of
the thumbnail, for narrow viewports as well (I pretty much copied the
bit of CSS from the non-narrow media query sections)
2025-01-02 17:40:36 +00:00
dakkar d980875e83 remove duplicate role badges - fixes #868
when I copied over the changes from `MkNote*` to `SkNote*`, I forgot
to remove the old badge-related code
2025-01-02 09:46:56 +00:00
dakkar 12ef2b13c4 merge: avoid empty blocks when hiding ads (!828)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/828

Approved-by: Charlotte <timo.herngreen@gmail.com>
Approved-by: Amber Null <puppygirlhornyposting@gmail.com>
2024-12-18 17:06:57 +00:00
dakkar 5fd3e271ac only log preview error in dev mode 2024-12-18 16:32:28 +00:00
dakkar 2dfadc082d style embedded note previews like normal previews
and not like normal quotes
2024-12-18 16:14:47 +00:00
dakkar e9e2a5dd77 avoid empty blocks when hiding ads
2024.10 or 2024.11 added a `<div>` around `<MkAd>`, but while `MkAd`
checks if ads should be shown, and generates an empty `<div>` if not,
the wrapper `div` was always shown.

This commit takes the same logic from `MkAd` and applies it to the
wrapper as well.

thanks to @puppygirlhornypost for noticing
2024-12-18 15:59:34 +00:00
dakkar fb833d13cd preview AP objects as quotes - fix #595 2024-12-18 12:23:13 +00:00
Marie 38d7faffdb merge: make it harder to fumble opening a collapsed replied-to note (!811)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/811

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-17 21:53:19 +00:00
Marie e50ff9db6a upd: make schedule time work cross timezones 2024-12-15 22:41:16 +01:00
dakkar e2352839e4 merge: upstream changes for 2024.11 (!742)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/742

Closes #645 and #646

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-15 17:27:12 +00:00
Marie dddfdf8a13 Add locales and new navbar entry 2024-12-12 21:45:54 +01:00
dakkar b266a5f9f6 Merge branch 'develop' into feature/2024.10 2024-12-12 17:38:29 +00:00
Hazelnoot 9d76cc08cb merge: Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs (resolves #829) (!814)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/814

Closes #829

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 13:50:31 +00:00
Leah d1fe3da4b8 remove old unused imports 2024-12-12 14:38:28 +01:00
dakkar 943c6414d8 merge: Enable by default and federate "hide online status" (resolves #823) (!807)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/807

Closes #823

Approved-by: Marie <github@yuugi.dev>
Approved-by: dakkar <dakkar@thenautilus.net>
2024-12-12 13:08:19 +00:00
dakkar bdb00fcaf2 update css variable references 2024-12-12 13:07:06 +00:00
dakkar 6d4ae93592 Merge branch 'develop' into feature/2024.10 2024-12-12 13:04:51 +00:00
Leah b2387cbfef Fixed Emoji in usernames of profile's owner not visible in the Pages and Plays tabs 2024-12-12 14:00:43 +01:00
Marie 8eb9c20df7 merge: Schedule Notes (!804)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/804

Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-12 12:50:11 +00:00
dakkar 0ebdf91b28 fix pleaseLogin on *NoteSub
we really need to factor these things out
2024-12-12 10:04:54 +00:00
dakkar 5ae409b032 make it harder to fumble opening a collapsed replied-to note
clicking on the username of the collapsed replied-to note, opens the
note instead of navigating to the user's profile

clicking the avatar still goes to the profile
2024-12-11 09:52:13 +00:00
Marie d6297f2035 merge: Fix: scrolling alt text using a mouse (!810)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/810

Closes #654

Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2024-12-10 15:44:39 +00:00
CenTdemeern1 5cc77b64bf Fix scrolling alt text using a mouse
Co-authored-by: BlankEclair <blankeclair@disroot.org>
2024-12-10 15:12:56 +01:00
Marie bf01dcd8fb Apply suggestions 2024-12-09 18:58:57 +01:00
Hazelnoot b7a6ccfef9 enable hideOnlineStatus by default for new users 2024-12-09 09:29:42 -05:00
Caramel bb12109bc4 Make collapsed notes subscribe to stream
Previously, when the note was collapsed, it didn't get updates such
as reactions from streaming server. This was a problem, as any change
made to the post before it got uncollapsed would end up being ignored.
2024-12-09 11:41:42 +01:00