Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: rename lenstube to tape #29

Merged
merged 7 commits into from
Oct 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions e2e/profiles.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ test.describe("Given a Profile link", async () => {
"Hey",
"LensFrens",
"Lensta",
"Lenstube",
"Riff",
"Soclly",
"Tape"
]);
});
});
Expand Down Expand Up @@ -90,9 +90,9 @@ test.describe("Given a Profile link with `by` attribution param", async () => {
"Collectz",
"LensFrens",
"Lensta",
"Lenstube",
"Riff",
"Soclly",
"Tape",
]);
});
});
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,8 +122,8 @@ test.describe("Given a Video Publication link", async () => {
"Buttrfly",
"Collectz",
"Hey",
"Lenstube",
"Soclly",
"Tape",
]);
});
});
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
20 changes: 0 additions & 20 deletions manifests/lenstube.json

This file was deleted.

20 changes: 20 additions & 0 deletions manifests/tape.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"appId": "tape",
"name": "Tape",
"description": "Talk, Amplify, Post, Explore.",
"platform": "web",
"icon": {
"url": "https://static.tape.xyz/brand/logo.svg",
"background": "#15192c"
},
"routes": {
"home": "https://tape.xyz/",
"profile": {
"url": "https://tape.xyz/channel/:handle"
},
"publication": {
"url": "https://tape.xyz/watch/:id",
"supports": ["VIDEO"]
}
}
}
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
Loading