console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Improve Message on Execution Tab

Open ItzNotABug opened this issue 2 years ago • 4 comments

👟 Reproduction steps

The message on the execution tab of a Function shows below -

function_execution_messages


The message isn't 100% accurate though, it should instead be -

  1. Deployment Exists - You have no execution logs. Execute the Function to see see it here.
  2. Deployment Doesn't Exist - Function has no deployment. Create, activate & execute a deployment to see the logs here.

Also, the Execute button shows when there's no deployment & clicking it returns a response from backend - Deployment not found. Create a deployment before trying to execute a function which is fine but this can also be improved with a pre-check of deployment existence.

👍 Expected behavior

Better message should be shown.

👎 Actual Behavior

Message isn't 100% accurate.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

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

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ItzNotABug avatar Oct 10 '23 09:10 ItzNotABug

May I look into this and work on this issue?

evoxf1 avatar Oct 10 '23 15:10 evoxf1

hey team, can i work on this one ? thanks

iamishaan avatar Oct 13 '23 06:10 iamishaan

will anyone assign this or we start working upfront?

evoxf1 avatar Oct 13 '23 07:10 evoxf1

can i work on this issue?

nick2432 avatar Nov 02 '23 04:11 nick2432