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

Configuration helper #94

Open
GioBonvi opened this issue Oct 16, 2017 · 2 comments
Open

Configuration helper #94

GioBonvi opened this issue Oct 16, 2017 · 2 comments
Labels
feature request Requests/ideas for features not already implemented in the code. question Open to discussion/feedback needed.

Comments

@GioBonvi
Copy link
Owner

I have had this idea some time ago, I have tried fixing some rough edges, but there is still something to work out.

My idea would be to deploy a google script (as a web app) which the iser could use to configure GCEN.

This is a rough draft of the concept:

  • a web page with a form field (text, list, check box...) for each setting
  • the user fills in the settings, receiving immediate feedback about malformed/invalid input
  • the user submits the settings
  • a more thorough check is performed on the input
  • if everything is alright the user is presented with the code correctly configured which can be copied and deployed as usual

This would mean:

  • users would be helped in the configuration of the script (and issues about misconfigurations should happen less often)
  • we would need to maintain this second script as well (although it should be easier as users would not access it directly and its logic would be simpler)
  • we could split the monolythic code.gs into smaller, more manageable files
@GioBonvi GioBonvi added feature request Requests/ideas for features not already implemented in the code. question Open to discussion/feedback needed. labels Oct 16, 2017
@rowanthorpe
Copy link
Collaborator

Although I haven't looked at the requirements, I suspect it would then be possible to use the web-app to generate and optionally auto-deploy the GCEN code (or modify it if already-deployed). It could include some handling like "are you sure you want to overwrite the existing deployment" if auto-deploy sounds like an invitation to disaster. Of course that would make the web-app noticeably more complex, but as a pay-off it would mean when people open a support-request-issue due to having problems copy-paste-deploying GCEN manually, the first question as response can be "have you tried it using auto-deploy from the web-app". Whenever this works, we could then say "therefore the problem is in the manual steps you are taking" (meaning, either just stick with auto-deploy or re-read the documentation more thoroughly if you want to manually deploy).

@baatochan
Copy link
Contributor

Yeah, the whole idea seems nice, and auto-deploy would be useful - especially if it could auto-update the script and remember user's settings.

However if it would be just client-side then GitHub pages for this repo could be used to host it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Requests/ideas for features not already implemented in the code. question Open to discussion/feedback needed.
Projects
None yet
Development

No branches or pull requests

3 participants