You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade @databiosphere/findable-ui to the version containing the filter param validation fix (findable-ui#899) and revert the provider move from #4783.
What needs to happen
RevertExploreStateProvider and DataDictionaryStateProvider to their original position outside the ErrorBoundary in pages/_app.tsx. Moving them inside (fix: move providers inside ErrorBoundary to prevent crash loop #4783) caused state loss when navigating to non-entity-list pages.
Upgrade findable-ui to pick up the filter param validation fix, which handles the crash loop at the library level instead:
The original fix (#4783) moved providers inside the ErrorBoundary to catch reducer crashes. This worked for the crash loop but broke state preservation on navigation. The findable-ui fix (#899) solves the root cause — invalid filter params are validated defensively in the reducer path and errors are surfaced via a hook inside the ErrorBoundary.
Summary
Upgrade
@databiosphere/findable-uito the version containing the filter param validation fix (findable-ui#899) and revert the provider move from #4783.What needs to happen
Revert
ExploreStateProviderandDataDictionaryStateProviderto their original position outside theErrorBoundaryinpages/_app.tsx. Moving them inside (fix: move providers inside ErrorBoundary to prevent crash loop #4783) caused state loss when navigating to non-entity-list pages.Upgrade findable-ui to pick up the filter param validation fix, which handles the crash loop at the library level instead:
parseFilterParamsafely parses filter URL params without throwing (prevents reducer crash above ErrorBoundary)useValidateFilterParamhook surfaces invalid filter errors inside the ErrorBoundary (renders error page)Context
The original fix (#4783) moved providers inside the ErrorBoundary to catch reducer crashes. This worked for the crash loop but broke state preservation on navigation. The findable-ui fix (#899) solves the root cause — invalid filter params are validated defensively in the reducer path and errors are surfaced via a hook inside the ErrorBoundary.
Reference