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: Change deployed function code directly in appwrite console #5905

Open
2 tasks done
mbos2 opened this issue Jul 29, 2023 · 1 comment
Open
2 tasks done
Assignees
Labels
enhancement New feature or request product / console Console, UI and UX issues product / functions Fixes and upgrades for the Appwrite Functions.

Comments

@mbos2
Copy link
Contributor

mbos2 commented Jul 29, 2023

馃敄 Feature description

It would be nice to have the ability to create/change and deploy appwrite function directly in the appwrite console.

A simple code editor for that would be okay as a first version.

馃帳 Pitch

Testing and updating cloud (appwrite) function via console itself is a faster way of debugging and testing new changes that we need to implement.

Here's an example of steps we need to do right now

  • Init appwrite function if it's not there already
  • Make code changes
  • Deploy
  • Execute either by going to the console or programatically
  • Read the logs

In case of using Typescript there's a build step before deployment.

But, if we would be able to edit and deploy function directly in the console, local development steps would not be necessary and we would be debugging and testing (potentially fixing bugs) a lot faster.


Inspiration for this comes from AWS Console Lambda service where they have that feature.

Some examples bellow for those who are not familiar with it.

image

https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/create-python-aws-lambda-function-hello-world-tutorial-serverless-how-to-example

https://www.youtube.com/watch?v=zoMtiYifsik&t=180s

馃憖 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?

@safwanyp
Copy link
Contributor

safwanyp commented Aug 7, 2023

So I can see that the function code is stored as a .gz file. To display and/or edit the code, we would need to decompress the gz file, and get the relevant files.

This would definitely need a lot of thought because it might be straight-forward if people use the init file that comes with the function, but with more files comes the added UI design and handling.

@eldadfux eldadfux added the product / functions Fixes and upgrades for the Appwrite Functions. label Sep 9, 2023
@stnguyen90 stnguyen90 added enhancement New feature or request and removed feature labels Mar 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request product / console Console, UI and UX issues product / functions Fixes and upgrades for the Appwrite Functions.
Projects
None yet
Development

No branches or pull requests

5 participants