Skip to content

refactor: вынести CleanupOperationsModel из AppModel - #91

Merged
fso13 merged 1 commit into
mainfrom
refactor/cleanup-operations
Oct 23, 2026
Merged

fso13 merged 1 commit into
mainfrom
refactor/cleanup-operations

Conversation

@fso13

@fso13 fso13 commented Oct 23, 2026

Copy link
Copy Markdown
Owner

Что сделано

  • Вынесен CleanupOperationsModel: подтверждение, асинхронное удаление/Корзина и применение выбранных рекомендаций.
  • CleanupModel остаётся состоянием (suggestions/selection/confirmation); reset/invalidate остаются в AppModel.
  • UI переведён на model.cleanupOperations.*.
  • CleanupOperationsModelTests: подтверждение, отсутствие выбора, no-op без дерева.
  • AppModel: 758 → 660 строк; тесты: 161.

Refs #66
Refs #87

- Move cleanup confirmation, async deletion and apply flow into CleanupOperationsModel
- Keep CleanupModel as selection/suggestions state; reset/invalidate stay in AppModel
- Migrate cleanup UI to model.cleanupOperations
- Add CleanupOperationsModelTests for confirmation and no-op confirm
- AppModel is now 660 lines; 161 tests green

Refs #66
Refs #87
@fso13
fso13 merged commit f577418 into main Oct 23, 2026
11 checks passed
@fso13
fso13 deleted the refactor/cleanup-operations branch October 23, 2026 18:58
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