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 for "open in colab" opens the same zip after updates #295

Merged
merged 8 commits into from
Aug 20, 2023

Conversation

theory-in-progress
Copy link
Contributor

@theory-in-progress theory-in-progress commented Aug 19, 2023

Description

Fix #291


What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Other

- Perhaps the reactivity of vue is the problem and the hyperlink is not being updated
@netlify
Copy link

netlify bot commented Aug 19, 2023

Deploy Preview for code-generator ready!

Name Link
🔨 Latest commit e060953
🔍 Latest deploy log https://app.netlify.com/sites/code-generator/deploys/64e2298053ef6f00087117a1
😎 Deploy Preview https://deploy-preview-295--code-generator.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.

@theory-in-progress theory-in-progress changed the title Check if hyperlink is causing the problem Fix for Aug 20, 2023
@theory-in-progress theory-in-progress changed the title Fix for Fix for "open in colab" opens the same zip after updates Aug 20, 2023
functions/colab.js Outdated Show resolved Hide resolved
@vfdev-5
Copy link
Member

vfdev-5 commented Aug 20, 2023

Have you tested on the deployed PR app if it works ?

@theory-in-progress
Copy link
Contributor Author

Yes, it works for the open in colab button 👍 Am testing the generate link button now...

@vfdev-5
Copy link
Member

vfdev-5 commented Aug 20, 2023

For permanent code link (for wget) it should work the same way ?

Let's refactor the common code and try to add tests for the nbUid if possible

@theory-in-progress
Copy link
Contributor Author

theory-in-progress commented Aug 20, 2023

Yes, was refactoring the code. For now the problem of opening in colab is fixed. I will send a new PR for refactored code and tests.

Copy link
Member

@vfdev-5 vfdev-5 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 the fix @theory-in-progress !

@vfdev-5 vfdev-5 merged commit c863005 into pytorch-ignite:main Aug 20, 2023
20 checks passed
@theory-in-progress theory-in-progress deleted the bug-open-in-colab branch August 29, 2023 04:45
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.

"Open in Colab" opens the same zip even if we update the config in UI
2 participants