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>
3 months ago
..
cache chore: fix linter 6 months ago
db fix(store): filter inbox notifications by message type at database level 3 months ago
migration
seed chore: update demo data 3 months ago
test fix(security): implement security review recommendations (#5228) 4 months ago
activity.go
attachment.go refactor: rename workspace to instance throughout codebase 4 months ago
cache.go
common.go
driver.go fix(security): implement security review recommendations (#5228) 4 months ago
idp.go
inbox.go fix(store): filter inbox notifications by message type at database level 3 months ago
instance_setting.go refactor: rename workspace to instance throughout codebase 4 months ago
memo.go feat: enhance memo sorting functionality to support multiple fields 4 months ago
memo_relation.go
migration_history.go refactor: rename workspace to instance throughout codebase 4 months ago
migrator.go refactor: rename workspace to instance throughout codebase 4 months ago
reaction.go fix(security): implement security review recommendations (#5228) 4 months ago
store.go refactor: rename workspace to instance throughout codebase 4 months ago
user.go refactor: remove unused constants 4 months ago
user_setting.go