gui/components/UpdateBanner

The check-and-notify update banner: a slim, dismissible strip shown below the header when a newer GitHub release exists than the running build. Edition-aware — the call to action fits how THIS edition updates (download the new installer/portable/release, or, for a git checkout, a copyable git pull command). It never auto-installs anything: this is the lowest-fragility first rung of the updates design (see notes/plans/updates-upgrades.md); the full desktop auto-installer is the scaffolded Phase 2. Local/desktop only — the online build never renders it.

SSR-safe: it renders null until the client-side check resolves (the effect never runs during the online build's prerender), so it adds nothing to the server markup and can't cause a hydration mismatch.

Description:
  • The check-and-notify update banner: a slim, dismissible strip shown below the header when a newer GitHub release exists than the running build. Edition-aware — the call to action fits how THIS edition updates (download the new installer/portable/release, or, for a git checkout, a copyable git pull command). It never auto-installs anything: this is the lowest-fragility first rung of the updates design (see notes/plans/updates-upgrades.md); the full desktop auto-installer is the scaffolded Phase 2. Local/desktop only — the online build never renders it.

    SSR-safe: it renders null until the client-side check resolves (the effect never runs during the online build's prerender), so it adds nothing to the server markup and can't cause a hydration mismatch.

Source: