Skip to content

feat: Comprehensive UI/UX overhaul with INI configuration system, monitoring endpoints, and unified light button design - #5

Merged
dev-harsh1998 merged 16 commits into
masterfrom
ss-upload
Aug 9, 2025
Merged

feat: Comprehensive UI/UX overhaul with INI configuration system, monitoring endpoints, and unified light button design#5
dev-harsh1998 merged 16 commits into
masterfrom
ss-upload

Conversation

@dev-saw99

@dev-saw99 dev-saw99 commented Aug 9, 2025

Copy link
Copy Markdown
Collaborator
  • feat: enhance UI with consistent styling, bootstrap Icons and improve template system
  • feat: add INI configuration file support with enhanced templates
  • feat: routing architecture enhancements with modular middleware system

- Implement comprehensive INI parser supporting file sizes, booleans, and lists
- Add shared base.css design system for consistent template styling
- Update template variables for consistency (STATUS_CODE → ERROR_CODE)
- Add comprehensive test coverage for configuration file functionality
- Enable flexible configuration through CLI args > INI file > defaults hierarchy

IronDrop can now be configured via INI files in addition to CLI arguments.
• Add file type-specific Bootstrap Icons (file, folder, zip, image, video)
• Implement smart file type detection based on extension
• Replace logo text with logo image across all pages
• Move logo styling to base CSS for consistency
• Add conditional template support ({{#if}}/{{/if}})
• Create new template handler system (handlers.rs, router.rs, middleware.rs)
• Update static asset paths to /_irondrop/static/ namespace
• Fix icon backgrounds and improve visual consistency
• Add comprehensive template system documentation
• Enhance upload functionality with proper path handling
- Remove trailing slashes from directory titles while preserving leading slashes
- Update upload integration tests to use correct /_irondrop/upload endpoint
- Fix upload directory configuration in test helpers
- Update test expectations to match new clean title format
• Convert dark buttons to light buttons across all templates
• Implement unified .card class for consistent styling
• Reduce shadow depth for minimal modern appearance
• Fix clippy warnings and update documentation
- Update comprehensive_test.rs: Change button class from 'error-button' to 'btn btn-light'
- Update monitor_test.rs: Fix endpoint URLs from '/monitor' to '/_irondrop/monitor'
- Update template_embedding_test.rs: Change assertion from 'back-link' to 'Go Back' text
- All tests now pass with the new light button system and unified card architecture
- Tests verify proper integration of monitor endpoints and error page styling
@dev-saw99 dev-saw99 changed the title TEMP feat: Comprehensive UI/UX overhaul with INI configuration system, monitoring endpoints, and unified light button design Aug 9, 2025
@dev-harsh1998
dev-harsh1998 force-pushed the ss-upload branch 2 times, most recently from ffdfdc0 to f5ecd0e Compare August 9, 2025 11:23
Signed-off-by: Harshit Jain <reach@harsh1998.dev>
Signed-off-by: Harshit Jain <reach@harsh1998.dev>
…ase warnings

- Added std::mem import for Windows target to fix unresolved module errors
- Removed unused std::ptr import to fix warning
- Added #[allow(non_snake_case)] to PROCESS_MEMORY_COUNTERS struct

The PROCESS_MEMORY_COUNTERS struct must maintain Windows API field naming
convention (PascalCase) for FFI compatibility. Converting to snake_case
would break the foreign function interface with Windows system APIs.
The struct fields must exactly match the Windows header definitions.
@dev-harsh1998
dev-harsh1998 merged commit df8cb45 into master Aug 9, 2025
10 checks passed
@dev-harsh1998
dev-harsh1998 deleted the ss-upload branch August 13, 2025 23:17
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.

2 participants