You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added block and rate limit errors in ActivityPub (#24370)
ref https://linear.app/ghost/issue/PROD-2261
- the infrastructure will return HTTP 429/empty body when a user is
rate-limited, and HTTP 403/empty body when a user is blocked
- added support for non-json error responses
- added toast error for rate-limits, when the user is performing an
action (e.g. liking a post)
- added general error screen for rate-limits and blocks when
reloading screens
---------
Co-authored-by: Sodbileg Gansukh <[email protected]>
<div>We couldn't find the page you were looking for. It may have been moved, deleted, or never existed in the first place.</div>
23
23
</EmptyViewIndicator>
24
24
</Layout>
25
-
) : (
26
-
<divclassName="admin-x-container-error">
27
-
<divclassName="admin-x-error max-w-xl">
28
-
<h1>Loading interrupted</h1>
29
-
<p>They say life is a series of trials and tribulations. This moment right here? It's a tribulation. Our app was supposed to load, and yet here we are. Loadless. Click back to the dashboard to try again.</p>
30
-
<aclassName='cursor-pointer text-green'onClick={toDashboard}>← Back to the dashboard</a>
<div>Your account has been suspended due to policy violations.</div>
47
+
<ButtonasChild>
48
+
<ahref="https://ghost.org/help/social-web/"rel="noopener noreferrer"target="_blank">Learn more →</a>
49
+
</Button>
50
+
</EmptyViewIndicator>
51
+
);
52
+
}
53
+
54
+
return(
55
+
<divclassName="admin-x-container-error">
56
+
<divclassName="admin-x-error max-w-xl">
57
+
<h1>Loading interrupted</h1>
58
+
<p>They say life is a series of trials and tribulations. This moment right here? It's a tribulation. Our app was supposed to load, and yet here we are. Loadless. Click back to the dashboard to try again.</p>
59
+
<aclassName='cursor-pointer text-green'onClick={toDashboard}>← Back to the dashboard</a>
0 commit comments