From 8c74d017167de6bb7551184b0148c07a59f66fa1 Mon Sep 17 00:00:00 2001 From: DomWane Date: Thu, 19 Sep 2024 17:55:34 +0200 Subject: [PATCH 1/3] fix: select hover overflow --- layouts/default.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index 746bf91..62958e8 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -82,7 +82,10 @@ watch([scrollY, top, y], (newValues, oldValues) => { items-center gap-16px overflow-x-auto - pb="24px md:0" + pb-274px + mb--250px + md="overflow-x-visible pb-0 mb-0" + class="no-scrollbar" > Date: Thu, 19 Sep 2024 17:56:37 +0200 Subject: [PATCH 2/3] feat: added new env vars --- nuxt.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nuxt.config.ts b/nuxt.config.ts index 3a7c195..0011f20 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -59,6 +59,9 @@ export default defineNuxtConfig({ appId: 0, privateKey: '', installationId: 0, + owner: 'web3privacy', + baseBranch: 'main', + repo: 'test-repo', }, }, }, From 74d8154843601357ba6786d2d038da4e28254c0a Mon Sep 17 00:00:00 2001 From: DomWane Date: Thu, 19 Sep 2024 17:57:00 +0200 Subject: [PATCH 3/3] fix: data post api --- server/api/data.post.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/server/api/data.post.ts b/server/api/data.post.ts index 80b0b17..7e5e74c 100644 --- a/server/api/data.post.ts +++ b/server/api/data.post.ts @@ -5,7 +5,7 @@ import type { Project } from '~/types' export default defineEventHandler(async (event) => { const body = await readBody<{ project: Project, image?: { type: string, data: string } }>(event) const yamlProject = yaml.stringify(body.project) - const { appId, privateKey, installationId } = useAppConfig().github + const { appId, privateKey, installationId, baseBranch, owner, repo } = useRuntimeConfig().app.github const id = body.project.id || body.project.name.toLowerCase().replace(/\s+/g, '-') @@ -16,9 +16,6 @@ export default defineEventHandler(async (event) => { await app.octokit.rest.apps.getAuthenticated() const octokit = await app.getInstallationOctokit(installationId) - const owner = 'develit-io' - const repo = 'test-repo' - const baseBranch = 'main' const newBranchName = `${id}-project-update-${Date.now()}` const commitMessage = `${body.project.id ? `Updating the project: ${body.project.name}` : `Initiating the creation of project: ${body.project.name}`}`