manekinekko / actions-cloud Goto Github PK
View Code? Open in Web Editor NEWAn application wizard for beginner to get started building Actions on Google
Home Page: https://actions.cloud
An application wizard for beginner to get started building Actions on Google
Home Page: https://actions.cloud
when entering a project ID, we should be able to:
a-z
, 0-9
, -
Also,
google
keyword (and probably other reserved keywords) !!(GCP DOESN'T PROVIDE AN API FOR THIS)
Take example from the GCP console.
After cloning the project, the user still needs to perform a few actions that need to be documented.
config --global user.email "[email protected]"
git config --global user.name "Olivier"
git commit
git push origin master
// login to git
git push google master
Add support for the Azure platform:
Create shell script to curl and execute in cloud shell.
take care of the use case when a ressource already exist:
Bonus:
we should be able to provide a decent getting started step by step documentation on how to use the wizard.
See if we can activate it with an API call.
Otherwise, user has to activate it.
We could catch the error and display a documentation to explain how to activate it (and maybe give the direct link)
clean up the session stored info when access tokens expired.
github.access-token
github.operation-steps
github.user-info
google.access-token
google.user-info
projectId
ui.selected-carousel
to 0google.access-token
google.user-info
projectId
ui.selected-carousel
to 2Erreur d'autorisation
Erreur 400 : admin_policy_enforced
L'accès aux données de votre compte est limité par des règles au sein de votre organisation. Pour demander à l'administrateur d'accorder l'accès à cette application, cliquez sur le lien "En savoir plus".
In the workflow, if the user enters a project id which belongs to someone else it says :
Project created. (PASS)
Checking project availability... [PERMISSION_DENIED]
gcp returns a 409 response for the project creation with message :
{
"message":"Requested entity already exists",
"status":"ALREADY_EXISTS"
}
And then for project availability, a 403 response with message :
{
"message":"User is not authorized.",
"status":"PERMISSION_DENIED"
}
It's not clear as the user may think the project has been created.
I think we should tell the used he is trying to create a project with an id already taken by someone else.
The user has to manually activate the API in the cloud console.
Otherwize, the step failed with 401 not authorized.
We should add a step (or make it a sub-step ^^) to activate the API
Cancel any "poll operation" call if the user unlinks his/her account during that process.
User has to connect at least once to https://console.cloud.google.com to validate the terms of use and complete Google Cloud account setup
TypeError: Cannot read property 'error' of null
at GcpService.<anonymous> (gcp.service.ts:267)
Can't return operation.error in else as operation is not defined ^^
Maybe we can set our own error message
See if we can activate it with an API call.
Otherwise, user has to activate it.
We could catch the error and display a documentation to explain how to activate it (and maybe give the direct link)
Visit http://cloud.google.com/console
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.