diff --git a/package.json b/package.json
index 9805e5ef5..2eb18bb19 100644
--- a/package.json
+++ b/package.json
@@ -1,20 +1,20 @@
{
- "name": "soapbox",
- "displayName": "Soapbox",
+ "name": "pl-fe",
+ "displayName": "pl-fe",
"version": "3.2.0",
"type": "module",
- "description": "Soapbox frontend for the Fediverse.",
- "homepage": "https://soapbox.pub/",
+ "description": "Web-based federated social media client, a fork of Soapbox",
+ "homepage": "https://github.com/mkljczk/pl-fe",
"repository": {
"type": "git",
- "url": "https://gitlab.com/soapbox-pub/soapbox"
+ "url": "https://github.com/mkljczk/pl-fe"
},
"keywords": [
"fediverse",
"pleroma"
],
"bugs": {
- "url": "https://gitlab.com/soapbox-pub/soapbox/-/issues"
+ "url": "https://github.com/mkljczk/pl-fe/issues"
},
"funding": {
"type": "lightning",
diff --git a/src/components/ui/portal/portal.tsx b/src/components/ui/portal/portal.tsx
index 9d9ae73e7..7d175628c 100644
--- a/src/components/ui/portal/portal.tsx
+++ b/src/components/ui/portal/portal.tsx
@@ -22,7 +22,7 @@ const Portal: React.FC
= ({ children }) => {
return (
ReactDOM.createPortal(
children,
- document.getElementById('soapbox') as HTMLDivElement,
+ document.getElementById('plfe') as HTMLDivElement,
)
);
};
diff --git a/src/jest/test-helpers.tsx b/src/jest/test-helpers.tsx
index 06087e9ca..142a58bb8 100644
--- a/src/jest/test-helpers.tsx
+++ b/src/jest/test-helpers.tsx
@@ -50,7 +50,7 @@ const TestApp: FC = ({ children, storeProps, routerProps = {} }) => {
};
return (
-
+
diff --git a/src/main.tsx b/src/main.tsx
index a204848da..a2e3844c0 100644
--- a/src/main.tsx
+++ b/src/main.tsx
@@ -36,7 +36,7 @@ if (BuildConfig.NODE_ENV === 'production') {
}
ready(() => {
- const container = document.getElementById('soapbox') as HTMLElement;
+ const container = document.getElementById('plfe') as HTMLElement;
const root = createRoot(container);
root.render();
diff --git a/src/schemas/instance.ts b/src/schemas/instance.ts
index 081f2f493..5740ffab6 100644
--- a/src/schemas/instance.ts
+++ b/src/schemas/instance.ts
@@ -21,6 +21,10 @@ const fixVersion = (version: string) => {
version = '2.7.2 (compatible; Pleroma 2.4.50+akkoma)';
}
+ if (version.endsWith('+pl)')) {
+ version = version.slice(0, -3) + 'soapbox)';
+ }
+
// Set Takahē version to a Pleroma-like string
if (version.startsWith('takahe/')) {
version = `0.0.0 (compatible; Takahe ${version.slice(7)})`;
diff --git a/vite.config.ts b/vite.config.ts
index a174b0644..167d2ea0b 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -68,9 +68,9 @@ export default defineConfig(({ command }) => ({
},
manifestFilename: 'manifest.json',
manifest: {
- name: 'Soapbox',
- short_name: 'Soapbox',
- description: 'A social media frontend with a focus on custom branding and ease of use.',
+ name: 'pl-fe',
+ short_name: 'pl-fe',
+ description: 'Web-based federated social media client, a fork of Soapbox',
},
srcDir: 'src/service-worker',
filename: 'sw.ts',