From ab1700a843ebd8a1b5397b081392ae083a2aa55f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sat, 16 May 2026 18:42:02 +0200 Subject: [PATCH] fix(onboarding): really stop spotlight tour from blocking the quick-add button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The first attempt at the F2 fix (f9b8f3bd) split the spotlight tour backdrop into four rectangular dim panels around the spotlight rect and opted each one back into pointer-events: auto with its own onClick={handleSkip}. The intent was to keep the spotlighted target clickable while preserving the "tap backdrop to dismiss" affordance. The flaw: tour-step 1 on the dashboard spotlights the tile-strip, which sits in the middle of the page. The header "Add" button sits ABOVE the spotlight. The TOP dim strip (rendered from y=0 down to where the spotlight begins) therefore covered the entire header area, so the very target the F2 audit named — the header Add dropdown — was still being eaten, just by a smaller rectangle. The four-panel split fixed exactly ONE coordinate (inside the spotlight rect) and broke every coordinate outside it that a real user might want to click during the tour: header buttons, the user-menu avatar, sidebar links, the locale switcher. This commit ships the contract that Joyride / Shepherd / Intro.js have all standardised on: the dim is purely visual. The whole tour layer is pointer-events: none; only the tooltip card opts back into hit-testing. The four-panel split survives because it still serves the visual purpose of NOT dimming the spotlighted target, but each panel is now a