Commit Graph

7 Commits

Author SHA1 Message Date
Ian Wijma e501969807 Add sort and query functions to file list
Added sort functionality and query methods to the file list, enabling users to sort file entries by name, size or modification date. The sorting can be in ascending or descending order. Also, updated element.js for element retrieval and added 'getElementsOrThrow' and 'getElements' methods.
2024-01-06 19:30:09 +11:00
Ian Wijma f45f23db1d Bump file-browser version in Cargo.lock
Updated the version for the 'file-browser' package in Cargo.lock from '0.0.0' to '0.0.1'. This was done to reflect the new version release for this package.
2023-11-28 00:22:49 +11:00
Ian Wijma c4cbb64aa6 Update version and description in Cargo.toml
Updated the version from '0.0.0' to '0.0.1' in package info of the Cargo.toml file. Furthermore, refined the description from 'A Tauri App' to 'File Browser'. This change was done to reflect the new version release and provide a more appropriate description of the app.
2023-11-28 00:21:54 +11:00
Ian Wijma f63752bb5b Update bundle identifier in Tauri config
Changed the bundle identifier in the Tauri configuration file from 'com.tauri.dev' to 'dev.tmp.file-browser'. This was done to better reflect the nature of the project and improve consistency across different parts of the codebase.
2023-11-28 00:18:38 +11:00
Ian Wijma d2f6d1640a Enhance file browsing and handling in main.rs
This commit provides additional functionality to the file manager, allowing users to view and open files within directories. The 'get_files' command has been added to the main.rs file. This new command navigates directories and retrieves relevant details including the metadata. The metadata includes the creation, modification, and access times converted into Unix time. To handle possible errors during these operations, proper error checks have been put in place. An existing error has been rectified in the tauri.conf.json file. File scopes have been extended to ensure all directories can be
2023-11-27 23:48:50 +11:00
Ian Wijma e8969a4306 Add file browsing, viewing functionalities and enhance navigation
Introduced new functionalities in the file manager application for browsing, listing and opening files. We have added a new command 'get_files' in 'main.rs', which reads entries in a directory and fetches associated metadata. This allows users to view files in a selected directory. Additionally, the command 'open_file' has been added for opening files.
Simultaneously, frontend changes have been made such as: new templates for file lists, handlers for view switching in 'files.js', and rendered files in each mode.
The 'navigation.js' error handling has been improved for invalid navigation.
Improved user experience by adding a breadcrumbs feature for better navigation. This is performed by the newly introduced 'breadcrumbs.js' file which maintains the history of navigated directories.
Overall, these enhanced functionalities improve navigation and file management efficiency for end-users.
2023-11-27 23:36:35 +11:00
Ian Wijma f276f686a9 Add initial project setup for a File Browser system
This commit includes the setup of a new File Browser system. The system uses Tailwind CSS for styling alongside Tauri for a Rust backend. It also includes a new HTML index file, several JavaScript files for application logic e.g. favourite handling as well as new CSS files for custom styles. Git ignore file is added to exclude unnecessary files to be tracked by git.

This setup is necessary to start developing File Browsing features and provides a base project structure to work on.
2023-11-27 16:08:17 +11:00