diff --git a/.claude/JOURNAL.md b/.claude/JOURNAL.md index d619fd0..bc3dfd8 100644 --- a/.claude/JOURNAL.md +++ b/.claude/JOURNAL.md @@ -267,3 +267,6 @@ This journal tracks substantive work on documents, diagrams, and documentation c 88. **Task - Column tooltips and Auth column**: Added explanatory tooltips to all column headers and authorization status column
**Result**: **Column Tooltips**: Added title attributes to all 9 column headers in activity.html explaining each column's purpose (User="JupyterHub username", Status="Server status: green=active, yellow=idle, red=offline", CPU="Current CPU usage of user container", etc.). **Auth Column**: Added new sortable column after User showing NativeAuthenticator authorization status. Backend queries `users_info` table for `is_authorized` field via SQLAlchemy text query with exception handling for non-NativeAuthenticator setups. Frontend displays green checkmark (fa-check) for authorized users, red X (fa-times) for unauthorized. Added `formatAuth()` function and `getSortValue()` handling for `is_authorized` sorting (authorized=1 > not authorized=0). Added `.col-auth` CSS class with 4em width. Updated docs/activity-tracking-methodology.md with Auth column in table columns section, added `is_authorized` to API response schema, noted that all column headers have tooltips + +89. **Task - Activity table column fixes**: Fixed Auth column width and Volumes tooltip
+ **Result**: Increased `.col-auth` width from 4em to 5em to prevent "Au..." truncation (now matches Status column width). Changed Volumes column tooltip from "Total size of user volumes (home, workspace, cache)" to "Total size of user volumes (hover for breakdown)" since volume names are autodiscovered and shown in cell tooltip diff --git a/services/jupyterhub/html_templates_enhanced/activity.html b/services/jupyterhub/html_templates_enhanced/activity.html index 74f414d..682cc1e 100644 --- a/services/jupyterhub/html_templates_enhanced/activity.html +++ b/services/jupyterhub/html_templates_enhanced/activity.html @@ -45,7 +45,7 @@ Status CPU Memory - Volumes + Volumes Time Left Last Active Activity diff --git a/services/jupyterhub/html_templates_enhanced/static/custom.css b/services/jupyterhub/html_templates_enhanced/static/custom.css index 35f8783..d30351c 100644 --- a/services/jupyterhub/html_templates_enhanced/static/custom.css +++ b/services/jupyterhub/html_templates_enhanced/static/custom.css @@ -1536,8 +1536,8 @@ textarea.form-control { } .activity-table .col-auth { - width: 4em; - min-width: 4em; + width: 5em; + min-width: 5em; } .activity-table .col-status {