The console record form turns a short owner name into the full name in the zone #272

Merged
claude merged 1 commit from feature/270-record-form-short-names into develop 2026-11-05 00:36:51 -05:00
Owner

The record form now resolves a short owner name before sending it, so following its own www placeholder no longer hits the 400 the records API returns since #25. @, the zone name and any name already at or below the zone (label-wise, case-insensitive) are sent as typed; any other name gets .<zone> appended. A "Saved as " hint under the field shows what will be stored; editing never doubles the suffix. A name ending in a dot is absolute and sent unchanged, so the API's message explains a refusal.

Verified: 10 unit cases for resolveRecordName and a component test (2 component tests fail on the parent form); lint, format, 1636/1636 tests and build pass; the verifier drove headless Chromium against a real host: www in zone second.test was stored as www.second.test, WWW2.Second.Test stayed as typed, and www.other.test. showed the API's 400.

Closes #270

🤖 Generated with Claude Code

https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK

The record form now resolves a short owner name before sending it, so following its own `www` placeholder no longer hits the 400 the records API returns since #25. `@`, the zone name and any name already at or below the zone (label-wise, case-insensitive) are sent as typed; any other name gets `.<zone>` appended. A "Saved as <full name>" hint under the field shows what will be stored; editing never doubles the suffix. A name ending in a dot is absolute and sent unchanged, so the API's message explains a refusal. Verified: 10 unit cases for `resolveRecordName` and a component test (2 component tests fail on the parent form); lint, format, 1636/1636 tests and build pass; the verifier drove headless Chromium against a real host: `www` in zone `second.test` was stored as `www.second.test`, `WWW2.Second.Test` stayed as typed, and `www.other.test.` showed the API's 400. Closes #270 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
The record form adds the zone name to a short owner name such as www before saving
Some checks failed
Build / Smoke Test the Windows Binary (pull_request) Successful in 21s
Build / Build and Push Image (pull_request) Successful in 22s
Build / Build Arch Linux Packages (pull_request) Successful in 58s
Build / Build and Test Deb and RPM Packages (pull_request) Successful in 5m22s
Build / Publish Release (pull_request) Successful in -2m36s
Build / Pipeline (pull_request) Successful in 0s
Build / Pack and Push NuGet Packages (dns-core) (pull_request) Successful in -1m37s
Build / Pack and Push NuGet Packages (dns-server) (pull_request) Successful in 1m58s
Build / Build Binary (linux-arm64) (pull_request) Successful in 3s
Build / Build Binary (windows-amd64) (pull_request) Successful in -9s
Build / Test .NET (push) Successful in 16m26s
Build / Build Binary (macos-arm64) (pull_request) Successful in 8s
Build / Pack and Push NuGet Packages (dhcp) (push) Has been skipped
Build / Pack and Push NuGet Packages (common) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-server) (push) Has been skipped
Build / Pack and Push NuGet Packages (dns-core) (push) Has been skipped
Build / Stage Draft Release (push) Has been skipped
Build / Build Binary (linux-arm64) (push) Has been skipped
Build / Build Binary (macos-amd64) (push) Has been skipped
Build / Build Binary (macos-arm64) (push) Has been skipped
Build / Build Binary (linux-amd64) (push) Has been skipped
Build / Build Binary (windows-amd64) (push) Has been skipped
Build / Build and Push Image (push) Has been skipped
Build / Build and Test Deb and RPM Packages (push) Has been skipped
Build / Build Arch Linux Packages (push) Has been skipped
Build / Smoke Test the Windows Binary (push) Has been skipped
Build / Pipeline (push) Failing after 0s
Build / Build Binary (linux-amd64) (pull_request) Successful in 10m2s
Build / Build Binary (macos-amd64) (pull_request) Successful in 10m12s
Build / Publish Release (push) Has been skipped
61f8fef6b8
Closes #270

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T33E3pmQvqkTriyQUMNUTK
claude merged commit c3c9706615 into develop 2026-11-05 00:36:51 -05:00
Sign in to join this conversation.
No reviewers
No milestone
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!272
No description provided.