claude-home 1.7.2 → 1.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/public/index.html +36 -20
package/package.json
CHANGED
package/public/index.html
CHANGED
|
@@ -2022,12 +2022,6 @@
|
|
|
2022
2022
|
</template>
|
|
2023
2023
|
<span class="nav-count" x-show="activeSessions.length === 0" x-text="totalSessions"></span>
|
|
2024
2024
|
</div>
|
|
2025
|
-
<!-- Active project name under Sessions -->
|
|
2026
|
-
<template x-if="activeSessions.length > 0">
|
|
2027
|
-
<div @click="view='sessions';selectedSession=null" style="padding:0 18px 8px 41px;cursor:pointer;margin-top:-4px">
|
|
2028
|
-
<span style="font-size:10.5px;color:var(--red);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:160px" x-text="(activeSessions[0].projectPath ? shortProjectName(activeSessions[0].projectPath) : null) || activeSessions[0].projectDir.replace(/^-/,'').replace(/--/g,'/').split('/').pop()"></span>
|
|
2029
|
-
</div>
|
|
2030
|
-
</template>
|
|
2031
2025
|
<div class="nav-item" :class="{ active: view === 'plans' }" @click="view='plans';selectedSession=null;loadPlans()">
|
|
2032
2026
|
<span class="nav-icon">
|
|
2033
2027
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke-width="1.5">
|
|
@@ -2038,17 +2032,6 @@
|
|
|
2038
2032
|
Plans
|
|
2039
2033
|
<span class="nav-count" x-show="plans.length>0" x-text="plans.length"></span>
|
|
2040
2034
|
</div>
|
|
2041
|
-
<div class="nav-item" :class="{ active: view === 'notes' }" x-show="showNotes" @click="view='notes';selectedSession=null;loadPersonalNotes()">
|
|
2042
|
-
<span class="nav-icon">
|
|
2043
|
-
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke-width="1.5" stroke="currentColor">
|
|
2044
|
-
<path d="M3 2h8l3 3v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z"/>
|
|
2045
|
-
<polyline points="11 2 11 5 14 5"/>
|
|
2046
|
-
<line x1="5" y1="7" x2="11" y2="7"/><line x1="5" y1="10" x2="9" y2="10"/>
|
|
2047
|
-
</svg>
|
|
2048
|
-
</span>
|
|
2049
|
-
Journal
|
|
2050
|
-
<span class="nav-count" x-show="personalNotes.length>0" x-text="personalNotes.length"></span>
|
|
2051
|
-
</div>
|
|
2052
2035
|
</div>
|
|
2053
2036
|
<div class="nav-divider"></div>
|
|
2054
2037
|
<div class="nav-section">
|
|
@@ -2137,12 +2120,12 @@
|
|
|
2137
2120
|
</div>
|
|
2138
2121
|
</div>
|
|
2139
2122
|
|
|
2140
|
-
<template x-if="showToday">
|
|
2123
|
+
<template x-if="showToday || showInsights || showNotes">
|
|
2141
2124
|
<div>
|
|
2142
2125
|
<div class="nav-divider"></div>
|
|
2143
2126
|
<div class="nav-section-label">Widgets</div>
|
|
2144
2127
|
<div class="nav-section">
|
|
2145
|
-
<div class="nav-item nav-widget" :class="{ active: view === 'today' }" @click="view='today';selectedSession=null;loadToday()">
|
|
2128
|
+
<div x-show="showToday" class="nav-item nav-widget" :class="{ active: view === 'today' }" @click="view='today';selectedSession=null;loadToday()">
|
|
2146
2129
|
<span class="nav-icon">
|
|
2147
2130
|
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5">
|
|
2148
2131
|
<rect x="2" y="2" width="12" height="12" rx="1"/>
|
|
@@ -2154,6 +2137,27 @@
|
|
|
2154
2137
|
Today
|
|
2155
2138
|
<span class="nav-count" x-show="todayData && todayData.tasks.filter(t=>!t.done).length > 0" x-text="todayData ? todayData.tasks.filter(t=>!t.done).length : ''"></span>
|
|
2156
2139
|
</div>
|
|
2140
|
+
<div x-show="showInsights" class="nav-item nav-widget" :class="{ active: view === 'dashboard' }" @click="view='dashboard';selectedSession=null;loadStats();loadInsights()">
|
|
2141
|
+
<span class="nav-icon">
|
|
2142
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5">
|
|
2143
|
+
<rect x="2" y="8" width="3" height="6" rx="0.5"/>
|
|
2144
|
+
<rect x="6.5" y="5" width="3" height="9" rx="0.5"/>
|
|
2145
|
+
<rect x="11" y="2" width="3" height="12" rx="0.5"/>
|
|
2146
|
+
</svg>
|
|
2147
|
+
</span>
|
|
2148
|
+
Analytics
|
|
2149
|
+
</div>
|
|
2150
|
+
<div x-show="showNotes" class="nav-item nav-widget" :class="{ active: view === 'notes' }" @click="view='notes';selectedSession=null;loadPersonalNotes()">
|
|
2151
|
+
<span class="nav-icon">
|
|
2152
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" stroke-width="1.5" stroke="currentColor">
|
|
2153
|
+
<path d="M3 2h8l3 3v9a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z"/>
|
|
2154
|
+
<polyline points="11 2 11 5 14 5"/>
|
|
2155
|
+
<line x1="5" y1="7" x2="11" y2="7"/><line x1="5" y1="10" x2="9" y2="10"/>
|
|
2156
|
+
</svg>
|
|
2157
|
+
</span>
|
|
2158
|
+
Journal
|
|
2159
|
+
<span class="nav-count" x-show="personalNotes.length>0" x-text="personalNotes.length"></span>
|
|
2160
|
+
</div>
|
|
2157
2161
|
</div>
|
|
2158
2162
|
</div>
|
|
2159
2163
|
</template>
|
|
@@ -5296,6 +5300,16 @@
|
|
|
5296
5300
|
<div style="font-size:11px;color:var(--ink-3);margin-top:3px">Show the Today task list in the navigation.</div>
|
|
5297
5301
|
</div>
|
|
5298
5302
|
</div>
|
|
5303
|
+
<div class="config-row">
|
|
5304
|
+
<div class="config-key">Show Analytics</div>
|
|
5305
|
+
<div class="config-val">
|
|
5306
|
+
<label style="display:flex;align-items:center;gap:6px;cursor:pointer">
|
|
5307
|
+
<input type="checkbox" x-model="showInsights" @change="localStorage.setItem('cs:showInsights', showInsights); if(!showInsights && view==='dashboard') view='sessions'; if(!showInsights && defaultView==='dashboard') { defaultView=''; localStorage.setItem('cs:defaultView','') }" />
|
|
5308
|
+
<span style="font-size:12px;color:var(--ink-2)" x-text="showInsights ? 'Visible' : 'Hidden'"></span>
|
|
5309
|
+
</label>
|
|
5310
|
+
<div style="font-size:11px;color:var(--ink-3);margin-top:3px">Show Analytics (Insights) in the Widgets section.</div>
|
|
5311
|
+
</div>
|
|
5312
|
+
</div>
|
|
5299
5313
|
<div class="config-row">
|
|
5300
5314
|
<div class="config-key">Show Journal</div>
|
|
5301
5315
|
<div class="config-val">
|
|
@@ -5311,7 +5325,7 @@
|
|
|
5311
5325
|
<div class="config-val" style="flex:1">
|
|
5312
5326
|
<select class="settings-input" x-model="defaultView" @change="localStorage.setItem('cs:defaultView', defaultView)">
|
|
5313
5327
|
<option value="">Remember last section</option>
|
|
5314
|
-
<option value="dashboard">
|
|
5328
|
+
<template x-if="showInsights"><option value="dashboard">Analytics</option></template>
|
|
5315
5329
|
<option value="sessions">Sessions</option>
|
|
5316
5330
|
<template x-if="showToday"><option value="today">Today</option></template>
|
|
5317
5331
|
<option value="plans">Plans</option>
|
|
@@ -6489,6 +6503,7 @@
|
|
|
6489
6503
|
knowledgeTab: 'memory',
|
|
6490
6504
|
setupTab: 'commands',
|
|
6491
6505
|
showToday: localStorage.getItem('cs:showToday') !== 'false',
|
|
6506
|
+
showInsights: localStorage.getItem('cs:showInsights') !== 'false',
|
|
6492
6507
|
showNotes: localStorage.getItem('cs:showNotes') !== 'false',
|
|
6493
6508
|
defaultView: localStorage.getItem('cs:defaultView') || '',
|
|
6494
6509
|
|
|
@@ -6547,6 +6562,7 @@
|
|
|
6547
6562
|
const hiddenViews = [
|
|
6548
6563
|
!this.showToday && 'today',
|
|
6549
6564
|
!this.showNotes && 'notes',
|
|
6565
|
+
!this.showInsights && 'dashboard',
|
|
6550
6566
|
].filter(Boolean);
|
|
6551
6567
|
if (startView && !hiddenViews.includes(startView)) this.view = startView;
|
|
6552
6568
|
else if (hiddenViews.includes(startView)) this.view = 'sessions';
|