Skip to content

Conversation

@manuthecoder
Copy link
Contributor

Removes unnecessary/outdated comments

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Removes outdated/unused commented-out code snippets to improve readability and reduce noise across services, controllers, and API entity code.

Changes:

  • Removes obsolete threshold/early-return guidance comments in BreakdownEngine::Tags.
  • Removes commented-out Turbo Stream modal-closing logic in ReceiptsController#generate_streams.
  • Removes a development-only, commented-out Grape entity exposure block in Api::Entities::Base.

Reviewed changes

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

File Description
app/services/breakdown_engine/tags.rb Deletes outdated commented guidance about threshold handling.
app/controllers/receipts_controller.rb Removes dead/commented Turbo Stream code in generate_streams.
app/api/api/entities/base.rb Removes commented development testing block for entity options exposure.

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

@garyhtou garyhtou added this pull request to the merge queue Feb 13, 2026
Merged via the queue into main with commit 7b8f6a2 Feb 13, 2026
23 checks passed
@garyhtou garyhtou deleted the mxg-remove-useless-comments branch February 13, 2026 02:53
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