-
Notifications
You must be signed in to change notification settings - Fork 118
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 button in the terminal #177
Comments
@GouravSardana Can I take up this issue? |
Sure! |
@pranavbaburaj Should I copy only the Question to the clipboard or the entire Question Link? |
@Rajarshi1001 you don’t need to copy the question. You have to copy the code snippet which is available in the answers please avoid using dependencies, try to create it |
SInce in the above issue it was mentioned that I need to copy the terminal text to the clipboard, I thought it to be the questions that pop up for a specific topic and I have already implemented that feature to copy the question link? |
You don’t need to copy everything. We should have a button or something similar to copy the code from snippets. User can choose the snippet to copy for copying the question- Why user wants to copy the question? To see the question in the browser, just hit enter and it’ll redirect |
I guess it is difficult to create a button which is rendered in the terminal using python. I have searched for various resources for reference but nothing seems to work. |
Not exactly a button but something from where we can copy the snippet |
Anybody working on this? Should i make this as open? |
hey @GouravSardana, I would like to work on this issue and could you please assign me? Also, I would like to get some info on how can I add this in the code part? Are there any references that I can look into? I would love the help! Thanks |
@Aspireve Thanks for showing interest in contributing to dynamic cli. I’ll tell where you can add this code and how: first install dynamic cli in your local and try to run “dynamic -s” enter anything like python and skip tags because those are options. let me know if you need any more information. looping @pranavbaburaj |
Hi!! This is actually my first time ever doing something like this so it might take me a bit longer to understand it. |
No issues. If you need any help just put all your questions here |
Hi @GouravSardana!! I actually tried a few things to from creating a button to something to copy stuff from the terminal but nothing really seems to work. |
Did you tried copying it to clipboard? You don’t actually need a button just see how we are differentiating between normal text and code. |
Hi @GouravSardana I was able to find a way to solve it. Soon Ill create a pull request |
Damn 🤞Awesome, Looking forward to review |
Aye I completely forgot to do it, got caught up in a lot of stuff. Will do it soon!! |
@Aspireve No issues. Looking forward :) |
Hey @GouravSardana, I tried doing it again as I don't have the older file but when I run it it gives me this error |
I tried |
So I was able to overcome it by commenting out the import MarkdownRenderer for now, hope its fine |
May be version issue. Can you install markdown from the requirements? So that it’ll install the correct version |
Hey @GouravSardana I finally got it to run, Thanks!! Also I had two ways of copying code, one could be by
The pressing button seems a bit more better as it stays consistent with the ret of the program but the press-text-to-copy method seems more intuitive |
Hey @GouravSardana Could You explain how do you differentiate between the code and the answer? |
Yay @GouravSardana I found a way to do it with the keyboard button 'c', Ill refine the code a bit and PR it |
Hey @GouravSardana I made a pull request. Do review it and tell me if anything else needs to be added |
@GouravSardana |
@gkprasanth Hey, |
@GouravSardana |
i want to contribute in this project |
Hey I'm New to Open source contribution as a GSSOC 2023 I want to contribute to this issue Please assign it to me |
hi @GouravSardana |
I would like to work on this issue, please assign this issue to me under GSSoC'23. |
Hi, @GouravSardana, Is it possible for you to assign it to me? I have already figured out how to create a copy to clipboard button. Thank you. |
hey i would like to work on the issue |
Assign this issue to me @GouravSardana !! |
If you fetch the questions from StackOverflow in Dynamic. It'll pop up in the terminal. We need a button there to copy the terminal text only to the clipboard
The text was updated successfully, but these errors were encountered: