feat: add Word and Excel preview in review UI#22601
Open
NeoMei wants to merge 3 commits intoanomalyco:devfrom
Open
feat: add Word and Excel preview in review UI#22601NeoMei wants to merge 3 commits intoanomalyco:devfrom
NeoMei wants to merge 3 commits intoanomalyco:devfrom
Conversation
Contributor
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
- Recognize docx/xlsx/pptx as office media type instead of binary - Return base64-encoded content for office files from the backend - Add OfficeViewer component using mammoth (docx) and xlsx (xlsx) - Add office-preview CSS with basic typography and table styling - PPT preview is not supported yet and shows a placeholder message - Fix broken symlink for custom-elements.d.ts in app package
23e4d27 to
7af8534
Compare
Author
|
The unit (windows) failure is a pre-existing network issue unrelated to this PR:
All other checks pass, including e2e (windows) which validates the symlink fix. Could a maintainer please re-trigger the failed job when convenient? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Issue for this PR
Closes #
Type of change
What does this PR do?
Adds native preview support for Word (.docx) and Excel (.xlsx) files in the review UI and file tabs. Previously these files were treated as binary and showed a generic "Binary file" message. Now they render as HTML so users can view their contents naturally.
Backend changes:
UI changes:
App changes:
Fixes:
How did you verify your code works?
Screenshots / recordings
N/A — could not run the live desktop app in this environment.
Checklist