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: enable categories for worlds #442

Merged
merged 8 commits into from
Feb 22, 2024
Merged

feat: enable categories for worlds #442

merged 8 commits into from
Feb 22, 2024

Conversation

lauti7
Copy link
Contributor

@lauti7 lauti7 commented Feb 21, 2024

No description provided.

@lauti7 lauti7 requested a review from braianj February 21, 2024 19:06
@lauti7 lauti7 changed the title feat: enable categories to worlds feat: enable categories for worlds Feb 21, 2024
Copy link

github-actions bot commented Feb 21, 2024

Pull Request Test Coverage Report for Build 8006087244

Details

  • -4 of 72 (94.44%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.02%) to 94.744%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/entities/Category/routes.ts 16 20 80.0%
Files with Coverage Reduction New Missed Lines %
src/entities/Category/routes.ts 1 71.11%
Totals Coverage Status
Change from base Build 7760991103: -0.02%
Covered Lines: 13874
Relevant Lines: 14518

💛 - 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.

Great job!

src/entities/Category/types.ts Outdated Show resolved Hide resolved
src/api/Places.ts Outdated Show resolved Hide resolved
src/components/Banner/index.tsx Outdated Show resolved Hide resolved
src/components/Banner/index.tsx Outdated Show resolved Hide resolved
src/components/Banner/index.tsx Outdated Show resolved Hide resolved
src/components/BannerMobile/index.tsx Outdated Show resolved Hide resolved
src/components/BannerMobile/index.tsx Outdated Show resolved Hide resolved
src/entities/Category/model.ts Outdated Show resolved Hide resolved
src/entities/Category/model.ts Outdated Show resolved Hide resolved
// TODO: review later. use map instead
for (const category of params.categories) {
const placesFetch = Places.get().getPlaces({
const categoriesFetch = params.categories.map((category) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this having a good performance?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yep, it's been working in this way since its release.

@lauti7 lauti7 merged commit 78f6b08 into master Feb 22, 2024
2 checks passed
@lauti7 lauti7 deleted the feat/world-categories branch February 22, 2024 14:39
Copy link

sentry-io bot commented Mar 4, 2024

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎

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