commit b4b6efd048f7815c6a7bb68f56c92e760b1884c7
parent 3d70a275ba9fd5c437e3196e3afe148c5310ff9a
Author: William Casarin <jb55@jb55.com>
Date: Mon, 5 Jan 2026 14:37:01 -0800
nip51: add docstring for select_all_ui
Suggested-by: @coderabbitai
Link: https://github.com/damus-io/notedeck/pull/1200#discussion_r2662987631
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/crates/notedeck_ui/src/nip51_set.rs b/crates/notedeck_ui/src/nip51_set.rs
@@ -155,6 +155,8 @@ struct RenderPackResponse {
visibility_changed: bool,
}
+/// Renders a "Select All" checkbox for a follow pack.
+/// When toggled, applies the selection state to all profiles in the pack.
fn select_all_ui(
pack: &Nip51Set,
ui_state: &mut Nip51SetUiCache,