Rename project to pl-fe

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2024-04-28 23:09:10 +02:00
parent 7ae2b4282f
commit 2b33d1d6aa
9 changed files with 24 additions and 16 deletions

View file

@ -1,3 +1,7 @@
`pl-fe` is a web-based federated social media client, fork of Soapbox.
---
![Soapbox Screenshot](soapbox-screenshot.png)
**Soapbox** is customizable open-source software that puts the power of social media in the hands of the people. Feature-rich and hyper-focused on providing a user experience to rival Big Tech, Soapbox is already home to some of the biggest alternative social platforms.

View file

@ -1,7 +1,7 @@
{
"name": "Soapbox",
"description": "Software for the next generation of social media.",
"name": "pl-fe",
"description": "Web-based federated social media client, a fork of Soapbox.",
"keywords": ["fediverse"],
"website": "https://soapbox.pub",
"website": "https://github.com/mkljczk/pl-fe",
"stack": "container"
}

View file

@ -12,7 +12,7 @@
<%- snippets %>
</head>
<body class="theme-mode-light no-reduce-motion">
<div id="soapbox" class="h-full">
<div id="plfe" class="h-full">
<div class="loading-indicator-wrapper">
<div class="loading-indicator">
<div class="loading-indicator__container">

View file

@ -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",

View file

@ -22,7 +22,7 @@ const Portal: React.FC<IPortal> = ({ children }) => {
return (
ReactDOM.createPortal(
children,
document.getElementById('soapbox') as HTMLDivElement,
document.getElementById('plfe') as HTMLDivElement,
)
);
};

View file

@ -50,7 +50,7 @@ const TestApp: FC<any> = ({ children, storeProps, routerProps = {} }) => {
};
return (
<div id='soapbox'>
<div id='plfe'>
<Provider store={props.store}>
<MemoryRouter {...routerProps}>
<StatProvider>

View file

@ -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(<Soapbox />);

View file

@ -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)})`;

View file

@ -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',