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: code checker support loadTable #11356

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

hassnian
Copy link
Contributor

@hassnian hassnian commented Jan 14, 2025

PR Type

  • Bugfix
  • Feature
  • Refactoring

Context

Screenshot 📸

  • My fix has changed something on UI;

CleanShot 2025-01-15 at 19 05 54@2x

Copy link

netlify bot commented Jan 14, 2025

Deploy Preview for koda-canary ready!

Name Link
🔨 Latest commit 71356ea
🔍 Latest deploy log https://app.netlify.com/sites/koda-canary/deploys/6788f3447d4fc300087cea04
😎 Deploy Preview https://deploy-preview-11356--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.

@ArkainStudio
Copy link

That's perfect. Yes, the issue is solved exactly, and I tested it and there is no problem. Thanks for your attention.

@hassnian hassnian marked this pull request as ready for review January 15, 2025 14:06
@hassnian hassnian requested a review from a team as a code owner January 15, 2025 14:06
@hassnian hassnian requested review from preschian and Jarsen136 and removed request for a team January 15, 2025 14:06
useEventListener(window, 'message', async (res) => {
const hash = res.data.payload.hash
if (
res.data?.type === 'kodahash/render/completed'
Copy link
Contributor

Choose a reason for hiding this comment

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

why? It's necessary to detect the moment when the rendering process is finished.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's used to calculate the average time per variation

Copy link
Contributor

Choose a reason for hiding this comment

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

In case some art does not trigger the complete event properly, why not calculate the time based on the event triggered?

Copy link
Contributor Author

@hassnian hassnian Jan 18, 2025

Choose a reason for hiding this comment

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

why not calculate the time based on the event triggered?

I don't understand, the only event that the canvas triggers atm is kodahash/render/completed , viki suggested adding a kodahash/render/started since some drops took more time to trigger the former but we only have one atm

can you comment some code, maybe that helps me better understand what you mean

components/codeChecker/utils/processing.ts Outdated Show resolved Hide resolved
@ArkainStudio
Copy link

ArkainStudio commented Jan 17, 2025

That's perfect, this is totally working. The problem is solved. Only I got an error which is on my code, and I need to recheck the code. But other things work.
Uploading 05.png…

@ArkainStudio
Copy link

Uploading 05.png…

@hassnian hassnian added the S-works-for-me-✅ qa-guild has tested PR from end user perspective and functionality worked label Jan 18, 2025
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.

feat: support loadTable in code-checker
3 participants