Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
53e93b0
feat: handle missing events in ActivityCommentList
xsahil03x Dec 15, 2025
8c46fc1
feat: handle missing events in ActivityReactionList
xsahil03x Dec 15, 2025
4f4123d
feat: handle missing events in BookmarkFolderList
xsahil03x Dec 15, 2025
69401e8
feat: handle missing events in BookmarkList
xsahil03x Dec 15, 2025
4803db4
feat: handle missing events in CommentReactionList
xsahil03x Dec 15, 2025
43f0308
feat: handle missing events in CommentReplyList
xsahil03x Dec 15, 2025
322093d
feat: handle missing events in FeedList
xsahil03x Dec 15, 2025
0eadfdb
feat: handle missing events in FollowList
xsahil03x Dec 15, 2025
318a364
feat: handle missing events in MemberList
xsahil03x Dec 15, 2025
6c677b2
feat: handle missing events in PollVoteList
xsahil03x Dec 15, 2025
03b37a0
feat: handle missing events in PollList
xsahil03x Dec 15, 2025
610c2a4
feat: handle missing events in CommentList
xsahil03x Dec 15, 2025
ea3838d
chore: ignore reaction deleted events for other comments
xsahil03x Dec 15, 2025
3ddf9a2
feat: handle missing events in Activity
xsahil03x Dec 16, 2025
3753635
feat: add update handler for existing polls in PollList
xsahil03x Dec 16, 2025
8d7cad7
feat: add missing event handlers in ActivityList
xsahil03x Dec 16, 2025
dcde690
feat: update poll closed event handler to use poll ID
xsahil03x Dec 16, 2025
18146de
fix: fix generic type parameter in MarkActivityDataHandler
xsahil03x Dec 16, 2025
a130241
feat: handle missing events in Feed
xsahil03x Dec 16, 2025
e5cd7df
chore: review changes
xsahil03x Dec 16, 2025
483fd9c
chore: review changes
xsahil03x Dec 17, 2025
f393f4f
test: add tests for ActivityCommentList
xsahil03x Dec 17, 2025
33b8f7e
test: add tests for ActivityReactionList
xsahil03x Dec 17, 2025
8c369bc
test: add tests for BookmarkFolderList
xsahil03x Dec 17, 2025
91e9db5
chore: format
xsahil03x Dec 17, 2025
b026131
test: add tests for BookmarkList
xsahil03x Dec 17, 2025
af0ea13
test: add tests for CommentReactionList
xsahil03x Dec 17, 2025
08438f7
test: add tests for CommentReplyList
xsahil03x Dec 17, 2025
8c7b564
test: add tests for FeedList
xsahil03x Dec 17, 2025
328fee2
chore: run format
xsahil03x Dec 17, 2025
f0b7e41
test: add tests for FollowList
xsahil03x Dec 17, 2025
be8b9c3
test: add tests for MemberList
xsahil03x Dec 17, 2025
e6711c9
test: add tests for PollVoteList
xsahil03x Dec 17, 2025
a27229a
test: add tests for PollList
xsahil03x Dec 17, 2025
abf0252
test: add tests for CommentList
xsahil03x Dec 17, 2025
ea03430
test: add tests for Activity
xsahil03x Dec 18, 2025
3757b1c
test: add teardown for comment list in activity, comment, and member …
xsahil03x Dec 18, 2025
361a3d4
test: add remaining tests for Activity
xsahil03x Dec 18, 2025
0e1cd9e
test: add remaining tests for ActivityList
xsahil03x Dec 18, 2025
65cd533
test: add remaining tests for Feed
xsahil03x Dec 19, 2025
a972e78
test: improve reaction, poll handling in tests
xsahil03x Dec 19, 2025
6dd0a13
test: add tests for ModerationConfigList
xsahil03x Dec 19, 2025
413635b
test: update pagination assertions to use `canLoadMore` in state tests
xsahil03x Dec 19, 2025
f5ae50e
test: add tests for PollDeletedFeedEvent and PollUpdatedFeedEvent
xsahil03x Dec 19, 2025
d30ad57
chore: update stream_core dependency to version 0.3.3
xsahil03x Dec 19, 2025
1b4217b
Merge remote-tracking branch 'origin/main' into feat/add-missing-even…
xsahil03x Dec 19, 2025
2619d48
chore: update CHANGELOG.md
xsahil03x Dec 19, 2025
f53dd04
chore: fix analysis issue
xsahil03x Dec 19, 2025
6869e82
fix: update reaction timestamps to use createdAt
xsahil03x Dec 19, 2025
bdc3b3f
chore: update comment to reflect member list disposal in tests
xsahil03x Dec 19, 2025
65d11f2
chore: update comments to reflect correct disposal of reaction lists …
xsahil03x Dec 19, 2025
4a62569
fix: fix incorrect pagination verifications
xsahil03x Dec 19, 2025
5505d67
test: add tests for ModerationClient
xsahil03x Dec 19, 2025
d2025f6
test: update ModerationClientTester to include tearDown and fix clien…
xsahil03x Dec 19, 2025
7f98b2e
test: add tests for queryModerationConfigs and handle success/failure…
xsahil03x Dec 19, 2025
df89139
Merge remote-tracking branch 'origin/main' into test/add-moderation-c…
xsahil03x Dec 19, 2025
3f0abc7
chore: fix merge conflicts
xsahil03x Dec 19, 2025
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
1 change: 1 addition & 0 deletions packages/stream_feeds/dart_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tags:
feed-list:
follow-list:
member-list:
moderation-client:
moderation-config-list:
poll-list:
poll-vote-list:
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ import '../state/query/poll_votes_query.dart';
import '../state/query/polls_query.dart';
import '../ws/feeds_ws_event.dart';
import 'endpoint_config.dart';
import 'moderation_client.dart';

class StreamFeedsClientImpl implements StreamFeedsClient {
StreamFeedsClientImpl({
Expand Down
8 changes: 5 additions & 3 deletions packages/stream_feeds/lib/src/client/moderation_client.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import 'package:stream_core/stream_core.dart';

import '../../stream_feeds.dart' show ModerationConfigsQuery;
import '../generated/api/api.dart' as api;
import '../models.dart' show ModerationConfigData, PaginationResult;
import '../repository/moderation_repository.dart';
import '../state.dart' show ModerationConfigsQuery;

/// Controller exposing moderation functionalities.
///
Expand Down Expand Up @@ -160,8 +161,9 @@ class ModerationClient {
///
/// Retrieves moderation configurations using the specified [queryModerationConfigsRequest] filters and pagination.
///
/// Returns a [Result] containing a [api.QueryModerationConfigsResponse] or an error.
Future<void> queryModerationConfigs({
/// Returns a [Result] containing a [PaginationResult] of [ModerationConfigData] or an error.
Future<Result<PaginationResult<ModerationConfigData>>>
queryModerationConfigs({
required ModerationConfigsQuery queryModerationConfigsRequest,
}) {
return _moderationRepository
Expand Down
2 changes: 2 additions & 0 deletions packages/stream_feeds/lib/src/feeds_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ import 'state/query/moderation_configs_query.dart';
import 'state/query/poll_votes_query.dart';
import 'state/query/polls_query.dart';

export 'client/moderation_client.dart';

/// {@template stream_feeds_client}
/// Stream Feeds client for building scalable newsfeeds and activity streams.
///
Expand Down
Loading
Loading