• Steven's avatar
    fix(web): make layout and direction settings reactive in UI · 5f7c758f
    Steven authored
    Fixed issue #5194 where changing the layout (List/Masonry) or sort direction
    didn't update the UI until page refresh. The root cause was that ViewState
    fields weren't marked as MobX observables, so the UI didn't react to changes
    even though values were being persisted to localStorage.
    
    Solution: Added constructor to ViewState that marks orderByTimeAsc and layout
    fields as observable, following the same pattern used in other stores like
    MemoFilterState.
    
    Fixes #5194
    
    🤖 Generated with [Claude Code](https://claude.com/claude-code)
    Co-Authored-By: 's avatarClaude <noreply@anthropic.com>
    5f7c758f
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...