From 93b3d1fae69eb1380b1a538bc9c8d245bf67b043 Mon Sep 17 00:00:00 2001 From: 1aerostorm Date: Fri, 1 Dec 2023 15:49:56 +0000 Subject: [PATCH 01/23] Use Notify WS --- app/components/App.jsx | 2 + .../elements/MarkNotificationRead.jsx | 6 +- app/components/elements/NotifyPolling.jsx | 88 +++++++++++ app/redux/PollDataSaga.js | 31 ---- app/redux/RootSaga.js | 2 - app/utils/NotifyApiClient.js | 142 ++++++++++++++++++ 6 files changed, 235 insertions(+), 36 deletions(-) create mode 100644 app/components/elements/NotifyPolling.jsx delete mode 100644 app/redux/PollDataSaga.js diff --git a/app/components/App.jsx b/app/components/App.jsx index 1d217e0d3..2f0c2721c 100644 --- a/app/components/App.jsx +++ b/app/components/App.jsx @@ -27,6 +27,7 @@ import MiniHeader from '@modules/MiniHeader'; import PageViewsCounter from '@elements/PageViewsCounter'; import ChainFailure from 'app/components/elements/ChainFailure' import DialogManager from 'app/components/elements/common/DialogManager'; +import NotifyPolling from 'app/components/elements/NotifyPolling' import { init as initAnchorHelper } from 'app/utils/anchorHelper'; import { authRegisterUrl, } from 'app/utils/AuthApiClient'; import { APP_ICON, VEST_TICKER, } from 'app/client_config'; @@ -400,6 +401,7 @@ class App extends React.Component {