Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ENH: Adding study linkages to CDE tab in concept card #308

Merged
merged 12 commits into from
Aug 26, 2024

Conversation

hina-shah
Copy link
Contributor

Showing studies that use CDEs displayed in the concept card of concept search.

Copy link
Contributor

@gaurav gaurav left a comment

Choose a reason for hiding this comment

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

The code looks great! I have some suggestions for the UX (and one very minor code suggestion), but I'm not sure if we want to do that in this PR or if it would be better to do that in a separate PR. My suggestions would be:

  1. I don't think related studies is as important as the description; instead, I'd reduce the font size a bit so it was similar in size to the "Related concepts".
  2. The related studies list can be pretty long -- I would either display only the first three entries followed by a "show more" button or collapse this entire section.

Also I notice that the Highlighter can't be used to search by Study Title -- that would be useful to have, but not critical for this PR. I think we should open a ticket for that and work on it separately.

@hina-shah
Copy link
Contributor Author

@gaurav : I've pushed requested changes to the related study list.

@gaurav
Copy link
Contributor

gaurav commented Jul 16, 2024

@hina-shah Thanks for working on this, Hina! I found a bug in the TranQL query for CDEs and fixed that, and then made a few minor improvements to the studies display. Have a look and let me know what you think -- and feel free to remove any of my "improvements" if you disagree! My previous approval still stands :)

@hina-shah
Copy link
Contributor Author

Thanks @gaurav !

@hina-shah hina-shah requested a review from frostyfan109 August 14, 2024 18:42
@gaurav
Copy link
Contributor

gaurav commented Aug 22, 2024

@hina-shah If @frostyfan109 approves of this PR, I think it's good to merge -- I'd love to see what it looks like in Dev and to get more feedback from other HEAL folks!

@hina-shah hina-shah merged commit bebe9d6 into develop Aug 26, 2024
6 checks passed
@hina-shah hina-shah deleted the enh-add-cde-descriptions branch August 26, 2024 20:24
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