Repository navigation
chore: upgrade findable-ui to latest, next.js to 16.4, and run npm audit fix (#286) - #287
Merged
Merged
Conversation
…dit fix (#286) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
The three-major-version UI upgrade warrants human confirmation of the reported build and browser checks.
0 open findings
What changed in this PR
Updates the explorer’s dependencies for #286 while preserving static export and adapting to stricter UI types.
Changes:
- Upgrades findable-ui to 57.0.1 and aligns Next.js packages on 16.4.1.
- Refreshes dependencies through non-forced audit fixes.
- Simplifies MDX configuration and adjusts UCSC link-builder types without runtime changes.
| File | Description |
|---|---|
| package.json | Updates dependency ranges and removes next-compose-plugins. |
| package-lock.json | Records upgrades and audit fixes. |
| next.config.mjs | Uses withMDX directly and disables agent-rule generation. |
| app/viewModelBuilders/catalog/hprc-data-explorer/common/viewModelBuilders.ts | Adapts link-builder types to findable-ui’s corrected declarations. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
…dit fix (#286) replace the local seeddatabase copy with findable-ui's seeddatabase (added in 56.0.0). Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
NoopDog
approved these changes
Oct 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
Closes #286.
Reviewers
@NoopDog
What changed
@databiosphere/findable-uigoes from^54.0.0to^57.0.1. This repo doesn't use any of the APIs that 55, 56 or 57 removed or changed: the login button export, the Azul download test ids, Authentication/SearchButton→isMenuIn,renderButton,SEARCH_BARanduseMenu/DrawerContext.^16.4.1:next,@next/mdx,@next/eslint-plugin-nextandeslint-config-next.npm audit fixwas run without--force. Vulnerabilities go from 52 to 47, and the critical one is gone. Every one left needs--force, and several of those "fixes" would downgrade packages (findable-ui to 45, Next's eslint packages to 14).next.config.mjs:next-compose-pluginsis removed, and the config now exportswithMDX({...})directly. compose-plugins copied Next's whole default config in, which caused abrowserDebugInfoInTerminaldeprecation warning on every build.agentRules: falseis set, sonext dev(16.4+) doesn't write anAGENTS.mdto the repo root.basePath: ""is removed.buildUcscBrowserUrlhas one type fix. findable-ui 57.0.1 fixed its published.d.tsimports, soLinkCell's props are now fully typed as a TanStackCellContext. Before, they resolved toany. The builder now returnsPick<…, "getValue">and castsgetValuetoGetter<LinkProps>, the same way findable-ui's own stories do. Nothing changes at runtime.seedDatabasecopy is replaced with findable-ui's.pages/[entityListType]/index.tsxnow importsseedDatabasefrom@databiosphere/findable-ui/lib/utils/seedDatabase(added in 56.0.0) and deletes its own copy, which was marked// TODO get rid of this duplicated code. No HPRC entity config sets anentityMapper, so findable-ui's version seeds the same rawObject.valuesas before. It also caches the read and parse per entity type, and its error messages for unreadable or malformed files are more detailed.Differences from data-portal#3253
@observablehq/plotstays. The Samples page uses findable-ui's Graph view, so it's still needed.How to verify
npm ls @databiosphere/findable-ui next @next/mdx @next/eslint-plugin-next eslint-config-nextshows findable-ui 57.0.1 and 16.4.1 for each Next package.npm auditreports 47 vulnerabilities, none critical, and every one needs--force.npm run build:localpasses with nobrowserDebugInfoInTerminalwarning.npx tsc --noEmitpasses,npm run lintshows 0 errors and 0 warnings (the old TODO warning went with the localseedDatabase), and Prettier is clean.__NEXT_DATA__pageProps) is byte-identical before and after theseedDatabaseswitch: same row counts (234 / 6049 / 560 / 87 / 9663) and same hashes.npx playwright test: all 75 tests pass in Chromium, Firefox and WebKit.genome.ucsc.edu.npm testreports "No tests found". The repo has no jest unit tests, only e2e tests.Known Issues
None.
🤖 Generated with Claude Code