index: Remove `Loading...` text from the app loading overlay.

The new loading spinner animation conveys the message well
that the app is loading and this text is no longer required.
This commit is contained in:
Aman Agrawal 2023-02-02 19:03:01 +00:00 committed by Tim Abbott
parent 6b0265a239
commit c3f0d5898a
2 changed files with 1 additions and 5 deletions

View File

@ -79,9 +79,6 @@
border-top-color: hsl(0,0%,52%); border-top-color: hsl(0,0%,52%);
animation: zspinner 1s linear infinite; animation: zspinner 1s linear infinite;
} }
.app-loading-text {
font-weight: normal;
}
</style> </style>
{% endblock %} {% endblock %}
@ -95,7 +92,6 @@
<div class="app-loading-spinner"></div> <div class="app-loading-spinner"></div>
<svg class="app-loading-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12"><linearGradient id="a" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#50adff"/><stop offset="1" stop-color="#7877fc"/></linearGradient><circle cx="386.56" cy="386.56" r="386.56" fill="url(#a)"/><path d="M566.66 527.25c0 33.03-24.23 60.05-53.84 60.05H260.29c-29.61 0-53.84-27.02-53.84-60.05 0-20.22 9.09-38.2 22.93-49.09l134.37-120c2.5-2.14 5.74 1.31 3.94 4.19l-49.29 98.69c-1.38 2.76.41 6.16 3.25 6.16h191.18c29.61 0 53.83 27.03 53.83 60.05zm0-281.39c0 20.22-9.09 38.2-22.93 49.09l-134.37 120c-2.5 2.14-5.74-1.31-3.94-4.19l49.29-98.69c1.38-2.76-.41-6.16-3.25-6.16H260.29c-29.61 0-53.84-27.02-53.84-60.05s24.23-60.05 53.84-60.05h252.54c29.61 0 53.83 27.02 53.83 60.05z" fill="#fff"/></svg> <svg class="app-loading-logo" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 773.12 773.12"><linearGradient id="a" x1="0" y1="0" x2="0" y2="1"><stop offset="0" stop-color="#50adff"/><stop offset="1" stop-color="#7877fc"/></linearGradient><circle cx="386.56" cy="386.56" r="386.56" fill="url(#a)"/><path d="M566.66 527.25c0 33.03-24.23 60.05-53.84 60.05H260.29c-29.61 0-53.84-27.02-53.84-60.05 0-20.22 9.09-38.2 22.93-49.09l134.37-120c2.5-2.14 5.74 1.31 3.94 4.19l-49.29 98.69c-1.38 2.76.41 6.16 3.25 6.16h191.18c29.61 0 53.83 27.03 53.83 60.05zm0-281.39c0 20.22-9.09 38.2-22.93 49.09l-134.37 120c-2.5 2.14-5.74-1.31-3.94-4.19l49.29-98.69c1.38-2.76-.41-6.16-3.25-6.16H260.29c-29.61 0-53.84-27.02-53.84-60.05s24.23-60.05 53.84-60.05h252.54c29.61 0 53.83 27.02 53.83 60.05z" fill="#fff"/></svg>
</div> </div>
<h3 class="app-loading-text">{{ _('Loading...') }}</h3>
</div> </div>
<div id="app-loading-bottom-content"> <div id="app-loading-bottom-content">
<p>{% trans %}If this message does not go away, try <a id="reload-lnk">reloading</a> the page.{% endtrans %}</p> <p>{% trans %}If this message does not go away, try <a id="reload-lnk">reloading</a> the page.{% endtrans %}</p>

View File

@ -227,7 +227,7 @@ class HomeTest(ZulipTestCase):
# Keep this list sorted!!! # Keep this list sorted!!!
html_bits = [ html_bits = [
"message_feed_errors_container", "message_feed_errors_container",
"Loading...", "app-loading-logo",
# Verify that the app styles get included # Verify that the app styles get included
"app-stubentry.js", "app-stubentry.js",
"data-params", "data-params",