- 26 Oct, 2025 1 commit
-
-
Claude authored
- Removed the `nodes` field from the `Memo` interface in `memo_service.ts`. - Updated the `createBaseMemo` function and the `Memo` message functions to reflect the removal of `nodes`. - Cleaned up the serialization and deserialization logic accordingly. chore: remove code-inspector-plugin from Vite configuration - Deleted the `codeInspectorPlugin` from the Vite configuration in `vite.config.mts`. - Simplified the plugins array to include only `react` and `tailwindcss`.
-
- 24 Oct, 2025 4 commits
-
-
Steven authored
Fixes the root cause of non-reactive filtering. The MemoFilterState class was not marking its fields as observable in MobX, so changes to the filters array were not being tracked. Added makeObservable configuration to mark: - filters and shortcut as observable - addFilter, removeFilter, removeFiltersByFactor, clearAllFilters, setShortcut as actions This ensures that when tags are clicked and filters are added/removed, MobX observer components will re-render and fetch new data. Related to #5189
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude <noreply@anthropic.com>
-
Steven authored
Fixes filtering functionality that was broken due to improper use of useMemo with MobX observables. The issue occurred because useMemo's dependency array uses reference equality, but MobX observable arrays are mutated in place (reference doesn't change when items are added/removed). Changes: - Remove useMemo from filter computation in Home, UserProfile, and Archived pages - Calculate filters directly in render since components are already MobX observers - Fix typo: memoFitler -> memoFilter in Archived.tsx This ensures filters are recalculated whenever memoFilterStore.filters changes, making tag clicks and other filter interactions work correctly. Fixes #5189
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude <noreply@anthropic.com>
-
Steven authored
Fixes a regression introduced in v0.25.2 where PostgreSQL IN clause placeholders were not properly incremented, causing all parameters to use the same placeholder index (e.g., $1, $1, $1 instead of $1, $2, $3). This bug affected: - ListReactions (ContentIDList) - caused "failed to list reactions" errors - ListAttachments (MemoIDList) - ListMemos (IDList and UIDList) The fix combines placeholder generation and argument appending into a single loop to ensure proper incrementing. Fixes #5188
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude <noreply@anthropic.com>
-
Steven authored
-
- 23 Oct, 2025 10 commits
-
-
Claude authored
-
boojack authored
Updated README to include sponsorship details and enhance clarity on features and benefits. Signed-off-by:boojack <stevenlgtm@gmail.com>
-
Florian Dewald authored
feat: generate thumbnails for images stored in S3 and generate thumbnails with a maximum size (#5179)
-
Claude authored
- Add hover-based visibility for reaction selector in memo cards - Show reaction selector only on card hover or when popover is open - Add onOpenChange callback to ReactionSelector for state management - Reorder action buttons for better visual hierarchy - Simplify conditional rendering of comment link
-
Claude authored
-
Claude authored
-
Claude authored
-
Claude authored
-
Steven authored
-
Steven authored
Refactored all stores to follow consistent patterns and best practices while keeping MobX: New Infrastructure: - Created base-store.ts with StandardState base class and factory functions - Added store-utils.ts with RequestDeduplicator, StoreError, and OptimisticUpdate helpers - Added config.ts for MobX configuration and strict mode - Created comprehensive README.md with architecture guide and examples Server State Stores (API data): - attachment.ts: Added request deduplication, error handling, computed properties, delete/clear methods - workspace.ts: Added Theme type validation, computed memoization, improved initialization - memo.ts: Enhanced with optimistic updates, request deduplication, structured errors - user.ts: Fixed temporal coupling, added computed memoization, request deduplication Client State Stores (UI state): - view.ts: Added helper methods (toggleSortOrder, setLayout, resetToDefaults), input validation - memoFilter.ts: Added utility methods (hasFilter, clearAllFilters, removeFiltersByFactor) Improvements: - Request deduplication prevents duplicate API calls (all server stores) - Computed property memoization improves performance - Structured error handling with error codes - Optimistic updates for better UX (memo updates) - Comprehensive JSDoc documentation - Type-safe APIs with proper exports - Clear separation between server and client state All stores now follow consistent patterns for better maintainability and easier onboarding.
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By:Claude <noreply@anthropic.com>
-
- 22 Oct, 2025 10 commits
-
-
dependabot[bot] authored
Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Steven authored
-
Steven authored
-
Steven authored
- Update GetUser to accept both numeric IDs and username strings (users/{id} or users/{username}) - Implement CEL filter parsing for username-based lookups - Update proto documentation to reflect dual lookup capability - Simplify frontend user store to use GetUser instead of ListUsers filter - Update ListUsers filter documentation to show current capabilities -
Steven authored
-
Steven authored
- Replace fixed width (max-w-56) with responsive viewport-based width - Use 90vw on mobile and max-w-md on desktop for better adaptability - Add vertical scrolling with max-h-64 overflow-y-auto - Increase grid columns to 8 on medium+ screens for better space utilization - Ensures all reactions are accessible regardless of quantity Fixes #5117 Co-authored-by:GitHub Copilot <noreply@github.com>
-
dependabot[bot] authored
Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
dependabot[bot] authored
Signed-off-by:
dependabot[bot] <support@github.com> Co-authored-by:
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
Simon authored
-
Steven authored
-
- 21 Oct, 2025 2 commits
- 20 Oct, 2025 3 commits
- 16 Oct, 2025 2 commits
-
-
Johnny authored
-
Copilot authored
- Updated memo and reaction filtering logic to use a unified engine for compiling filter expressions into SQL statements. - Removed redundant filter parsing and conversion code from ListMemoRelations, ListReactions, and ListAttachments methods. - Introduced IDList and UIDList fields in FindMemo and FindReaction structs to support filtering by multiple IDs. - Removed old filter test files for reactions and attachments, as the filtering logic has been centralized. - Updated tests for memo filtering to reflect the new SQL statement compilation approach. - Ensured that unsupported user filters return an error in ListUsers method.
-
- 14 Oct, 2025 5 commits
-
-
Steven authored
-
Steven authored
-
Steven authored
-
Ben Mitchinson authored
Signed-off-by:
Ben Mitchinson <mitchinson.dev@gmail.com> Co-authored-by:
Copilot <175728472+Copilot@users.noreply.github.com>
-
Steven authored
-
- 12 Oct, 2025 1 commit
-
-
Copilot authored
-
- 10 Oct, 2025 1 commit
-
-
asttool authored
Signed-off-by:asttool <asttool@outlook.com>
-
- 09 Oct, 2025 1 commit
-
-
Huang Cheng Ting authored
-