Skip to content

Conversation

@frano-m
Copy link
Contributor

@frano-m frano-m commented Apr 23, 2025

Ticket

Closes #4466.

Reviewers

@MillenniumFalconMechanic, @NoopDog.

Changes

  • Updated findable-ui to latest version v27.0.0.
  • Removed react-hooks from .eslintrc.json as eslint-config-next already includes plugin:react-hooks/recommended.

This pull request includes updates to dependencies, code refactoring for consistent imports, and configuration changes. The most notable changes involve upgrading packages, replacing color constants with a centralized palette, and modifying imports for better type specificity.

Dependency Updates:

  • Upgraded @databiosphere/findable-ui from ^25.1.0 to ^27.0.0, along with several related dependencies such as next, next-mdx-remote, and eslint-config-next to their latest versions. These updates may include breaking changes that require testing. [1] [2] [3] [4]

Code Refactoring:

Configuration Changes:

  • Removed react-hooks from the .eslintrc.json plugins and rules, as it is no longer used. This simplifies the ESLint configuration. [1] [2]
  • Commented out the dataDictionary import and usage in site-config/anvil-cmg/dev/config.ts, possibly for deprecation or debugging purposes. [1] [2]

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates the dependency version of @databiosphere/findable-ui to v27.0.0 while refactoring various import paths and style constants to align with the latest package structure. It also removes redundant ESLint settings to simplify configuration.

  • Upgraded findable-ui and related dependencies
  • Updated EXPLORE_MODE import paths for improved type specificity
  • Replaced old color constants with centralized PALETTE constants and simplified ESLint configuration

Reviewed Changes

Copilot reviewed 28 out of 30 changed files in this pull request and generated no comments.

Show a summary per file
File Description
site-config/anvil/dev/index/datasetsEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil/dev/index/biosamplesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil/dev/index/activitiesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/librariesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/filesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/donorsEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/datasetsEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/biosamplesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/index/activitiesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-cmg/dev/config.ts Commented out the dataDictionary import and usage for cleanup
site-config/anvil-catalog/dev/index/workspaceEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-catalog/dev/index/studiesEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
site-config/anvil-catalog/dev/index/consortiaEntityConfig.ts Updated EXPLORE_MODE import path to use the new "types" subpath
pages/[entityListType]/index.tsx Updated EXPLORE_MODE import path to use the new "types" subpath
pages/[entityListType]/[...params].tsx Updated EXPLORE_MODE import path to use the new "types" subpath
app/components/common/Figure/figure.styles.ts Replaced smokeMain with PALETTE.SMOKE_MAIN for consistency
app/components/Detail/components/MDX/components/Table/table.styles.ts Replaced smokeMain with PALETTE.SMOKE_MAIN for consistency
app/components/Detail/components/AnVILCMG/components/RequestAccess/requestAccess.styles.ts Replaced primaryDark with PALETTE.PRIMARY_DARK for consistency
Files not reviewed (2)
  • .eslintrc.json: Language not supported
  • package.json: Language not supported

Copy link
Contributor Author

@frano-m frano-m left a comment

Choose a reason for hiding this comment

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

Nice @MillenniumFalconMechanic thank you! 🥇

@frano-m frano-m changed the title chore: update findable-ui package to latest version v26.0.0 (#4466) chore: update findable-ui package to latest version v27.0.0 (#4466) Apr 24, 2025
@frano-m frano-m marked this pull request as ready for review April 24, 2025 04:57
Copy link
Contributor

@MillenniumFalconMechanic MillenniumFalconMechanic left a comment

Choose a reason for hiding this comment

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

LGTM, thanks F!

@NoopDog NoopDog merged commit ee24206 into main Apr 24, 2025
4 of 5 checks passed
@MillenniumFalconMechanic MillenniumFalconMechanic deleted the fran/4466-findable-ui branch May 16, 2025 16:42
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.

Update findable-ui package to latest version v27.0.0

4 participants