feat(home): add Recent Uploads panel - #880
Merged
Merged
Conversation
Lists the five projects with the newest document uploads, each with its newest documents. Document links open the file; project and "All documents" links open the project documents list sorted newest first. Panel shares the news feed surface via .home-feed-panel. Document-tab term tables move to utils/document-tabs.ts so the documents page and createProjectTabModifiers read one copy. Refs PUBLIC-152
danieltruong
requested review from
Ckoelewyn,
tolkamps1 and
tom0827
as code owners
September 11, 2026 21:15
Resolve conflict with the Management Plan pill (#879) by moving it into the shared DOCUMENT_TABS table.
Projects with no Eagle id render unlinked, since no route resolves a DEMI id. The feed query no longer retries, so an absent endpoint hides the panel at once instead of holding a spinner for several seconds.
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.
Homepage panel for PUBLIC-152: the five projects with the newest document uploads, each listing its newest documents.
GET /documents/recent-uploads?limit=5(feat(api): add GET /documents/recent-uploads digitalspace/eagle-demi#387; the panel renders nothing until that route is live).DocumentLink; project name and "All documents" open/p/{id}/documents?sortBy=-datePosted..home-feed-panelnow carries the slab, heading and footer rules both sections use.utils/document-tabs.ts;createProjectTabModifiersand the documents page read one copy.Recent Upload Clickedwithtargetproject | document | all-documents.Tests:
home.spec.tsx(14 cases),document-link.spec.tsx(+1). Checked at 1440 and 375 px, no horizontal scroll.