Before: the header gave no sign of who is logged in; the user name only appeared in the logout button's tooltip.
After: the header shows the user name next to the logout button, with a small "OIDC" (accent colour) or "local" badge. When authentication is off it shows "(no auth)" in grey.
How: frontend only. /auth/me already returns mode and user in every mode (none comes from the guard), so app.js fills a new #whoami element from it. Long names are cut with an ellipsis (18 characters, 12 on phones).
Checked: go vet, go build, go test -race; header rendered for the three cases in a static preview.
<!-- ccr-projects-attribution: {"github_login":"vblogio"} -->
_Requested by **Cédric**_
Before: the header gave no sign of who is logged in; the user name only appeared in the logout button's tooltip.
After: the header shows the user name next to the logout button, with a small "OIDC" (accent colour) or "local" badge. When authentication is off it shows "(no auth)" in grey.
How: frontend only. `/auth/me` already returns `mode` and `user` in every mode (`none` comes from the guard), so `app.js` fills a new `#whoami` element from it. Long names are cut with an ellipsis (18 characters, 12 on phones).
Checked: go vet, go build, go test -race; header rendered for the three cases in a static preview.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Requested by Cédric
Before: the header gave no sign of who is logged in; the user name only appeared in the logout button's tooltip.
After: the header shows the user name next to the logout button, with a small "OIDC" (accent colour) or "local" badge. When authentication is off it shows "(no auth)" in grey.
How: frontend only.
/auth/mealready returnsmodeanduserin every mode (nonecomes from the guard), soapp.jsfills a new#whoamielement from it. Long names are cut with an ellipsis (18 characters, 12 on phones).Checked: go vet, go build, go test -race; header rendered for the three cases in a static preview.
🤖 Generated with Claude Code
Pull request closed