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

Feat/wishlist category hash #10672

Closed

Conversation

whyayala
Copy link

@whyayala whyayala commented Aug 3, 2024

Currently, dim's armory will not display wishlist rolls where the item hash matches the dim item category (so if a wishlist includes a roll that uses the auto rifle hash, the matching roll is not displayed in the armory).

This feature makes it possible to match a wishlist item based on a dim items category hashes.

@bhollis
Copy link
Contributor

bhollis commented Aug 5, 2024

Can you maybe describe what this change is?

wishListsSelector,
} from './selectors';

const chance = Chance();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not especially a fan of random data in tests - it makes errors hard to reproduce. It'd be much nicer to have stable mock data, or better, data pulled from a real profile export.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can do that if that's preferred. Alternatively, I can print the seed that was used when the test started so it can be reran with deterministic values.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it's possible, using data from the checked-in profile export is the nicest, since we know it followed the rules of the Bungie API at some point.

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.

2 participants