Skip to content

Bug - solve the bowtie loading error#1353

Merged
benjagm merged 1 commit intojson-schema-org:mainfrom
arpitkuriyal:tooling
Feb 1, 2025
Merged

Bug - solve the bowtie loading error#1353
benjagm merged 1 commit intojson-schema-org:mainfrom
arpitkuriyal:tooling

Conversation

@arpitkuriyal
Copy link
Contributor

What kind of change does this PR introduce?
Bowtie reports for tools are not loading

Issue Number:

Screenshots/videos:

Screen.Recording.2025-01-21.at.6.08.43.PM.mov

If relevant, did you update the documentation?

Summary
To solve this, I replaced the onLoad logic with an asynchronous fetch request to check whether the image URL is valid and exists. While addressing this issue, I encountered a problem where the image loading wasn't being handled as expected using the onLoad event. Therefore, I implemented the asynchronous approach because onLoad was unable to properly render the component, which was preventing the data from being displayed.

Does this PR introduce a breaking change?

@arpitkuriyal arpitkuriyal requested a review from a team as a code owner January 21, 2025 17:40
@github-actions
Copy link

github-actions bot commented Jan 21, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 1bfd2cb

@codecov
Copy link

codecov bot commented Jan 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (ee9538b) to head (1bfd2cb).
Report is 19 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1353   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           10        10           
  Lines          373       373           
  Branches        94        94           
=========================================
  Hits           373       373           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@arpitkuriyal
Copy link
Contributor Author

hey @Relequestual I hope you're doing well! Could you please review this PR?
Let me know if any changes are needed.

Copy link
Member

@DhairyaMajmudar DhairyaMajmudar left a comment

Choose a reason for hiding this comment

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

LGTM 👍🏻

Copy link
Collaborator

@benjagm benjagm left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this!

@benjagm benjagm merged commit d7dbd1f into json-schema-org:main Feb 1, 2025
11 checks passed
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.

🐛 Bug: Bowtie reports for tools are not loading

3 participants