Activity feed: financial types + redesigned cards - #981
Conversation
Introduce related-work/funding activity transformers and rebuild activity cards around work previews and header messaging so financial events render correctly. Co-authored-by: Cursor <cursoragent@cursor.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1286d5d635
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| const [isContributeModalOpen, setIsContributeModalOpen] = useState(false); | ||
|
|
||
| if (!title) return null; | ||
| if (!work) return null; |
There was a problem hiding this comment.
Render self-contained activity entries
When the activity payload is a top-level document event (for example PAPER or RESEARCHHUBPOST for a published paper/grant/proposal) and does not include related_work, this early return drops the row entirely even though transformFeedEntry still builds the document from content_object. The previous activity card fell back to the entry content via getEntryMeta, so these entries remained visible; please add a fallback work context from the entry content instead of requiring entry.relatedWork.
Useful? React with 👍 / 👎.
|


Summary
Stack