Skip to content

Conversation

@dkildar
Copy link
Collaborator

@dkildar dkildar commented Oct 16, 2025

  • SDK = Pure data fetching logic ✅
  • App = Thin convenience wrappers + app-specific enhancements ✅

Summary by CodeRabbit

  • New Features

    • Added enhanced notification filtering and settings management across the platform.
    • Introduced DMCA content filtering to help protect against copyright violations.
    • Expanded market, witness, proposal, and wallet data modules for improved information access.
  • Improvements

    • Refactored data fetching architecture for better performance and consistency.
    • Enhanced notification system with improved query optimization and caching.
  • Bug Fixes

    • Fixed query invalidation for notification unread counts and settings.

✏️ Tip: You can customize this high-level summary in your review settings.

@dkildar dkildar self-assigned this Oct 16, 2025
@dkildar dkildar added the enhancement New feature or request label Oct 16, 2025
@dkildar dkildar marked this pull request as draft October 16, 2025 15:37
feruzm added 13 commits January 3, 2026 11:51
- Resolved conflicts from migrated queries (notifications, hive-engine, stats)
- Updated imports to use SDK and wallets packages
- Updated package versions (SDK 1.3.6, Wallets 1.4.35)
- Rebuilt packages to regenerate dist files
- Added Entry, Vote, and related types to SDK posts module
- Migrated 4 core post queries to SDK:
  * get-entry-active-votes-query
  * get-post-header-query
  * get-post-query
  * get-discussions-query

- Includes sorting logic and parseAsset utility
- All queries use CONFIG.hiveClient for bridge API calls
- Rebuilt SDK package (v1.3.7)
- Added getAccountPostsInfiniteQueryOptions for account posts
- Added getPostsRankedInfiniteQueryOptions for ranked/feed posts
- Added getReblogsQueryOptions for reblog data
- Includes BlogEntry and Reblog types
- All use Hive bridge/condenser API calls
- Fixed TypeScript types for query keys
- Rebuilt SDK package
Updated 7 query wrappers to use SDK query options:
- get-post-query → uses getPostQueryOptions from SDK
- get-post-header-query → uses getPostHeaderQueryOptions
- get-entry-active-votes-query → uses getEntryActiveVotesQueryOptions
- get-discussions-query → uses getDiscussionsQueryOptions
- get-account-posts-query → uses getAccountPostsInfiniteQueryOptions
- get-posts-ranked-query → uses getPostsRankedInfiniteQueryOptions
- get-reblogs-query → uses getReblogsQueryOptions

Maintains backward compatibility by wrapping SDK queries with
EcencyQueriesManager to preserve existing API (.prefetch, .getData, etc.)

Preserves app-specific logic:
- Cache management for discussions (EcencyEntriesCacheManagement)
- SortOrder enum mapping between app and SDK
- Active user context for reblogs
@feruzm feruzm marked this pull request as ready for review January 3, 2026 18:13
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

feruzm and others added 5 commits January 3, 2026 20:28
…ry.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…ns-settings-query-options.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…ns-unread-count-query-options.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…ns.tsx

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
feruzm and others added 2 commits January 3, 2026 20:33
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

…-options.ts

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

coderabbitai[bot]

This comment was marked as resolved.

@feruzm
Copy link
Member

feruzm commented Jan 4, 2026

We still have wrappers and footprint from old queries, creating standard use of react query and cleanup wrappers should be next step, imo

@ecency ecency deleted a comment from coderabbitai bot Jan 4, 2026
@ecency ecency deleted a comment from coderabbitai bot Jan 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants