• Steven's avatar
    fix(web): resolve tag sidebar filtering and reactivity issues · eb541d04
    Steven authored
    This fixes multiple issues with the tag sidebar and activity calendar:
    
    1. Tag disappearing bug: When filtering by a tag, the sidebar now shows all tags instead of only the selected tag
    2. Activity calendar filtering: Calendar now shows full activity history instead of filtered results
    3. Auto-update on memo changes: Sidebar tags and calendar now update automatically when creating/editing memos without requiring manual page refresh
    
    Technical changes:
    - Modified useFilteredMemoStats to fetch unfiltered UserStats from backend API for Home/Profile pages
    - Fixed key mismatch bug in userStore where stats were stored with inconsistent keys
    - Added statsStateId update in fetchUserStats to trigger reactivity
    - Updated MainLayout to pass appropriate userName based on page context
    - Archived/Explore pages continue to compute from cached memos (correct behavior)
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    eb541d04
Name
Last commit
Last update
.github Loading commit data...
cmd/memos Loading commit data...
internal Loading commit data...
plugin Loading commit data...
proto Loading commit data...
scripts Loading commit data...
server Loading commit data...
store Loading commit data...
web Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
.golangci.yaml Loading commit data...
.goreleaser.yaml Loading commit data...
CLAUDE.md Loading commit data...
CODEOWNERS Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
SECURITY.md Loading commit data...
go.mod Loading commit data...
go.sum Loading commit data...