summaryrefslogtreecommitdiff
path: root/DomainDigUITests
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-07-25 00:05:53 -0500
committerChristian Cleberg <[email protected]>2026-07-25 00:07:52 -0500
commit9092ab60f82152cc4ae38677c3af4a76013f4e54 (patch)
tree42f787080cf46d8cb906ec7b854bb802223be5eb /DomainDigUITests
parente5d6c6c30df78e1d9b07088c256421aa663cb173 (diff)
downloaddomain-dig-9092ab60f82152cc4ae38677c3af4a76013f4e54.tar.gz
domain-dig-9092ab60f82152cc4ae38677c3af4a76013f4e54.tar.bz2
domain-dig-9092ab60f82152cc4ae38677c3af4a76013f4e54.zip
refactor: extract workflow surface into DomainViewModel+Workflows (v5 step 4, 4/n)
Fourth slice of the DomainViewModel decomposition (off main; the audit/ monitoring/export stack has merged). - Moves the workflow surface into DomainViewModel+Workflows.swift: workflow lookup (workflow(withID:)/workflowsContaining), the DomainWorkflow collaboration checks, the CRUD mutators (create/update/delete/add/remove/move), runWorkflow/rerunCurrentDomain, and refreshWorkflowList. Pure move. The TrackedDomain overloads of canEdit/canDelete/collaborationLabel stay on the main type (they're watchlist collaboration, not workflow). - Promotes the shared helpers the moved methods reach to internal, all staying on the main type: persistWorkflows (also called by clearWorkflows), startBatchLookup (the batch primitive shared with manual/watchlist runs), normalizedDomain/normalizedDomains, loadWorkflows, and the activeWorkflowRunID/ Name state. The extension carries its own fileprivate String.nilIfEmpty, matching the per-file pattern already used across the codebase. DomainViewModel.swift: 4433 -> 4306 lines (4864 at the start of step 4). App builds clean; unit suite 58/58. No project.pbxproj change.
Diffstat (limited to 'DomainDigUITests')
0 files changed, 0 insertions, 0 deletions