Connect design extraction with automation in one clean workflow.
DesignBridge is a unified app that connects a Design PNG Extractor with an existing Automation Dashboard v4.3. It helps teams extract design assets and metadata, review and map product details, save everything in a shared database, and run automation from one interface. It is meant for operations teams and non-technical users who need accuracy, visibility, and a simple end-to-end workflow.
Ops Manager Samira, 34 - Samira manages daily extraction and automation jobs for a small production team. She needs a reliable way to verify designs and keep the database clean before automation runs.
Automation Specialist Youssef, 29 - Youssef maintains the existing Python automation and needs the extractor to feed data into it without breaking the current workflow. He cares about reliability, performance, and clean integration.
Client User Lina, 41 - Lina is a non-technical client who needs a simple interface to start extraction, inspect results, and run automation without understanding implementation details.
Samira used to manage extraction in one tool, then copy files and data into another system by hand. That process took time, created mistakes in product names and colors, and made it hard to know if enough designs were available for each batch.
With DesignBridge, she starts extraction, reviews the output in a clean Designs Page, and applies approved records directly into the automation database. The app calculates whether the design pool is sufficient, prevents duplicate use in the same batch, and makes every step visible.
As a result, Samira runs automation with more confidence, Youssef spends less time fixing data issues, and the team can move faster with fewer errors. The business gains a repeatable workflow that can later be packaged into a single deliverable once integration testing is complete.
Team & resourcing - Small team: 2 engineers, 1 designer, part-time PM, with support from the existing automation owner.
Paste this into Cursor, Bolt, Lovable, or v0 to start building.
Build a desktop-first web app called DesignBridge for integrating a Design PNG Extractor with an existing Automation Dashboard v4.3. Use a clean white UI with dark navy headings, blue section numbers/dividers, and simple tables. The app must support a workflow: Extract Designs -> Save PNG + Data -> Review & Mapping -> Apply to Database -> Designs Page -> Run Automation. Core screens: 1) Scraper Page: Start Extraction, stop/pause controls, output folder picker, progress bar, job status, logs. 2) Output Settings: choose where PNG and extracted data are saved. 3) Statistics panel: total profiles, total extracted designs, designs per profile, required total designs, shortage warnings. 4) Designs Page: preview PNGs, view/edit metadata, supported products, product colors, save changes. 5) Data Mapping: map extracted product/color names to automation database fields, validate required fields. 6) Apply to Database: write approved records into the automation database, show success/fail counts. 7) Run Automation: trigger the existing Python automation core after apply succeeds. 8) Logs & Status: show progress, errors, completed steps, and failed records. Business rules: - Support Random Designs and Next Designs assignment modes. - Prevent duplicate use of the same design within one assignment batch unless the user explicitly approves reuse. - If designs are insufficient for the requested batch, show a shortage warning and do not duplicate silently. - Allow review and edit before Apply. - The app should be ready for ZIP-based integration testing first, with a later option to bundle into one EXE. - Test integration with Node.js UI and Python automation core using subprocess or IPC. - Allow pilot testing with up to 5 tabs in parallel, but make one-tab operation the default. Data model should include: Batch, Profile, Design, ExtractedFile, Metadata, MappingRule, Assignment, ApplyJob, AutomationRun, and LogEntry. Recommended stack: Electron or Next.js frontend for the desktop UI, Node.js orchestration, Python subprocess bridge, SQLite for local storage in MVP, and optional PostgreSQL later. Add file system storage for PNG outputs and extracted JSON/CSV-like metadata files. Build reusable table components, validation states, toast alerts, and a job queue for extraction and automation tasks. Implement simple analytics events for extraction_started, extraction_completed, review_edit_saved, apply_to_database_clicked, apply_to_database_succeeded, assignment_mode_selected, automation_run_started, and shortage_warning_shown. Prioritize reliability, clear user feedback, and easy-to-understand interactions for non-technical users. Generate the full app structure, pages, data models, sample components, and mock data necessary to demo the end-to-end workflow.
# Cahier de Charge – Design Extractor Integration Create a **short, professional Cahier de Charge (maximum 2 pages)** for a new version of an existing automation application. Use the uploaded TeePublic Cahier de Charge as a visual reference. ## Language & Style * Write mainly in **Moroccan Darija**, using Arabic script. * Keep technical terms in English when necessary, such as UI, Dashboard, Extractor, Database, Integration, and Automation. * Make it easy for a non-technical client to understand. * Use short explanations, clear tables, and bullet points. * Avoid long technical details, code, JSON structures, and programming jargon. * Keep the document concise, organized, and client-friendly. --- ## 1. Project Role & Goal الهدف هو ندمجو **Design PNG Extractor** مع الـ Automation Dashboard v4.3 الموجود من قبل. | Component | Role | | ------------------------ | ------------------------------------------------------------------------------- | | Design Extractor | استخراج صور PNG ومعلومات التصاميم: Metadata، Supported Products، Product Colors | | Existing Automation v4.3 | استعمال البيانات المستخرجة وتشغيل الـ Automation | | Database | حفظ وتنظيم البيانات باش تكون سهلة للعرض والتعديل والاستعمال | | New UI | التحكم فـ Extraction، مراجعة البيانات، وتطبيقها فالـ Automation | **النتيجة المطلوبة:** تطبيق واحد فيه Extractor + Database + Automation Dashboard. --- ## 2. Integration & Merge Workflow شرح الـ workflow بهاد الترتيب: **Extract Designs → Save PNG + Data → Review & Mapping → Apply to Database → Designs Page → Run Automation** بالدارجة: 1. المستخدم كيبدا استخراج التصاميم. 2. البرنامج كيحفظ الصور والمعلومات المستخرجة. 3. المستخدم يراجع البيانات ويتأكد من أسماء المنتجات والألوان. 4. كيدير Apply باش تتحفظ البيانات فالـ database ديال automation. 5. التصاميم كيبانو فالـ Designs Page، ويمكن يشوفهم ويعدلهم. 6. يقدر يشغل Automation بالبيانات الجديدة. خاصنا أولاً نفهمو كيفاش خدام الـ Extractor وكيفاش كيتواصل مع الـ Python Automation Core، ومن بعد نجربو الدمج. **Plan:** نوجدو ZIP فيه المكونات، نجربو extraction وdatabase integration وautomation، ومن بعد نشوفو إمكانية جمع كلشي فـ `.exe` واحد. --- ## 3. New UI – Features Table صايب جدول واضح فيه كل UI section والدور ديالو: | UI Section | Details / Role | | ----------------- | ----------------------------------------------------------------------- | | Scraper Page | Start Extraction، اختيار Output Folder، ومتابعة Progress | | Output Settings | تحديد فين يتحفظو PNG images وExtracted Data | | Statistics | Total Profiles، Total Designs Extracted، Designs per Profile | | Design Assignment | تحديد شحال من design لكل profile | | Assignment Mode | Random Designs أو Next Designs | | Apply to Database | إدخال البيانات المستخرجة للـ automation database | | Designs Page | Preview الصور، عرض البيانات، Edit وSave | | Data Mapping | مطابقة أسماء المنتجات والألوان مع البيانات اللي كيعتمد عليها automation | | Run Automation | تشغيل الـ automation من بعد ما يكمل extraction وApply | | Logs & Status | عرض التقدم، الأخطاء، والعمليات اللي نجحات أو فشلات | --- ## 4. Design Assignment Example | Item | Example | | ----------------------- | ------: | | Total Profiles | 100 | | Total Extracted Designs | 1,000 | | Designs per Profile | 100 | | Total Designs Required | 10,000 | البرنامج خاصو يحسب العدد المطلوب ويبين واش كاينين designs كافيين. * Random: يختار designs بشكل عشوائي. * Next: ياخذ designs بالتتابع. * خاصنا نتفاداو تكرار نفس design بين profiles فـ نفس assignment batch. * إلا ماكفاوش designs، البرنامج يوضح النقص ومايديرش duplication بلا موافقة المستخدم. --- ## 5. Integration & Performance – To Test | Feature | Plan | | ---------------- | --------------------------------------------------- | | Node.js + Python | ربط الـ Extractor مع الـ Automation Core | | CDP / Subprocess | دراسة طريقة التواصل بين المكونات | | Multiprocessing | تجربة معالجة حتى 5 tabs فـ نفس الوقت | | Database Mapping | التأكد أن أسماء المنتجات والألوان كيتربطو بشكل صحيح | | All-in-One EXE | دراسة إمكانية تجميع التطبيق فـ ملف واحد | هاد الميزات خاصها تجربة قبل ما نأكدو أنها غادي تخدم بالشكل النهائي. --- ## 6. Questions – Decisions Before Development دير جدول ديال الأسئلة اللي خاصنا نجاوبو عليها قبل ما نبداو الدمج. | Question | Options / Decision | | ---------------------------------------------------------- | ------------------------------ | | واش نبدلو Scraper Page القديمة ولا نزيدو Page جديدة؟ | Replace / Add New Page | | واش نخليو Output ديال PNG وData فـ نفس folder؟ | Same Folder / Separate Folders | | واش Apply للـ database يكون Manual ولا Automatic؟ | Manual / Automatic / Both | | واش نشغلو Automation مباشرة من بعد extraction؟ | Yes / No / Optional | | واش نحتاجو Preview وEdit قبل Apply؟ | Yes / No | | واش نخدمو بـ 5 tabs من البداية ولا نبداو بـ tab واحد؟ | 1 Tab First / Test 5 Tabs | | واش ندمجو كلشي فـ EXE واحد من البداية؟ | After ZIP Testing / Other Plan | | واش نسمحو بإعادة استعمال designs فـ assignment batch جديد؟ | Yes / No / Ask Before Reuse | أي نقطة مازال ما تقرراتش، كتب حدّاها **To Confirm**. --- ## 7. Development Plan 1. نفهمو ونراجعو كيفاش خدام الـ Extractor وAutomation v4.3. 2. نجربو extraction ونشوفو شكل البيانات والـ PNG output. 3. نوجدّو ZIP للتجربة مع client. 4. نختبرو Integration، Database، وRun Automation. 5. نجربو Multiprocessing ديال 5 tabs. 6. من بعد نجاح الاختبارات، ندرسو ونوجدو All-in-One `.exe`. **Final Goal:** واجهة وحدة وسهلة، كتسمح للمستخدم يستخرج التصاميم، يراجع البيانات، يطبقها فالـ database، ويشغل automation. --- ## Visual Design * Follow the uploaded PDF's style. * Maximum 2 pages. * Dark navy headings, blue section numbers and divider lines. * White background, clean spacing. * Use tables for UI details, integration, and decision questions. * Use simple arrows for the workflow. * Keep the Darija explanations short and clear. * Do not add prices, deadlines, or features that were not provided.
Design by The Resonance | Powered by GPC – The AI Transformation Company