diff --git a/app/soapbox/features/ui/components/image_loader.js b/app/soapbox/features/ui/components/image_loader.js index 4b699365b9..99f7c29819 100644 Binary files a/app/soapbox/features/ui/components/image_loader.js and b/app/soapbox/features/ui/components/image_loader.js differ diff --git a/app/soapbox/features/ui/containers/loading_bar_container.js b/app/soapbox/features/ui/containers/loading_bar_container.js deleted file mode 100644 index 63e994f927..0000000000 Binary files a/app/soapbox/features/ui/containers/loading_bar_container.js and /dev/null differ diff --git a/app/soapbox/features/ui/index.js b/app/soapbox/features/ui/index.js index 80b3b314df..02d1c0cee7 100644 Binary files a/app/soapbox/features/ui/index.js and b/app/soapbox/features/ui/index.js differ diff --git a/app/soapbox/middleware/loading_bar.js b/app/soapbox/middleware/loading_bar.js deleted file mode 100644 index da8cc4c7d3..0000000000 Binary files a/app/soapbox/middleware/loading_bar.js and /dev/null differ diff --git a/app/soapbox/reducers/index.js b/app/soapbox/reducers/index.js index 5c050b1333..2b7ecd23c8 100644 Binary files a/app/soapbox/reducers/index.js and b/app/soapbox/reducers/index.js differ diff --git a/app/soapbox/store/configureStore.js b/app/soapbox/store/configureStore.js index 0e0d45c668..63f92cf530 100644 Binary files a/app/soapbox/store/configureStore.js and b/app/soapbox/store/configureStore.js differ diff --git a/app/styles/loading.scss b/app/styles/loading.scss index 6f5f1736fd..45145d1f21 100644 --- a/app/styles/loading.scss +++ b/app/styles/loading.scss @@ -148,14 +148,6 @@ animation: shake-bottom 0.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) 2s 2 both; } -.loading-bar { - background-color: var(--highlight-text-color); - height: 3px; - position: absolute; - top: 0; - left: 0; -} - .load-more { display: block; color: var(--primary-text-color); diff --git a/app/styles/ui.scss b/app/styles/ui.scss index d05a18e4c2..a51495ec84 100644 --- a/app/styles/ui.scss +++ b/app/styles/ui.scss @@ -279,10 +279,6 @@ object-fit: contain; } - .loading-bar { - position: relative; - } - &.image-loader--amorphous .image-loader__preview-canvas { display: none; } diff --git a/docs/store.md b/docs/store.md index 69f2ba1e45..34088ab8c0 100644 --- a/docs/store.md +++ b/docs/store.md @@ -104,15 +104,6 @@ If it's not documented, it's because I inherited it from Mastodon and I don't kn alerts: [] ``` -- `loadingBar` - Managed by [react-redux-loading-bar](https://github.com/mironov/react-redux-loading-bar) - - Sample: - ``` - loadingBar: { - 'default': 0 - } - ``` - - `modal` Sample: diff --git a/package.json b/package.json index e497e8b2bb..f06f4fa270 100644 --- a/package.json +++ b/package.json @@ -125,7 +125,6 @@ "react-overlays": "^0.9.0", "react-popper": "^2.2.3", "react-redux": "^7.2.5", - "react-redux-loading-bar": "^5.0.0", "react-router-dom": "^4.3.1", "react-router-scroll-4": "^1.0.0-beta.1", "react-sparklines": "^1.7.0", diff --git a/yarn.lock b/yarn.lock index 7fb7cb9f57..3bc208261a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7879,14 +7879,6 @@ react-popper@^2.2.3, react-popper@^2.2.5: react-fast-compare "^3.0.1" warning "^4.0.2" -react-redux-loading-bar@^5.0.0: - version "5.0.2" - resolved "https://registry.yarnpkg.com/react-redux-loading-bar/-/react-redux-loading-bar-5.0.2.tgz#e62d527892b0a7682baa2ebbb3fd34c0b807e485" - integrity sha512-M+gK/Q79UG3iVljv6myRJptdQ5sIKdYDigeukwGocvWLCgWFdtpeP8IY8lBIYsqHXtuFBP/gj7E3qvGwCtcpRQ== - dependencies: - prop-types "^15.7.2" - react-lifecycles-compat "^3.0.4" - react-redux@^7.2.5: version "7.2.5" resolved "https://registry.yarnpkg.com/react-redux/-/react-redux-7.2.5.tgz#213c1b05aa1187d9c940ddfc0b29450957f6a3b8"