DEV Community

Cover image for OpenSparrow v4.7 adds a theme toggle, My history panel and nine new UI locale
Tomasz
Tomasz

Posted on

OpenSparrow v4.7 adds a theme toggle, My history panel and nine new UI locale

OpenSparrow v4.7 brings a light / dark / system theme, a "My history" panel with your recent record clicks, a Files tab that only appears where it makes sense, and nine new languages (29 in total) — one upgrade, no migration.

A theme that follows you

The avatar menu now carries a Theme button cycling Light → Dark → System. The choice is remembered per browser, and System tracks your OS setting live — flip the device to dark and the app follows without a reload. A tiny bootstrap script applies the theme before the stylesheet loads, so dark-mode users no longer start every page with a white flash.

Dark theme

Under the hood it is one set of design tokens: dark mode simply redefines the same CSS variables, so every screen — grid, board, calendar, forms — adapts automatically. The header got its own token so it stays deep navy in both themes, and the record tables (files, record history, subtables) now shade their header, zebra and hover rows through theme-aware tokens instead of hard-coded light greys.

My history: your clicks, your records

Click Statistics used to be an admin-only view. Now every user gets their own slice: My history in the avatar menu lists your latest 100 recorded clicks that carry a record link — the table icon, a link straight to the record, and the time.

My history

It is strictly personal (you only ever see your own clicks), read-only, and open to every signed-in role, viewers included. It also keeps working while collection is disabled, because it reflects what was already stored.

A quieter edit form

The edit form used to show a Files tab on every record, even for tables where uploads are never linked. The tab now appears only for tables configured as relation targets in Files → Record relations — fewer empty tabs, fewer dead ends, and no way to attach a file to a table that cannot hold it.

Nine new languages

Dutch, Finnish, Icelandic, Norwegian Bokmål, Japanese, Korean, Simplified Chinese, Russian and Ukrainian join the bundle — 29 locales in total. The hard part was never the words but the grammar: Russian and Ukrainian get three plural forms where English needs two, while Japanese, Korean and Chinese happily live with one. Everything is auto-discovered from the languages folder; a region-suffixed locale such as zh-CN switches manually via ?lang=zh-CN.

Also in this release

  • Documentation — admin docs, RAG samples and maintenance notes refreshed for the new features and locales.
  • No migration, no removals — the theme lives in the browser, My history reads the existing spw_clickstats table, and the new locales drop in as plain files.

Following this series?

OpenSparrow v4.6 adds per-table write permissions and record history

Websites

https://opensparrow.org

Top comments (0)