The console record form turns a short owner name into the full name in the zone #270
Labels
No labels
agent
api-regen
agent
architect
agent
coder
agent
console-coder
agent
docs-writer
agent
mechanic
agent
protocol-coder
agent
storage-coder
area/api
area/ci
area/console
area/dhcp
area/dns
area/docs
area/packaging
area/process
area/storage
area/windows
kind
bug
kind
chore
kind
docs
kind
epic
kind
feature
kind
performance
kind
security
kind
test
priority
high
priority
low
priority
medium
resolution
duplicate
resolution
not-a-bug
resolution
wontfix
status
blocked
status
in-progress
status
needs-decision
status
needs-design
status
ready
theme
ad-samba-dns
theme
alternatives-benchmark
theme
console-toolchain
theme
later
theme
parity-devices
theme
parity-query
theme
post-release-fixes
theme
tracker-setup
theme
valkey
theme
windows-installer
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
Reference
lantea-one/ninlil#270
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
#25 makes the records API refuse a name that is neither the zone nor below it, with the message
"'www' is not in zone 'example.test'; did you mean 'www.example.test'?". The console's record form
(
src/angular/src/app/features/zones/records/record-form/record-form.component.tsand.html) hasa free-text "Owner name" field with
placeholder="www"and sends what was typed unchanged, so auser who follows the placeholder now gets that 400.
What changes
@and the zone name stay as typed; a name thatis not the zone and not below it (label-wise, case-insensitive) gets
.<zone>appended. Showthe zone suffix next to the field (for example
www.example.test) so the user sees the fullname that will be stored, and show the full name when editing.
Acceptance
wwwin zoneexample.testis sent aswww.example.test;www.example.test,@andexample.testare sent unchanged;WWW.Example.Testis sent unchanged.npm run lint,npm run format:check,npm testpass; the smoke harness shows the formcreating
wwwin a zone.Source
#25 coder report (console form check the issue asked for).
Ghost referenced this issue2026-11-05 00:17:12 -05:00
Ghost referenced this issue2026-11-05 00:28:32 -05:00