Commit Graph

14 Commits

Author SHA1 Message Date
Kylian Schmidt 752cee2d06 Fix metadata lists being shown in a single line 2025-07-29 16:13:09 +02:00
Kylian Schmidt c6882b2a48 Fix metadata display not wrapping long lines. Add LaTeX support 2025-07-29 14:05:22 +02:00
Kylian Schmidt fc4928fef1 Add the metadata file path for easy copy+paste 2025-07-29 11:18:03 +02:00
Kylian Schmidt bcb083bbb9 Add an expandable metadata grid 2025-07-29 10:31:35 +02:00
Kylian Schmidt f3adbe49fa Added so much stuff I cant keep up. I think some sorting capability and a way to add metadata to each folder (WIP) 2025-07-29 09:38:28 +02:00
Kylian Schmidt 3e2aaa4be8 Add toggle for grid, list and compact list views 2025-07-22 13:19:53 +02:00
Kylian Schmidt dced82a56f Remove features that were not working: Metadata, export button and reloading the website from the website itself 2025-07-22 12:37:33 +02:00
Kylian Schmidt 465f9b6dc6 Try to fix metadata stuff again (does not work) 2025-07-21 15:33:33 +02:00
Kylian Schmidt dbd67f6039 Fix template rendering issue and improve export functionality
- Fix template rendering by storing rendered HTML in variable before writing
  This resolves subdirectories not appearing in navigation despite being
  correctly detected and included in template variables
- Add missing template variables (paths.work_dir) to gallery config
- Add CGI refresh handler for web-based gallery regeneration
- Improve PDF export functionality with better error handling
- Add ESC key shortcut documentation for exiting selection mode
- Enhanced export manager with proper dependency checking

Fixes issue where new subdirectories were detected but not displayed
in browser navigation due to incomplete template rendering.
2025-07-20 08:59:10 +02:00
Kylian Schmidt 2d98ed0e7a Add export to latex button (i think) 2025-07-08 17:04:55 +02:00
Kylian Schmidt 8173d7618a Add metadata (WIP) 2025-07-08 13:54:13 +02:00
Kylian Schmidt 51a74b23f8 Add metadata button (WIP) 2025-07-08 13:19:54 +02:00
Kylian Schmidt 72ebc5e103 feat: Implement metadata system and reorganize project structure
 Features:
- Add comprehensive metadata system with YAML/JSON support
- Implement hierarchical metadata inheritance from parent folders
- Support plot-specific metadata overrides
- Add metadata caching for performance optimization

🗂️ Code Organization:
- Move Python orchestration code to orchestration/ folder
- Move validation utilities to tests/ folder
- Move documentation to docs/ folder
- Separate metadata functionality into dedicated module

🔧 Infrastructure:
- Add automatic asset copying to web directory
- Fix asset path resolution for nested directories
- Update template to use dynamic asset paths
- Add MetadataConfig class with inheritance options

📚 Documentation:
- Add comprehensive metadata usage guide (METADATA_USAGE.md)
- Add implementation documentation (METADATA_IMPLEMENTATION.md)
- Include example metadata files in examples/
- Add metadata validation utility script

🐛 Bug Fixes:
- Fix breadcrumb navigation and JavaScript functionality
- Resolve asset path issues in nested directories
- Update template imports for modular CSS/JS structure

This commit introduces a flexible metadata system that allows users to add
rich metadata to plots and folders using YAML or JSON files, with full
hierarchical inheritance and plot-specific overrides. The project structure
is now better organized with clear separation of concerns.
2025-07-08 12:33:49 +02:00
Kylian Schmidt 716e1c95fe Move jv and css to own folder 2025-07-08 08:14:10 +02:00