-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Can't see shaders code #1595
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
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already. |
Thanks for reporting! It is not clear here, but these files are actually hosted externally to the web editor, and even though it appears they are empty, they are not (see #196). Since these are small text files, they probably should be hosted locally, and this would involve changing the |
I think people goes to the examples to see that files (and play with them). Now they can't, without download it. But even after download, it is not possible to run examples without setup web server because files can't be loaded from local system because of cross-domain security restriction %\ |
@pavel-b-kr12 I hear you and I agree with you! |
@catarak I'd like to work on this issue, I'm new to the codebase can you please give me an insight as to what needs to be done? |
@ricknjacky sure! The file
|
I get this error |
@ricknjacky did you create a |
Yes I performed this command using i refereed the docs step by step here |
Wait, I didn't do the
let me try once again |
is this issue still open? i'd like to work on this. |
@ankitpal1029 yes and go ahead and work on it! |
@catarak sure I'll get right to setting up the project , I'm new to contributing to open source projects |
@catarak @ricknjacky I had the same issue with running the Could you please assess if my speculation is correct and how I can overcome this? Thank you. |
That's super weird! I don't know what to tell you since it is working for me, and the only difference is the GitHub credentials. Are you sure you're giving the right permissions to your GitHub app? |
@catarak is it possible that you can tell me what permissions I need to grant my Github App? I have enabled the |
I would recommend trying to authenticate with the GitHub API outside of the context of the web editor to confirm your credentials work! You could write a small script to do this. |
Hi @catarak, I wrote a script to check my credentials and I realized that (yes, I should have realized earlier) the credentials I created previously are for a Github app, while the correct credentials should be for an Oauth App. Hence, I have been able to run the Also, do you think that we should update the installation guide with a note that the Github credentials should be for an Oauth app instead of a Github app so that the incoming contributors won't run into the same issue as me? |
That makes sense to me! I think that there have been some changes to the GitHub API since I started this project, and maybe there wasn't a distinction between OAuth Apps and GitHub Apps then? |
@catarak Is it fine if I work on this shaders code issue since there hasn't been any update? |
@catarak I am so sorry for mentioning you in many different issues and PRs. I think that is why you missed my comment on this issue. I just want to know if this issue still needs to be worked on and whether I can work on it. Thank you! |
No worries! Yes you can go ahead and work on this 😄 |
@catarak I have been able to add text content to the |
Nature of issue?
Details about the bug:
open any example with shaders e.g. https://editor.p5js.org/p5/sketches/3D:_shader_as_a_texture
navigate to shader file. Nothing appears.
The text was updated successfully, but these errors were encountered: