Skip to content

feat: Add related terms section to medical glossary pages (#1021) - #2249

Closed
pisum-sativum wants to merge 3 commits into
SB2318:mainfrom
pisum-sativum:feature/1021-add-related-terms-section
Closed

feat: Add related terms section to medical glossary pages (#1021)#2249
pisum-sativum wants to merge 3 commits into
SB2318:mainfrom
pisum-sativum:feature/1021-add-related-terms-section

Conversation

@pisum-sativum

Copy link
Copy Markdown
Contributor

PR Description

This PR implements the "Related Terms" section for the Medical Glossary pages. It adds a dedicated section to glossary entries that displays clickable related terms, allowing users to discover associated medical terminology.

Key changes include:

  • Extracted and deduplicated related terms, actively excluding the currently viewed term from the suggestions.
  • Updated GlossaryBottomSheet.tsx to render related terms as interactive tags using TouchableOpacity instead of simple text.
  • Added a handleRelatedTermPress navigation event handler in MedicalGlossaryScreen.tsx so users can directly update the viewed term in the bottom sheet seamlessly without returning to the main glossary directory.

Type of Change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update

Select your work-area

  • Frontend
  • Backend
  • Documentation
  • Others

Related Issue

https://github.com/pisum-sativum/UltimateHealth/issues/1021

Fixes (mention the issue number which this fixes)

#closes #1021

Checklist

  • I have updated my branch and synced it with the project's 'develop' branch before making this PR.
  • I have optimized the file changes.
  • I have made a PR to the project's develop branch.

Undertaking

  • My code follows the style guidelines of this project.

  • I have performed a self-review of my code.

  • I have commented my code, particularly in hard-to-understand areas.

  • I have made corresponding changes to the documentation.

  • I have checked for plagiarism and assure its authenticity.

  • I have read and followed the code of conduct for this repository. I understand that violation of this undertaking may have legal consequences.

  • I Agree

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Thank you @, for creating the PR and contributing to our UltimateHealth project 💗.
Our team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@github-actions

github-actions Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Automated Review Feedback

No major issues were identified during this review.

The implementation appears consistent with the repository standards and the modified files were reviewed successfully.

Maintainer Note:

Maintainer @SB2318 will review this pull request after the initial automated review cycle is complete.

@pisum-sativum pisum-sativum changed the title Feature/1021 add related terms section feat: Add related terms section to medical glossary pages (#1021) Aug 2, 2026

@SB2318 SB2318 left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This is web development issue I guess.

Please checkout to web branch.

Note: Don't checkout directly from main

@SB2318

SB2318 commented Aug 2, 2026

Copy link
Copy Markdown
Owner

@pisum-sativum You have to close this PR.

@pisum-sativum

Copy link
Copy Markdown
Contributor Author

@pisum-sativum You have to close this PR.

I can fix the issue can u pls give me some time.

@pisum-sativum
pisum-sativum force-pushed the feature/1021-add-related-terms-section branch from 55e2fee to d414b6e Compare August 2, 2026 17:53
@pisum-sativum

Copy link
Copy Markdown
Contributor Author

@SB2318 I have made a new PR pls check that and merge.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Add Related Terms Section to Medical Glossary Pages

2 participants