Skip to content
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

Copy as curl is not clickable on macos #1452

Open
simPod opened this issue Feb 25, 2021 · 13 comments
Open

Copy as curl is not clickable on macos #1452

simPod opened this issue Feb 25, 2021 · 13 comments

Comments

@simPod
Copy link

simPod commented Feb 25, 2021

Describe the bug

Cannot click on Copy as cUrl button.

To Reproduce
Steps to reproduce the behavior:

  1. Prepare query
  2. Click on Copy as Curl
  3. See error

Expected behavior

curl is in clipboard

Screenshots

image

Desktop (please complete the following information):

  • OS: macos bigsur
  • Platform: desktop (brewed)
  • Version 3.2.1 (3.2.1.6808)
@open-collective-bot
Copy link

Hey @simPod 👋,

Thank you for opening an issue. We will get back to you as soon as we can.
Also, check out our Open Collective and consider backing us - every little help counts!

@imolorhe
Copy link
Collaborator

Hey @simPod I don't see any issues with the curl command. It works just fine for me.

@simPod
Copy link
Author

simPod commented Mar 2, 2021

Not sure how to debug though...

2021-03-02 09-55-27 2021-03-02 09_56_17

@imolorhe
Copy link
Collaborator

imolorhe commented Mar 2, 2021

Maybe there's an error when you click it that doesn't get logged. You could open the developer tools Cmd+Option+I and check if there is an error or some log when you click the button

@simPod
Copy link
Author

simPod commented Mar 10, 2021

Hm, it's empty :/ nothing happens there. Just upgraded to v 3.2.2 and happens there as well.

@simPod
Copy link
Author

simPod commented Mar 19, 2021

I cannot reproduce. It's working now. There must have been something Altair could not have parsed. Unfortunately, it gave no errors so closing. Thanks!

@simPod simPod closed this as completed Mar 19, 2021
@imolorhe
Copy link
Collaborator

I'll take a look if an error would cause it to fail

@imolorhe
Copy link
Collaborator

Looks like there should be an error logged in the console if it fails.

@simPod
Copy link
Author

simPod commented Mar 19, 2021

yup but it was completely empty. Maybe some debug mode could be introduced but it's not critical I think.

@imolorhe
Copy link
Collaborator

There's actually a debug mode. In the console, you can set _ALTAIR__ENABLE_DEBUG_MODE__ = true. This should enable the debug mode and display all logs and actions.

@simPod
Copy link
Author

simPod commented Mar 22, 2021

Aight, will use in case of another issue. Thanks!

@alexhatdailypay
Copy link

Please reopen this issue.

The copy Curl worked initially. Now it doesn't. There was a JavaScript error at some point. Refreshing extension does not fix. Closing browser completely and reopening does not fix. Had to uninstall extension and reinstall extension to fix.

@imolorhe imolorhe reopened this Sep 17, 2021
@simPod
Copy link
Author

simPod commented Dec 13, 2022

It still happens on Version 5.0.9 (5.0.9).

I cannot copy curl when there are no variables set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants