Skip to content

fix(core): remove console.log and console.info statements from core components#359

Merged
snehar-nd merged 1 commit into
PSMRI:mainfrom
Kaushik-Kumar-CEG:fix/remove-console-core-components
May 26, 2026
Merged

fix(core): remove console.log and console.info statements from core components#359
snehar-nd merged 1 commit into
PSMRI:mainfrom
Kaushik-Kumar-CEG:fix/remove-console-core-components

Conversation

@Kaushik-Kumar-CEG
Copy link
Copy Markdown
Contributor

📋 Description

Removes debug console.log and console.info statements from 12 core component files. console.error calls are retained where they serve as legitimate error reporting.

Continues the cleanup started in #343/#344.

✅ Type of Change

  • 🧹 Chore (miscellaneous changes that don't modify src or test files)

ℹ️ Additional Information

Files cleaned (12):

  • allergen-search.component.ts (1 statement)
  • app-footer.component.ts (1 statement)
  • app-header.component.ts (5 statements)
  • calibration.component.ts (2 statements)
  • camera-dialog.component.ts (6 statements)
  • data-sync-login.component.ts (1 statement)
  • iot-bluetooth.component.ts (2 statements + 1 unused variable)
  • iotcomponent.component.ts (9 statements)
  • open-previous-visit-details.component.ts (4 statements)
  • previous-details.component.ts (1 statement)
  • provisional-search.component.ts (1 statement)
  • set-language.component.ts (2 statements)

Total: 36 debug statements removed. Zero behavior change.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 15, 2026

Warning

Review limit reached

@Kaushik-Kumar-CEG, we couldn't start this review because you've used your available PR reviews for now.

Your plan currently allows 1 review/hour. Refill in 57 minutes and 49 seconds.

Your organization has run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After more review capacity refills, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than trial, open-source, and free plans. In all cases, review capacity refills continuously over time.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: abd1fdd3-f005-4e2a-ac87-539464a40731

📥 Commits

Reviewing files that changed from the base of the PR and between 8c270f9 and f593c1c.

📒 Files selected for processing (12)
  • src/app/app-modules/core/components/allergen-search/allergen-search.component.ts
  • src/app/app-modules/core/components/app-footer/app-footer.component.ts
  • src/app/app-modules/core/components/app-header/app-header.component.ts
  • src/app/app-modules/core/components/calibration/calibration.component.ts
  • src/app/app-modules/core/components/camera-dialog/camera-dialog.component.ts
  • src/app/app-modules/core/components/data-sync-login/data-sync-login.component.ts
  • src/app/app-modules/core/components/iot-bluetooth/iot-bluetooth.component.ts
  • src/app/app-modules/core/components/iotcomponent/iotcomponent.component.ts
  • src/app/app-modules/core/components/open-previous-visit-details/open-previous-visit-details.component.ts
  • src/app/app-modules/core/components/previous-details/previous-details.component.ts
  • src/app/app-modules/core/components/provisional-search/provisional-search.component.ts
  • src/app/app-modules/core/components/set-language.component.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@Kaushik-Kumar-CEG
Copy link
Copy Markdown
Contributor Author

Hi @snehar-nd @drtechie, this removes 36 debug console statements from core components, continuing the cleanup from #343/#344. Related to PSMRI/AMRIT#130 (C4GT DMP 2026).

Comment thread src/app/app-modules/core/components/set-language.component.ts Outdated
@Kaushik-Kumar-CEG Kaushik-Kumar-CEG force-pushed the fix/remove-console-core-components branch from 0b9f39e to f593c1c Compare May 24, 2026 17:35
@sonarqubecloud
Copy link
Copy Markdown

@snehar-nd snehar-nd merged commit c6b4093 into PSMRI:main May 26, 2026
4 checks passed
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.

2 participants