mirror of https://github.com/usememos/memos
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
- Fix duplicate SSE event on comment creation: CreateMemoComment now suppresses the redundant memo.created broadcast from the inner CreateMemo call, emitting only memo.comment.created - Extract reaction event-building IIFEs into buildMemoReactionSSEEvent helper, removing duplicated inline DB-fetch logic - Promote resolveSSEAudienceCreatorID from method to free function (resolveSSECreatorID) since it never used the receiver - Add userID to SSE connect/disconnect log lines for traceability - Change canReceive default from permissive (return true) to deny-with-warning for unknown visibility types - Add comprehensive tests covering all new helpers, visibility edge cases, slow-client drop behavior, and the double-broadcast fix Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
3 months ago | |
|---|---|---|
| .. | ||
| components | 3 months ago | |
| contexts | 3 months ago | |
| helpers | 3 months ago | |
| hooks | 3 months ago | |
| layouts | 3 months ago | |
| lib | 3 months ago | |
| locales | 3 months ago | |
| pages | 3 months ago | |
| router | 3 months ago | |
| themes | 4 months ago | |
| types | 3 months ago | |
| utils | 3 months ago | |
| App.tsx | 4 months ago | |
| auth-state.ts | 3 months ago | |
| connect.ts | 3 months ago | |
| i18n.ts | 3 months ago | |
| index.css | 4 months ago | |
| main.tsx | 4 months ago | |