🐛 Bug Report: Improve Message on Execution Tab
- Dominant language
- Svelte
- Stars
- 393
- Forks
- 260
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 24
Description
### 👟 Reproduction steps
The message on the execution tab of a Function shows below -

---
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?
- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.