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

Refactor Featured component #563

Merged
merged 4 commits into from
Feb 5, 2024

Conversation

NicolasMahe
Copy link
Member

@NicolasMahe NicolasMahe commented Feb 2, 2024

Description

Refactor Featured component in order to be able to flatten sales, ownerships from asset.
The component FeaturedToken (previously TokenHeader) is now doing the query itself to be able to flatten the query.

Remove now deprecated totalAvailableQuantitySum. Use the sales.availableQuantity to calculate it. I completely remove the limit: 100 that doesn't have pagination anyway.

@ismailToyran could you check if I didn't break anything please.

Checklist

  • Base branch of the PR is dev

@NicolasMahe NicolasMahe self-assigned this Feb 2, 2024
@NicolasMahe NicolasMahe changed the title Flatten sales in FetchFeaturedAssets query Flatten stuff in FetchFeaturedAssets query Feb 2, 2024
@NicolasMahe NicolasMahe changed the title Flatten stuff in FetchFeaturedAssets query Refactor Featured component Feb 2, 2024
@NicolasMahe NicolasMahe mentioned this pull request Feb 2, 2024
1 task
Copy link
Contributor

@ismailToyran ismailToyran left a comment

Choose a reason for hiding this comment

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

Looking good from my side with the comments present on the PR 👍

@NicolasMahe NicolasMahe added this pull request to the merge queue Feb 5, 2024
Merged via the queue into dev with commit 5ea82de Feb 5, 2024
2 checks passed
@NicolasMahe NicolasMahe deleted the chore/flatten-sales-FetchFeaturedAssets-query branch February 5, 2024 13:36
@ismailToyran ismailToyran mentioned this pull request Feb 8, 2024
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