Merge the two app headers into one header (T443708)

Summary

Merges the two app headers into a single <header> in App.vue, per T443708.

Before this change:

  • App.vue rendered a plain "Starter Kit" <h1> that did nothing when clicked.
  • views/Header.vue rendered the real title, the logo and the status bar. Each route view mounted it, so it ended up inside <main>.

As a result, the product name showed twice, people clicked the wrong title to go home, and some pages had three <h1>s.

Changes

  • App.vue: one header row with the logo, title and subtitle (a single router-link to /dashboard that still tracks starterkit.nav.home_click) and the user info on the right. StatusBar sits below that row and only shows when state.user && route.meta.requiresAuth.
  • Removed <Header /> from DashboardLayout, EssentialTaskLayout (covers the 6 tool routes), AnalyticsDashboard, ImpactDashboard and EventsExplorer, then deleted views/Header.vue.
  • Headings: the site title is no longer an <h1>, so each page now has a single <h1> (its own page title).
  • Mobile (≤768px): the subtitle is hidden, the logo is smaller, and the username and Logout stack on the right.
  • i18n: added starterkit-app-header-title and starterkit-app-header-subtitle, which were hardcoded English before. Removed the now-unused starterkit-app-title. Only en.json and qqq.json changed; other locales will follow from translatewiki.

Behaviour notes

  • Login (/) now shows the branded row too. It shows no status bar, even for a logged-in "welcome back" user, which matches what users see today.
  • The status bar now lives in App.vue, so it stays mounted across route changes instead of remounting, and its loading skeleton no longer flashes on every page change.

Testing

  • npm test: 108 of 108 tests pass. vite build succeeds. ESLint reports no errors.
  • Checked manually at desktop width and at 390px:
    • / logged out, and / logged in
    • /dashboard, a tool page, /analytics, /impact, /events
    • The title link goes to /dashboard.

Bug: T443708

Merge request reports

Loading