Skip to content

fix: remove debug print statements from SeasonOfKDE and Hyperledger screens#470

Closed
adityashirsatrao007 wants to merge 1 commit into
andoriyaprashant:mainfrom
adityashirsatrao007:fix/remove-print-kde-hyperledger
Closed

fix: remove debug print statements from SeasonOfKDE and Hyperledger screens#470
adityashirsatrao007 wants to merge 1 commit into
andoriyaprashant:mainfrom
adityashirsatrao007:fix/remove-print-kde-hyperledger

Conversation

@adityashirsatrao007

Copy link
Copy Markdown
Contributor

Description

Removes debug print() statements from two program screens that run during app initialization.

Problem

Both SeasonOfKDE and Hyperledger screens contained identical debug logging in their initializeProjectLists() method:

projectList = <year>Data;
print(projectList); // <-- dumps entire project list to console

This runs on every app start and every pull-to-refresh, dumping potentially hundreds of project objects to the console, which:

Files Changed

  • lib/programs screen/season_of_kde.dart — removed print(projectList) on line 38
  • lib/programs screen/hyperledger.dart — removed print(projectList) on line 39

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
  • No lint warnings introduced
  • Code follows project style guidelines

Remove production print() statements in initializeProjectLists():
- season_of_kde.dart: remove print(projectList) after loading 2024 data
- hyperledger.dart: remove print(projectList) after loading 2024 data

These log the entire project list array on every app start/refresh,
degrading performance and violating the avoid_print lint rule. Fixes #417.
Copilot AI review requested due to automatic review settings May 30, 2026 10:59
@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 2e80082
🔍 Latest deploy log https://app.netlify.com/projects/aquamarine-kheer-83feda/deploys/6a1ac325ee87de0008119bab

@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 debug logging from program data-loading flows to keep runtime output clean.

Changes:

  • Removed print(projectList); debug statements after populating projectList in two program screens.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
lib/programs screen/season_of_kde.dart Removes a debug print(projectList) after assigning the 2024 project list.
lib/programs screen/hyperledger.dart Removes a debug print(projectList) after assigning the 2024 project list.

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

@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