From 2039307d3c5a8c68fe19be36aaa5513c2e699b79 Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 26 Oct 2026 19:13:54 +0000 Subject: [PATCH 1/4] test(plugin-detail): pin the inline-edit pencil's keyboard focus reveal Red first: the read-mode pencil in DetailSection and HeaderHighlight is revealed on hover only, so a Tab stop lands on an invisible control. Claude-Session: https://claude.ai/code/session_01SMps7wq7rBTk53e8KTSEup Co-authored-by: Claude --- ...nlineEditPencil.focusReveal-25883.test.tsx | 205 ++++++++++++++++++ 1 file changed, 205 insertions(+) create mode 100644 ui/packages/plugin-detail/src/__tests__/inlineEditPencil.focusReveal-25883.test.tsx diff --git a/ui/packages/plugin-detail/src/__tests__/inlineEditPencil.focusReveal-25883.test.tsx b/ui/packages/plugin-detail/src/__tests__/inlineEditPencil.focusReveal-25883.test.tsx new file mode 100644 index 00000000000..3e63a1d57d2 --- /dev/null +++ b/ui/packages/plugin-detail/src/__tests__/inlineEditPencil.focusReveal-25883.test.tsx @@ -0,0 +1,205 @@ +/** + * ObjectUI + * Copyright (c) 2024-present ObjectStack Inc. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +import { describe, it, expect, vi, beforeAll } from 'vitest'; +import { render, fireEvent, screen } from '@testing-library/react'; +import { InlineEditProvider } from '@object-ui/react'; +import type { DetailViewSection } from '@object-ui/types'; +import { DetailSection } from '../DetailSection'; +import { HeaderHighlight } from '../HeaderHighlight'; + +/** + * objectstack#25883 item 1 — the read-mode inline-edit pencil was revealed on + * HOVER only (`opacity-0 group-hover:opacity-100`). It is a real `