6 Commits

Author SHA1 Message Date
kidev
617a05fbcd Fix delete confirmation safety, expand_all, tree lines, auto-refresh msg
- CRITICAL: confirm_delete was never reset when pressing other keys
  after 'd'. User could navigate, re-mark, press 'd' again and
  snapshots would be deleted without confirmation
- expand_all: only expanded currently visible datasets, not nested
  collapsed ones. Now recursively collects from root_entries
- is_last for snapshots: showed wrong tree connector when parent
  had both child datasets and snapshots (snapshots are always last)
- auto-refresh message hardcoded "30s" instead of config value
2026-02-20 20:34:59 +01:00
kidev
24960398db Fix cancel_input bug, scope selection on datasets, is_marked perf
- cancel_input: mode was set to Normal before checking if Search,
  so search query was never cleared on Esc
- select_group/unselect_group/invert: use dataset full_name as scope
  when cursor is on a dataset (previously used parent_path which
  matched nothing)
- is_marked: avoid unnecessary String allocation per comparison
2026-02-20 20:31:26 +01:00
kidev
bddd44f3ca Fix search highlight indices after tree rebuild (v0.2.2) 2026-02-17 08:55:11 +01:00
kidev
194b81bbcf Add scope-based selection and credits
- Selection keys (+/-/*) now work on current scope (parent dataset)
- Add author credits: Florian Schermer, DATAZONE GmbH
- Update help text and README with scope documentation
2026-01-31 00:15:26 +01:00
kidev
47d1573bba Add new features: sort, date column, dry-run, mouse, config, auto-refresh
- Sort toggle (s key): switch between Size/Date/Name sorting
- Date column: shows creation date for datasets and snapshots
- Dry-run mode (D key): preview deletions without actually deleting
- Mouse support: click to select, scroll, right-click to mark
- Config file: ~/.config/zfsdu/config.toml for customizable colors
- Auto-refresh (a key): toggle automatic refresh every 30 seconds
- Help overlay: accessible with ? key (in addition to F1)
- Updated function key bar with new shortcuts
- Updated README with all new features and configuration section
2026-01-30 23:54:19 +01:00
kidev
75d164859f Initial commit: zfsdu v0.1.0 - ZFS disk usage viewer with snapshot management 2026-01-30 23:20:00 +01:00