[PR #5285] [MERGED] Basic docx creation #5391

Closed
opened 2026-06-05 15:21:13 -04:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/5285
Author: @timothycarambat
Created: 3/27/2026
Status: Merged
Merged: 3/27/2026
Merged by: @timothycarambat

Base: file-creationHead: docx-creation


📝 Commits (2)

  • d08d9d7 Basic docx creation
  • 1bdd780 add test theme support + styling and title pages

📊 Changes

9 files changed (+1985 additions, -30 deletions)

View changed files

📝 frontend/src/locales/en/common.js (+6 -0)
📝 frontend/src/pages/Admin/Agents/CreateFileSkillPanel/index.jsx (+27 -24)
📝 server/endpoints/utils.js (+1 -0)
📝 server/package.json (+4 -0)
server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js (+301 -0)
server/utils/agents/aibitat/plugins/create-files/docx/test-themes.js (+298 -0)
server/utils/agents/aibitat/plugins/create-files/docx/utils.js (+1095 -0)
📝 server/utils/agents/aibitat/plugins/create-files/index.js (+2 -0)
📝 server/yarn.lock (+251 -6)

📄 Description

Pull Request Type

  • feat (New feature)
  • 🐛 fix (Bug fix)
  • ♻️ refactor (Code refactoring without changing behavior)
  • 💄 style (UI style changes)
  • 🔨 chore (Build, CI, maintenance)
  • 📝 docs (Documentation updates)

Relevant Issues

connects #5280

Description

  • Word document creation with preset styles
  • supports branding in bottom footer element
  • supports markdown styling, image support, and tables

Visuals (if applicable)

https://github.com/user-attachments/assets/0d83a82f-7fb1-4cdf-b28a-cdd4b7a3d77e

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated (if applicable)
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/5285 **Author:** [@timothycarambat](https://github.com/timothycarambat) **Created:** 3/27/2026 **Status:** ✅ Merged **Merged:** 3/27/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `file-creation` ← **Head:** `docx-creation` --- ### 📝 Commits (2) - [`d08d9d7`](https://github.com/Mintplex-Labs/anything-llm/commit/d08d9d7d379fc8565c644637a0da98e6aa6b3d13) Basic docx creation - [`1bdd780`](https://github.com/Mintplex-Labs/anything-llm/commit/1bdd780e583328ca174a93cde1cfc0e277cfdcc4) add test theme support + styling and title pages ### 📊 Changes **9 files changed** (+1985 additions, -30 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/locales/en/common.js` (+6 -0) 📝 `frontend/src/pages/Admin/Agents/CreateFileSkillPanel/index.jsx` (+27 -24) 📝 `server/endpoints/utils.js` (+1 -0) 📝 `server/package.json` (+4 -0) ➕ `server/utils/agents/aibitat/plugins/create-files/docx/create-docx-file.js` (+301 -0) ➕ `server/utils/agents/aibitat/plugins/create-files/docx/test-themes.js` (+298 -0) ➕ `server/utils/agents/aibitat/plugins/create-files/docx/utils.js` (+1095 -0) 📝 `server/utils/agents/aibitat/plugins/create-files/index.js` (+2 -0) 📝 `server/yarn.lock` (+251 -6) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat (New feature) - [ ] 🐛 fix (Bug fix) - [ ] ♻️ refactor (Code refactoring without changing behavior) - [ ] 💄 style (UI style changes) - [ ] 🔨 chore (Build, CI, maintenance) - [ ] 📝 docs (Documentation updates) ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> connects #5280 ### Description - Word document creation with preset styles - supports branding in bottom footer element - supports markdown styling, image support, and tables <!-- Describe the changes in this PR that are impactful to the repo. What problem does it solve? --> ### Visuals (if applicable) https://github.com/user-attachments/assets/0d83a82f-7fb1-4cdf-b28a-cdd4b7a3d77e <!-- Add screenshots or screen recordings to demonstrate the changes, especially for UI updates. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated (if applicable) - [ ] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-06-05 15:21:13 -04:00
yindo closed this issue 2026-06-05 15:21:13 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#5391