Skip to content

fix: remove debug print() statements from MLH, SoB, GSoC, and GSoD screens#472

Closed
adityashirsatrao007 wants to merge 1 commit into
andoriyaprashant:mainfrom
adityashirsatrao007:fix/remove-print-mlh-sob-gsoc
Closed

fix: remove debug print() statements from MLH, SoB, GSoC, and GSoD screens#472
adityashirsatrao007 wants to merge 1 commit into
andoriyaprashant:mainfrom
adityashirsatrao007:fix/remove-print-mlh-sob-gsoc

Conversation

@adityashirsatrao007

Copy link
Copy Markdown
Contributor

Description

Removes debug print() statements from 4 program screens that were left in production code.

Files Changed

major_league_hacking_fellowship.dart

  • Removed print("Adding") and print("Deleting") in bookmark toggle handler

summer_of_bitcoin.dart

  • Removed print("Adding") and print("Deleting") in bookmark toggle handler

google_summer_of_code_screen.dart

  • Removed dead empty kDebugMode blocks in bookmark toggle (leftover from a partial refactor)
  • Removed print(selectedLanguages) inside kDebugMode block in language filter callback
  • Removed now-unused import 'package:flutter/foundation.dart'

google_season_of_docs_screen.dart

  • Removed print("!@# $selectedOrganizations") in filterProjects() (runs on every filter change)
  • Removed print("this is selected organization...") in org filter onConfirm callback

Related Issue

Fixes #417 (Improved linting and code quality)

Type of Change

  • Bug fix (removing debug code from production)

Checklist

  • No functional changes — only debug logs removed
  • Unused import also removed
  • Tests pass
  • No lint warnings introduced

…reens

major_league_hacking_fellowship.dart:
- Remove print('Adding') and print('Deleting') in bookmark toggle handler

summer_of_bitcoin.dart:
- Remove print('Adding') and print('Deleting') in bookmark toggle handler

google_summer_of_code_screen.dart:
- Remove dead empty kDebugMode blocks in bookmark toggle handler
- Remove print(selectedLanguages) inside kDebugMode block in language filter
- Remove unused 'package:flutter/foundation.dart' import

google_season_of_docs_screen.dart:
- Remove print('!@# $selectedOrganizations') in filterProjects()
- Remove print('this is selected organization ...') in onConfirm callback

Fixes #417 (Improved linting and code quality)
Copilot AI review requested due to automatic review settings May 30, 2026 11:02
@netlify

netlify Bot commented May 30, 2026

Copy link
Copy Markdown

Deploy Preview for aquamarine-kheer-83feda failed. Why did it fail? →

Name Link
🔨 Latest commit 09305b8
🔍 Latest deploy log https://app.netlify.com/projects/aquamarine-kheer-83feda/deploys/6a1ac3d073c9bd0008b2f983

@github-actions

Copy link
Copy Markdown

Thank you for submitting your pull request! We'll review it as soon as possible.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Note

Copilot was unable to run its full agentic suite in this review.

Removes noisy debug logging from multiple program screens and cleans up related imports.

Changes:

  • Removed print(...) statements around bookmark actions and filtering.
  • Dropped flutter/foundation.dart import where kDebugMode is no longer used.
  • Reduced console output during filter selection updates.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.

File Description
lib/programs screen/summer_of_bitcoin.dart Removes bookmark add/delete debug prints.
lib/programs screen/major_league_hacking_fellowship.dart Removes bookmark add/delete debug prints.
lib/programs screen/google_summer_of_code_screen.dart Removes kDebugMode/prints and the now-unneeded foundation import.
lib/programs screen/google_season_of_docs_screen.dart Removes debug prints inside filtering and selection updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

if (isBookmarked) {
print("Adding");

HandleBookmark.addBookmark(currentProject, currectPage);
if (isBookmarked) {
print("Adding");

HandleBookmark.addBookmark(currentProject, currectPage);
Comment on lines +76 to +79

HandleBookmark.addBookmark(currentProject, currectPage);
} else {
print("Deleting");

@adityashirsatrao007 adityashirsatrao007 closed this by deleting the head repository Jun 17, 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.

BUG: Improved linting and code quality

2 participants