• Steven's avatar
    fix(web): resolve MobX observable reactivity issue in filter computation · e0b11532
    Steven authored
    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: 's avatarClaude <noreply@anthropic.com>
    e0b11532
Name
Last commit
Last update
..
activity.go Loading commit data...
attachment.go Loading commit data...
common.go Loading commit data...
idp.go Loading commit data...
inbox.go Loading commit data...
memo.go Loading commit data...
memo_filter_test.go Loading commit data...
memo_relation.go Loading commit data...
migration_history.go Loading commit data...
postgres.go Loading commit data...
reaction.go Loading commit data...
user.go Loading commit data...
user_setting.go Loading commit data...
workspace_setting.go Loading commit data...