From 86f2ef21c9baa94d230e7c74d884fc3cd70052f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 21 Oct 2024 07:05:49 +0200 Subject: [PATCH 1/2] Update README.md --- packages/pl-fe/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pl-fe/README.md b/packages/pl-fe/README.md index f277e797d..8e586bea1 100644 --- a/packages/pl-fe/README.md +++ b/packages/pl-fe/README.md @@ -7,7 +7,7 @@ Want to test `pl-fe` with **any existing MastoAPI-compatible server?** Try [pl.m If you want to use `pl-fe` as the default frontend on your server, download the latest build from [pl.mkljczk.pl/pl-fe.zip](http://pl.mkljczk.pl/pl-fe.zip) and install it following the instructions for your backend. For example, on a standard Pleroma installation you can use: ```sh -curl -O http://pl.mkljczk.pl/pl-fe.zip +curl -O https://pl.mkljczk.pl/pl-fe.zip unzip pl-fe.zip -d /opt/pleroma/instance/static/ rm pl-fe.zip ``` From fb0bb3923267fc71d22c9a8b355f2f545dfd6145 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Mon, 21 Oct 2024 12:07:46 +0200 Subject: [PATCH 2/2] pl-fe: remove inert polyfill MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- packages/pl-fe/package.json | 1 - packages/pl-fe/src/components/modal-root.tsx | 1 - packages/pl-fe/yarn.lock | 5 ----- 3 files changed, 7 deletions(-) diff --git a/packages/pl-fe/package.json b/packages/pl-fe/package.json index f4bb37791..9d9a59df8 100644 --- a/packages/pl-fe/package.json +++ b/packages/pl-fe/package.json @@ -143,7 +143,6 @@ "vite-plugin-html": "^3.2.2", "vite-plugin-require": "^1.2.14", "vite-plugin-static-copy": "^1.0.6", - "wicg-inert": "^3.1.3", "zustand": "^5.0.0-rc.2" }, "devDependencies": { diff --git a/packages/pl-fe/src/components/modal-root.tsx b/packages/pl-fe/src/components/modal-root.tsx index 2179ded0f..e223a819a 100644 --- a/packages/pl-fe/src/components/modal-root.tsx +++ b/packages/pl-fe/src/components/modal-root.tsx @@ -2,7 +2,6 @@ import clsx from 'clsx'; import React, { useCallback, useEffect, useRef, useState } from 'react'; import { FormattedMessage, defineMessages, useIntl } from 'react-intl'; import { useHistory } from 'react-router-dom'; -import 'wicg-inert'; import { cancelReplyCompose } from 'pl-fe/actions/compose'; import { saveDraftStatus } from 'pl-fe/actions/draft-statuses'; diff --git a/packages/pl-fe/yarn.lock b/packages/pl-fe/yarn.lock index 755584412..e368c3e7a 100644 --- a/packages/pl-fe/yarn.lock +++ b/packages/pl-fe/yarn.lock @@ -10167,11 +10167,6 @@ why-is-node-running@^2.3.0: siginfo "^2.0.0" stackback "0.0.2" -wicg-inert@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/wicg-inert/-/wicg-inert-3.1.3.tgz#e53dbc9ac1e0d7f8c60f25e707614a835986272a" - integrity sha512-5L0PKK7iP+0Q/jv2ccgmkz/pfXbumZtlEyWS/xnX+L+Og3f7WjL4+iEs18k4IuldOX3PgGpza3qGndL9xUBjCQ== - word-wrap@^1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34"