FroshTools icon indicating copy to clipboard operation
FroshTools copied to clipboard

Health status badge missing in Administration since Shopware 6.7.15.0

Open gloomshmidt opened this issue 2 months ago • 2 comments

Description

Since Shopware 6.7.15.0, the health status badge (the colored dot next to "Shopware" in the top left of the Administration, linking to the FroshTools system status) is no longer shown.

Cause

The sw-version override (src/Resources/app/administration/src/overrides/sw-version/template.twig) extends the blocks sw_version_status and sw_version_status_badge. Shopware 6.7.15.0 reworked the Administration shell (sidebar, top bar, smart bar) and removed these blocks from sw-version.html.twig, see the 6.7.15.0 release info, section "Admin UI shell rework", "Removed Twig blocks":

  • sw_version_name
  • sw_version_name_text
  • sw_version_status
  • sw_version_status_badge

The override is silently ignored, so there is no error, the badge just disappears. The FroshTools module itself works fine.

In 6.7.15.0, sw-version only renders the version number inside the user actions dropdown in the sidebar footer (sw_admin_menu_user_actions_version). The "Shopware" label in the menu header now comes from sw-admin-menu, which provides an empty block for exactly this purpose:

{% block sw_admin_menu_header_title %}
<mt-text ... class="sw-admin-menu__title">
    {{ $t('global.sw-admin-menu.textProjectName') }}
    {% block sw_admin_menu_header_title_status %}{% endblock %}
</mt-text>
{% endblock %}

So sw_admin_menu_header_title_status in sw-admin-menu looks like the natural new place for the badge on 6.7.15.0+, while the existing sw-version override would still be needed for older versions.

Environment

  • Shopware 6.7.15.0
  • FroshTools 3.14.1 (latest), the override is unchanged on main

gloomshmidt avatar Oct 01 '26 10:10 gloomshmidt

yuppp https://github.com/FriendsOfShopware/FroshTools/pull/465

shyim avatar Oct 01 '26 10:10 shyim

Closing as a duplicate, this is already addressed by #465. Sorry for the noise, I only searched the issues and missed the PR.

gloomshmidt avatar Oct 01 '26 10:10 gloomshmidt