Make sorting view-only and keep Default Entries first #11
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#11
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?
Context
The TUI sort handlers call
list.sortdirectly onhosts_file.entries. Sorting is available in Read-only Mode, but a later save or auto-saved mutation can serialize that in-memory order to/etc/hosts. The TUI path also bypasses the model sorting methods that keep Default Entries first.Sorting is intended only to change the displayed order. Persistent reordering already has explicit move commands.
Acceptance criteria
/etc/hosts.