From fd39db6f764fe8b9d3e7b57dd4f883d7c3f30e7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Thu, 3 Sep 2026 12:42:39 +0100 Subject: [PATCH] the select circle was unreachable by hover MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `group` sat on the overlay . The checkbox is that link's SIBLING, not its child, so `group-hover` could never have matched — and nothing in the file used a `group-*` utility at all, so the class was inert. The checkbox therefore fell back to its own `hover:opacity-100`, which fires only once the pointer is already over an invisible 20px circle. The affordance was there and unfindable, which reads as "there is no way to select a photo". `group` moves to the wrapper, the checkbox reads `group-hover`, and the two dead `group` classes on the overlays are dropped. Touch is still unserved: no hover means no way to begin a selection. Co-Authored-By: Claude Opus 5 (1M context) --- manifest.ts | 2 +- web/AssetTile.tsx | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/manifest.ts b/manifest.ts index 7c47da1..aec81e5 100644 --- a/manifest.ts +++ b/manifest.ts @@ -21,7 +21,7 @@ import type { PluginManifest } from '@@/plugins/manifest'; */ export const manifest: PluginManifest = { publisher: 'officerdev', - version: '2026.09.03.01', + version: '2026.09.03.02', platform: '>=1.0.0', label: 'Photos', diff --git a/web/AssetTile.tsx b/web/AssetTile.tsx index 709c161..96fe1e0 100644 --- a/web/AssetTile.tsx +++ b/web/AssetTile.tsx @@ -10,6 +10,11 @@ import { ASSET_PARAM, formatDuration, thumbUrl } from './shared'; // into a tab, linked to, and closed with the back button. The select checkbox is a sibling ) : ( - + {inner} )} @@ -91,7 +96,7 @@ export const AssetTile = ({ asset, token, width, height, selected, selecting, on onClick={(ev) => onToggle(asset.id, ev)} title={selected ? 'Deselect' : 'Select'} className={`absolute left-1.5 top-1.5 rounded-full text-white transition-opacity ${ - selected ? 'opacity-100' : 'opacity-0 hover:opacity-100 focus-visible:opacity-100' + selected ? 'opacity-100' : 'opacity-0 group-hover:opacity-100 focus-visible:opacity-100' } ${selecting ? 'opacity-100' : ''}`} > {selected ? (