From 93ef16589a2041ad32b5434632a2015a3684c69f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tao=20Bror=20Bojl=C3=A9n?=
Date: Thu, 22 Aug 2019 12:09:06 +0200
Subject: [PATCH] allow dismissing instance load error
---
CHANGELOG.md | 3 ++-
frontend/src/components/screens/AboutScreen.tsx | 10 ++++++++++
frontend/src/components/screens/InstanceScreen.tsx | 2 +-
3 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6ee4912..60e046d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,7 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added ON DELETE to `most_recent_crawl` table, such that it can handle previously-crawled but now-dead instances.
- You can now login to the admin view by clicking, not just by pressing enter.
-- Add handling for weirdly-formatted Friendica peers
+- Add handling for weirdly-formatted Friendica peers.
+- If the details of an instance fail to load, it's now easy to dismiss the error.
## [2.7.0 - 2018-08-18]
diff --git a/frontend/src/components/screens/AboutScreen.tsx b/frontend/src/components/screens/AboutScreen.tsx
index c7aa7e9..5c3bdee 100644
--- a/frontend/src/components/screens/AboutScreen.tsx
+++ b/frontend/src/components/screens/AboutScreen.tsx
@@ -14,6 +14,15 @@ const AboutScreen: React.FC = () => (
. It works by crawling every instance it can find and aggregating statistics on communication between these.
+
+ You can follow the project on{" "}
+
+ Mastodon
+
+ .
+
+
+
FAQ
Why can't I see details about my instance?
@@ -44,6 +53,7 @@ const AboutScreen: React.FC = () => (
to reflect that smaller instances can play a large role in a community.
+
Credits
diff --git a/frontend/src/components/screens/InstanceScreen.tsx b/frontend/src/components/screens/InstanceScreen.tsx
index 70760dd..9e64947 100644
--- a/frontend/src/components/screens/InstanceScreen.tsx
+++ b/frontend/src/components/screens/InstanceScreen.tsx
@@ -105,7 +105,7 @@ class InstanceScreenImpl extends React.PureComponent);
+ content = ;
} else if (this.props.instanceDetails.status.toLowerCase().indexOf("personal instance") > -1) {
content = this.renderPersonalInstanceErrorState();
} else if (this.props.instanceDetails.status.toLowerCase().indexOf("robots.txt") > -1) {