New Entry based on currently selected one #2
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: phg/hosts#2
Loading…
Add table
Add a link
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?
Key Binding:
Shift+nGrilled specification
This design was grilled and confirmed on 2026-09-06.
Behavior
Shift+Nas New from selected. Plainnremains the blank Add action.No Host Entry selected; use n to add a blank Host Entry.Prefill rules
Copy only user-editable form state:
Do not copy derived DNS state, including stored or resolved IP values, resolution time, or resolution status. A new DNS Entry starts inactive and follows the ordinary new-entry resolution flow.
A Default Entry may be used as the source. Submission continues to use ordinary validation and duplicate behavior; this action adds no special uniqueness rule or confirmation.
Entry Editor interaction
Based on: <Canonical Hostname>.Existing pipeline
Submission and cancellation reuse the ordinary Add pipeline, including validation, saving, rollback on failure, command history, undo, resulting selection, status feedback, and DNS resolution. Cancel creates no entry and performs no write.
Documentation
Shift+N — New from selectedin the in-app help and complete user-guide key reference.n New.Acceptance criteria
nopens blank Add;Shift+Nopens New from selected.Shift+Nopens nothing and reports the agreed message.Feat #2: Implemented New from selected (Shift+N) in
f2e2d45. The selected visible Host Entry now snapshots into the Add Host Entry form, including the DNS/IP draft and activation rules; help and user documentation are updated. Verified withmise run check(361 passed).