Skip to content

DDD refactor 6/8: reports bounded context - #33

Merged
gjong merged 1 commit into
mainfrom
devin/ddd-6-reports
Oct 30, 2026
Merged

gjong merged 1 commit into
mainfrom
devin/ddd-6-reports

Conversation

@gjong

@gjong gjong commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Part 6 of 8 of the DDD reorganization. Moves the reports bounded context into com.pledgerio.app.reports.{domain,data,ui}:

  • domain/model — Report, ReportModels (incl. MonthDelta/monthDelta), ReportsOverview, SpendingInsights
  • domain/repository — ReportRepository, ReportsOverviewStore, SpendingInsightRepository
  • domain/usecase — GetDashboardDataUseCase
  • data — ReportRepositoryImpl, SpendingInsightRepositoryImpl, report caches (ReportsCachePolicy, ReportsOverviewCache, SpendingInsightsCache), report DTOs
  • ui — dashboard and reports screens/viewmodels

Shared cross-context DTOs (PagedDto, DateRangeDto) stay in shared.data.dto. Tests moved to matching packages.

Pure package moves + import fixes; no behavior changes.

Verification

  • ./gradlew compileDebugKotlin — clean
  • ./gradlew testDebugUnitTest — all tests pass
  • ./gradlew lintDebug — passes (baseline-filtered issues unchanged; stale baseline paths will be regenerated in the final track)

Depends on #32.

Link to Devin session: https://app.devin.ai/sessions/b4abe677e08c40eea4954207aac218de
Open in Devin Desktop: https://app.devin.ai/desktop/session/b4abe677e08c40eea4954207aac218de?variant=devin
Requested by: @gjong

@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@gjong
gjong added this pull request to stack #36 October 30, 2026 11:23
@gjong
gjong force-pushed the devin/ddd-6-reports branch 4 times, most recently from 994173d to 84b1327 Compare October 30, 2026 11:33
Base automatically changed from devin/ddd-5-budgets to main October 30, 2026 11:44
Move report/spending-insight models, repository ports, dashboard use case,
repository impls, report caches, DTOs and the dashboard/reports UI into
com.pledgerio.app.reports. Shared cross-context DTOs stay in shared.data.dto.

Pure package move; no behavior changes.
@gjong
gjong force-pushed the devin/ddd-6-reports branch from 84b1327 to c02f94a Compare October 30, 2026 11:44
@gjong
gjong merged commit 65198f3 into main Oct 30, 2026
2 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.

1 participant