memos/web
Steven bfad0708e2 fix(web): make memoFilterStore reactive by marking fields as observable
Fixes the root cause of non-reactive filtering. The MemoFilterState class
was not marking its fields as observable in MobX, so changes to the filters
array were not being tracked.

Added makeObservable configuration to mark:
- filters and shortcut as observable
- addFilter, removeFilter, removeFiltersByFactor, clearAllFilters, setShortcut as actions

This ensures that when tags are clicked and filters are added/removed,
MobX observer components will re-render and fetch new data.

Related to #5189

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-25 07:01:27 +08:00
..
public chore: enhance site.webmanifest in firefox (#4828) 2025-07-08 19:56:46 +08:00
src fix(web): make memoFilterStore reactive by marking fields as observable 2025-10-25 07:01:27 +08:00
.gitignore chore: update gitignore 2025-04-17 23:11:36 +08:00
.prettierrc.js chore: fix linter 2025-03-02 15:40:16 +08:00
components.json feat: themes (#4824) 2025-07-07 20:13:22 +08:00
eslint.config.mjs refactor: migrate eslint 2025-04-01 00:04:43 +08:00
index.html chore: remove fixed theme color 2025-07-15 23:26:07 +08:00
package.json feat(web): add accessible ConfirmDialog and migrate confirmations; and Markdown-safe descriptions (#5111) 2025-10-09 00:40:08 +08:00
pnpm-lock.yaml chore: bump mobx-react-lite from 4.1.0 to 4.1.1 in /web (#5137) 2025-10-08 09:28:40 +08:00
README.md
tsconfig.json
vite.config.mts refactor: unify components 2025-07-01 19:29:48 +08:00

The frontend of Memos