Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rewrite File explorer using AGI interface #187

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

GT-610
Copy link

@GT-610 GT-610 commented Mar 24, 2025

This PR keeps track of rewriting File Explorer with AGI interface.

Current File Explorer directly integrates with ArozOS core. Using unified AGI is better for maintenance.

It is not finished yet, and still needs a lot of improvements.

Saren-Arterius and others added 7 commits March 20, 2025 20:05
…are page, downloadPageFolder.html) (tobychui#179)

* feat: Add image thumbnail preview on row hover (downloadPageFolder)

- Display thumbnail preview when hovering over image rows
- Preview follows cursor movement with offset
- Apply hover effect on entire row for better UX

* feat: add configurable compression level for zip downloads (Folder Share page, downloadPageFolder.html)

Added the ability to customize zip file compression levels:

- Added new ArozZipFileWithCompressionLevel function that accepts compression level parameter
- Added compression_level query parameter support to share downloads
- Added UI checkbox to toggle between compressed/uncompressed downloads
- Auto-detect when folder contains mostly media files (>= 50% in size) and pre-check uncompressed option
- Updated compression help text to provide guidance on media files
- Default compression level remains at flate.DefaultCompression (-1)

The changes allow users to choose no compression for media-heavy folders to improve zipping speed, while maintaining regular compression for other content types.

* lazy bug fix
* Translations

* Add translations

* Improved translations

* Improve add translation method

* Fix relative imports and improve i18n

* Fix loading parameters error

* Finish translations in "System Information"

* Add translations for two pages

* Finish locale of modules page

* Add translations for three pages

* Remove en-us locale for better performance

* Add translations for about page

* Add UserList locale

* group and pubreg locale

* More locales for settings app

* More locales for settings page

* Fix some locales and add more

* Update locales for cluster pages

* Finish settings locale
This reverts commit 685e8a9.
@GT-610 GT-610 changed the title File explorer module Rewrite File explorer using AGI interface Mar 24, 2025
@GT-610
Copy link
Author

GT-610 commented Mar 24, 2025

@tobychui AGI doesn't support error backward, and whatever errors are met, the console just show a 500 error. Even use methods like function (error) I still cannot get detailed error info.
image

As a result I am able to just let it show Either the folder doesn't exist, or the server encountered an internal error (500). instead of detailed errors.

Is this because AGI doesn't support outputting errors, or I didn't use it the right way?

@GT-610 GT-610 marked this pull request as draft March 25, 2025 01:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants