Skip to content

Conversation

@michaelcanova
Copy link
Contributor

Issue:

Tips were only working on Papers and Comments, but questions, preprints etc were not showing the tips. A fix both here on the front end and on the backend properly set the status and returned the correct data formatting for all non-paper and comment types.

@michaelcanova michaelcanova requested a review from a team as a code owner October 14, 2025 23:21
@vercel
Copy link

vercel bot commented Oct 14, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
web Ready Ready Preview Comment Oct 14, 2025 11:22pm

@sonarqubecloud
Copy link

Copy link
Contributor

@yattias yattias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good but make sure this works for all content types on staging.

on prod, have @TylerDiorio verify any post (ideally proposal) to make sure it looks good

onClose={() => setIsModalOpen(false)}
contentId={documentId}
feedContentType="PAPER"
feedContentType={contentType === 'paper' ? 'PAPER' : 'POST'}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there other types backend can accept here or just paper vs post?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How our backend currently processes it is just paper, "rhcommentmodel" or "researchhubpost". I can update these if you'd like me to to be a bit more concise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants