-
Notifications
You must be signed in to change notification settings - Fork 410
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
feat: Gitpod Support #389
feat: Gitpod Support #389
Conversation
@sumeshir26 Instead of changing the initial configuration, we can instead try to figure if the application is running in a Gitpod environment (possibly via |
@sumeshir26 Also, as of now I don't think this would be usable as the user can't upload their credentials or open the browser for authentication or have speaker input/output. Can you get that working somehow? |
@Melvin-Abraham The Audio does not work, but if you upload the credentials to the Gitpod workspace, I will show up in the app. But the 'Get Tokens!' screen would not work because I cannot open a new browser window. A fix for that can be made if we display the link which is supposed to open in the app. |
Getting the link can be done by something like the PR you made for the |
I'll make some changes to the documentation before merging :) |
@sumeshir26 Even though copying the auth link is implemented, the link isn't actually copied to the clipboard. Can you check if the whole workflow works for you? |
noVNC-CopyPaste.mp4@Melvin-Abraham I actually found a solution for this. You can put the link on the main window so it can be copied. See attachment. |
@Melvin-Abraham I need some help putting the link in the |
No issues. I will add that in... 👍 |
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
code
{mso-style-priority:99;
font-family:"Courier New";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->Wait isn’t javascript supposed to be easy-to-use I thought python was the hard one nvm Sent from Mail for Windows 10 From: Melvin. L. AbrahamSent: May 27, 2021 4:23 AMTo: Melvin-Abraham/Google-Assistant-Unofficial-Desktop-ClientCc: SubscribedSubject: Re: [Melvin-Abraham/Google-Assistant-Unofficial-Desktop-Client] Gitpod Support (#389) @Melvin-Abraham I need some help putting the link in the innerHtml of the noAuthGrid I looked on the web and tried to find the solution. I usually code in Python so this is kind of new to me. Thanks in advance!No issues. I will add that in... 👍—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
@sumeshir26 Turns out copying the auth link to clipboard works as expected. The thing is the logic for "Copy Auth Link" and "Retry" were swapped due to which it seemed like copy didn't work. You can try it out by clicking on "Retry" instead. I will push the commit for that soon. Meanwhile, the commit 2ff582d in this PR could be reverted. |
@Melvin-Abraham Just reverted that... |
@Melvin-Abraham This works perfectly now! And once noVNC gets this merged, the clipboard does not need to be used anymore. |
I am halfway on the documentation part for Gitpod and will merge after its completion which will probably be after the next release |
@sumeshir26 I am using the Dockerfile code in another project since I don't know much on Linux packages. I noticed that the building takes a lot of time, so if you add this code to the .gitpod.yml file, it will generate prebuilds so that you can get started easily. I suggest adding this so that it may help people get started faster. github:
prebuilds:
# enable for the master/default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
addComment: true
# add a "Review in Gitpod" button to pull requests (defaults to false)
addBadge: true
# add a label once the prebuild is ready to pull requests (defaults to false)
addLabel: prebuilt-in-gitpod |
Update: I don't think the Gitpod Prebuild/Review in Gitpod comments work on PRs, looks like Gitpod won't allow that unless it is allowed by them. |
Closing due to inactivity |
Make it easy for beginners to get started with contributing without installing Visual Studio, Node, and Windows Build Tools.