Skip to content

Register Process Flow Step URIs in stage mapping#379

Closed
marvinm2 wants to merge 1 commit intomainfrom
feature/workflow-step-mapping
Closed

Register Process Flow Step URIs in stage mapping#379
marvinm2 wants to merge 1 commit intomainfrom
feature/workflow-step-mapping

Conversation

@marvinm2
Copy link
Copy Markdown
Contributor

Summary

  • Extends stage_mapping in app.py with the 5 new VHP glossary URIs (VHP0000153158) for the Safety Assessment Workflow Steps: Chemical Characteristics and Hazard Identification, Exposure, Toxicokinetics, Toxicodynamics, Adverse Outcome.
  • Extends STAGE_EXPLANATIONS with the full tooltip definitions for each new label (text mirrors the button title attributes already present in templates/tools/tools.html:43-56).
  • Legacy entries are kept alongside the new ones so the data and methods pages keep working until their upstream data sources migrate.

Pairs with VHP4Safety/cloud#290 which retags each tool's stage field with the new URIs. Once both PRs land, the /tools filter dropdown will show exactly the 5 canonical labels plus "Other", matching the 5 workflow-step buttons shown above it.

Test plan

  • After merging cloud#290 and waiting for CI to regenerate cap/service_index.json, load /tools locally and confirm the "Safety Assessment Workflow Step" dropdown lists the 5 new labels + Other (no raw URL strings).
  • Hover any dropdown item to confirm the tooltip renders.
  • Confirm /data and /methods pages still render stage filters without regression.

🤖 Generated with Claude Code

Extend stage_mapping with the 5 new VHP glossary URIs (VHP0000153-158)
so the /tools filter dropdown displays the Safety Assessment Workflow
Step labels instead of raw URL strings once the upstream cloud repo
data migrates to the new URIs.

Also extend STAGE_EXPLANATIONS with the full tooltip definitions for
each new label. Legacy entries are kept for the data and methods pages
until their data sources migrate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@marvinm2
Copy link
Copy Markdown
Contributor Author

Superseded by #380 (same change with a clean commit message).

@marvinm2 marvinm2 closed this Apr 17, 2026
@marvinm2 marvinm2 deleted the feature/workflow-step-mapping branch April 17, 2026 13:57
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.

1 participant