Skip to content

#180 DOCX Report Generation#208

Open
tsudhakar87 wants to merge 3 commits into
mainfrom
180-docx-report-generation-support
Open

#180 DOCX Report Generation#208
tsudhakar87 wants to merge 3 commits into
mainfrom
180-docx-report-generation-support

Conversation

@tsudhakar87
Copy link
Copy Markdown
Contributor

ℹ️ Issue

Closes #180

📝 Description

Write a short summary of what you added. Why is it important? Any member of C4C should be able to read this and understand your contribution -- not just your team members.

  1. Added a file_type parameter to support PDF or DOCX report generation
  2. Added logic for docx report generation
  3. Added unit tests

✔️ Verification

What steps did you take to verify your changes work? These should be clear enough for someone to be able to clone the branch and follow the steps themselves.

Provide screenshots of any new components, styling changes, or pages.

Was able to generate this
Screenshot 2026-05-12 at 5 56 48 PM

🏕️ (Optional) Future Work / Notes

Did you notice anything ugly during the course of this ticket? Any bugs, design challenges, or unexpected behavior? Write it down so we can clean it up in a future ticket!

@tsudhakar87 tsudhakar87 changed the title docx generation #180 DOCX Report Generation May 12, 2026
@tsudhakar87 tsudhakar87 marked this pull request as ready for review May 12, 2026 23:30
@github-actions github-actions Bot requested a review from Vaibhav978 May 12, 2026 23:31
github-actions Bot added a commit that referenced this pull request May 12, 2026
Copy link
Copy Markdown
Collaborator

@nourshoreibah nourshoreibah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One really small nit, good stuff!

}

const fileType = body.file_type ?? 'pdf';
if (fileType !== 'pdf' && fileType !== 'docx') {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Can we have a constant with a list of file types?

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.

.DOCX Report Generation Support

2 participants