Skip to content

v2.8.0 — i18n phase 2 + Views v shortcut

Choose a tag to compare

@vurulkan vurulkan released this 05 Oct 06:56
· 39 commits to main since this release

v2.8.0 — i18n phase 2 + Views v shortcut + Login locale switcher

Three polish wins. All frontend, no schema change.

Views keyboard navigation (v)

  • Press v anywhere to open the Saved Views dropdown.
  • Inside the menu: 1-9 picks a view by index, ↑/↓ moves focus,
    Enter restores the focused view, Esc closes. Each row shows its
    1..9 prefix as a kbd so the shortcut is self-explanatory. Shortcut is
    suspended while the "name this view" input is open so typing a digit in a
    name doesn't accidentally restore a view.

LoginPage locale switcher

  • LocaleSwitcher pinned to the top-right of the login screen so a user on a
    TR browser lands on TR on an EN-defaulted deploy without logging in to
    flip the toggle.
  • Default locale behavior is unchanged: localStorage pick wins, otherwise
    navigator.language is used, otherwise EN.

i18n phase 2 — TR covers more of the surface

Dictionary expansion with full EN + TR translations for:

  • LoginPage (headline, subheadline, stats, username/password placeholders,
    Microsoft button, footer, failure message).
  • ChangePasswordPage (headers, labels, validation copy).
  • Dashboard status badges: Running / Available / Progressing / Scaled to
    0 / Ready N/M / Succeeded / Failed · N / Pending / No nodes / Suspended /
    Active.
  • Dashboard action buttons: Logs / Events / YAML / Scale / Restart /
    Shell / Data.
  • Dashboard empty states, auto-refresh pill, "no namespace" fallback,
    scale modal, restart confirm.
  • LiveEventsPanel: title, status (streaming / disconnected), filter
    (All / K8s events / Warnings), pause / resume / clear tooltips.
  • SavedViewsMenu: button label, dropdown title, empty state, save prompt
    input placeholder.
  • AdminPage: SectionCard titles for every sub-tab (Role Permissions,
    LDAP Configuration, Azure AD Configuration, Session Settings, Audit Logs,
    Sessions), "New user" drawer title, Classic/New view toggle links.
  • RolePermissionsPanel: panel description, role sidebar search +
    "No roles", "No description" placeholder, "Copy from role" / "Add
    permissions" buttons, GrantCard ⋯ menu (Edit permissions… / Duplicate to
    another namespace… / Clear card), "all clusters" badge, empty state.
  • Keyboard cheat sheet: all group titles AND row descriptions localised.

Deferred to phase 3

The deeper admin forms (LDAP body, Azure AD body, Customization,
table column headers, individual action-modal copy) remain in English
for this release. The i18n infrastructure now lives inside those files, so
further translation is a per-string change rather than a restructure.

Upgrade

docker pull ghcr.io/vurulkan/kubernetes-openconsole:2.8.0
docker rm -f openconsole && \
  docker run -d --name openconsole -p 8080:8080 -e DATA_PATH=/tmp/app.db \
    ghcr.io/vurulkan/kubernetes-openconsole:2.8.0

No schema change, no backend-contract change.