- Search in repositories (thanks to @SaraVieira).
- Custom Dockerfile - you be able to deploy ANY applications! 🎉 
- Basic repository scanner for Nextjs and React. It will setup the default commands and buildpack if it detects some defined parameters.
- UI/UX fixes:
  - Github loading screen instead of standard loading screen. 
  - Info tooltips which provide some explanations of the input fields.
This commit is contained in:
Andras Bacsai
2021-04-04 14:57:42 +02:00
committed by GitHub
parent 3af1fd4d1b
commit 69f050b864
27 changed files with 669 additions and 363 deletions

View File

@@ -1,30 +1,6 @@
<script>
import { redirect, isActive } from "@roxi/routify";
import { application, fetch, initialApplication, initConf } from "@store";
import { toast } from "@zerodevx/svelte-toast";
import { application } from "@store";
import Configuration from "../../../../../components/Application/Configuration/Configuration.svelte";
import Loading from "../../../../../components/Loading.svelte";
async function loadConfiguration() {
if (!$isActive("/application/new")) {
try {
const config = await $fetch(`/api/v1/config`, {
body: {
name: $application.repository.name,
organization: $application.repository.organization,
branch: $application.repository.branch,
},
});
$application = { ...config };
$initConf = JSON.parse(JSON.stringify($application));
} catch (error) {
toast.push("Configuration not found.");
$redirect("/dashboard/applications");
}
} else {
$application = JSON.parse(JSON.stringify(initialApplication));
}
}
</script>
<div class="min-h-full text-white">

View File

@@ -1,5 +1,4 @@
<script>
import { fade } from "svelte/transition";
import { application } from "@store";
import Configuration from "../../../../../components/Application/Configuration/Configuration.svelte";
</script>