Skip to content

Header: who is signed in, next to the clock (#191) - #192

Merged
UniqueDroid merged 2 commits into
mainfrom
feature/header-user
Nov 20, 2026
Merged

UniqueDroid merged 2 commits into
mainfrom
feature/header-user

Conversation

@UniqueDroid

Copy link
Copy Markdown
Owner

Closes #191 (Rambooka): the web interface showed nowhere which account is signed in.

Change

The admin header gets a small field left of the clock: a person icon and the account name. On narrow screens it moves left with the clock. Jan picked this place from two mock-ups (next to the clock, or in the info line with host, model, version and address).

  • parts/web/layout.js: .clockline holds the name and the clock; the name has data-i18n-skip, so an account called "Admin" or "Media" is never translated.
  • www/shareos.css: .clockline, .who.
  • "Signed in" (title, and a hidden label for screen readers) in all nine languages.
  • The view for users without admin rights is unchanged: it already shows the name in its info line.

Checked in Chromium against tests/mock-ubus.py, 1440 px and 600 px wide. Not tried on a box.

tests/check-i18n.py, tests/check-i18n-coverage.js and tests/static-analysis.sh pass.

CHANGELOG.md (0.3.0-beta.15) is touched by #181 and #189 as well – whichever is merged later gets main merged in.


Generated by Claude Code

The admin view showed nowhere which account is signed in. A small field
with a person icon and the name sits left of the clock; on narrow screens
it moves along with the clock. The name is never translated; 'Signed in'
(title and for screen readers) in all nine languages. The view for users
without admin rights already had the name in its info line.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sb3gb1FHs6DNkZHKinKAJv
# Conflicts:
#	CHANGELOG.md
#	src/shareos-core/www/i18n/ar.json
#	src/shareos-core/www/i18n/bn.json
#	src/shareos-core/www/i18n/de.json
#	src/shareos-core/www/i18n/es.json
#	src/shareos-core/www/i18n/fr.json
#	src/shareos-core/www/i18n/hi.json
#	src/shareos-core/www/i18n/pt.json
#	src/shareos-core/www/i18n/ru.json
#	src/shareos-core/www/i18n/zh.json
#	tools/i18n/ar.tsv
#	tools/i18n/bn.tsv
#	tools/i18n/catalog.json
#	tools/i18n/de.tsv
#	tools/i18n/es.tsv
#	tools/i18n/fr.tsv
#	tools/i18n/hi.tsv
#	tools/i18n/pt.tsv
#	tools/i18n/ru.tsv
#	tools/i18n/zh.tsv
@UniqueDroid
UniqueDroid marked this pull request as ready for review November 20, 2026 09:37
@UniqueDroid
UniqueDroid merged commit 75b907d into main Nov 20, 2026
7 checks passed
@UniqueDroid
UniqueDroid deleted the feature/header-user branch November 20, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Show the Logged in Username on the main status screen

2 participants