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

fix: Add tracking to the UserInformation component #377

Merged
merged 7 commits into from
Oct 13, 2023

Conversation

LautaroPetaccio
Copy link
Contributor

This PR updates the decentraland-gatsby dependency to add tracking to it.

@github-actions
Copy link

Pull Request Test Coverage Report for Build 6508900701

  • 16 of 22 (72.73%) changed or added relevant lines in 6 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.06%) to 95.655%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/entities/CheckScenes/task/processContentEntityScene.ts 4 5 80.0%
src/entities/Place/routes/getPlaceUserVisitsList.ts 0 5 0.0%
Totals Coverage Status
Change from base Build 6508474976: -0.06%
Covered Lines: 13823
Relevant Lines: 14316

💛 - Coveralls

Copy link
Collaborator

@braianj braianj left a comment

Choose a reason for hiding this comment

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

👍

Comment on lines +357 to +358
const from = numeric(offset || 0, { min: 0 }) ?? 0
const to = numeric(from + (limit || 100), { min: 0, max: 100 }) ?? 100
Copy link
Collaborator

Choose a reason for hiding this comment

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

do we need this? we are already sending 0 or 100 to the function

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The function returns number | null, making us provide a default number.

Comment on lines +64 to +65
offset: numeric(query.offset, { min: 0 }) ?? 0,
limit: numeric(query.limit, { min: 0, max: 100 }) ?? 100,
Copy link
Collaborator

Choose a reason for hiding this comment

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

same as before

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same as above.

@LautaroPetaccio LautaroPetaccio merged commit 15e7153 into master Oct 13, 2023
2 checks passed
@LautaroPetaccio LautaroPetaccio deleted the fix/add-tracking-to-user-information branch October 13, 2023 15:52
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.

None yet

3 participants