Skip to content

chore(comments): remove pure-noise section banners (~30 lines)#107

Merged
voyvodka merged 3 commits into
mainfrom
chore/comment-cleanup-noise
May 11, 2026
Merged

chore(comments): remove pure-noise section banners (~30 lines)#107
voyvodka merged 3 commits into
mainfrom
chore/comment-cleanup-noise

Conversation

@voyvodka
Copy link
Copy Markdown
Owner

Summary

Tur 6b — closes the second of the two pre-B1 backlog items from .planning/TODO.md. User-approved scope was 'pure noise only' (option A from the cleanup envelope); section-titled banners stay.

CLAUDE.md comment rule: "If deleting the comment wouldn't confuse a future reader, it shouldn't have been there." This pass clears banners that say nothing the class names + IDE folding don't already cover.

Removed

File Removed
src/WebhookEngine.API/Controllers/DashboardMessagesController.cs 1 banner (Messages)
src/WebhookEngine.API/Controllers/DashboardAnalyticsController.cs 1 banner (Helper)
src/WebhookEngine.API/Controllers/DashboardEndpointController.cs 3 banners (Endpoints, Payload Transformation, Event Types)
src/WebhookEngine.Sdk/Models.cs 5 banner pairs (Response envelope, Event Types, Endpoints, Messages, Common query parameters)

Total: 40 lines removed, 0 added.

Preserved (deliberately)

  • // ── Read paths ── / // ── Write paths ── / // ── Plumbing ── / // ── Capability gating ── / // ── Cross-tenant guard ── markers inside the test files. These correlate with [Fact] groupings and aid scanning when a single class hosts 30+ tests — they earn their keep.
  • // ── Endpoints ── / // ── Event types (read-only dropdown source) ── markers inside PortalEndpointsController — same reasoning.

Behaviour

Pure cosmetics. Build green, all tests pass.

Test plan

  • dotnet build WebhookEngine.sln --configuration Release — 0 warnings, 0 errors.
  • CHANGELOG entry under Unreleased > Removed.
  • CI green on PR.

voyvodka added 2 commits May 11, 2026 11:34
CLAUDE.md comment rule: 'If deleting the comment wouldn't confuse a
future reader, it shouldn't have been there.' Audit pass over the
cross-app dashboard controllers and the SDK Models.cs surface a
collection of section-header banners that say nothing the class
names + IDE folding don't already cover.

Removed:
- DashboardMessagesController: 1 banner (Messages)
- DashboardAnalyticsController: 1 banner (Helper)
- DashboardEndpointController: 3 banners (Endpoints, Payload
  Transformation, Event Types)
- WebhookEngine.Sdk/Models.cs: 5 banner pairs (Response envelope,
  Event Types, Endpoints, Messages, Common query parameters)

Preserved:
- Test-file section markers (// ── Read paths ──, // ── Plumbing ──,
  etc.) — these correlate with [Fact] groupings inside the test
  classes and aid scanning when a single class hosts 30+ tests.
- Portal controller / portal middleware section markers — same
  reasoning as the test files.

Behaviour unchanged. Pure cosmetics; build + tests green.
@voyvodka voyvodka added documentation Documentation improvements api API layer and endpoints sdk .NET SDK related labels May 11, 2026
@voyvodka voyvodka enabled auto-merge (squash) May 11, 2026 08:35
@voyvodka voyvodka merged commit 26d7eac into main May 11, 2026
7 checks passed
@voyvodka voyvodka deleted the chore/comment-cleanup-noise branch May 11, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api API layer and endpoints documentation Documentation improvements sdk .NET SDK related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant