bigfix / developer.bigfix.com

The source for developer.bigfix.com
https://developer.bigfix.com
Apache License 2.0
27 stars 23 forks source link

Make it possible to link to relevance evaluator with text pre-filled #83

Open briangreenery opened 8 years ago

briangreenery commented 8 years ago

I'm thinking something like jsbin. I think that would be useful for the forum to answer questions.

briangreenery commented 8 years ago

I added a first step to this in c6c74dd125f70a366c2546bb609c117226c37a79. I'm imagining the page could generate a link to the current relevance text, and the link would look like:

https://developer.bigfix.com/relevance/evaluate?s=1HAmVKd

And when you visited that link it would load that relevance, stick it in the edit box, and evaluate it.

jgstew commented 8 years ago

It would also nice if you could link to it dynamically using URLENCODED relevance text:

https://developer.bigfix.com/relevance/evaluate?r=computer+name

or

https://developer.bigfix.com/relevance/evaluate?r=computer%20name

Related: http://www.w3schools.com/tags/ref_urlencode.asp