memos/store/db/postgres
Steven e0b1153269 fix(web): resolve MobX observable reactivity issue in filter computation
Fixes filtering functionality that was broken due to improper use of
useMemo with MobX observables. The issue occurred because useMemo's
dependency array uses reference equality, but MobX observable arrays
are mutated in place (reference doesn't change when items are added/removed).

Changes:
- Remove useMemo from filter computation in Home, UserProfile, and Archived pages
- Calculate filters directly in render since components are already MobX observers
- Fix typo: memoFitler -> memoFilter in Archived.tsx

This ensures filters are recalculated whenever memoFilterStore.filters changes,
making tag clicks and other filter interactions work correctly.

Fixes #5189

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 06:59:13 +08:00
..
activity.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
attachment.go fix(store): correct PostgreSQL placeholder generation in IN clauses 2025-10-25 06:47:06 +08:00
common.go chore: fix postgres stmts 2024-01-05 21:27:16 +08:00
idp.go fix: create idp in postgres 2024-05-29 23:22:20 +08:00
inbox.go fix: remove errors.Wrap(nil) (#4576) 2025-03-31 12:56:51 +08:00
memo.go fix(store): correct PostgreSQL placeholder generation in IN clauses 2025-10-25 06:47:06 +08:00
memo_filter_test.go fix(web): resolve MobX observable reactivity issue in filter computation 2025-10-25 06:59:13 +08:00
memo_relation.go refactor: memo filter 2025-10-16 09:22:52 +08:00
migration_history.go refactor: update migration history methods 2025-10-20 23:05:50 +08:00
postgres.go chore: fix linter 2025-06-15 10:27:24 +08:00
reaction.go fix(store): correct PostgreSQL placeholder generation in IN clauses 2025-10-25 06:47:06 +08:00
user.go refactor: memo filter 2025-10-16 09:22:52 +08:00
user_setting.go refactor: general user setting 2025-06-23 23:23:57 +08:00
workspace_setting.go chore: tweak workspace setting store 2024-04-10 22:31:55 +08:00