Skip to content
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

Enhancement: Compare newly fetched boundaries with previous items in breadcrumbs #987

Open
coderabbitai bot opened this issue Feb 21, 2025 · 0 comments
Assignees

Comments

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 21, 2025

Background

When fetching new boundary data for breadcrumbs, we should implement a comparison with previously displayed items to ensure optimal updates and maintain UI consistency.

Current Behavior

Currently, in debouncedItemsFetch, new boundary data directly replaces the previous items without any comparison:

breadcrumbsItemsAtom(ctx, response?.features ?? null);

Proposed Enhancement

Implement a comparison mechanism between newly fetched boundaries and existing items before updating the breadcrumbs state.

References

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

No branches or pull requests

1 participant