mirror of
https://github.com/stellarshenson/stellars-jupyterhub-ds.git
synced 2026-03-07 21:50:28 +00:00
refactor: simplify Activity column header
Removed "(7 days)" suffix from Activity column header in activity.html. The retention period is a configuration detail, not needed in the UI.
This commit is contained in:
@@ -245,4 +245,7 @@ This journal tracks substantive work on documents, diagrams, and documentation c
|
||||
**Result**: Updated JUPYTERHUB_ACTIVITYMON_HALF_LIFE default across Dockerfile, custom_handlers.py (DEFAULT_HALF_LIFE constant), activity_sampler.py (code and docstring), settings_dictionary.yml, and README.md. With 48h half-life, a sample from 48 hours ago has 50% weight, providing smoother decay for activity scoring
|
||||
|
||||
81. **Task - Volume size tooltip with breakdown**: Added hover tooltip showing per-volume sizes<br>
|
||||
**Result**: Modified `_fetch_volume_sizes()` to return `{encoded_username: {"total": float, "volumes": {suffix: float}}}` structure with per-volume breakdown (home, workspace, cache). Updated `ActivityDataHandler` to pass `volume_breakdown` dict to frontend. Enhanced `formatVolumeSize()` in activity.html to display tooltip on hover showing individual volume sizes (e.g., "cache: 500 MB\nhome: 1.2 GB\nworkspace: 3.5 GB"). Volume size displays dotted underline to indicate tooltip availability
|
||||
**Result**: Modified `_fetch_volume_sizes()` to return `{encoded_username: {"total": float, "volumes": {suffix: float}}}` structure with per-volume breakdown (home, workspace, cache). Updated `ActivityDataHandler` to pass `volume_breakdown` dict to frontend. Enhanced `formatVolumeSize()` in activity.html to display tooltip on hover showing individual volume sizes (e.g., "cache: 500 MB\nhome: 1.2 GB\nworkspace: 3.5 GB"). Volume size displays dotted underline to indicate tooltip availability. Volume names are dynamically extracted from Docker - any extra user volumes are automatically included
|
||||
|
||||
82. **Task - Simplify Activity column header**: Removed retention period from column title<br>
|
||||
**Result**: Changed Activity column header from "Activity (7 days)" to just "Activity" in activity.html
|
||||
|
||||
@@ -3,7 +3,7 @@ PROJECT_NAME="stellars-jupyterhub-ds"
|
||||
PROJECT_DESCRIPTION="Multi-user JupyterHub 4 deployment platform with data science stack, GPU auto-detection, NativeAuthenticator, and isolated per-user environments spawned via DockerSpawner"
|
||||
|
||||
# Version
|
||||
VERSION="3.7.15_cuda-13.0.2_jh-5.4.2"
|
||||
VERSION="3.7.16_cuda-13.0.2_jh-5.4.2"
|
||||
VERSION_COMMENT="Activity Monitor: admin page with 3-state status, activity scoring, reset functionality"
|
||||
RELEASE_TAG="RELEASE_3.2.11"
|
||||
RELEASE_DATE="2025-11-09"
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
<th class="col-volumes text-center sortable" data-sort="volume_size_mb">Volumes <span class="sort-icon"></span></th>
|
||||
<th class="col-timeleft text-center sortable" data-sort="time_remaining_seconds">Time Left <span class="sort-icon"></span></th>
|
||||
<th class="col-lastactive sortable" data-sort="last_activity">Last Active <span class="sort-icon"></span></th>
|
||||
<th class="col-activity sortable" data-sort="activity_score">Activity (7 days) <span class="sort-icon"></span></th>
|
||||
<th class="col-activity sortable" data-sort="activity_score">Activity <span class="sort-icon"></span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="activity-table-body">
|
||||
|
||||
Reference in New Issue
Block a user