mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #2233] [feature] import and show code should be in a separate dropdown #766
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#766
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tkp-richard on GitHub (Apr 4, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2233
Is there an existing issue for this?
Summary
Import cURL and show code has no relation to "send". It would make more sense if they were put under a separate dropdown. Additionally, the documentation no longer reflects the current UI
https://github.com/hoppscotch/hoppscotch/wiki/Import-cURL
Why should this be worked on?
see above.
@Wils3B commented on GitHub (Apr 5, 2022):
I agree with you, from my point of view, these buttons are not very intuitive when they are put at this place
I suggest moving the import code to the space between the method selection and the URL entry.
The display code can be moved to the right aside split panes as described in the following image:
@jaysoni-ash42 commented on GitHub (Apr 19, 2023):
@liyasthomas @AndrewBastin @nivedin created a branch for this proposed ui/ux feature change. is this design finalize or need some changes?
@liyasthomas commented on GitHub (Apr 19, 2023):
I don't think this design is finalised. Feel free to share your comments on improving the UX of importing a cURL considering as of now you could simply paste a cURL on the URL box and Hoppscotch will allow you to import that cURL command.
In case of code generation, I won't encourage to occupy a full sidebar tab space. We're open for ideas on how we could place these buttons in a non-intrusive way.
Btw, @jaysoni-ash42, it seems we already have a draft PR opened for this issue: #3000.
@hartmark commented on GitHub (Oct 11, 2024):
The workaround of just having the "Code snippet" to show the actual request doesn't seem to include Authorization header included from the collection.
As you can see here the Headers contain the Authorization header that is masked but in the generated code there's no Authorization header added.
@liyasthomas commented on GitHub (Oct 11, 2024):
Hey @hartmark, I can't reproduce this behavior at my end. Can you let me know which authentication method are you using?
@hartmark commented on GitHub (Oct 11, 2024):
I was using the windows client and bearer token
@raoulkent commented on GitHub (Nov 8, 2024):
I found this ticket, and I am having the same issue as @hartmark. Using Bearer as authentication, the code generation does not generate an
--Authorization: Bearer <<TOKEN>>as an example for curl commandsI've made a bug report here: https://github.com/hoppscotch/hoppscotch/issues/4524 @liyasthomas
@liyasthomas commented on GitHub (Nov 8, 2024):
Thank you, @raoulkent, for the bug report, we'll look into it shortly.
@liyasthomas commented on GitHub (Nov 8, 2024):
Closing this ticket as this particular feature request is now available in the recent version. Please feel free to reach out if you have any other concerns.