- 31 Dec, 2025 4 commits
- 30 Dec, 2025 6 commits
- 29 Dec, 2025 4 commits
- 28 Dec, 2025 8 commits
-
-
Johnny authored
-
Johnny authored
-
Johnny authored
-
Johnny authored
-
Johnny authored
-
Johnny authored
refactor: streamline MemoView component and related hooks, removing unused code and integrating user data
-
Johnny authored
-
Johnny authored
- Deleted MemoContentContext and its associated types. - Updated Tag and TaskListItem components to use MemoViewContext instead. - Refactored MemoContent component to eliminate context provider and directly use derived values. - Simplified MemoViewContext to only include essential data. - Enhanced error handling in various components by introducing a centralized error handling utility. - Improved type safety across components and hooks by refining TypeScript definitions. - Updated remark plugins to enhance tag parsing and preserve node types.
-
- 27 Dec, 2025 2 commits
- 26 Dec, 2025 2 commits
-
-
Johnny authored
-
boojack authored
Signed-off-by:boojack <stevenlgtm@gmail.com>
-
- 25 Dec, 2025 9 commits
-
-
Steven authored
-
Steven authored
- Remove outdated CLAUDE.md with obsolete architecture references - Create comprehensive AGENTS.md covering: - Backend: Go, gRPC, Connect RPC, store layer, migrations - Frontend: React, React Query, Context API, state management - Development commands, workflows, and testing patterns - Code conventions, configuration, CI/CD, and security notes
-
Steven authored
Replace dynamic hook mapping with useMemoComments hook to fetch all comments via listMemoComments API, ensuring consistent hook order across renders and fixing page load failure after comment creation.
-
Steven authored
-
Steven authored
The translation files ca.json and gl.json existed but weren't registered in the locales array, preventing users from selecting these languages.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude Sonnet 4.5 <noreply@anthropic.com>
-
Steven authored
This commit combines multiple improvements to the React Query migration: Performance Optimization: - Increase default staleTime from 10s to 30s for better performance - Reduces unnecessary network requests while maintaining data freshness Error Handling: - Add ErrorBoundary component with user-friendly error UI - Integrated at app root level for comprehensive coverage - Provides error details and reload option Documentation: - Add docs/auth-architecture.md explaining AuthContext design decisions - Document why AuthContext is preferred over React Query for current user Code Cleanup: - Remove all JSDoc comments from hooks and components - Keep essential inline comments for clarity - Simplifies code readability Files modified: - src/lib/query-client.ts - Optimized staleTime - src/main.tsx - Added ErrorBoundary wrapper - src/components/ErrorBoundary.tsx - New component - src/hooks/useMemoQueries.ts - Removed JSDoc - src/hooks/useUserQueries.ts - Removed JSDoc - src/components/PagedMemoList/PagedMemoList.tsx - Removed JSDoc - docs/auth-architecture.md - New documentation All changes verified with TypeScript compilation and production build.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude Sonnet 4.5 <noreply@anthropic.com>
-
ghose authored
Signed-off-by:ghose <704948+xmgz@users.noreply.github.com>
-
dwojtas authored
-
Steven authored
Optimizes React Query migration with performance and consistency improvements: Performance: - Memoize AuthContext and InstanceContext provider values to prevent unnecessary re-renders - Convert InstanceContext getter functions to useMemo hooks - Fix refetchSettings to avoid state dependency that caused frequent recreations Type Safety: - Replace 'any' types in useAttachmentQueries with proper protobuf types - Add Attachment and ListAttachmentsRequest type imports Query Key Consistency: - Replace hardcoded ["users", "stats"] with userKeys.stats() factory function - Ensures consistent cache key management across mutations Developer Experience: - Rename unused useCurrentUser to useCurrentUserQuery to avoid confusion - Add documentation explaining AuthContext-based vs React Query current user hooks - Update internal references in useNotifications and useTagCounts All changes verified with TypeScript compilation and build tests.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude Sonnet 4.5 <noreply@anthropic.com>
-
- 24 Dec, 2025 1 commit
-
-
Johnny authored
-
- 23 Dec, 2025 4 commits
-
-
Johnny authored
-
Johnny authored
-
Johnny authored
- Wrap actions.toggleFocusMode() with dispatch() call - Create toggleFocusMode helper function for callbacks - Fix focus mode not toggling due to action not being dispatched
-
Johnny authored
- Add useFocusMode hook to lock body scroll in focus mode - Add 'f' key keyboard shortcut to toggle focus mode - Add FocusModeExitButton inside editor - Import and wire up all focus mode components and hooks - Update useKeyboard to handle focus mode toggle
-