feat: nested comments and replies#397
Open
program-the-brain-not-the-heartbeat wants to merge 1 commit intokanbn:mainfrom
Open
feat: nested comments and replies#397program-the-brain-not-the-heartbeat wants to merge 1 commit intokanbn:mainfrom
program-the-brain-not-the-heartbeat wants to merge 1 commit intokanbn:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request implements threaded (nested) comments for card activities, allowing users to reply to specific comments and view comment threads with proper indentation. It introduces a new reply-to-comment workflow, updates the UI to support nested replies, and refactors activity loading for better pagination and thread rendering.
Threaded Comments and Reply Workflow
apps/web/src/views/card/components/ActivityList.tsx[1] [2];apps/web/src/views/card/components/Comment.tsx[3] [4]apps/web/src/views/card/components/ActivityList.tsx[1] [2];apps/web/src/views/card/components/NewCommentForm.tsx[3] [4]Pagination and Activity Loading Improvements
nextCursorvalue from the backend instead of relying on timestamps, improving reliability when loading more activities. (apps/web/src/views/card/components/ActivityList.tsx[1] [2] [3] [4] [5]UI and Permission Updates
Commentcomponent to show a reply button (arrow icon) when the user has permission to reply, and to visually indent comments based on their depth in the thread. (apps/web/src/views/card/components/Comment.tsx[1] [2] [3]NewCommentFormto support replying to a specific comment, including showing the reply target and a cancel button. (apps/web/src/views/card/components/NewCommentForm.tsx[1] [2] [3] [4]Imports and Type Handling
apps/web/src/views/card/components/ActivityList.tsx[1];apps/web/src/views/card/components/Comment.tsx[2];apps/web/src/views/card/components/NewCommentForm.tsx[3]These changes collectively enable a much richer commenting experience on cards, supporting discussions and replies in a clear, organized manner.