Skip to content

DDD refactor 8/8: settings bounded context + context-map ADR - #35

Merged
gjong merged 1 commit into
mainfrom
devin/ddd-8-settings
Oct 30, 2026
Merged

gjong merged 1 commit into
mainfrom
devin/ddd-8-settings

Conversation

@gjong

@gjong gjong commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

Summary

Part 8 of 8 (final) of the DDD reorganization. Moves the settings bounded context into com.pledgerio.app.settings:

  • domain/model — AppLocale, ThemeMode, FinanceExperienceMode, IssueReportResult
  • domain/repository — IssueReportRepository
  • data — IssueReportRepositoryImpl, UserPreferences
  • root helpers — LocaleManager, IssueReportFormatter, IssueReportUrlBuilder
  • ui — settings screens/view models, including API-sessions and MFA-setup screens
  • Generic UI helpers (DatePickerDates, LocalizedLabels) move to shared.ui.util

With this commit the old layer packages (data/, domain/, util/, ui/settings, ui/util) no longer exist; only the app-shell ui/ (navigation, theme, components) remains at the root.

Also included:

  • New ADR-022 (docs/adr/022-ddd-bounded-contexts.md) documenting the bounded-context map and dependency rules; docs/ARCHITECTURE.md code-map links updated to the new paths.
  • lint-baseline.xml regenerated: same findings relisted at the new paths, so lintDebug reports no new issues.

Pure package moves + docs; no behavior changes.

Verification

  • ./gradlew compileDebugKotlin — clean
  • ./gradlew testDebugUnitTest — all tests pass
  • ./gradlew lintDebug — passes, no new issues

Depends on #34.

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-8-settings branch 6 times, most recently from ffb9ff9 to ac0816c Compare October 30, 2026 11:49
Base automatically changed from devin/ddd-7-sync to main October 30, 2026 11:59
Move settings/issue-reporting domain models, repository port+impl,
UserPreferences, LocaleManager, IssueReport helpers and settings UI into
com.pledgerio.app.settings. Generic UI date/locale helpers move to
shared.ui.util. All old layer packages (data/, domain/, util/) are gone.

Adds ADR-022 documenting the bounded-context map and dependency rules,
updates the ARCHITECTURE code-map links, and regenerates lint-baseline.xml
for the new paths (same issues, relisted).

Pure package move + docs; no behavior changes.
@gjong
gjong force-pushed the devin/ddd-8-settings branch from ac0816c to 2d2ea95 Compare October 30, 2026 11:59
@gjong
gjong merged commit 4caaea6 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