Skip to content

feat: Report Composer UI and Landing Page Feature Showcase#12

Open
TonsOfFun wants to merge 4 commits intomainfrom
feature/report-composer-landing-page
Open

feat: Report Composer UI and Landing Page Feature Showcase#12
TonsOfFun wants to merge 4 commits intomainfrom
feature/report-composer-landing-page

Conversation

@TonsOfFun
Copy link
Contributor

Summary

  • Add Report Composer - an AI-powered document composition modal for reports
  • Add Feature Showcase section to landing page with functional screenshots

Features Added

Report Composer Modal

  • Ask Question Mode: Query uploaded documents in natural language, get AI-generated answers
  • Compose Section Mode: Generate full report sections from document sources
  • Real-time streaming responses via ActionCable
  • Source citation highlighting in blue for easy reference tracking
  • Copy to clipboard and Create Page actions

Landing Page Updates

  • New "AI-Powered Document Composer" showcase section
  • Three feature cards with functional screenshots:
    1. Intuitive Modal Interface
    2. Ask Questions, Get Answers
    3. Smart Citations
  • Alternating left/right layout for visual appeal

Files Changed

File Description
app/agents/report_composer_agent.rb Backend agent with compose, answer_question, generate_section actions
app/javascript/controllers/report_composer_controller.js Stimulus controller for modal interactions
app/views/shared/_report_composer.html.erb Modal dialog partial
app/assets/stylesheets/composer.css Composer modal styling
app/views/static_pages/home.html.erb Landing page with feature showcase
app/assets/stylesheets/marketing.css Feature showcase CSS
app/assets/images/feature-*.png Screenshot images for landing page

Screenshots

The landing page now includes functional screenshots of the Document Composer in action.

Test plan

  • Visit landing page at / and verify feature showcase displays
  • Open a report and click the AI Composer button in the toolbar
  • Test Ask Question mode with a query
  • Test Compose Section mode with a topic
  • Verify citations are highlighted in blue
  • Test Copy and Create Page buttons

🤖 Generated with Claude Code

- Add ReportComposerAgent with compose, answer_question, and generate_section actions
- Create Document Composer modal with Ask Question and Compose Section modes
- Implement real-time streaming responses via ActionCable
- Add citation highlighting for source references
- Add feature showcase section to landing page with functional screenshots
- Include CSS styling for composer modal and feature showcase

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@superconductor-for-github
Copy link

superconductor-for-github bot commented Mar 7, 2026

@TonsOfFunSuperconductor finishedView implementation


Standing by for instructions.

@github-actions
Copy link

github-actions bot commented Mar 7, 2026

🚀 Staging deployed:

- Add TechDiligenceAgent with VLM support for document analysis
- Add PdfImageExtractor service using pdftoppm for page rendering
- Add API endpoints for tech diligence (questions, pages, specs, verify)
- Add API endpoints for report composer (section, answer, generate)
- Extend Document model with page image blob retrieval methods
- Add citation fragment types with provenance tracking
- Add rake tasks for CLI testing of tech diligence features
- Rebrand from Writebook to Dill throughout

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

🚀 Staging deployed:

Rename writebook-manual.jpg to dill-manual.jpg to match
the updated reference in demo_content.rb

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

🚀 Staging deployed:

- Add ProjectTemplate model with section_schema JSON storage
- Add InformationRequest model for tracking document requests
- Add ProjectTemplatesController with full CRUD operations
- Add template views (index, show, new, edit, form)
- Add section_schema_controller.js for dynamic form building
- Add save_as_template action to ReportsController
- Add navigation link to templates from reports index
- Add "Save as Template" button to report show page

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@github-actions
Copy link

🚀 Staging deployed:

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