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

Perf: avoid invalid requests when loading drop page #10345

Merged
merged 5 commits into from
May 26, 2024

Conversation

Jarsen136
Copy link
Contributor

Thank you for your contribution to the Koda - Generative Art Marketplace.

👇 __ Let's make a quick check before the contribution.

PR Type

  • Bugfix
  • Refactoring

Needs QA check

  • @kodadot/qa-guild please review

Context

Did your issue had any of the "$" label on it?

Screenshot 📸

  • My fix has changed something on UI; a screenshot is best to understand changes for others.

Before: https://canary.kodadot.xyz/ahp/drops/aeroloom

image

image
image

There are three invalid requests with empty id and also two duplicate requests. It takes about 1~2 seconds to load these unnecessary requests.

After fix:
Remove all invalid requests.

image

@Jarsen136 Jarsen136 requested a review from a team as a code owner May 24, 2024 11:21
@Jarsen136 Jarsen136 requested review from preschian and daiagi and removed request for a team May 24, 2024 11:21
Copy link

netlify bot commented May 24, 2024

Deploy Preview for koda-canary ready!

Name Link
🔨 Latest commit 07ea40b
🔍 Latest deploy log https://app.netlify.com/sites/koda-canary/deploys/6650782d02082600084d9db4
😎 Deploy Preview https://deploy-preview-10345--koda-canary.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codeclimate bot commented May 24, 2024

Code Climate has analyzed commit 07ea40b and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

Copy link

sonarcloud bot commented May 24, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@prury prury added the S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked label May 24, 2024
@prury
Copy link
Member

prury commented May 24, 2024

@Jarsen136 tyvm!

@prury prury added this pull request to the merge queue May 26, 2024
Merged via the queue into kodadot:main with commit 79159bf May 26, 2024
18 of 19 checks passed
This was referenced Jun 3, 2024
@vikiival vikiival mentioned this pull request Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Time for loading drop description increased
4 participants