Skip to content

Conversation

@mfitzasp
Copy link
Contributor

Howdy champs. I am including this into the javascript so it sends an object name to the site. I have a string here 'test object' that just gets sent so I can test it. Do either of you know if "this.object_name" is the correct (or even existant!) variable to use to grab object name from the object boxes? Also do you have a testing site to see that this doesn't break stuff? No rush! When you want some cross-procrastination :)

@wrosing
Copy link

wrosing commented Sep 19, 2022 via email

image_type: this.camera_image_type,
}
let opt_params = {
#object: this.object_name,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Just an fyi, javascript comments are denoted by double backslashes for single lines or enclosed by backslash and star for longer ones. :)

// here is a single line comment

/* 
here is a 
multiline comment
*/
'''

@timbeccue
Copy link
Collaborator

Regarding testing environments: we originally had dev.photonranch.org separate from www.photonranch.org so that one could be used for safe experimentation. But dev ended up being the only updated version as of two months ago, not sure if that's still the case.

However, for testing something like this, running the frontend locally is probably the easiest option as you can see your changes live (as opposed to deploying the site every time you want to try something new).

I'm not sure if you ended up fixing this issue already, but let me know if not and I'd be happy to take a look!

@mfitzasp
Copy link
Contributor Author

mfitzasp commented Sep 20, 2022 via email

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.

4 participants