You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
memos/store
Steven d1492007ab fix(store): filter inbox notifications by message type at database level
Add MessageType filter to FindInbox to exclude legacy VERSION_UPDATE
notifications from inbox queries. This resolves the issue where users
saw notification counts but no items displayed, as VERSION_UPDATE
entries cannot be rendered in the new UserNotification API.

Changes:
- Add MessageType field to FindInbox struct for database-level filtering
- Implement JSON extraction filters in SQLite, MySQL, and PostgreSQL drivers
- Update ListUserNotifications to filter MEMO_COMMENT type at store level

This approach improves performance by filtering at the database rather
than in application code, reducing unnecessary data transfer for users
with many legacy inbox entries.

Fixes #5278

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

Co-Authored-By: Claude <noreply@anthropic.com>
1 month ago
..
cache chore: fix linter 4 months ago
db fix(store): filter inbox notifications by message type at database level 1 month ago
migration chore: update migrator comments 6 months ago
seed chore: update demo data 1 month ago
test fix(security): implement security review recommendations (#5228) 2 months ago
activity.go chore: remove version update activity 11 months ago
attachment.go refactor: rename workspace to instance throughout codebase 2 months ago
cache.go chore: update store cache 2 years ago
common.go chore: update workspace setting store 2 years ago
driver.go fix(security): implement security review recommendations (#5228) 2 months ago
idp.go refactor: store cache 7 months ago
inbox.go fix(store): filter inbox notifications by message type at database level 1 month ago
instance_setting.go refactor: rename workspace to instance throughout codebase 2 months ago
memo.go feat: enhance memo sorting functionality to support multiple fields 2 months ago
memo_relation.go fix: list memo relations 9 months ago
migration_history.go refactor: rename workspace to instance throughout codebase 2 months ago
migrator.go refactor: rename workspace to instance throughout codebase 2 months ago
reaction.go fix(security): implement security review recommendations (#5228) 2 months ago
store.go refactor: rename workspace to instance throughout codebase 2 months ago
user.go refactor: remove unused constants 3 months ago
user_setting.go refactor: webhook service 6 months ago