-
Notifications
You must be signed in to change notification settings - Fork 5
chore: update findable-ui package to latest version v27.0.0 (#4466) #4467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this 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
frano-m
left a comment
There was a problem hiding this 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! 🥇
MillenniumFalconMechanic
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks F!
Ticket
Closes #4466.
Reviewers
@MillenniumFalconMechanic, @NoopDog.
Changes
findable-uito latest versionv27.0.0.react-hooksfrom.eslintrc.jsonaseslint-config-nextalready includesplugin: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:
@databiosphere/findable-uifrom^25.1.0to^27.0.0, along with several related dependencies such asnext,next-mdx-remote, andeslint-config-nextto their latest versions. These updates may include breaking changes that require testing. [1] [2] [3] [4]Code Refactoring:
primaryDarkandsmokeMainwith centralizedPALETTEconstants for better maintainability and consistency across files (requestAccess.styles.ts,table.styles.ts,figure.styles.ts). [1] [2] [3] [4] [5]EXPLORE_MODEto referenceuseExploreMode/typesinstead ofuseExploreModefor improved type specificity and clarity across multiple files. (pages/[entityListType]/[...params].tsxL20-R20, pages/[entityListType]/index.tsxL6-R6, [1] [2] [3] and others)Configuration Changes:
react-hooksfrom the.eslintrc.jsonplugins and rules, as it is no longer used. This simplifies the ESLint configuration. [1] [2]dataDictionaryimport and usage insite-config/anvil-cmg/dev/config.ts, possibly for deprecation or debugging purposes. [1] [2]