arjun10g commited on
Commit
713f759
·
1 Parent(s): b9a593c

Hide AI features (no proxy configured)

Browse files
Files changed (1) hide show
  1. index.html +12 -9
index.html CHANGED
@@ -28,6 +28,9 @@
28
  background: rgb(23, 23, 23);
29
  color: rgb(229, 229, 229);
30
  }
 
 
 
31
  </style>
32
  <script type="module" crossorigin src="./assets/index-QsYxV-23.js"></script>
33
  </head>
@@ -159,7 +162,7 @@
159
  </button>
160
  <button
161
  id="explain"
162
- class="px-3 py-1.5 rounded-lg bg-indigo-600 hover:bg-indigo-500 text-sm font-medium transition-colors"
163
  >
164
  Why?
165
  </button>
@@ -192,7 +195,7 @@
192
  <span id="record-label">Record</span>
193
  </button>
194
  </div>
195
- <div class="flex items-center gap-2 ml-auto">
196
  <label
197
  for="window-slider"
198
  class="text-xs text-neutral-400 select-none"
@@ -216,7 +219,7 @@
216
  </div>
217
  </section>
218
 
219
- <section class="mt-6">
220
  <h2
221
  class="text-xs font-semibold uppercase tracking-[0.18em] text-neutral-500 mb-2 px-1"
222
  >
@@ -450,7 +453,7 @@
450
  </ul>
451
  </section>
452
 
453
- <section>
454
  <h3 class="font-semibold text-neutral-100 mb-1.5">
455
  3. Ask the AI
456
  </h3>
@@ -482,9 +485,9 @@
482
  <ul class="space-y-1.5 text-neutral-300">
483
  <li>
484
  <kbd>Record</kbd> — captures a clip of session data (max
485
- 10 minutes). After stopping, click
486
- <kbd>Discuss recording</kbd> to have the AI analyze the
487
- whole clip.
488
  </li>
489
  <li>
490
  <kbd>Export</kbd> — downloads the session timeline as a JSON
@@ -533,10 +536,10 @@
533
  >
534
  <h3 class="font-semibold text-emerald-200 mb-1">Privacy</h3>
535
  <p class="text-emerald-100/90 text-xs leading-relaxed">
536
- Webcam frames stay on this device. Only numerical features
537
  (blendshapes, calibrated probabilities, valence / arousal)
538
  are sent to the AI, and only when you click Why? / Ask /
539
- Summarize. Personal templates and saved recordings live only
540
  in this browser tab; the storage opt-in is off by default.
541
  </p>
542
  </section>
 
28
  background: rgb(23, 23, 23);
29
  color: rgb(229, 229, 229);
30
  }
31
+ /* When AI proxy isn't configured, hide every AI-related affordance.
32
+ Toggle via body.no-ai class set in main.ts at startup. */
33
+ body.no-ai .ai-feature { display: none !important; }
34
  </style>
35
  <script type="module" crossorigin src="./assets/index-QsYxV-23.js"></script>
36
  </head>
 
162
  </button>
163
  <button
164
  id="explain"
165
+ class="ai-feature px-3 py-1.5 rounded-lg bg-indigo-600 hover:bg-indigo-500 text-sm font-medium transition-colors"
166
  >
167
  Why?
168
  </button>
 
195
  <span id="record-label">Record</span>
196
  </button>
197
  </div>
198
+ <div class="ai-feature flex items-center gap-2 ml-auto">
199
  <label
200
  for="window-slider"
201
  class="text-xs text-neutral-400 select-none"
 
219
  </div>
220
  </section>
221
 
222
+ <section class="ai-feature mt-6">
223
  <h2
224
  class="text-xs font-semibold uppercase tracking-[0.18em] text-neutral-500 mb-2 px-1"
225
  >
 
453
  </ul>
454
  </section>
455
 
456
+ <section class="ai-feature">
457
  <h3 class="font-semibold text-neutral-100 mb-1.5">
458
  3. Ask the AI
459
  </h3>
 
485
  <ul class="space-y-1.5 text-neutral-300">
486
  <li>
487
  <kbd>Record</kbd> — captures a clip of session data (max
488
+ 10 minutes).<span class="ai-feature">
489
+ After stopping, click <kbd>Discuss recording</kbd> to have
490
+ the AI analyze the whole clip.</span>
491
  </li>
492
  <li>
493
  <kbd>Export</kbd> — downloads the session timeline as a JSON
 
536
  >
537
  <h3 class="font-semibold text-emerald-200 mb-1">Privacy</h3>
538
  <p class="text-emerald-100/90 text-xs leading-relaxed">
539
+ Webcam frames stay on this device. <span class="ai-feature">Only numerical features
540
  (blendshapes, calibrated probabilities, valence / arousal)
541
  are sent to the AI, and only when you click Why? / Ask /
542
+ Summarize. </span>Personal templates and saved recordings live only
543
  in this browser tab; the storage opt-in is off by default.
544
  </p>
545
  </section>