v0.6.0 - Keyboard navigation, multi selection, pinable folders and more
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
- Updated
egui
from version0.27.1
to version0.28.0
#133 (thanks @crumblingstatue!) - Added
DialogMode::SelectMultiple
andDialogState::SelectedMultiple
#127 - Added new labels to
FileDialogLabels
#100, #111, #127 - Added new configuration values to
FileDialogConfig
#100, #104, #106, #110, #111, #118
✨ 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
andFileDialog::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 inDialogMode::SaveFile
mode #106 - Implemented customizable keyboard navigation using
FileDialogKeybindings
andFileDialog::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 usingFileDialog::modal_overlay_color
. #118 - Added
FileDialog::add_file_filter
andFileDialog::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
andFileDialog::take_selected_multiple
#127
☢️ Deprecated
- Deprecated
FileDialog::overwrite_config
. UseFileDialog::with_config
andFileDialog::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 new1.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!)