-
[OPIK-6425] [FE] fix(explain): alignment-aware owl, popover below, scoped colors, link hover
发布于
2026-06-26 11:26:11 +00:00 Address review feedback on the Explain popover/owl:
- Owl button now anchors on the side opposite the cell value and grows away
from it (left-aligned cells: right edge, grows left; right-aligned cells:
left edge, grows right) so it never covers the value. - Explanation popover opens beneath the owl (side="bottom") instead of to its
right, hugging the owl's anchored edge. - Alignment is resolved through a single shared resolver
(resolveHorizontalAlignment) driven by column meta — the owl never hardcodes
column types. Adds an optional, declarative meta.horizontalAlignment override
(mirrors verticalAlignment) so future cells can set alignment without code
changes; CellWrapper now honors it too. - Bold + inline-code text in the popover use the body color (scoped [&_…]
overrides on the MarkdownPreview), leaving other .comet-markdown surfaces
untouched. - "Continue conversation" link regains a hover state (stops overriding the
tableLink hover; border tracks text via hover:border-primary) and gets mt-3.
Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com
下载附件
- Owl button now anchors on the side opposite the cell value and grows away