console icon indicating copy to clipboard operation
console copied to clipboard

Show Available Runtime When Only One Exists for Templates

Open ItzNotABug opened this issue 1 year ago • 6 comments

What does this PR do?

Shows a default selected runtime value in the input selector when only one of the supported runtime is available when building a template function.

Test Plan

Manual -

Screenshot 2024-04-06 at 3 37 25 PM

Related PRs and Issues

  • #1011

Have you read the Contributing Guidelines on issues?

Yes.

ItzNotABug avatar Apr 06 '24 10:04 ItzNotABug

@ItzNotABug is attempting to deploy a commit to the appwrite Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 06 '24 10:04 vercel[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
console-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 3, 2024 5:34pm
console-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 3, 2024 5:34pm
console-preview-cloud ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 3, 2024 5:34pm

vercel[bot] avatar May 01 '24 17:05 vercel[bot]

If there's only 1 runtime available:

image

If there are multiple:

image

stnguyen90 avatar May 01 '24 22:05 stnguyen90

Let me check with the team on this.

stnguyen90 avatar May 01 '24 22:05 stnguyen90

If there's only 1 runtime available:

image If there are multiple: image

I think we should go for the default behaviour of showing a Select Runtime item.

ItzNotABug avatar May 02 '24 05:05 ItzNotABug

https://github.com/appwrite/console/assets/20625965/7a0bd378-70ad-43b9-8a05-e02b32c41d56

ItzNotABug avatar May 03 '24 10:05 ItzNotABug