Add drag-and-drop file upload and macro settings enhancements

### Changes Made
- Added a new SVG asset (`download-solid.svg`) to `src/assets`.
- Updated `main.js`:
  - Added a new template `SETTINGS_MENU_MACRO`.
  - Improved drag-and-drop file upload handling with visual feedback.
  - Enhanced macro functionality with custom drag-and-drop events on hotbar macros.
  - Adjusted `registerSettings` function to include macro menu registration.
- Updated `module.json`:
  - Added macro pack support under `packs` for "asc-asset-manager-macros."
- Created new binary files for macro pack (`asc-asset-manager-macros`).
- Improved CSS styling:
  - Added `.dragover` class for better drag-and-drop UI feedback.
  - Updated styles to include `asc-asset-manager` context.
- Updated `upload-choose.hbs` and `upload-form.hbs`:
  - Added `moduleId` class context.
  - Enhanced `upload-form` with an image preview section.
- Added a new template (`settings-menu-macro.hbs`) for macro-related UI.
- Improved logging and hooks for better event tracking and debugging.

This commit enhances functionality, user experience, and modularity for managing assets.
This commit is contained in:
2025-01-19 15:47:17 -06:00
parent ae60ce3fcf
commit c25715c8d0
16 changed files with 159 additions and 34 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
MANIFEST-000010

View File

View File

@@ -0,0 +1,3 @@
2025/01/19-15:09:29.737471 17359b000 Recovering log #9
2025/01/19-15:09:29.737887 17359b000 Delete type=3 #7
2025/01/19-15:09:29.737973 17359b000 Delete type=0 #9

View File

@@ -0,0 +1,5 @@
2025/01/19-15:04:17.219781 17397b000 Recovering log #6
2025/01/19-15:04:17.219809 17397b000 Level-0 table #8: started
2025/01/19-15:04:17.219961 17397b000 Level-0 table #8: 634 bytes OK
2025/01/19-15:04:17.220279 17397b000 Delete type=0 #6
2025/01/19-15:04:17.220330 17397b000 Delete type=3 #4

Binary file not shown.