feat(notifications): added push notifications navigation handling and fixed ws notification parsing

This commit is contained in:
misha
2026-03-04 09:05:00 +03:00
parent 58d99424a0
commit 08eeea6ba4
18 changed files with 424 additions and 239 deletions

View File

@@ -109,7 +109,10 @@ void main() {
],
child: wrap(
const Scaffold(
body: BottomNavigationBarWidget(child: Text('Test Content')),
body: BottomNavigationBarWidget(
child: Text('Test Content'),
currentLocation: '/feed-screen',
),
),
),
),
@@ -145,7 +148,10 @@ void main() {
],
child: wrap(
const Scaffold(
body: BottomNavigationBarWidget(child: Text('Test Content')),
body: BottomNavigationBarWidget(
child: Text('Test Content'),
currentLocation: '/feed-screen',
),
),
),
),

View File

@@ -311,7 +311,7 @@ void main() {
type: NotificationType.commentReplied,
entityName: 'Test Entity',
commentedEntityId: 1,
commentedEntityType: 'test',
commentedEntityType: CommentedEntityType.diet,
author: 'Test Author',
authorId: 1,
parentCommentId: 1,
@@ -349,7 +349,7 @@ void main() {
type: NotificationType.entityCommented,
entityName: 'Test Entity',
entityId: 1,
entityType: 'test',
entityType: CommentedEntityType.diet,
entityTranslatedType: 'Test Type',
entityUrl: 'test_url',
authorName: 'Test Author',