-
Notifications
You must be signed in to change notification settings - Fork 0
1.3.0
Zahid edited this page Jun 30, 2025
·
4 revisions
Released: 30.06.2025
Deskit 1.3.0 🚀 introduces a comprehensive file information system and enhanced user experience features, making file system interactions more intuitive and informative for Compose for Desktop applications.
- 📋 File Information System: Complete file and folder metadata display with detailed information dialogs
- 🖱️ Hover Info Buttons: Smart info icons that appear on hover for instant metadata access
- 📋 Clipboard Integration: One-click file path copying with visual feedback
- 🎯 Enhanced User Experience: Individual hover states and improved visual feedback
- 🔧 Technical Improvements: Better performance and error handling
-
FileInfoDialog: New comprehensive dialog showing file/folder metadata including:
- File type, size, and extension
- Creation and modification dates
- Full file path with copy-to-clipboard functionality
- For folders: total file count and recursive size calculation
- Hover Info Buttons: Animated info icons that appear when hovering over files and folders
- Clipboard Support: Click any file path to copy it to clipboard with visual success feedback
- Individual Hover States: Each file and folder item now has its own hover state for better visual feedback
- Resizable Info Dialogs: File information dialogs can be resized for better content viewing
-
Visual Feedback Improvements:
- Color changes for copied paths
- Smooth hover animations
- Success messages with auto-dismiss
- Enhanced tooltips
- Folder Size Calculation: Function for recursive&accurate folder size calculation
- Memory Optimization: Efficient file listing and metadata caching
- Error Handling: Robust handling of file system permissions and access issues
- Performance: Optimized scrolling and rendering for large directories
// The file info dialog is automatically available in all file dialogs
FileChooserDialog(
title = "Select File",
resizableFileInfoDialog = true, // New parameter
onFileSelected = { file ->
// Handle file selection
},
onCancel = {
// Handle cancellation
}
)
FolderChooserDialog(
title = "Choose Folder",
fileItemColor = MaterialTheme.colorScheme.outline.copy(alpha = 0.6f),
folderItemColor = MaterialTheme.colorScheme.tertiary,
isFileInfoDialogResizable = true,
onFolderSelected = { folder ->
// Handle folder selection
},
onCancel = {
// Handle cancellation
}
)
FileSaverDialog(
title = "Save Document",
suggestedFileName = "document",
extension = ".pdf",
fileIconColor = MaterialTheme.colorScheme.primary,
folderIconColor = MaterialTheme.colorScheme.tertiary,
resizableFileInfoDialog = true,
onSave = { file ->
// Handle file saving
},
onCancel = {
// Handle cancellation
}
)
- Metadata Display: Complete file and folder information including size, type, dates
- Path Copying: Click-to-copy file paths with visual feedback
- Folder Statistics: Total file count and recursive size for directories
- Smart Tooltips: Contextual information on hover
- Hover Animations: Smooth transitions and visual feedback
- Individual States: Each item has its own interaction state
- Visual Feedback: Color changes, success messages, and progress indicators
- Resizable Dialogs: Flexible dialog sizing for better content viewing
To use Deskit 1.3.0, update your build.gradle.kts
or settings.gradle.kts
as described in the Installation guide, ensuring the dependency is set to:
implementation("com.github.zahid4kh:deskit:1.3.0")
New optional parameters:
resizableFileInfoDialog: Boolean = true
- Enhanced color customization options
- Additional callback parameters for file information
I value your feedback! Please report issues or suggest improvements on the GitHub Issues page].
Made with ❤️ | Free stuff is the best stuff