Merged
Conversation
… prevent counter drift
…thorized access to pending/spam comments
… access to pending or spam comments
… and prevent unauthorized comment posting
…rePost hook, enhancing security and preventing client-side ID manipulation
…ormalizing parentId, ensuring accurate cache targeting
…rify access control for comment list and count requests
…hance comment fetching logic
…anced user engagement
…oved status filters to admin sessions
…nents for enhanced user context
…re consistent dependency resolution
…aintain pending state in cache
…sistent installation and avoid cache issues
…ST response includes resolvedAuthorName and handling undefined values in getInitials function
…ies after page refresh, ensuring correct server-side handling of currentUserId
packages/stack/src/plugins/comments/client/components/comment-thread.tsx
Show resolved
Hide resolved
…entries in local state
… hooks and routes
…are displayed correctly
…ccess based on authentication headers
packages/stack/src/plugins/comments/client/components/comment-thread.tsx
Show resolved
Hide resolved
…rect display of nested comments
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
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.

Summary
Type of change
Checklist
pnpm buildpassespnpm typecheckpassespnpm lintpassesdocs/content/docs/) if consumer-facing types or behavior changedScreenshots
Note
Medium Risk
Adds a new cross-cutting plugin with new HTTP endpoints and authorization hooks plus changes to CI/e2e execution; mistakes could expose moderation/user-comment data or break example app routing. The changes are mostly additive but touch multiple frameworks and release exports (
@btst/stackversion bump).Overview
Introduces a new first-party Comments plugin (backend + client) with threaded replies, likes, editing, moderation routes, and a user comments page, including new
@btst/stackexport/entry points and a version bump to2.8.0.Updates all three example apps to register the plugin, import its CSS, mount
CommentThreadunder blog posts and kanban task dialogs, and enablePATCHin the example API handlers.Expands Playwright coverage with a new
smoke.comments.spec.tsand changes the E2E workflow/config to run per-framework jobs via a matrix (plus per-frameworkpnpm e2e:smoke:*scripts andBTST_FRAMEWORKfiltering). Documentation is updated with a newplugins/comments.mdx, additional slot override docs for blog/kanban, and minor CLI/install guide tweaks.Written by Cursor Bugbot for commit 6c639cd. This will update automatically on new commits. Configure here.