Fixes 28904: Document page refactoring#28874
Conversation
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
🟡 Playwright Results — all passed (13 flaky)✅ 4271 passed · ❌ 0 failed · 🟡 13 flaky · ⏭️ 88 skipped
🟡 13 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
1287030 to
def4dd1
Compare
|
Code Review ✅ Approved 1 resolved / 1 findingsRefactors the Documents page by standardizing on the ContextFile schema and removing obsolete UI components. Bulk move logic was updated to address non-existent folder ID and name references, and no issues were found. ✅ 1 resolved✅ Bug: Bulk move updates non-existent folderId/folderName fields
OptionsDisplay: compact → Showing less information. Comment with these commands to change:
Was this helpful? React with 👍 / 👎 | Gitar |



Describe your changes:
Fixes 28904
I worked on ... because ...
Type of change:
High-level design:
N/A — small change.
Tests:
Use cases covered
Unit tests
Backend integration tests
Ingestion integration tests
Playwright (UI) tests
Manual testing performed
UI screen recording / screenshots:
Not applicable.
Checklist:
Fixes <issue-number>: <short explanation>Fixes #<issue-number>above.Summary by Gitar
DocFileinterface with the standardizedContextFileschema throughout the document components.contextFileToDocumentItemandcontextFileToUploadedDocumentItem.ArticleCard,UploadedDocumentCard,ArticleListSection,UploadedDocumentsSection, andDeleteModal(along with their associated tests).FileRowandDocumentPreviewPanelrendering usinguseMemofor formatted values likefileSizeand relative dates.DocumentsViewby adjusting CSS layouts for better scrolling behavior.handleAssetDownloadto useContextFiledirectly.This will update automatically on new commits.