Skip to content

Commit

Permalink
Merge pull request #43 from lens-protocol/develop
Browse files Browse the repository at this point in the history
release: pingpad
  • Loading branch information
cesarenaldi authored Jul 4, 2024
2 parents bbe0535 + 9504843 commit 16b836a
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 28 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion e2e/mobile.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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"]);
});
});
});
6 changes: 4 additions & 2 deletions e2e/profiles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ test.describe("Given a Profile link", async () => {
"Hey",
"orb",
"Orna",
"Pingpad",
"Riff",
"Soclly",
"Tape",
Expand All @@ -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",
Expand All @@ -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",
});
Expand Down Expand Up @@ -86,6 +87,7 @@ test.describe("Given a Profile link with `by` attribution param", async () => {
"Buttrfly",
"orb",
"Orna",
"Pingpad",
"Riff",
"Soclly",
"Tape",
Expand Down
11 changes: 10 additions & 1 deletion e2e/publications.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]);
});
});
});
Expand Down Expand Up @@ -116,6 +123,7 @@ test.describe("Given a Video Publication link", async () => {
"Hey",
"orb",
"Orna",
"Pingpad",
"Soclly",
"Tape",
]);
Expand All @@ -134,6 +142,7 @@ test.describe("Given a Publication link with `by` attribution param", async () =
"Hey",
"orb",
"Orna",
"Pingpad",
"Soclly",
]);
});
Expand Down
20 changes: 20 additions & 0 deletions manifests/pingpad.json
Original file line number Diff line number Diff line change
@@ -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"]
}
}
}
24 changes: 6 additions & 18 deletions src/components/navigation/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,33 +28,21 @@ export function Navigation() {

<div className="flex flex-col h-full justify-between items-stretch text-darkForest">
<div className="flex flex-col justify-start gap-6 items-start text-2xl">
<NavLink href="https://www.lens.xyz/community">Community</NavLink>

<NavLink href="https://www.lens.xyz/creators">Creators</NavLink>

<NavLink href="https://www.lens.xyz/build">Devs</NavLink>

<NavLink href="https://www.lens.xyz/social-layer">Web3</NavLink>
<NavLink href="https://www.lens.xyz/docs">Docs</NavLink>
</div>

<NavButton size="lg" variant="dark" href="https://claim.lens.xyz/">
Claim handle
<NavButton size="lg" variant="dark" href="https://www.lens.xyz">
Mint a Handle
</NavButton>
</div>
</section>
</div>

<div className="hidden sm:flex flex-row gap-8 justify-between items-center text-lightForest text-sm">
<NavLink href="https://www.lens.xyz/community">Community</NavLink>

<NavLink href="https://www.lens.xyz/creators">Creators</NavLink>

<NavLink href="https://www.lens.xyz/build">Devs</NavLink>

<NavLink href="https://www.lens.xyz/social-layer">Web3</NavLink>
<NavLink href="https://www.lens.xyz/docs">Docs</NavLink>

<NavButton size="md" variant="light" href="https://claim.lens.xyz/">
Claim handle
<NavButton size="md" variant="light" href="https://www.lens.xyz">
Mint a Handle
</NavButton>
</div>
</div>
Expand Down

0 comments on commit 16b836a

Please sign in to comment.