-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WEB-2872] chore: removed the deleted votes and reaction in published project #6218
Conversation
WalkthroughThe pull request introduces modifications to the Changes
Sequence DiagramsequenceDiagram
participant API as API Endpoint
participant Grouper as Issue Grouper
participant DB as Database
API->>Grouper: Request issue details
Grouper->>DB: Query issues with filtered votes/reactions
DB-->>Grouper: Return non-deleted votes and reactions
Grouper-->>API: Aggregate and return filtered results
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🧰 Additional context used🪛 Ruff (0.8.2)apiserver/plane/space/utils/grouper.py155-155: Line too long (94 > 88) (E501) 🔇 Additional comments (4)apiserver/plane/space/utils/grouper.py (2)Line range hint The implementation correctly filters out deleted votes by checking Line range hint The implementation correctly filters out deleted reactions by checking apiserver/plane/space/views/issue.py (2)Line range hint The implementation correctly filters out deleted votes by checking Line range hint Let's verify that all other places in the codebase properly handle deleted votes and reactions. ✅ Verification successfulConsistent handling of deleted votes and reactions verified Based on the search results, the handling of deleted votes and reactions is consistent across the codebase. The
Both files consistently check for:
🏁 Scripts executedThe following scripts were executed for the analysis: Script: #!/bin/bash
# Search for other vote/reaction queries that might need similar deleted_at checks
# Check for vote queries
rg -A 5 "votes__" --type py
# Check for reaction queries
rg -A 5 "issue_reactions__" --type py
# Check for ArrayAgg usage with votes or reactions
ast-grep --pattern 'ArrayAgg(
$$$
filter=$_
$$$
)'
Length of output: 13374 Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
This pull request resolves the error with deleted votes and reactions in the published project.
Type of Change
References - WEB-2872
Summary by CodeRabbit
New Features
Bug Fixes