Skip to content

Upgrade @databiosphere/findable-ui to v53.1.0 #4843

@frano-m

Description

@frano-m

Summary

Upgrade @databiosphere/findable-ui from 52.2.0^53.1.0 and adopt the breaking changes from the v53.0.0 release.

Breaking changes from v53.0.0

Two breaking changes since 52.2.0 (per the findable-ui changelog):

Changes for this consumer (data-biosphere)

  1. Bump dep"@databiosphere/findable-ui": "^53.1.0".
  2. Remove isomorphic-dompurify from dependencies — no longer a findable-ui peer, and no direct usages in app/, pages/, or site-config/.
  3. Migrate MarkdownMarkdownRenderer in three places (the only usages in the repo):
    • app/components/index.tsx (barrel re-export)
    • app/viewModelBuilders/catalog/anvil-catalog/common/viewModelBuilders.ts (buildStudyDescription, prop name contentvalue)
    • site-config/anvil-catalog/dev/detail/study/overviewMainColumn.ts (component config reference)

Peer-dependency audit

All other findable-ui peer dependencies (emotion, MUI v7, tanstack, ky, next, react 19, rehype/remark/unified, yup, etc.) are already satisfied by data-biosphere's current dependencies. next-auth is optional in findable-ui and not used here.

react-gtm-module was removed as a findable-ui peer in v52.0.0, but data-biosphere imports it directly in pages/_app.tsx, so it stays in this repo's dependencies as consumer-owned.

Acceptance criteria

  • package.json bumped to ^53.1.0
  • isomorphic-dompurify removed from dependencies
  • MarkdownMarkdownRenderer migration in the three files above
  • npx tsc --noEmit passes
  • npm run lint and npm run check-format pass
  • Build succeeds for at least one config (e.g. npm run build:anvil-cmg)
  • Manual smoke test: open the anvil-catalog study detail page in dev:anvil-catalog and verify the Description section still renders correctly (the new renderer applies MUI Typography styles; visual output may shift slightly)

Out of scope

The collapsible Terra info work (#4816, branch fran/4816-collapsable-terra-info) depends on findable-ui v53 features but is tracked separately. After this upgrade lands, that branch should rebase onto main.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions