Skip to content

Comments

feat: Add Productivity Engine - Structured Document System#412

Open
Muneerali199 wants to merge 3 commits intomainfrom
feature/productivity-engine
Open

feat: Add Productivity Engine - Structured Document System#412
Muneerali199 wants to merge 3 commits intomainfrom
feature/productivity-engine

Conversation

@Muneerali199
Copy link
Owner

Implements the Master Plan for transforming DraftDeckAI into a Productivity Engine:

Core Features:

  • Document Blueprint system with hardcoded structures for 4 document types:

    • Business Proposal (Sales & Partnerships)
    • Project Report (Corporate & Engineering)
    • Academic/Market Research (IMRaD format)
    • Requirements Specification (IEEE 830)
  • Context Awareness (RAG):

    • File upload support (PDF, CSV, DOCX, TXT, JSON)
    • Content extraction and processing
    • AI citations from uploaded context
  • Visual Tagging System:

    • Automatic visual detection in content
    • Mermaid.js integration for flowcharts, Gantt charts, timelines
    • Chart.js integration for data visualization
    • Support for pie charts, bar charts, line charts, tables
  • Document Generation Workflow:

    • Outline generation and approval
    • Section-by-section content generation
    • Multiple tone modes (startup, academic, professional)
  • Export Options:

    • Word (.docx) export with proper formatting
    • PDF export via browser print
    • Preserved structure and citations

UI Components:

  • DocumentGenerator: Main wizard interface
  • Multi-step generation process
  • Real-time preview with tabs
  • Visual diagram placeholders

Added new route: /productivity-engine
Updated homepage with Productivity Engine card

All changes made in feature/productivity-engine branch from origin/main

Description

Provide a brief summary of the changes made to the project and the motivation behind them. Include any relevant issues.

Fixes #123 (replace with actual issue number)

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • [ ] Other (please specify): ____________________

Changes Made

  • Describe the key changes (e.g., new sections, updated components, responsive fixes).

Dependencies

  • List any new dependencies or tools required for this change.
  • Mention any version updates or configurations that need to be considered.

Add Screenshots

If your PR consist of any UI changes, please provide screenshots or video (if requried).

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers/devices
  • I have tested my changes in development mode (npm run dev)
  • I have written or updated related tests, if necessary
  • This is already assigned Issue to me, not an unassigned issue.

Implements the Master Plan for transforming DraftDeckAI into a Productivity Engine:

Core Features:
- Document Blueprint system with hardcoded structures for 4 document types:
  * Business Proposal (Sales & Partnerships)
  * Project Report (Corporate & Engineering)
  * Academic/Market Research (IMRaD format)
  * Requirements Specification (IEEE 830)

- Context Awareness (RAG):
  * File upload support (PDF, CSV, DOCX, TXT, JSON)
  * Content extraction and processing
  * AI citations from uploaded context

- Visual Tagging System:
  * Automatic visual detection in content
  * Mermaid.js integration for flowcharts, Gantt charts, timelines
  * Chart.js integration for data visualization
  * Support for pie charts, bar charts, line charts, tables

- Document Generation Workflow:
  * Outline generation and approval
  * Section-by-section content generation
  * Multiple tone modes (startup, academic, professional)

- Export Options:
  * Word (.docx) export with proper formatting
  * PDF export via browser print
  * Preserved structure and citations

UI Components:
- DocumentGenerator: Main wizard interface
- Multi-step generation process
- Real-time preview with tabs
- Visual diagram placeholders

Added new route: /productivity-engine
Updated homepage with Productivity Engine card

All changes made in feature/productivity-engine branch from origin/main
@vercel
Copy link

vercel bot commented Feb 16, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
doc-magic-heob Error Error Feb 17, 2026 2:08pm
doc-magic-vvg8 Error Error Feb 17, 2026 2:08pm
docmagic Ready Ready Preview, Comment Feb 17, 2026 2:08pm

@netlify
Copy link

netlify bot commented Feb 16, 2026

Deploy Preview for docmagic-muneer failed. Why did it fail? →

Name Link
🔨 Latest commit 1c4e40e
🔍 Latest deploy log https://app.netlify.com/projects/docmagic-muneer/deploys/699474bb15727d000841d09b

@netlify
Copy link

netlify bot commented Feb 16, 2026

Deploy Preview for docmagic1 failed. Why did it fail? →

Name Link
🔨 Latest commit 1c4e40e
🔍 Latest deploy log https://app.netlify.com/projects/docmagic1/deploys/699474bb5a8c5b00088b2479

Updated ai-generator.ts to use Mistral API instead of Gemini:
- Replaced GoogleGenerativeAI with direct Mistral API calls
- Using mistral-large-latest model for document generation
- Updated API endpoint and authentication to match existing codebase patterns
- Maintained all existing functionality (outline generation, section generation, tone matching)

Mistral API integration follows existing patterns used in:
- lib/mistral.ts
- app/api/generate/resume/route.ts
- app/api/generate/letter/route.ts
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