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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Feature: Import Function Templates Without GitHub #6312

Open
2 tasks done
ItzNotABug opened this issue Sep 23, 2023 · 4 comments
Open
2 tasks done

馃殌 Feature: Import Function Templates Without GitHub #6312

ItzNotABug opened this issue Sep 23, 2023 · 4 comments
Labels
product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@ItzNotABug
Copy link
Contributor

馃敄 Feature description

Currently if you even need to just try a template function, you have to have GitHub integration setup.
It would be quick, easy & would have a much better UX if the selected template function is directly imported to the project without GitHub set up.

馃帳 Pitch

  1. User selects a Function Template
  2. Allow user to either setup via GitHub or Import the function directly
  3. If the user chooses direct import then copy the function in to the project
  4. Make a tar.gz of the function & deploy from the dashboard itself without leaving the project

馃憖 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

馃彚 Have you read the Code of Conduct?

@Megamannen
Copy link

Megamannen commented Sep 25, 2023

You can use appwrite cli: https://appwrite.io/docs/functions-deploy#cli

or manual deployment in GUI
image

@ItzNotABug
Copy link
Contributor Author

@Megamannen Hi 馃憢
I'm aware of using the cli or manually git cloning the repo & deploying.
My suggestion was to import the Template Functions directly in to the host project without setting up GitHub integration, without leaving the dashboard.

@stnguyen90
Copy link
Contributor

@ItzNotABug, thanks for raising this! 馃檹馃徏 One thing that would be complicated is obtaining the code so that you can update it...It might be possible to allow download, but I think the flow would just be complicated. What do you think?

@stnguyen90 stnguyen90 self-assigned this Sep 26, 2023
@stnguyen90 stnguyen90 added the product / functions Fixes and upgrades for the Appwrite Functions. label Sep 26, 2023
@ItzNotABug
Copy link
Contributor Author

I agree, updating wouldn't be possible.
I have 2 cases in mind here though -

  1. For initial testing & exploring, allow download & deploying of the templates.
    The developer can manage updates by integrating the GitHub flow later if the template suit the basic needs.

  2. Somewhere in the future, there is a possibility of appwrite allowing direct code edits in the console [discusses somewhere on Discord] so this could atleast be added to roadmap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

No branches or pull requests

3 participants