-
Notifications
You must be signed in to change notification settings - Fork 538
Sync url and params tab #166
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
Yes this syncup should be added to API Dash |
@animator I would like to work on this. |
@animator I reckon I have figured out a way to fix this. Will finish the implementation and submit a PR after testing. |
@Yousef-Rabia We do not assign issues. You are free to work on it and send across a PR. |
Sure @mohnishdeshpande. |
@ashitaprasad Please see the 'Note' in the PR description regarding 'kNameValueEmptyModel'. Cheers! |
We had a thorough discussion regarding the approach. And we want to focus on user experience and keep it easy to use for the end user who should be able to view/edit the API endpoint without any difficulty. Adding URL parameters in the URL field hampers the readability and makes editing difficult.
|
@ashitaprasad Working on this, but I have a few doubts: If a user pastes a URL with a parameter that already exists separately, should it be overridden or kept as is? Example: If name=nikhil exists and the user pastes www.example.com?name=varun, should name=varun replace it or stay name=nikhil? In addition to it , decoding query parameters can be complicated due to special characters, duplicate keys etc. Need a lot of thinking on how to handle these cases.I think Uri can do this need to check... |
@badnikhil good question. The answer to this question lies in resolving issue #268 |
@animator I might not have explained my question well, but you shared something useful. Thanks! |
@animator The PR solving #268 was closed because it required a lot of changes in the code. How should I proceed with this issue now to ensure all edge cases are handled? or i should ignore this case (multiple params with same name) .. just for now |
The PR was closed at that time because the repo was undergoing lot of structural changes. Now that the core is stable this issue can be attempted again. |
Working on it! |
Describe the bug/problem
Syncing of url and params tab
Steps to Reproduce the bug/problem
https://api.foss42.com/country/data?code=US
in the url fieldExpected behavior
Device Info (The device where you encountered this issue):
The text was updated successfully, but these errors were encountered: