Commit Graph

18 Commits (1fd6a2a385175399fb515d50d44bee4cda30b40c)

Author SHA1 Message Date
memoclaw acddef1f3d
fix(api): switch user resource names to usernames (#5779)
Co-authored-by: memoclaw <265580040+memoclaw@users.noreply.github.com>
3 months ago
Johnny d7478b8003 perf: optimize memory usage for statistics and image processing 6 months ago
Johnny 7932f6d0d0
refactor: user auth improvements (#5360) 6 months ago
Steven ef9eee19d6 fix: implement tag suggestions functionality
Backend changes:
- Fix ListAllUserStats to calculate and return tag statistics
- Previously only returned name and timestamps, missing TagCount
- Now properly aggregates tags, pinned memos, and memo type stats

Frontend changes:
- Initialize user stats on app startup to populate tag data
- Show all tags when typing just '#' (fix empty Fuse.js search)
- Auto-refresh stats after creating/updating/deleting memos
- Fix Checkbox component ref warning with forwardRef

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

Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
Steven 4c1d1c70d1 refactor: rename workspace to instance throughout codebase
Remove work-related terminology by renaming "workspace" to "instance"
across the entire application. This change better reflects that Memos
is a self-hosted tool suitable for personal and non-work use cases.

Breaking Changes:
- API endpoints: /api/v1/workspace/* → /api/v1/instance/*
- gRPC service: WorkspaceService → InstanceService
- Proto types: WorkspaceSetting → InstanceSetting
- Frontend translation keys: workspace-section → instance-section

Backend Changes:
- Renamed proto definitions and regenerated code
- Updated all store layer methods and database drivers
- Renamed service implementations and API handlers
- Updated cache from workspaceSettingCache to instanceSettingCache

Frontend Changes:
- Renamed service client: workspaceServiceClient → instanceServiceClient
- Updated all React components and state management
- Refactored stores: workspace.ts → instance.ts
- Updated all 32 locale translation files

All tests pass and both backend and frontend build successfully.

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

Co-Authored-By: Claude <noreply@anthropic.com>
7 months ago
johnnyjoy c5d497a1f0 chore: update user settings 11 months ago
johnnyjoy 6d9770b9c8 chore: move filter to filters 11 months ago
Copilot e3a2dadb4b
fix: tag count regression - remove double increment causing off-by-one error (#4800)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: boojack <24653555+boojack@users.noreply.github.com>
12 months ago
Steven df52bf5e63 fix: tag count 1 year ago
Steven c9ab03e1a0 refactor: user service 1 year ago
Steven ea3a534ce5 chore: fix typo 1 year ago
Johnny 0dfcb1a7c8 feat: total memo count 1 year ago
Johnny 7a438be08d chore: update user stats 1 year ago
Johnny 925e97882e feat: support pinned factor 1 year ago
Steven 147458347b chore: tweak user stats in frontend 1 year ago
johnnyjoy 6904dc16af chore: fix linter 1 year ago
johnnyjoy c76ab87a0a refactor: update list user stats 1 year ago
johnnyjoy ee96465be0 feat: list user stats 1 year ago