Repository navigation
Releases
Releases · qmanning/infospector
v0.5.1 — Item Info stays readable
A small but sharp fix to the panel you use most.
What's new
The Item Info panel is readable over any page now. Select an element and the little box that shows its name, size and selector keeps its crisp, dark, high-contrast look — whether the page you're reviewing is light or dark. Before, a light page behind it would bleed through the glass and wash the text out.
Technical reference
#pt-selboxsat on a mostly-transparent base (rgba(0,0,0,0.25)) under abackdrop-filterblur, so a light page composited through and lifted the effective background until white text lost contrast.- Base is now near-opaque dark navy (
rgba(6,11,20,0.92)) for both the normal and area-selection variants; tint, border and inset highlights are unchanged. CSS only.
v0.4.0
Added
- Rotate button (left of Inspect,
arrow-left-right): swaps the stage's width and height — landscape ↔ portrait. It changes the size only; the canvas never turns.
Changed
- iPhone Duo Inner preset is landscape (2670 × 1878).
Fixed
- Esc pressed while the page has focus now reaches the escape hatch too, so it leaves Inspect (and deselects/closes everything) no matter where the keyboard focus is.
- A click into the page also clears a lingering resize outline.
v0.3.1
Changed
- Esc is a global escape hatch: one press leaves Inspect and peek, deselects, and closes every open popover, menu, sheet, note, and the size/search dropdowns.
Fixed
- The resize outline no longer lingers after a corner drag — it clears on release, on a press anywhere else, and when the window loses focus (and survives a cancelled/interrupted drag).
- Clicking off a selected element (empty canvas, or anywhere outside it) now deselects it and hides the Item Info box; it used to stick until you pressed Esc.
- Clicking a guide or dragging one out of a ruler no longer deselects the element (the wrap guides belong to the selection and were vanishing under the click).
v0.3.0
Added
- Shift+drag while peeking (Inspect off) draws an area selection; Inspect turns on as it lands.
- Clicking anywhere on the canvas (background, rulers, or inside the page) hides open note containers; unsaved text is kept until you reopen the marker.
- Right-click → Start-up: choose the stage size Infospector opens with (Fit to Window by default, Last used, or any preset) and the page it opens; both go into the config snippet (
INFOSPECTOR_START_SIZE). - Pressing Enter on the page already on stage reloads it; loading is now visible.
- Inspect button uses Lucide's
vector-squareicon. - Doctor flags preview deployments behind a login (Vercel/Netlify protection) — the stage can't frame those.
Fixed
- Leaving a note (from an element, a guide, or a gap readout) now focuses the textarea so you can type immediately — the modal was being repainted right after opening, detaching the node that had been focused.
Infospector 0.2.0
Added
- ⇧⌥⌘Space captures the screen exactly as it is — open menus, tooltips, the guide menu, gap readouts, sheets and note modals are all in the picture.
- Screenshot progress: the stage dims with a scan-line sweep until the image is ready.
- Guides snap to element edges (and other guides) while dragging, and remember what they snapped to.
- Guide menu: click a guide for Leave Note / Delete / Delete All; notes can live on a guide.
- ⌘-hover between two guides shows the distance; clicking it creates a guide carrying a note on that space.
- Shift+click while peeking locks that element in (Inspect on, element selected).
- ⌘K focuses the search; a shortcuts panel (
?, or the button under the stage). - Bundled welcome page as the first page on a fresh install; first-run setup card;
?doctorself-check andwindow.__infospector.doctor(). - Page discovery: sitemap.xml, links learned from loaded pages,
pages.json/window.INFOSPECTOR_PAGES. - Appearance: Backing layer, Accent color, theme-aware colors, WCAG-driven UI ink; Reset returns to the shipped look.
- Item Info: click any field to copy it; box widens to the element.
- Unit tests (
node --test) and Playwright e2e;lib.jsfor the pure helpers.
Changed
- Item Info box waits a 2 s dwell before appearing on hover (a click is immediate).
- Guide labels read
X: 288/Y: 428and sit on their line; measurements are red everywhere. - Primary action is on the right in every button pair.
- Note modals sit above the persistent chrome; menus you open sit above notes.
- Dark theme has its own dark default glass tint.
- Refraction removed.
Fixed
- First-run setup re-asked on every new origin or cleared storage; it now only appears on a truly untouched, unconfigured install.
- "Clear all notes" silently did nothing in embedded browsers (native
confirm()); replaced with an in-app confirm. - Ruler wrap: the wrap container sat off-screen; guides resurrected after deletion; Delete key lost to the page.
- Right-click menu could be cut off at the viewport edge.
- Guide labels hidden under the ruler canvases ("8" and "2").