Skip to content

Support comments for video and chat conversations#416

Closed
chiimagnus wants to merge 17 commits intomainfrom
crh1
Closed

Support comments for video and chat conversations#416
chiimagnus wants to merge 17 commits intomainfrom
crh1

Conversation

@chiimagnus
Copy link
Copy Markdown
Owner

Introduce a comments sidebar for video and chat conversations, refactor existing article comments to a unified comments system, and ensure compatibility with legacy data. Enhance synchronization with Notion and Obsidian for comments across different content types.

- Renamed functions and variables for consistency, changing `listArticleCommentsByCanonicalUrl` to `listCommentsByCanonicalUrl`, `addArticleComment` to `addComment`, and `deleteArticleCommentById` to `deleteCommentById`.
- Updated all relevant tests and mocks to reflect the new naming conventions.
- Introduced new unit tests for comments storage in IndexedDB, ensuring functionality for adding, listing, and deleting comments.
- Enhanced existing tests to accommodate the refactored functions and ensure proper behavior in various scenarios.
- Migrated legacy article comments to the new comments store in schema migration tests.
Copy link
Copy Markdown
Owner Author

@chiimagnus chiimagnus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

不予通过!会导致很多功能冲突!

@chiimagnus chiimagnus closed this Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant