mirror of https://github.com/usememos/memos
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.
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> |
1 week ago | |
|---|---|---|
| .. | ||
| cache | 2 months ago | |
| db | 1 week ago | |
| migration | 4 months ago | |
| seed/sqlite | 2 weeks ago | |
| test | 3 weeks ago | |
| activity.go | 9 months ago | |
| attachment.go | 3 weeks ago | |
| cache.go | 2 years ago | |
| common.go | 2 years ago | |
| driver.go | 2 weeks ago | |
| idp.go | 5 months ago | |
| inbox.go | 1 year ago | |
| memo.go | 2 weeks ago | |
| memo_relation.go | 7 months ago | |
| migration_history.go | 2 weeks ago | |
| migrator.go | 2 weeks ago | |
| reaction.go | 3 weeks ago | |
| store.go | 5 months ago | |
| user.go | 3 weeks ago | |
| user_setting.go | 4 months ago | |
| workspace_setting.go | 5 months ago | |