The bulk line-number and DHCP option-tag error helpers live in one shared place each #419

Merged
claude merged 2 commits from feature/197-shared-bulk-error-helpers into develop 2026-11-13 12:23:02 -05:00
Owner

Closes #197

The admin console had two identical copies of assignBulkLineNumbers and two optionTagError methods that differed only in the protocol flag.

  • assignBulkLineNumbers lives in shared/bulk-create/bulk-line-numbers.util.ts; the filter list and forwarder forms import it.
  • optionTagErrorMessage(errors, isDhcpv6) lives in features/dhcp/shared/dhcp-option-rules.util.ts; the DHCP scope and tag rule forms delegate to it.

No behaviour change: the verifier compared the removed bodies with the shared ones. 9 new specs; all 1657 pass. No CHANGELOG entry.

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

Closes #197 The admin console had two identical copies of `assignBulkLineNumbers` and two `optionTagError` methods that differed only in the protocol flag. - `assignBulkLineNumbers` lives in `shared/bulk-create/bulk-line-numbers.util.ts`; the filter list and forwarder forms import it. - `optionTagErrorMessage(errors, isDhcpv6)` lives in `features/dhcp/shared/dhcp-option-rules.util.ts`; the DHCP scope and tag rule forms delegate to it. No behaviour change: the verifier compared the removed bodies with the shared ones. 9 new specs; all 1657 pass. No CHANGELOG entry. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The two copies of assignBulkLineNumbers moved to shared/bulk-create/bulk-line-numbers.util.ts, with a spec. Behaviour is unchanged.

Refs #197

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The DHCP scope and tag rule forms show option tag errors from one shared helper
All checks were successful
Build / Build Arch Linux Packages (push) Successful in -2m20s
Build / Build and Push Image (push) Successful in -2m7s
Build / Publish Release (pull_request) Has been skipped
Build / Pipeline (pull_request) Successful in 0s
Build / Build and Test Deb and RPM Packages (push) Successful in 59s
Build / Publish Release (push) Successful in -2m36s
Build / Pipeline (push) Successful in 0s
Build / Pack and Push NuGet Packages (dhcp) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Has been skipped
Build / Stage Draft Release (push) Successful in -2m37s
Build / Pack and Push NuGet Packages (common) (push) Successful in -2m29s
Build / Pack and Push NuGet Packages (dhcp) (push) Successful in -2m12s
Build / Pack and Push NuGet Packages (dns-core) (push) Successful in -2m6s
Build / Pack and Push NuGet Packages (dns-server) (push) Successful in -2m10s
Build / Build Binary (linux-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-arm64) (pull_request) Has been skipped
Build / Build Binary (macos-amd64) (pull_request) Has been skipped
Build / Smoke Test the Windows Binary (pull_request) Has been skipped
Build / Build Binary (macos-arm64) (pull_request) Has been skipped
Build / Build Binary (windows-amd64) (pull_request) Has been skipped
Build / Build Binary (linux-amd64) (push) Successful in -1m6s
Build / Build Binary (linux-arm64) (push) Successful in -1m17s
Build / Build Binary (macos-amd64) (push) Successful in -1m8s
Build / Build Binary (windows-amd64) (push) Successful in -1m17s
Build / Build Binary (macos-arm64) (push) Successful in -1m1s
Build / Smoke Test the Windows Binary (push) Successful in 15s
Build / Build and Push Image (pull_request) Has been skipped
Build / Build Arch Linux Packages (pull_request) Has been skipped
Build / Build and Test Deb and RPM Packages (pull_request) Has been skipped
d127b292bb
The two copies of optionTagError moved to optionTagErrorMessage in dhcp-option-rules.util.ts, with specs. The messages are unchanged.

Closes #197

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>

Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit 4a6a0f33cc into develop 2026-11-13 12:23:02 -05:00
claude deleted branch feature/197-shared-bulk-error-helpers 2026-11-13 12:23:02 -05:00
Sign in to join this conversation.
No reviewers
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil!419
No description provided.