bmlt-enabled / bmlt-api-explorer

https://explorer.bmlt.app/
1 stars 0 forks source link

Add custom query string to output dropdown #7

Open tempsaint opened 3 years ago

tempsaint commented 3 years ago

I think it would be great to have text output formatted to just be dropped into custom queries. So, the output could be everything after "GetSearchResults" or even include custom_query=" " wrapped around the results. This could help to eliminate the confusion for members about what parts of the string to include in the custom query.

GarrettWeinberg commented 3 years ago

So i have a problem with the url string being sticky since it will be dynamic in height, and in cases of it being long, i dont want it to cover the screen. So i have a thought about making a "Generate Query" button that is sticky at the bottom, then that will pop up a modal with the query string. As far as the actual idea in this issue, i think in the modal i will generate the entire url it provided, but add a little button on the side to "Copy URL Parameters", with the idea that that button will just save the parameters to your clipboard.

tempsaint commented 3 years ago

So i have a thought about making a "Generate Query" button that is sticky at the bottom, then that will pop up a modal with the query string.

I like this idea.

As far as the actual idea in this issue, i think in the modal i will generate the entire url it provided, but add a little button on the side to "Copy URL Parameters", with the idea that that button will just save the parameters to your clipboard.

I guess I just question the point of having a Response Request dropdown. Right now, Direct Response URL is the only thing there.

GarrettWeinberg commented 3 years ago

Oh the response request drop down will be filled out at some point. We can hide it for the time being