• Steven's avatar
    refactor(web): refactor MemoFilters component and add comprehensive filter support · e915e3a4
    Steven authored
    - Refactored MemoFilters.tsx for better maintainability:
      * Centralized filter configuration with FILTER_CONFIGS object
      * Added TypeScript interfaces for type safety
      * Removed separate FactorIcon component
      * Extracted handleRemoveFilter function
      * Improved imports organization
    
    - Polished MemoFilters UI styles:
      * Changed to modern pill/badge design with rounded-full
      * Enhanced spacing and color schemes
      * Added smooth transitions and hover effects
      * Improved interactive remove button with destructive color hints
      * Better text readability with font-medium
    
    - Added comprehensive filter support to all pages:
      * Explore page: Added full filter support (was missing)
      * Archived page: Enhanced from basic to full filter support
      * UserProfile page: Enhanced from basic to full filter support
      * All pages now support: content search, tag search, pinned, hasLink, hasTaskList, hasCode, and displayTime filters
    
    - Consistency improvements:
      * All pages using PagedMemoList now have identical filter logic
      * Respects workspace settings for display time (created/updated)
      * Unified filter behavior across Home, Explore, Archived, and UserProfile pages
    e915e3a4
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...