diff --git a/Docs/Sprints/2026-11-03-overnight.md b/Docs/Sprints/2026-11-03-overnight.md index 8bf4435e..37b1424d 100644 --- a/Docs/Sprints/2026-11-03-overnight.md +++ b/Docs/Sprints/2026-11-03-overnight.md @@ -14,8 +14,8 @@ ## Durable queue 1. Completed: B1 ribbon order and regression coverage. -2. In progress: B2 compact Locations drag controls and PWA width. -3. B3 clickable project/book covers and titles. +2. Completed: B2 compact Locations drag controls and PWA width. +3. In progress: B3 clickable project/book covers and titles. 4. B4 investigate and retire obsolete Phase 1 Checklist safely. 5. C shared workspace resizing and maximisation, starting with Relationships reference. 6. D UX audit and repairs. @@ -38,3 +38,11 @@ Verification: `dotnet build PlotLine.slnx` passed (0 warnings/errors); full exec ## Deployment Not deployed. + +### B2 — Locations hierarchy controls + +Replaced the standalone dropdown panel with compact Change parent / Create relationship buttons, published through the existing contextual command bindings under Location hierarchy. Browser toolbar remains immediately above the list. Preserved parent confirmations and relationship editing; persisted mode in local storage with graceful storage failure handling. Removed only the Locations PWA shell width cap. Ribbon proxies now preserve source button help tooltips. + +Verification: solution build passed (0 warnings/errors); location browser regression passed, including keyboard activation, persistence, both drag modes, confirmation/cancellation, invalid targets, concurrent server rejection and scroll preservation. Repaired a stale fixture to read the shared confirmation partial, and explicitly scrolled the dragged source into view after toolbar keyboard use. Full harness rerun in progress. + +B1 commit: 7f19319. diff --git a/PlotLine.Tests/Browser/location-reparent.cjs b/PlotLine.Tests/Browser/location-reparent.cjs index b8a967b7..b4d7b9cc 100644 --- a/PlotLine.Tests/Browser/location-reparent.cjs +++ b/PlotLine.Tests/Browser/location-reparent.cjs @@ -11,13 +11,13 @@ const repo = path.resolve(__dirname, '../..'); page.on('pageerror', error => errors.push(error.message)); await page.route('https://plotdirector.test/**', route => route.fulfill({ contentType: 'text/html', body: '' })); await page.goto('https://plotdirector.test/Locations'); - const layout = fs.readFileSync(path.join(repo, 'PlotLine/Views/Shared/_Layout.cshtml'), 'utf8'); - const modalStart = layout.indexOf('