Skip to content

chore(web): remove leftover debug console.log calls - #10182

Merged
prateekshourya29 merged 1 commit into
makeplane:previewfrom
Krish6115:chore/remove-debug-console-logs
Nov 17, 2026
Merged

prateekshourya29 merged 1 commit into
makeplane:previewfrom
Krish6115:chore/remove-debug-console-logs

Conversation

@Krish6115

@Krish6115 Krish6115 commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Description

Removes leftover debug console.log calls that print on normal use:

  • favorites-menu.tsx: logged { sourceId } on every favorite drop
  • use-multiple-select.ts: logged "force adding" on every forced selection
  • member-columns.tsx: logged the error object before the existing error toast on role-update failure

No behaviour change.

Type of Change

  • Code refactoring

Test Scenarios

Removed statements only; surrounding logic is untouched. Type-check not run locally.

Summary by CodeRabbit

  • Chores
    • Removed internal console messages during role updates, favorite drag-and-drop, and multi-select actions. These changes do not alter the behavior of those features: role-update errors continue to appear as notifications, and selection and drag-and-drop actions work as before.

Copilot AI balanced review requested due to automatic review settings November 3, 2026 14:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@coderabbitai

coderabbitai Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Walkthrough

Three console log statements were removed from role-update error handling, favorite drag-and-drop handling, and entity selection. The existing error toast, drag-and-drop guards, and selection updates remain.

Changes: Console log cleanup

Layer / File(s) Summary
Remove console logs
apps/web/components/project/settings/member-columns.tsx, apps/web/components/workspace/sidebar/favorites/favorites-menu.tsx, apps/web/hooks/use-multiple-select.ts
Removed console log statements from the role-update rejection handler, favorite drop handler, and force-add selection path. Existing error handling, guards, and selection behavior remain.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Refactor

Merge Risk: Minimal · up to d3dc2

The cleanup removes debug output without an identified interaction change. No actionable merge-blocking issue remains; normal checks should still run.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title "chore(web): remove leftover debug console.log calls" matches the changeset. The PR removes three debug console.log statements from favorites-menu.tsx, use-multiple-select.ts, and member-col…
Description check Passed The description follows the repository template. It gives a clear list of the three removed console.log calls and states that behavior is unchanged. It marks the Code refactoring type. The Test Scenar…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "chore(web): remove leftover debug console.log calls" matches the changeset. The PR removes three debug console.log statements from favorites-menu.tsx, use-multiple-select.ts, and member-columns.tsx. The title is specific, concise, and names the primary change.

Full details: Description check

Explanation

The description follows the repository template. It gives a clear list of the three removed console.log calls and states that behavior is unchanged. It marks the Code refactoring type. The Test Scenarios section explains that only removed statements are involved and that type-check was not run. The Screenshots and References sections are absent, but they are not critical for this change. The Description and Type of Change sections are complete.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 5224e644-f5a4-4840-8e48-a945388a19f6
Commits

Reviewing files that changed from the base of the PR and between bc65a78 and d3dc292.

Files selected for processing: 3
  • apps/web/components/project/settings/member-columns.tsx
  • apps/web/components/workspace/sidebar/favorites/favorites-menu.tsx
  • apps/web/hooks/use-multiple-select.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review.

@Krish6115

Copy link
Copy Markdown
Contributor Author

Hi @prateekshourya29, whenever you have some free time, could you please review this PR? It's a small change. Happy to make any adjustments needed. Thanks!

@prateekshourya29

Copy link
Copy Markdown
Member

Looks good. Thanks for the contribution, @Krish6115.

@prateekshourya29
prateekshourya29 merged commit d6f3195 into makeplane:preview Nov 17, 2026
2 checks passed
Pawel-Kranzberg pushed a commit to klazwi/pi-plane that referenced this pull request Nov 18, 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.

3 participants