mirror of
https://github.com/svemagie/indiekit-endpoint-activitypub.git
synced 2026-04-02 15:44:58 +02:00
fix: reader UI fixes and correct Fedify API usage (v1.1.8→1.1.12)
- Fix Unknown authors by adding multi-strategy fallback chain in extractObjectData (getAttributedTo → actorFallback → attributionIds) - Fix empty boosts from Lemmy/PieFed by checking content before storing - Fix @mention/hashtag styling to stay inline instead of breaking layout - Fix compose reply to show sanitized HTML blockquote instead of raw text - Add default-checked syndication targets for AP and Bluesky - Use authenticated document loader for all lookupObject calls (fixes 401 errors on servers requiring Authorized Fetch) - Fix like handler 404 by using canonical AP uid for interactions instead of display URLs; add data-item-uid to card template - Fix profile bio showing Nunjucks macro source code by renaming summary→bio to avoid collision with Indiekit's summary macro - Fix Fedify API misuse in timeline-store.js: use instanceof Article (not string comparison), replyTargetId (not inReplyTo), getTags() and getAttachments() async methods (not sync property access) - Fix inbox-listeners.js: use replyTargetId instead of non-existent getInReplyTo(), use instanceof Article for Update handler - Add error logging to interaction catch blocks
This commit is contained in:
@@ -296,24 +296,40 @@
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
/* @mentions — styled as subtle pills to distinguish from prose */
|
||||
.ap-card__content .h-card,
|
||||
.ap-card__content a.u-url.mention {
|
||||
color: var(--color-on-offset);
|
||||
font-size: var(--font-size-s);
|
||||
text-decoration: none;
|
||||
/* @mentions — keep inline, style as subtle links */
|
||||
.ap-card__content .h-card {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.ap-card__content .h-card a,
|
||||
.ap-card__content a.u-url.mention {
|
||||
display: inline;
|
||||
color: var(--color-on-offset);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ap-card__content .h-card a span,
|
||||
.ap-card__content a.u-url.mention span {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.ap-card__content .h-card a:hover,
|
||||
.ap-card__content a.u-url.mention:hover {
|
||||
color: var(--color-primary);
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
/* Hashtag mentions — subtle tag styling */
|
||||
/* Hashtag mentions — keep inline, subtle styling */
|
||||
.ap-card__content a.mention.hashtag {
|
||||
display: inline;
|
||||
color: var(--color-on-offset);
|
||||
font-size: var(--font-size-s);
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.ap-card__content a.mention.hashtag span {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.ap-card__content a.mention.hashtag:hover {
|
||||
|
||||
Reference in New Issue
Block a user