From 0dba4da0b7cb11fd55608f30774087a66871293b Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Tue, 28 May 2024 22:11:04 +0530 Subject: [PATCH 1/5] fixes --- .../img => src/app}/meta-studio-og-image.jpeg | Bin apps/studio-next/src/app/page.tsx | 20 ++++++++++++++++++ 2 files changed, 20 insertions(+) rename apps/studio-next/{public/img => src/app}/meta-studio-og-image.jpeg (100%) diff --git a/apps/studio-next/public/img/meta-studio-og-image.jpeg b/apps/studio-next/src/app/meta-studio-og-image.jpeg similarity index 100% rename from apps/studio-next/public/img/meta-studio-og-image.jpeg rename to apps/studio-next/src/app/meta-studio-og-image.jpeg diff --git a/apps/studio-next/src/app/page.tsx b/apps/studio-next/src/app/page.tsx index e53256269..07222b5c4 100644 --- a/apps/studio-next/src/app/page.tsx +++ b/apps/studio-next/src/app/page.tsx @@ -1,5 +1,25 @@ import dynamic from 'next/dynamic'; const StudioWrapper = dynamic(() => import('@/components/StudioWrapper'), {ssr: false}) +import { Metadata } from 'next'; +import ogImage from '@/app/meta-studio-og-image.jpeg'; + +export const metadata: Metadata = { + metadataBase: new URL('https://studio-helios2003.netlify.app/'), + openGraph: { + type: 'website', + title: 'AsyncAPI Studio', + description: 'Studio for AsyncAPI specification, where you can validate, view preview documentation, and generate templates from AsyncAPI document.', + url: 'https://studio-helios2003.netlify.app/', + images: [ + { + url: ogImage.src, + width: 800, + height: 600, + alt: 'AsyncAPI default image', + }, + ] + } +} export default async function Home() { return ( From c263af8d973e7dda31281d98bc9b15aab05da2c3 Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Tue, 28 May 2024 22:41:29 +0530 Subject: [PATCH 2/5] fixes --- .../app => public/img}/meta-studio-og-image.jpeg | Bin apps/studio-next/src/app/page.tsx | 2 +- apps/studio-next/tsconfig.json | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename apps/studio-next/{src/app => public/img}/meta-studio-og-image.jpeg (100%) diff --git a/apps/studio-next/src/app/meta-studio-og-image.jpeg b/apps/studio-next/public/img/meta-studio-og-image.jpeg similarity index 100% rename from apps/studio-next/src/app/meta-studio-og-image.jpeg rename to apps/studio-next/public/img/meta-studio-og-image.jpeg diff --git a/apps/studio-next/src/app/page.tsx b/apps/studio-next/src/app/page.tsx index 07222b5c4..df6983ba3 100644 --- a/apps/studio-next/src/app/page.tsx +++ b/apps/studio-next/src/app/page.tsx @@ -1,7 +1,7 @@ import dynamic from 'next/dynamic'; const StudioWrapper = dynamic(() => import('@/components/StudioWrapper'), {ssr: false}) import { Metadata } from 'next'; -import ogImage from '@/app/meta-studio-og-image.jpeg'; +import ogImage from '@/img/meta-studio-og-image.jpeg'; export const metadata: Metadata = { metadataBase: new URL('https://studio-helios2003.netlify.app/'), diff --git a/apps/studio-next/tsconfig.json b/apps/studio-next/tsconfig.json index 0c7555fa7..2b67be7f7 100644 --- a/apps/studio-next/tsconfig.json +++ b/apps/studio-next/tsconfig.json @@ -20,7 +20,7 @@ } ], "paths": { - "@/*": ["./src/*"] + "@/*": ["./src/*", "./public/*"] } }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], From 60dc674520be5bfe2f5be7171c2f8eb74e698bfa Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Tue, 28 May 2024 23:31:09 +0530 Subject: [PATCH 3/5] add twitter tags --- apps/studio-next/src/app/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/studio-next/src/app/page.tsx b/apps/studio-next/src/app/page.tsx index df6983ba3..eff44ef85 100644 --- a/apps/studio-next/src/app/page.tsx +++ b/apps/studio-next/src/app/page.tsx @@ -18,6 +18,9 @@ export const metadata: Metadata = { alt: 'AsyncAPI default image', }, ] + }, + twitter: { + site: '@AsyncAPISpec', } } export default async function Home() { From 381d356d456deab5b38e37b4d5faf11f1c5784c3 Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Tue, 28 May 2024 23:50:11 +0530 Subject: [PATCH 4/5] change website url --- apps/studio-next/src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/studio-next/src/app/page.tsx b/apps/studio-next/src/app/page.tsx index eff44ef85..05bde7e06 100644 --- a/apps/studio-next/src/app/page.tsx +++ b/apps/studio-next/src/app/page.tsx @@ -4,12 +4,12 @@ import { Metadata } from 'next'; import ogImage from '@/img/meta-studio-og-image.jpeg'; export const metadata: Metadata = { - metadataBase: new URL('https://studio-helios2003.netlify.app/'), + metadataBase: new URL('https://studio-next.netlify.app'), openGraph: { type: 'website', title: 'AsyncAPI Studio', description: 'Studio for AsyncAPI specification, where you can validate, view preview documentation, and generate templates from AsyncAPI document.', - url: 'https://studio-helios2003.netlify.app/', + url: 'https://studio-next.netlify.app', images: [ { url: ogImage.src, From 5cc411c3be87a558ec9086d106153e584b6efc74 Mon Sep 17 00:00:00 2001 From: Ankit Dash Date: Mon, 10 Jun 2024 17:05:34 +0530 Subject: [PATCH 5/5] fix ci-slack notifications --- .changeset/odd-rules-accept.md | 8 -------- .github/workflows/issues-prs-notifications.yml | 6 ------ 2 files changed, 14 deletions(-) delete mode 100644 .changeset/odd-rules-accept.md diff --git a/.changeset/odd-rules-accept.md b/.changeset/odd-rules-accept.md deleted file mode 100644 index 22f8a8435..000000000 --- a/.changeset/odd-rules-accept.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"design-system": patch -"studio-next": patch -"@asyncapi/studio": patch -"@asyncapi/studio-ui": patch ---- - -- Use PNPM instead of NPM. diff --git a/.github/workflows/issues-prs-notifications.yml b/.github/workflows/issues-prs-notifications.yml index 78ebe9601..b8b20c6ba 100644 --- a/.github/workflows/issues-prs-notifications.yml +++ b/.github/workflows/issues-prs-notifications.yml @@ -20,8 +20,6 @@ jobs: name: Notify slack on every new issue runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - name: Convert markdown to slack markdown for issue uses: asyncapi/.github/.github/actions/slackify-markdown@master id: issuemarkdown @@ -40,8 +38,6 @@ jobs: name: Notify slack on every new pull request runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - name: Convert markdown to slack markdown for pull request uses: asyncapi/.github/.github/actions/slackify-markdown@master id: prmarkdown @@ -60,8 +56,6 @@ jobs: name: Notify slack on every new pull request runs-on: ubuntu-latest steps: - - name: Checkout repository - uses: actions/checkout@v3 - name: Convert markdown to slack markdown for pull request uses: asyncapi/.github/.github/actions/slackify-markdown@master id: discussionmarkdown