docs: note people-sheet filter is display-only

Filtering never mutates PeerListModel row order; clearing the query
restores the full list with existing sticky ordering intact.
This commit is contained in:
Taksh 2026-08-01 14:11:05 +03:00
parent 285e82b852
commit 4bf37340bd

View File

@ -9,6 +9,9 @@
import Foundation
/// Case-insensitive nickname / display-name match for the people sheet search field.
///
/// Filtering is display-only: callers never mutate `PeerListModel` row order.
/// Clearing the query restores the full list with existing sticky ordering.
enum PeopleNameFilter {
/// Empty / whitespace-only queries match everything (no filter active).
static func matches(_ displayName: String, query: String) -> Bool {