Skip to content

feat: Add detail pages with Locations in the PathwayBrowser tree#27

Open
adamjohnwright wants to merge 6 commits intomainfrom
add-table-content-pages
Open

feat: Add detail pages with Locations in the PathwayBrowser tree#27
adamjohnwright wants to merge 6 commits intomainfrom
add-table-content-pages

Conversation

@adamjohnwright
Copy link
Contributor

Add /content/detail/:id route with a full detail page that includes:

  • Description tab (reusing PathwayBrowser's DescriptionTabComponent)
  • Locations in the PathwayBrowser section showing hierarchical tree of where an entity/event exists in Reactome's pathway hierarchy
  • Provider stubs for services required by the description tab
  • Animations support and PDBe Molstar for structure visualization

Add /content/detail/:id route with a full detail page that includes:
- Description tab (reusing PathwayBrowser's DescriptionTabComponent)
- Locations in the PathwayBrowser section showing hierarchical tree
  of where an entity/event exists in Reactome's pathway hierarchy
- Provider stubs for services required by the description tab
- Animations support and PDBe Molstar for structure visualization

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@adamjohnwright adamjohnwright requested a review from el-rabies March 9, 2026 20:07
@autofix-troubleshooter
Copy link

Hi! I'm the autofix logoautofix.ci troubleshooter bot.

It looks like you correctly set up a CI job that uses the autofix.ci GitHub Action, but the autofix.ci GitHub App has not been installed for this repository. This means that autofix.ci unfortunately does not have the permissions to fix this pull request. If you are the repository owner, please install the app and then restart the CI workflow! 😃

adamjohnwright and others added 5 commits March 10, 2026 12:02
- Move LocationsTree into the description-tab as a proper section with
  divider header and TOC entry ("Locations in the Pathway Browser")
- Add species filtering, expand/collapse all, tree connector lines,
  type icons, and arrow expand icons matching site design language
- Add pathway-browser SVG icon assets to WebsiteAngular build config
  so entity icons (protein, pathway, etc.) render correctly
- Clean up detail component to pass showLocations flag instead of
  rendering LocationsTree standalone

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Provide DatePipe in DetailComponent to fix NullInjectorError that
silently broke the authorship template rendering. Add Created as a
separate row, fix @for tracking to use $index instead of dbId to
avoid JSOG shared-reference conflicts, and unset the background
override so detail pages match the standard page background.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
All search result types now have working detail pages:
- Complex, Set, Pathway, and DNA Sequence use the existing detail page
- Interactor results navigate to a new interactor detail page with
  summary info, synonyms, and interaction partners with Reactome entities
- Icon results navigate to a new icon detail page with SVG preview,
  credits, references, and associated physical entities
- Search links are now type-aware, routing each type to its correct page

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Extract diagramFromData() from DiagramService for reuse, create
ReactionDiagramComponent that fetches reaction layout JSON and renders
it client-side via Cytoscape. Integrate as a new section in
DescriptionTabComponent for reaction-type entities.

Fixes: handle missing endShape on INPUT connectors, missing centre on
PTM attachment shapes, and bidirectional arm segment traversal for
reaction diagrams from the ReactionExporter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Use route-relative navigation (navigateTo) instead of router.navigate
across all PathwayBrowser components to ensure URLs stay under the
/PathwayBrowser/ prefix in the umbrella app. Add missing MatTreeNodeToggle
and MatTreeNodeOutlet imports to event-hierarchy component so tree
expand/collapse and child rendering work correctly. Fix _ignore flag
getting stuck and preserve expansion state across data source resets.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@el-rabies el-rabies linked an issue Mar 16, 2026 that may be closed by this pull request
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.

details page

2 participants