Folo/packages/internal/store/src
DIYgod bdc17c0f12
fix(subscription): deduplicate feed IDs when feeds exist in both subscriptions and lists
Previously, if a feed was both directly subscribed and existed in a subscribed list,
it would appear twice in the subscription IDs array, causing unread counts to be
doubled in SubscriptionTabButton.

Fixed by using Set to deduplicate feed IDs in:
- getSubscriptionIdsByViewSelector
- getSubscribedFeedIdAndInboxHandlesByView

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-20 19:53:10 +08:00
..
@types refactor(desktop): use action store (#3868) 2025-06-05 00:57:38 +00:00
constants refactor(desktop): use database and store from shared package (#3897) 2025-06-11 11:36:25 +08:00
lib feat: optimize ai entry content layout and re-structure store files 2025-08-13 18:42:41 +08:00
modules fix(subscription): deduplicate feed IDs when feeds exist in both subscriptions and lists 2025-08-20 19:53:10 +08:00
morph feat: optimize ai entry content layout and re-structure store files 2025-08-13 18:42:41 +08:00
context.ts refactor: Progressive migration Client SDK (#4227) 2025-07-23 01:21:34 +08:00
hydrate.ts feat: optimize ai entry content layout and re-structure store files 2025-08-13 18:42:41 +08:00
reset.ts feat: optimize ai entry content layout and re-structure store files 2025-08-13 18:42:41 +08:00
types.ts refactor: Progressive migration Client SDK (#4227) 2025-07-23 01:21:34 +08:00