Skip to content

Visual Builder & AI Pipeline Fixes#74

Closed
rachdocx wants to merge 2 commits into
masterfrom
task18
Closed

Visual Builder & AI Pipeline Fixes#74
rachdocx wants to merge 2 commits into
masterfrom
task18

Conversation

@rachdocx

Copy link
Copy Markdown
Collaborator

Overview This PR brings a massive UX/UI overhaul to ClutterKill, alongside critical bug fixes for the AI extraction pipeline and significant architectural simplifications based on user feedback. The application has transitioned from a basic prototype to a polished, premium desktop tool.

  • Logic Simplifications & Bug Fixes

Flattened Directory Architecture: Removed the redundant Folder Template structure. Since users manually select the destination folder, the AI now routes all renamed files directly into the root of the output directory, preventing messy sub-folder generation.
Quarantine Selectivity: The DeciderAgent's logic has been softened. It now explicitly relies on the Natural Language Query (e.g., "Toate facturile eMAG") to act as a strict gatekeeper, drastically reducing the number of valid files erroneously sent to Quarantine.
Fixed Extractor List-Strip Bug: Fixed a critical crash where the LangChain/Google V2 SDK returned lists instead of pure strings for image summaries, causing the app to throw 'list' object has no attribute 'strip' and automatically quarantine everything.
Gemini API Rate Limiting: Implemented an automated 15-second sleep mechanism when the Google Gemini Free Tier hits the HTTP 429 (Rate Limit) threshold, preventing the pipeline from failing on bulk scans.

  • DevOps / Setup

start.sh Utility: Added an automated bash script that seamlessly creates the Python virtual environment, silently installs all dependencies from requirements.txt, and launches the GUI.

  • Key Features & UX Polish

Dark Mode Premium UI (style.qss): Completely redesigned the interface using a Catppuccin Macchiato-inspired color palette. All widgets, inputs, and tabs now feature rounded corners, sleek borders, and responsive hover states.
Visual Builder Re-enabled: Replaced manual string typing for formatting rules with an interactive "Click-to-Insert" button palette. Users can now inject template variables (e.g., [An], [Luna], [Emitent]) directly into the Naming Template input with a single click.
Rule Editing: Users can now click on any saved preset in the RulesTab list to instantly populate the form for viewing and quick editing.
Quarantine Image Previews: The Quarantine Zone no longer displays placeholder text. It now loads and dynamically scales the physical image file (.jpg, .png) allowing users to visually inspect why the AI quarantined the document before making a decision.
"Cute" HTML Logs: Replaced the intimidating raw-text terminal in the Scan Tab with a modern, HTML-styled notification feed. Each log entry is now a clean "card" with a context-aware colored side-border (Success, Error, Processing, Quarantine).

Copilot stopped work on behalf of rachdocx due to an error June 10, 2026 14:00
@rachdocx rachdocx closed this Jun 10, 2026
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.

1 participant