Skip to content

Switch Navigator data source to IndexStore #893

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

hqhhuang
Copy link
Contributor

@hqhhuang hqhhuang commented Sep 17, 2024

Bug/issue #, if applicable: rdar://134347681

Summary

This is the 3rd PR of the refactor effort. The navigator should also get its data from IndexStore instead of NavigatorDataProvider

Dependencies

#889, merged to the navigator-index-store branch

Testing

Steps:

  1. Ensure navigator and quick nav has no regressions.

Checklist

Make sure you check off the following items. If they cannot be completed, provide a reason.

  • Added tests
  • Ran npm test, and it succeeded
  • Updated documentation if necessary

navigator gets data from IndexStore
Remove `NavigatorDataProvider` and its tests
`flatChildren` should default to null
fix `isFetching` logic
add/fix tests
clean up `getSetting` mock return value
@hqhhuang hqhhuang marked this pull request as ready for review September 17, 2024 00:17
select correct variant for `technologyProp`
create mixin for getting data from the store
minor refinements
@hqhhuang hqhhuang closed this Sep 23, 2024
@hqhhuang hqhhuang deleted the pr2-navigator-data-from-store branch September 23, 2024 18:24
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.

1 participant