Skip to content

Commit

Permalink
Lenstube to Tape rebrand
Browse files Browse the repository at this point in the history
  • Loading branch information
DanIsNearby authored Oct 6, 2023
1 parent 332e07c commit 09f0bec
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 12 deletions.
4 changes: 2 additions & 2 deletions e2e/profiles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test.describe("Given a Profile link", async () => {
"Hey",
"LensFrens",
"Lensta",
"Lenstube",
"Tape",
"Riff",
"Soclly",
]);
Expand Down Expand Up @@ -90,7 +90,7 @@ test.describe("Given a Profile link with `by` attribution param", async () => {
"Collectz",
"LensFrens",
"Lensta",
"Lenstube",
"Tape",
"Riff",
"Soclly",
]);
Expand Down
6 changes: 3 additions & 3 deletions e2e/publications.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ test.describe("Given a Video Publication link", async () => {
"Buttrfly",
"Collectz",
"Hey",
"Lenstube",
"Tape",
"Soclly",
]);
});
Expand All @@ -132,10 +132,10 @@ test.describe("Given a Video Publication link", async () => {
test.describe("Given a Publication link with `by` attribution param", async () => {
test.describe("When opening it", async () => {
test("Then it should show the specified app first", async ({ videoPost }) => {
await videoPost.openAsSharedBy("lenstube");
await videoPost.openAsSharedBy("tape");

await expect(videoPost.options).toHaveText([
"Lenstube",
"Tape",
"Buttrfly",
"Collectz",
"Hey",
Expand Down
14 changes: 7 additions & 7 deletions manifests/lenstube.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"appId": "lenstube",
"name": "Lenstube",
"description": "Lenstube is a decentralized video-sharing social media platform built with Lens protocol.",
"appId": "Tape",
"name": "Tape",
"description": "Tape is a decentralized video-sharing social media platform built with Lens protocol.",
"platform": "web",
"icon": {
"url": "https://static.lenstube.xyz/images/brand/lenstube.svg",
"url": "https://static.tape.xyz/brand/logo.svg",
"background": "#15192c"
},
"routes": {
"home": "https://lenstube.xyz/",
"home": "https://tape.xyz/",
"profile": {
"url": "https://lenstube.xyz/channel/:handle"
"url": "https://tape.xyz/channel/:handle"
},
"publication": {
"url": "https://lenstube.xyz/watch/:id",
"url": "https://tape.xyz/watch/:id",
"supports": ["VIDEO"]
}
}
Expand Down
24 changes: 24 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,30 @@ const nextConfig = {
destination: "/u/:handle?by=Hey",
permanent: false,
},
{
source: "/p/:id",
has: [
{
type: "query",
key: "by",
value: "Lenstube",
},
],
destination: "/p/:id?by=Tape",
permanent: false,
},
{
source: "/u/:handle",
has: [
{
type: "query",
key: "by",
value: "Lenstube",
},
],
destination: "/u/:handle?by=Tape",
permanent: false,
},
];
},
};
Expand Down

0 comments on commit 09f0bec

Please sign in to comment.