Skip to content

Comments

refactor(agora): remove legacy libraries and consolidate explorers shared components (AG-1847)#3889

Open
sagely1 wants to merge 2 commits intoSage-Bionetworks:mainfrom
sagely1:agora/AG-1977-part2-remove-legacy-libs
Open

refactor(agora): remove legacy libraries and consolidate explorers shared components (AG-1847)#3889
sagely1 wants to merge 2 commits intoSage-Bionetworks:mainfrom
sagely1:agora/AG-1977-part2-remove-legacy-libs

Conversation

@sagely1
Copy link
Contributor

@sagely1 sagely1 commented Feb 20, 2026

Description

This PR replaces legacy Agora components with newer explorers shared components.

Related Issues

AG-1847

Changelog

  • Delete libs/agora/about, libs/agora/news, and libs/agora/shared libraries (replaced by explorers shared components)
  • Delete SynapseApiService, SynapseWiki model, and related test stubs
  • Migrate all gene, comparison-tool, and nominated-target components to import from @sagebionetworks/explorers/util instead of @sagebionetworks/agora/shared
  • Route Agora about & news pages through shared wikiHeroRoute component
  • Add wiki-pages styles for about and news page content
  • Remove unused tsconfig path aliases and agora popover-link component
  • Update testing mocks to use explorers models

Test plan

  • Verify about and news pages render correctly via shared wiki-hero route
  • Verify all gene detail pages render (modal-link, popover-link working)
  • Verify comparison tool renders correctly with explorers components
  • Verify nominated targets page renders correctly
  • Verify no remaining references to deleted @sagebionetworks/agora/shared

sagely1 and others added 2 commits February 20, 2026 23:22
…mponents

- Make wikiParams a required input on wiki, popover-link, and modal-link components
- Switch wiki component from effect-based to OnInit lifecycle for data fetching
- Add isPlatformBrowser guard to wiki and terms-of-service components
- Improve wiki/wiki-hero layout with flexbox for better loading state display
- Convert wiki isLoading to signal for reactive state management
- Add className input to wiki and wiki-hero components for external styling
- Add heroBackgroundImagePath input to wiki-hero for customizable backgrounds
- Fix logger service to not log undefined when optional data/error params are omitted
- Add non-null assertion for optional headerTitleWikiParams in comparison-tool-header

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
… shared components

Remove the agora-specific about, news, and shared libraries that have been
superseded by the explorers shared component library. Migrate all Agora
components to use explorers equivalents for modal-link, popover-link,
wiki, loading-icon, and svg-icon.

- Delete libs/agora/about, libs/agora/news, libs/agora/shared
- Delete SynapseApiService and SynapseWiki model (replaced by explorers equivalents)
- Delete agora-specific popover-link component from genes library
- Update all gene, comparison-tool, and nominated-target components to import
  from @sagebionetworks/explorers/util instead of @sagebionetworks/agora/shared
- Route about/news pages through shared wiki-hero component
- Add wiki-pages styles for about and news page content
- Remove unused tsconfig path aliases
- Update testing mocks to use explorers models

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sagely1 sagely1 requested review from a team and hallieswan as code owners February 20, 2026 23:33
@sagely1 sagely1 changed the title refactor(agora): remove legacy libraries and consolidate on explorers shared components refactor(agora): remove legacy libraries and consolidate explorers shared components Feb 21, 2026
@sagely1 sagely1 changed the title refactor(agora): remove legacy libraries and consolidate explorers shared components refactor(agora): remove legacy libraries and consolidate explorers shared components (AG-1847) Feb 21, 2026
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