notifications v2 table

This commit is contained in:
Natsumi
2026-02-20 17:19:06 +11:00
parent aa6ae21033
commit 5fe2f8ddf5
15 changed files with 488 additions and 259 deletions
+7 -35
View File
@@ -215,16 +215,8 @@ function handlePipeline(args) {
case 'notification-v2-delete':
console.log('notification-v2-delete', content);
for (var id of content.ids) {
notificationStore.handleNotificationHide({
params: {
notificationId: id
}
});
notificationStore.handleNotificationSee({
params: {
notificationId: id
}
});
notificationStore.handleNotificationV2Hide(id);
notificationStore.handleNotificationSee(id);
}
break;
@@ -239,37 +231,17 @@ function handlePipeline(args) {
break;
case 'see-notification':
notificationStore.handleNotificationSee({
params: {
notificationId: content
}
});
notificationStore.handleNotificationSee(content);
break;
case 'hide-notification':
notificationStore.handleNotificationHide({
params: {
notificationId: content
}
});
notificationStore.handleNotificationSee({
params: {
notificationId: content
}
});
notificationStore.handleNotificationHide(content);
notificationStore.handleNotificationSee(content);
break;
case 'response-notification':
notificationStore.handleNotificationHide({
params: {
notificationId: content.notificationId
}
});
notificationStore.handleNotificationSee({
params: {
notificationId: content.notificationId
}
});
notificationStore.handleNotificationHide(content.notificationId);
notificationStore.handleNotificationSee(content.notificationId);
break;
case 'friend-add':