Skip to content

fix(portal): show full task text for legacy runs - #1480

Open
Gile (Gile987) wants to merge 1 commit into
microsoft:mainfrom
Gile987:fix/766-runs-task-tooltip
Open

Gile (Gile987) wants to merge 1 commit into
microsoft:mainfrom
Gile987:fix/766-runs-task-tooltip

Conversation

@Gile987

Copy link
Copy Markdown
Contributor

Summary

Legacy runs without a task-prompt reference display truncated task text
without a hover preview. Add a Radix tooltip showing the full inline task
on hover or keyboard focus, using the existing 200 ms hover delay.

The tooltip is portaled to avoid table clipping. Existing linked prompt
previews remain unchanged. Truncated numeric filter labels also use Radix
tooltips instead of native title attributes.

Related to #766.

Demos

Before

before.webm

Hovering over a legacy run's truncated task does not reveal the full text.

After

after.webm

Hovering over the same task displays its full text in a styled tooltip.

Testing

  • pnpm exec vitest run apps/portal/src/components/TaskPromptBadge.test.tsx
    — all 19 tests passed.
  • pnpm --filter portal exec tsc --noEmit -p tsconfig.app.json
    — passed.
  • pnpm build — passed.
  • pnpm headers:check — passed.
  • Browser verification: full task text, keyboard focus, Escape dismissal,
    viewport positioning, and no additional task-prompt requests.
  • Full-suite audit (pnpm test --maxWorkers=2): 3,189 tests passed;
    seven Windows-worker tests failed because pwsh was unavailable.
  • pnpm lint: failed because ESLint is unavailable in workspace packages.
    CI currently documents this limitation and permits that step to fail.

Documentation and compatibility

Updated docs/architecture/app-design.md to document legacy task previews
and consistent tooltip timing.

No API, database schema, dependency, or upgrade changes.
CLI capabilities are unchanged; this change affects Portal presentation.

Checklist

  • CLI parity: N/A — Portal presentation only.
  • Updated the TaskPromptBadge Storybook story.
  • Database migration: N/A — no schema changes.
  • Lockfile and NOTICE: N/A — no dependency changes.
  • Video showing the behavior before the suggested change.
  • Video showing the behavior after the suggested change.

@cedricvidal Cedric Vidal (cedricvidal) added the community-contribution Pull requests submitted by external community contributors. label Oct 13, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Pull requests submitted by external community contributors.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants