mui / toolpad

Toolpad: Full stack components and low-code builder for dashboards and internal apps.
https://mui.com/toolpad/
MIT License
1.28k stars 282 forks source link

Show query parameter in the query path automatically #2686

Closed prakhargupta1 closed 8 months ago

prakhargupta1 commented 1 year ago

Duplicates

Latest version

Summary 💡

In HTTP request, after setting up a query parameter I am required to bind it to the query using the binding editor as mentioned here

It would be better if we could keep it simple and add parameter to the path on our own.

Examples 🌈

Retool:

https://github.com/mui/mui-toolpad/assets/92228082/2a03e122-29a5-405d-b1d2-5c32d1b6257a

Motivation 🔦

No response

prakhargupta1 commented 1 year ago

I was looking to add params like ?param1=value1 and URL parameters is how I should do it to avoid manually appending them to the query. But then, the concept of parameters is quite straightforward in retool as it allows doing it inline using mustache operator. It is not a blocker, just an input on reducing steps.

JerryWu1234 commented 1 year ago

When we set up a parameter, it will be appended to the URL. I guess this is what you want to do. I think I can try it

JerryWu1234 commented 1 year ago

can this issue assign me?

prakhargupta1 commented 1 year ago

@JerryWu1234 Thanks for checking it out. We can look into this one later, as it is an enhancement.

JerryWu1234 commented 9 months ago

@prakhargupta1 I saw this label was from new feature to status:waiting for maintainer. So everything is ready ?

prakhargupta1 commented 8 months ago

I am closing this for now as it is not a blocker; we can see if it pops up later.