Skip to content

v0.5.3 - UI hotfix: Site Manager dashboard overflow + compact redesign

Latest

Choose a tag to compare

@kalexnolasco kalexnolasco released this 16 Apr 15:46

Bug fixes

  • Site Manager sidebar no longer hides servers behind the status bar. With enough registered servers, the left-hand list expanded past the viewport because the sidebar flex column was missing min-height:0, so the inner .fz-serverlist never clipped. The last cards scrolled off-screen underneath the blue status bar. Root cause was Alpine's x-show stripping the inline display:flex from the dashboard row when it toggled visibility. Fixed by introducing a .fz-flex-row CSS class (mirror of the existing .fz-flex-col) so the flex layout survives the x-show toggle, plus a proper min-height:0 / overflow:hidden chain all the way down to the scrollable list.
  • Global status bar no longer leaks file-browser state onto the dashboard. When an SFTP tab was open in the background and the user switched to Site Manager, the bottom status bar kept showing 75 items (38 directories, 37 files) / /home/wdna. The dashboard view now shows its own summary: N servers · X online · Y offline · Z unchecked on the left and the active filter (group: RAN or search: "foo") on the right.
  • auth/models.py committed. The User.totp_secret / User.totp_enabled columns and the ApiKey model had been in use by auth/routes.py and auth/service.py since the 2FA / API-keys features shipped, but auth/models.py had never been rolled into a commit. A fresh git clone of main failed to start with ImportError: cannot import name 'ApiKey' from 'webgate.auth.models'. Docker Hub and fly.io kept working because those builds happened from the dirty working tree. Committing the file resolves the drift.

Dashboard redesign (triggered by the fix above)

  • Compact cards with hover-reveal secondary actions. Each server row now shows SSH and SFTP by default; Split, Test, Edit, and Del only appear when the row is hovered or selected. Drops per-row visual weight from ~100 px to ~55 px while keeping every action one hover away.
  • Sticky group headers in the sidebar (CORE 12, RAN 20, STAGING 4 …) when "All Groups" is active and the fleet spans multiple groups. Per-card group pills are automatically hidden when the header is showing.
  • Compact / comfortable density toggle ( / in the sidebar header) persisted in localStorage. Roughly doubles the number of servers visible per screen.
  • Server count next to the Servers heading (Servers (43)) and status bar context (group: <name> / search: "<query>").

Docker

docker pull kalexnolasco/webgate:0.5.3   # amd64 + arm64
docker pull kalexnolasco/webgate:latest

Full changelog

https://github.com/kalexnolasco/webgate/blob/v0.5.3/CHANGELOG.md