refactor(gmail): extract DTOs and static helpers from GmailController #18

Merged
cesnimda merged 1 commits from refactor/wave2-gmail-dtos-helpers into main 2026-07-11 20:52:28 +02:00
Owner

Backlog item 3 (Wave 2), GmailController slice. Pure mechanical extraction via partial class (zero call-site changes): 26 DTOs to GmailDtos.cs, 8 static parsing helpers to GmailParsing.cs. 1200 -> 1022 lines. 169/169 green.

Backlog item 3 (Wave 2), GmailController slice. Pure mechanical extraction via partial class (zero call-site changes): 26 DTOs to GmailDtos.cs, 8 static parsing helpers to GmailParsing.cs. 1200 -> 1022 lines. 169/169 green.
cesnimda added 1 commit 2026-07-11 20:46:32 +02:00
refactor(gmail): extract DTOs and static helpers from GmailController
CI and Deploy / test (pull_request) Successful in 2m3s
CI and Deploy / deploy (pull_request) Has been skipped
ab79072e52
Backlog item 3 (Wave 2), GmailController slice. Pure mechanical extraction,
no behaviour change:

- GmailDtos.cs: the 26 inline record DTOs, moved to a partial-class file so
  every existing GmailController.XyzDto reference (tests included) keeps
  working unchanged.
- GmailParsing.cs: the 8 pure static helpers (ApplySyncBoundary,
  LooksLikeJobRelatedThread, ToConfidence, ExtractFirstEmail/RecruiterName/
  CompanyName/RoleFromSubject, BuildPopupHtml), same partial-class approach.

GmailController.cs: 1200 -> 1022 lines. 169/169 green.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
cesnimda merged commit 37ea1f98bb into main 2026-07-11 20:52:28 +02:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: cesnimda/jobtrackingapp#18