Skip to content

v0.6.0 - Keyboard navigation, multi selection, pinable folders and more

Compare
Choose a tag to compare
@fluxxcode fluxxcode released this 03 Jul 21:29
· 98 commits to develop since this release
2bb654c

This version implements all important features that were still open and described as planned in the readme.

✨ Some of the highlights included in this release:

  • Keyboard navigation
  • Selection of multiple directory items at once (ctrl/shift + click)
  • Pinnable folders for quick access
  • Hidden files and folders option
  • Custom file filters the user can select from a drop-down menu

Release stats: 33 changed files with 2,606 additions and 570 deletions

🚨 Breaking Changes

✨ Features

  • Added the ability to pin folders to the left sidebar and enable or disable the feature with FileDialog::show_pinned_folders #100
  • Added FileDialogConfig::storage, FileDialog::storage and FileDialog::storage_mut to be able to save and load persistent data #104 and #105
  • Added new modal and option FileDialog::allow_file_overwrite to allow overwriting an already existing file when the dialog is in DialogMode::SaveFile mode #106
  • Implemented customizable keyboard navigation using FileDialogKeybindings and FileDialog::keybindings #110
  • Implemented show hidden files and folders option #111
  • The dialog is now displayed as a modal window by default. This can be disabled with FileDialog::as_modal. The color of the modal overlay can be adjusted using FileDialog::modal_overlay_color. #118
  • Added FileDialog::add_file_filter and FileDialog::default_file_filter to add file filters that can be selected by the user from a drop-down menu at the bottom #124
  • Implemented selection of multiple files and folders at once, using FileDialog::select_multiple, FileDialog::selected_multiple and FileDialog::take_selected_multiple #127

☢️ Deprecated

  • Deprecated FileDialog::overwrite_config. Use FileDialog::with_config and FileDialog::config_mut instead #103

🐛 Bug Fixes

  • Fixed the size of the path edit input box and fixed an issue where the path edit would not close when clicking the apply button #102

🔧 Changes

  • Restructured config module and fixed new 1.78 clippy warnings #109
  • The reload button has been changed to a menu button. This menu contains the reload button and the “Show hidden" option #111
  • Minor navigation improvements #113
  • Made DirectoryEntry public reachable #119 (thanks @crumblingstatue!)
  • Improved handling of internal IDs #128
  • Made file dialog Send #131 (thanks @nat3!)

📚 Documentation

  • Added persistence example showing how to save the persistent data of the file dialog #107
  • Reworked README.md #108
  • Added multi_selection example showing how to select multiple files and folders at once #129
  • Updated crate documentation in lib.rs #135
  • Use workspace dependencies in examples #133 (thanks @crumblingstatue!)