v0.79.0: disk view keys the "registered" check on the stable path
Follow-up to v0.78.0. The disk-view JS (settings.html regBadge/actions) checked registration by the raw mount_path, but the registry stores the stable path since v0.78.0 — so enrolled drives showed a spurious "Nem regisztrált" badge + Register button. Fix: regKey(d) = d.guest_path || d.mount_path (agent reports the stable guest_path per disk); registerDrive still posts the raw path. Display-only. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017PsnU2ASocYrvzqE82YDYW
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
## Changelog
|
||||
|
||||
### v0.79.0 — disk view: key the "registered" check on the stable path (2026-06-23)
|
||||
- Follow-up to v0.78.0. The storage disk-view JS (`settings.html` `regBadge`/`actions`) decided whether
|
||||
a drive was registered by looking up its **raw** `mount_path` (`/mnt/<name>`) in the registry — but
|
||||
since v0.78.0 the registry correctly stores the **stable** path (`/mnt/felhom-drives/<name>`), so an
|
||||
enrolled, working drive showed a spurious **"Nem regisztrált"** badge + **"Regisztrálás"** button.
|
||||
- Fix: new `regKey(d)` = `d.guest_path || d.mount_path` (the agent already reports the stable
|
||||
`guest_path` per disk); `regBadge`/`actions` now key on it. `registerDrive()` still posts the RAW
|
||||
`mount_path` (the agent operates on raw; `handleStorageRegister` maps it to stable). Display-only.
|
||||
|
||||
### v0.78.0 — storage register: use the STABLE intermediary path, not the raw path (2026-06-23)
|
||||
- **Bug:** `handleStorageRegister` (the "Regisztrálás" action for an already-mounted, unregistered drive)
|
||||
registered the **raw** `/mnt/<name>` host path verbatim, unlike its siblings `runStorageInit`/
|
||||
|
||||
Reference in New Issue
Block a user