diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/[platform]/+page@project-[region]-[project].svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/[platform]/+page@project-[region]-[project].svelte
index 09335b492..7f3984344 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/[platform]/+page@project-[region]-[project].svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/[platform]/+page@project-[region]-[project].svelte
@@ -98,7 +98,7 @@
{$platform.name}
-
{$platform.hostname}
+
{$platform.hostname || $platform.key}
diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/createAndroid.svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/createAndroid.svelte
index f56d1fd7e..ec30089b7 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/createAndroid.svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/createAndroid.svelte
@@ -91,11 +91,11 @@ const val APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.region, page.
});
-
-
+
+
+ {/if}
+
+
+ {#if isPlatformCreated}
+
+
+
+ 1. If you're starting a new project, you can clone our starter kit from
+ GitHub using the terminal, VSCode or Android Studio.
+
+
+
+
+
+
+
+ 2. Open the file and update the configuration
+ settings.
+
+
+
+
+
+
+ 3. Run the app on a connected device or emulator, then click the button to verify the setup.
+
+
+ {/if}
+
+
diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte
index f63c7702b..d8e0098ef 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/createApple.svelte
@@ -102,117 +102,121 @@ APPWRITE_PUBLIC_ENDPOINT: "${sdk.forProject(page.params.region, page.params.proj
});
-
-
-
-
-
- {#each Object.entries(platforms) as [key, value]}
-
- {/each}
-
+
+
+
+
+
+
+ {#each Object.entries(platforms) as [key, value]}
+
+ {/each}
+
-
- {#if !isPlatformCreated}
-
-
-
-
+
+ {#if !isPlatformCreated}
+
+
+
+
-
-
-
-
-
- You can find your Bundle Identifier in the General tab for
- your app's primary target in Xcode.
-
-
-
-
-
-
- Create platform
-
-
-
- {:else}
-
-
-
-
-
-
- {$createPlatform.name} ({$createPlatform.key})
-
+
+
+
+
+
+ You can find your Bundle Identifier in the General tab
+ for your app's primary target in Xcode.
+
+
+
-
-
-
- {/if}
-
- {#if isPlatformCreated}
-
-
-
- 1. If you're starting a new project, you can clone our starter kit from
- GitHub using the terminal or XCode.
-
-
-
-
-
-
-
- 2. Open the file and
- update the configuration settings.
-
-
-
-
-
-
- 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+ submit
+ forceShowLoader
+ submissionLoader={isCreatingPlatform}
+ disabled={!platform ||
+ !$createPlatform.name ||
+ !$createPlatform.key ||
+ isCreatingPlatform}>
+ Create platform
+
+
+
+ {:else}
+
+
+
+
+
+
+ {$createPlatform.name} ({$createPlatform.key})
+
+
+
+
-
- {/if}
-
-
+ {/if}
+
+
+
+
+ {#if isPlatformCreated}
+
+
+
+ 1. If you're starting a new project, you can clone our starter kit from
+ GitHub using the terminal or XCode.
+
+
+
+
+
+
+
+ 2. Open the file and update
+ the configuration settings.
+
+
+
+
+
+
+ 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+
+
+ {/if}
+
diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/createFlutter.svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/createFlutter.svelte
index ef6b62a88..04b2831ec 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/createFlutter.svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/createFlutter.svelte
@@ -161,133 +161,137 @@ static const String APPWRITE_PUBLIC_ENDPOINT = "${sdk.forProject(page.params.reg
});
-
-
-
-
-
- {#each Object.entries(platforms) as [key, value]}
-
- {/each}
-
+
+
+
+
+
+
+ {#each Object.entries(platforms) as [key, value]}
+
+ {/each}
+
-
- {#if !isPlatformCreated}
-
-
-
-
-
-
- {#if platform === PlatformType.Flutterweb}
+
+ {#if !isPlatformCreated}
+
+
+
-
-
-
- {placeholder[platform].tooltip}
-
-
-
- {:else}
-
-
-
-
- {placeholder[platform].tooltip}
-
-
-
- {/if}
-
+ bind:value={$createPlatform.name} />
-
- Create platform
-
-
-
- {:else}
-
-
-
-
-
-
- {$createPlatform.name} ({$createPlatform.key})
-
+
+ {#if platform === PlatformType.Flutterweb}
+
+
+
+
+ {placeholder[platform].tooltip}
+
+
+
+ {:else}
+
+
+
+
+ {placeholder[platform].tooltip}
+
+
+
+ {/if}
+
+
+ Create platform
+
-
-
- {/if}
-
-
- {#if isPlatformCreated}
-
-
-
- 1. If you're starting a new project, you can clone our starter kit from
- GitHub using the terminal, VSCode or Android Studio.
-
-
-
-
-
-
-
- 2. Open the file and update the configuration settings.
-
-
-
-
-
-
- 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+
+ {:else}
+
+
+
+
+
+
+ {$createPlatform.name} ({$createPlatform.hostname ||
+ $createPlatform.key})
+
+
+
+
-
- {/if}
-
-
+ {/if}
+
+
+
+
+ {#if isPlatformCreated}
+
+
+
+ 1. If you're starting a new project, you can clone our starter kit from
+ GitHub using the terminal, VSCode or Android Studio.
+
+
+
+
+
+
+
+ 2. Open the file
+ and update the configuration settings.
+
+
+
+
+
+
+ 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+
+
+ {/if}
+
diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/createReactNative.svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/createReactNative.svelte
index 0fadb5ff7..95b12e2eb 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/createReactNative.svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/createReactNative.svelte
@@ -126,119 +126,123 @@ const EXPO_PUBLIC_APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page
});
-
-
-
-
-
- {#each Object.entries(platforms) as [key, value]}
-
- {/each}
-
-
-
- {#if !isPlatformCreated}
-
-
-
-
-
-
-
-
-
-
- {placeholder[platform].tooltip}
-
-
-
-
-
-
- Create platform
-
-
-
- {:else}
-
-
-
-
-
-
- {$createPlatform.name} ({$createPlatform.key})
-
-
-
-
+
+
+
+
+
+
+ {#each Object.entries(platforms) as [key, value]}
+
+ {/each}
- {/if}
-
- {#if isPlatformCreated}
-
-
-
- 1. If you're starting a new project, you can clone our starter kit from
- GitHub using the terminal or VSCode.
-
+
+ {#if !isPlatformCreated}
+
+
+
+
-
-
-
-
+
+
+
+
+
+ {placeholder[platform].tooltip}
+
+
+
+
- 2. Add your Appwrite credentials to then rename it to if needed.
-
-
-
-
-
-
- 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+ submit
+ forceShowLoader
+ submissionLoader={isCreatingPlatform}
+ disabled={!platform ||
+ !$createPlatform.name ||
+ !$createPlatform.key ||
+ isCreatingPlatform}>
+ Create platform
+
+
+
+ {:else}
+
+
+
+
+
+
+ {$createPlatform.name} ({$createPlatform.key})
+
+
+
+
-
- {/if}
-
-
+ {/if}
+
+
+
+
+ {#if isPlatformCreated}
+
+
+
+ 1. If you're starting a new project, you can clone our starter kit from
+ GitHub using the terminal or VSCode.
+
+
+
+
+
+
+
+ 2. Add your Appwrite credentials to then rename it to if needed.
+
+
+
+
+
+
+ 3. Run the app on a connected device or simulator, then click the button to verify the setup.
+
+
+ {/if}
+
diff --git a/src/routes/(console)/project-[region]-[project]/overview/platforms/createWeb.svelte b/src/routes/(console)/project-[region]-[project]/overview/platforms/createWeb.svelte
index 8a8096182..75ac4daa5 100644
--- a/src/routes/(console)/project-[region]-[project]/overview/platforms/createWeb.svelte
+++ b/src/routes/(console)/project-[region]-[project]/overview/platforms/createWeb.svelte
@@ -199,158 +199,150 @@ ${prefix}APPWRITE_ENDPOINT = "${sdk.forProject(page.params.region, page.params.p
});
-
-
-
-
- {#if !isPlatformCreated || isChangingFramework}
-
-
-
- {#each frameworks as framework}
-
- {/each}
-
+
+
+
+ {#if !isPlatformCreated || isChangingFramework}
+
+
+
+
+
+ {#each frameworks as framework}
+
+ {/each}
+
+
+ {#if isChangingFramework}
+ (isChangingFramework = false)}>
+ Save
+ {/if}
+
+
+
+ {#if !isChangingFramework}
+
+
+
+
+
+ The hostname that your website will use to interact with the
+ Appwrite APIs in production or development environments. No
+ protocol or port number required.
+
+
+
- {#if isChangingFramework}
- (isChangingFramework = false)}>
- Save
- {/if}
+ Create platform
+ {/if}
+
+
+ {:else}
+
+
+
+ {selectedFramework.label}
-
- {#if !isChangingFramework}
-
-
-
-
-
- The hostname that your website will use to interact with the
- Appwrite APIs in production or development environments. No
- protocol or port number required.
-
-
-
- Create platform
- {/if}
- {:else}
-
-
-
- {selectedFramework.label}
-
- {
- isChangingFramework = true;
- }}>Change
-
- {/if}
+ {
+ isChangingFramework = true;
+ }}>Change
+
+ {/if}
-
- {#if isPlatformCreated && !isChangingFramework}
-
-
-
- 1. If you're starting a new project, you can clone our starter kit from
- GitHub using the terminal or VSCode.
-
+
+ {#if isPlatformCreated && !isChangingFramework}
+
+
+
+ 1. If you're starting a new project, you can clone our starter kit from
+ GitHub using the terminal or VSCode.
+
-
-
-
-
-
- {#if selectedFramework.key === 'angular'}
- 2. Change
- to reflect the values below:
- {:else}
- 2. Add your Appwrite credentials to then rename it to if needed.
- {/if}
-
-
-
-
-
+
+
+
+
+ {#if selectedFramework.key === 'angular'}
3. Install project dependencies
-
-
-
-
-
-
- 4. Run the app, then click the 2. Change button to verify the setup.
-
-
-
-
-
-
-
-
- Demo app runs on http://localhost:{selectedFramework.portNumber}
- Open
- {/if}
-
-
+ code="src/environments/environment.ts" />
+ to reflect the values below:
+ {:else}
+ 2. Add your Appwrite credentials to then rename it to if needed.
+ {/if}
+
+
+
+
+
+
+ 3. Install project dependencies
+
+
+
+
+
+
+ 4. Run the app, then click the button
+ to verify the setup.
+
+
+
+
+
+
+
+
+ Demo app runs on http://localhost:{selectedFramework.portNumber}
+ Open
+ {/if}
+