diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index 901929e..c86756a 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -14,10 +14,10 @@ jobs: - uses: actions/checkout@v3 - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v4 - - name: Use Node.js - uses: actions/setup-node@v3 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "pnpm" diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2793674..9f3267a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,10 +17,10 @@ jobs: - uses: actions/checkout@v3 - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v4 - - name: Use Node.js - uses: actions/setup-node@v3 + - name: Setup Node.js + uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "pnpm" diff --git a/e2e/mobile.spec.ts b/e2e/mobile.spec.ts index 1f6df8b..2e53d58 100644 --- a/e2e/mobile.spec.ts +++ b/e2e/mobile.spec.ts @@ -9,7 +9,7 @@ test.describe("Given a mobile browser", async () => { test("Then it should show in order mobile and web apps options", async ({ textPost }) => { await textPost.open(); - await expect(textPost.options).toHaveText(["Buttrfly", "Hey", "orb", "Soclly"]); + await expect(textPost.options).toHaveText(["Buttrfly", "Hey", "orb", "Pingpad", "Soclly"]); }); }); }); diff --git a/e2e/profiles.spec.ts b/e2e/profiles.spec.ts index ee50071..ae00756 100644 --- a/e2e/profiles.spec.ts +++ b/e2e/profiles.spec.ts @@ -14,6 +14,7 @@ test.describe("Given a Profile link", async () => { "Hey", "orb", "Orna", + "Pingpad", "Riff", "Soclly", "Tape", @@ -29,7 +30,7 @@ test.describe("Given a Profile link posted on a social media website/app", async expect(await lensProfile.extractOpenGraphProperties()).toMatchObject({ "og:title": `${lensProfile.handle} profile`, - "og:description": "onchain social", + "og:description": "An open social network.", "og:url": expect.stringContaining(`/u/${lensProfile.handle}`), "og:site_name": "Lens Share", "og:type": "profile", @@ -43,7 +44,7 @@ test.describe("Given a Profile link posted on a social media website/app", async "twitter:card": "summary_large_image", "twitter:site": "LensProtocol", "twitter:title": `${lensProfile.handle} profile`, - "twitter:description": "onchain social", + "twitter:description": "An open social network.", "twitter:image": expect.any(String), "twitter:image:type": "image/png", }); @@ -86,6 +87,7 @@ test.describe("Given a Profile link with `by` attribution param", async () => { "Buttrfly", "orb", "Orna", + "Pingpad", "Riff", "Soclly", "Tape", diff --git a/e2e/publications.spec.ts b/e2e/publications.spec.ts index 4611c30..50087fd 100644 --- a/e2e/publications.spec.ts +++ b/e2e/publications.spec.ts @@ -9,7 +9,14 @@ test.describe("Given a Publication link", async () => { test("Then it should show relevant app options", async ({ imagePost }) => { await imagePost.open(); - await expect(imagePost.options).toHaveText(["Buttrfly", "Hey", "orb", "Orna", "Soclly"]); + await expect(imagePost.options).toHaveText([ + "Buttrfly", + "Hey", + "orb", + "Orna", + "Pingpad", + "Soclly", + ]); }); }); }); @@ -116,6 +123,7 @@ test.describe("Given a Video Publication link", async () => { "Hey", "orb", "Orna", + "Pingpad", "Soclly", "Tape", ]); @@ -134,6 +142,7 @@ test.describe("Given a Publication link with `by` attribution param", async () = "Hey", "orb", "Orna", + "Pingpad", "Soclly", ]); }); diff --git a/manifests/pingpad.json b/manifests/pingpad.json new file mode 100644 index 0000000..169148e --- /dev/null +++ b/manifests/pingpad.json @@ -0,0 +1,20 @@ +{ + "appId": "ping", + "name": "Pingpad", + "description": "minimalistic decentralized social", + "platform": "web", + "icon": { + "url": "https://pingpad.io/logo.png", + "background": "#292929" + }, + "routes": { + "home": "https://pingpad.io/home", + "profile": { + "url": "https://pingpad.io/u/:handle" + }, + "publication": { + "url": "https://pingpad.io/p/:id", + "supports": ["ARTICLE", "AUDIO", "EMBED", "IMAGE", "LINK", "TEXT_ONLY", "VIDEO"] + } + } +} diff --git a/src/components/navigation/index.tsx b/src/components/navigation/index.tsx index 8fe6e1b..0fb198d 100644 --- a/src/components/navigation/index.tsx +++ b/src/components/navigation/index.tsx @@ -28,33 +28,21 @@ export function Navigation() {