Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS
JavaScript ai-agentsdashboarddeveloper-toolsdigital-twinquantified-selfsecond-brainself-hostedtailscale
fix: show day of week labels in alcohol data table entries
Adam Eivy2dc53fd4c583
diff --git a/.changelog/v1.11.x.md b/.changelog/v1.11.x.mdindex 491b76aff6..a8145f0627 100644--- a/.changelog/v1.11.x.md+++ b/.changelog/v1.11.x.md@@ -13,6 +13,10 @@ Alcohol data table: view and edit all imported drink entries with inline editing- **Update drink API**: `PUT /api/meatspace/alcohol/log/:date/:index` with partial update schema (any combination of name, oz, abv, count)- 3 new tests for drink update logic with standard drink recalculation verification+## Improvements++- **Day of week labels** in alcohol data table — each date group shows abbreviated day (M, T, W, TH, F, Sat, Sun) for quick pattern recognition+## Removed- **Mercury exposure tracking** removed from nutrition dashboard, TSV import, health service, and daily log datadiff --git a/client/src/components/meatspace/tabs/AlcoholTab.jsx b/client/src/components/meatspace/tabs/AlcoholTab.jsxindex 4de66b82df..c9c66107dc 100644--- a/client/src/components/meatspace/tabs/AlcoholTab.jsx+++ b/client/src/components/meatspace/tabs/AlcoholTab.jsx@@ -28,6 +28,12 @@ const RISK_BG = {};const DAYS_PER_PAGE = 50;+const DAY_LABELS = ['Sun', 'M', 'T', 'W', 'TH', 'F', 'Sat'];++function dayOfWeek(dateStr) {+ const [y, m, d] = dateStr.split('-').map(Number);+ return DAY_LABELS[new Date(y, m - 1, d).getDay()];+}function computeStdDrinks(oz, abv, count) {const pureOz = (oz || 0) * (count || 1) * ((abv || 0) / 100);@@ -327,6 +333,7 @@ export default function AlcoholTab() {<td className="px-3 py-1.5">{idx === 0 ? (<div>+ <span className="text-gray-500 text-xs w-7 inline-block">{dayOfWeek(entry.date)}</span><span className="text-gray-300 font-medium">{entry.date}</span><span className={`ml-2 text-xs font-bold ${entry.alcohol.standardDrinks > (summary?.thresholds?.dailyMax || 2) ? 'text-port-error' : 'text-port-accent'diff --git a/package-lock.json b/package-lock.jsonindex e8c8b84619..974af7fd24 100644--- a/package-lock.json+++ b/package-lock.json@@ -1,12 +1,12 @@{"name": "portos",- "version": "1.11.0",+ "version": "1.11.1","lockfileVersion": 3,"requires": true,"packages": {"": {"name": "portos",- "version": "1.11.0",+ "version": "1.11.1","license": "MIT","dependencies": {"express": "^4.21.2",diff --git a/package.json b/package.jsonindex d13d3acc0d..20ca2ae3db 100644--- a/package.json+++ b/package.json@@ -1,6 +1,6 @@{"name": "portos",- "version": "1.11.0",+ "version": "1.11.1","private": true,"description": "Local dev machine App OS portal","author": "Adam Eivy (@antic|@atomantic)",