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

🚀 Feature: Change deployed function code directly in appwrite console #1445

Open
2 tasks done
mbos2 opened this issue Jul 29, 2023 · 2 comments
Open
2 tasks done
Labels
enhancement New feature or request product / functions Fixes and upgrades for the Appwrite Functions

Comments

@mbos2
Copy link

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 the enhancement New feature or request label Mar 20, 2024
@eldadfux
Copy link
Member

We'd love to add this, but if we're going to do it, we're going to do it damn well. Doing it great will take some time and effort, so this is not high on our priorities right now.

@eldadfux eldadfux transferred this issue from appwrite/appwrite Oct 24, 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 / functions Fixes and upgrades for the Appwrite Functions
Projects
None yet
Development

No branches or pull requests

5 participants