Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,13 @@ Recap: Mastodon v4.3 features (https://github.com/mastodon/mastodon/releases/tag
- 📸 Extract description from attached image metadata
- 🐛 Bug fixes

## January 7, 2026

📢 https://mastodon.social/@cheeaun/115853890477340137

- 🗓️ Experimental "Year In Posts"
- 🐛 Bug fixes

<!--
## Next
Expand Down
7 changes: 1 addition & 6 deletions src/components/notification.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -502,11 +502,6 @@ function Notification({
<Icon icon="rocket" size="xl" alt={type} class="reblog-icon" />
<Icon icon="heart" size="xl" alt={type} class="favourite-icon" />
</>
) : type === 'mention+quote' ? (
<>
<Icon icon="comment" size="xl" alt={type} class="mention-icon" />
<Icon icon="quote" size="xl" alt={type} class="quote-icon" />
</>
) : (
<Icon
icon={NOTIFICATION_ICONS[type] || 'notification'}
Expand All @@ -531,7 +526,7 @@ function Notification({
</mark>
</>
)} */}
{type !== 'mention' && type !== 'quote' && type !== 'mention+quote' && (
{type !== 'mention' && type !== 'quote' && (
<>
<p>{text}</p>
{type === 'follow_request' && (
Expand Down
8 changes: 4 additions & 4 deletions src/locales/en.po

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 3 additions & 40 deletions src/pages/notifications.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,7 @@
cursor: pointer;
}
}
.notification-type:is(
.notification-mention,
.notification-quote,
.notification-mention\+quote
) {
.notification-type:is(.notification-mention, .notification-quote) {
padding-top: 16px;
}
.only-mentions .notification:not(.notification-mention),
Expand Down Expand Up @@ -95,12 +91,6 @@
.notification .favourite-icon {
color: var(--favourite-color);
}
.notification .mention-icon {
color: var(--reply-to-color);
}
.notification .quote-icon {
color: var(--quote-color);
}

.notification .account-avatar-stack {
position: relative;
Expand Down Expand Up @@ -152,20 +142,12 @@
filter: saturate(0.25);
}
.notification
.status-link:not(
.status-type-mention,
.status-type-quote,
.status-type-mention\+quote
)
.status-link:not(.status-type-mention, .status-type-quote)
> .status {
font-size: calc(var(--text-size) * 0.9);
}
.notification
.status-link.truncated:not(
.status-type-mention,
.status-type-quote,
.status-type-mention\+quote
)
.status-link.truncated:not(.status-type-mention, .status-type-quote)
> .status {
/* fade out mask gradient bottom */
mask-image: linear-gradient(
Expand Down Expand Up @@ -218,20 +200,6 @@
border-color: var(--quote-color);
box-shadow: 0 0 0 3px var(--quote-faded-color);
}
.notification .status-link.status-type-mention\+quote {
max-height: 320px;
filter: none;
background-color: var(--bg-color);
border-color: transparent;
background-image:
linear-gradient(var(--bg-color), var(--bg-color)),
linear-gradient(135deg, var(--reply-to-color), var(--quote-color));
background-origin: border-box;
background-clip: padding-box, border-box;
box-shadow:
1.5px 1.5px 0 1.5px var(--quote-faded-color),
-1.5px -1.5px 0 1.5px var(--reply-to-faded-color);
}
.notification:focus-visible .status-link,
.notification .status-link:is(:hover, :focus) {
background-color: var(--bg-blur-color);
Expand All @@ -246,11 +214,6 @@
border-color: var(--quote-color);
box-shadow: 0 0 5px var(--quote-color);
}
.notification .status-link.status-type-mention\+quote:is(:hover, :focus) {
box-shadow:
2.5px 2.5px 5px -2.5px var(--quote-color),
-2.5px -2.5px 5px -2.5px var(--reply-to-color);
}
.notification .status-link:active {
filter: brightness(0.95);
}
Expand Down
5 changes: 1 addition & 4 deletions src/utils/group-notifications.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const notificationTypeKeys = {
update: ['status'],
};

const GROUP_TYPES = ['favourite', 'reblog', 'follow', 'mention', 'quote'];
const GROUP_TYPES = ['favourite', 'reblog', 'follow'];
const groupable = (type) => GROUP_TYPES.includes(type);

export function fixNotifications(notifications) {
Expand Down Expand Up @@ -102,9 +102,6 @@ export function groupNotifications2(groupNotifications) {
) {
virtualType = 'favourite+reblog';
}
if (type === 'mention' || type === 'quote') {
virtualType = 'mention+quote';
}
// const key = `${status?.id}-${virtualType}-${date}-${sameCount ? 1 : 0}`;
const key = `${status?.id}-${virtualType}-${date}`;
const mappedNotification = notificationsMap[key];
Expand Down
Loading