@codemem/server 0.45.0 → 0.46.0-alpha.2

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/static/app.js.br CHANGED
Binary file
package/static/app.js.gz CHANGED
Binary file
package/static/index.html CHANGED
@@ -142,6 +142,7 @@
142
142
  border-radius: 50%;
143
143
  flex-shrink: 0;
144
144
  }
145
+ .health-dot.status-unknown { background: var(--text-muted); box-shadow: 0 0 0 3px var(--surface-2); }
145
146
  .health-dot.status-healthy { background: var(--status-healthy); box-shadow: 0 0 0 3px var(--accent-subtle); }
146
147
  .health-dot.status-degraded { background: var(--status-degraded); box-shadow: 0 0 0 3px var(--accent-warm-subtle); }
147
148
  .health-dot.status-attention { background: var(--status-attention); box-shadow: 0 0 0 3px rgba(255, 122, 80, 0.18); animation: pulse var(--duration-pulse) var(--ease-standard) infinite; }
@@ -831,6 +832,10 @@
831
832
  stroke: var(--accent);
832
833
  opacity: 0.6;
833
834
  }
835
+ .health-icon-slot {
836
+ display: flex;
837
+ flex-shrink: 0;
838
+ }
834
839
 
835
840
  .stat-content {
836
841
  display: flex;
@@ -889,6 +894,9 @@
889
894
  .health-primary.status-healthy .value { color: var(--status-healthy); }
890
895
  .health-primary.status-degraded .value { color: var(--status-degraded); }
891
896
  .health-primary.status-attention .value { color: var(--status-attention); }
897
+ .health-loading-icon {
898
+ animation: viewerLoadingSpin var(--duration-attention) linear infinite;
899
+ }
892
900
 
893
901
  /* ── Buttons ───────────────────────────────────────────── */
894
902
 
@@ -3413,7 +3421,9 @@
3413
3421
  .diagnostics-secondary-controls { align-items: flex-start; flex-direction: column; }
3414
3422
  }
3415
3423
 
3416
- .legacy-upgrade-modal .modal-card { width: min(620px, 100%); }
3424
+ /* Radix sets pointer-events inline on modal content; keep backdrop clicks on the overlay. */
3425
+ .legacy-upgrade-modal { pointer-events: none !important; }
3426
+ .legacy-upgrade-modal .modal-card { width: min(620px, 100%); pointer-events: auto; }
3417
3427
  .legacy-upgrade-summary {
3418
3428
  padding: var(--sp-3);
3419
3429
  border: 1px solid color-mix(in srgb, var(--accent-warm) 28%, var(--border));
@@ -3655,9 +3665,9 @@
3655
3665
  border-radius: 50%;
3656
3666
  border: 2px solid color-mix(in srgb, var(--accent) 22%, transparent);
3657
3667
  border-top-color: var(--accent);
3658
- animation: reconnectSpin var(--duration-attention) linear infinite;
3668
+ animation: viewerLoadingSpin var(--duration-attention) linear infinite;
3659
3669
  }
3660
- @keyframes reconnectSpin {
3670
+ @keyframes viewerLoadingSpin {
3661
3671
  from { transform: rotate(0deg); }
3662
3672
  to { transform: rotate(360deg); }
3663
3673
  }
@@ -4210,6 +4220,10 @@
4210
4220
  }
4211
4221
 
4212
4222
  @media (prefers-reduced-motion: reduce) {
4223
+ .health-loading-icon,
4224
+ .viewer-reconnect-spinner {
4225
+ animation: none;
4226
+ }
4213
4227
  *, *::before, *::after {
4214
4228
  animation-duration: 0.01ms !important;
4215
4229
  animation-iteration-count: 1 !important;
@@ -4232,7 +4246,7 @@
4232
4246
  </svg>
4233
4247
  </span>
4234
4248
  <span class="header-title">codemem</span>
4235
- <span class="health-dot status-healthy" id="healthDot" title="Healthy"></span>
4249
+ <span class="health-dot status-unknown" id="healthDot" title="Open Health to check status"></span>
4236
4250
  </div>
4237
4251
  <span class="refresh-status" id="refreshStatus" data-refresh-state="refreshing">refreshing…</span>
4238
4252
  <span class="sr-only" id="refreshAnnouncer" aria-live="polite"></span>
@@ -4286,48 +4300,7 @@
4286
4300
  </div>
4287
4301
  </div>
4288
4302
 
4289
- <div class="modal-backdrop" id="legacyUpgradeModalBackdrop" hidden></div>
4290
- <div
4291
- aria-describedby="legacyUpgradeDescription legacyUpgradeSummary"
4292
- aria-labelledby="legacyUpgradeTitle"
4293
- aria-modal="true"
4294
- class="modal legacy-upgrade-modal"
4295
- hidden
4296
- id="legacyUpgradeModal"
4297
- role="dialog"
4298
- >
4299
- <div class="modal-card">
4300
- <div class="modal-header">
4301
- <h2 id="legacyUpgradeTitle">Choose where older shared memories belong</h2>
4302
- </div>
4303
- <div class="modal-body">
4304
- <div class="small" id="legacyUpgradeDescription">
4305
- Some memories were shared before codemem had clear Sharing domains. We kept them out
4306
- of normal sync until you choose which project/domain they belong to.
4307
- </div>
4308
- <div class="legacy-upgrade-summary" id="legacyUpgradeSummary"></div>
4309
- <div class="small">
4310
- You’ll review projects, not individual memories. Nothing moves automatically, and this
4311
- will not erase copies another device may already have received.
4312
- </div>
4313
- <label class="field-checkbox" for="legacyUpgradeDontShow">
4314
- <input class="cm-checkbox" id="legacyUpgradeDontShow" type="checkbox" />
4315
- <span>Don’t show this again</span>
4316
- </label>
4317
- </div>
4318
- <div class="modal-footer">
4319
- <div class="legacy-upgrade-actions">
4320
- <button class="settings-button" id="legacyUpgradeReviewProjects" type="button">
4321
- Manage all projects
4322
- </button>
4323
- <button class="settings-button" id="legacyUpgradeNotNow" type="button">Not now</button>
4324
- <button class="settings-save" id="legacyUpgradeReviewGroups" type="button">
4325
- Start review
4326
- </button>
4327
- </div>
4328
- </div>
4329
- </div>
4330
- </div>
4303
+ <div id="legacyUpgradeDialogMount"></div>
4331
4304
 
4332
4305
  <!-- ── Settings modal ──────────────────────────────────── -->
4333
4306
  <div id="settingsDialogMount"></div>
@@ -4544,7 +4517,7 @@
4544
4517
  <h2>System health</h2>
4545
4518
  <button class="settings-button" id="healthOpenDiagnostics" type="button">View diagnostics</button>
4546
4519
  </div>
4547
- <div class="section-meta" id="healthMeta">Assessing health signals…</div>
4520
+ <div class="section-meta" id="healthMeta" role="status" aria-live="polite" aria-atomic="true">Assessing health signals…</div>
4548
4521
  <div class="health-actions" id="healthActions"></div>
4549
4522
  <div class="grid-2" id="healthGrid"></div>
4550
4523
  </div>
@@ -4805,6 +4778,6 @@
4805
4778
  </div>
4806
4779
  </div>
4807
4780
 
4808
- <script src="/assets/app.js?v=7f401beb8c81"></script>
4781
+ <script src="/assets/app.js?v=38689c7c378b"></script>
4809
4782
  </body>
4810
4783
  </html>