You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: auto-detect username from git/environment for write operations
Implements automatic username detection to eliminate annoying prompts
when performing write operations in the web UI.
Server-side changes:
- Added detectUsername() function that checks git config user.name,
then environment variables (USER, USERNAME, LOGNAME)
- Falls back to "web-user" if no username found
- Username detected once at startup and passed to all templates
Frontend changes:
- Added initUsername() function to store server-provided username
in localStorage (beady-username key)
- Updated all 6 templates to initialize username on page load
- Removed old prompt-based username collection from detail.html
and issue_form.html
User experience:
- No prompts required - username auto-detected from git config
- Persistent across sessions via localStorage
- Consistent with git commit attribution
Closes beady-41
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .beads/issues.jsonl
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@
31
31
{"id":"beady-39","content_hash":"83323d4a564a2d5a6dee4fa1745799b49e40511e35a7edece9451c5dd53e7d3a","title":"Add ui indicator when the server has shutdown or we've lost communication with it. (by changing text of [shutdown] button?)","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-30T16:47:20.7858358-07:00","updated_at":"2025-10-30T21:01:02.2387539-07:00","closed_at":"2025-10-30T21:01:02.2387539-07:00"}
{"id":"beady-40","content_hash":"a74b3d492cd1b9a62ea8daf00035eae2d01fa5226ed53c1e61db1e2c4e9da2c4","title":"stats cards across top of page are too big. Put into a small table. Then merge the Status filter into the table, so that clicking on Open filters for open, etc.","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-30T19:13:37.8779173-07:00","updated_at":"2025-10-30T20:46:24.8738872-07:00","closed_at":"2025-10-30T20:46:24.8738872-07:00"}
34
-
{"id":"beady-41","content_hash":"28059053bf188d7255201b93cb723027990c9f2c44e66ab6f37dfdce892891d6","title":"for write ops, ask browser for user name for attribution instead of throwing up a prompt","description":"","status":"open","priority":2,"issue_type":"task","created_at":"2025-10-31T08:31:58.9882993-07:00","updated_at":"2025-10-31T08:31:58.9882993-07:00"}
34
+
{"id":"beady-41","content_hash":"28059053bf188d7255201b93cb723027990c9f2c44e66ab6f37dfdce892891d6","title":"for write ops, ask browser for user name for attribution instead of throwing up a prompt","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-31T08:31:58.9882993-07:00","updated_at":"2025-10-31T08:55:19.9522669-07:00","closed_at":"2025-10-31T08:55:19.9522669-07:00"}
35
35
{"id":"beady-5","content_hash":"6a2f7cc5014cb2480a54c9acd9f26e16ccad8a47773e88655db48b9638fd7445","title":"add feature: live reload","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-23T02:50:14.475464102-07:00","updated_at":"2025-10-26T19:44:25.3404749-07:00","closed_at":"2025-10-23T03:25:18.353531264-07:00"}
36
36
{"id":"beady-7","content_hash":"5b2e3098e3a7f4363fc8f2d647f97a3ec5b9f8a4525fd406745fd8645dbe82a2","title":"missing templates causing panic in dev mode","description":"","status":"closed","priority":0,"issue_type":"bug","created_at":"2025-10-24T05:38:00.486024544-07:00","updated_at":"2025-10-26T19:44:25.3450313-07:00","closed_at":"2025-10-24T05:42:56.941119818-07:00"}
37
37
{"id":"beady-8","content_hash":"040645dd42eef87c67cb0210f4272e57a3f3322614c9214cd8b924f45abdb5af","title":"why template \u0026 static in root and in cmd/bd-ui? which location is best practice?","description":"","status":"closed","priority":2,"issue_type":"task","created_at":"2025-10-24T05:50:56.38010406-07:00","updated_at":"2025-10-26T19:44:25.34703-07:00","closed_at":"2025-10-24T05:53:33.7105026-07:00"}
0 commit comments