Skip to content

fix(devtools): add pointer cursor to DevTools buttons#15162

Merged
aayush-kapoor merged 3 commits into
vercel:mainfrom
Jaksenc:codex/devtools-button-pointer-cursor
May 14, 2026
Merged

fix(devtools): add pointer cursor to DevTools buttons#15162
aayush-kapoor merged 3 commits into
vercel:mainfrom
Jaksenc:codex/devtools-button-pointer-cursor

Conversation

@Jaksenc
Copy link
Copy Markdown
Contributor

@Jaksenc Jaksenc commented May 11, 2026

Summary

  • Add cursor-pointer to the DevTools Button primitive.
  • Give interactive DevTools buttons, including the Refresh and Clear header actions, the expected pointer cursor when hovered.
  • Keep the existing disabled button behavior intact through the existing disabled styles.

Closes #11482.

Verification

  • pnpm --filter @ai-sdk/devtools build:client
  • pnpm exec ultracite check packages/devtools/src/viewer/client/components/ui/button.tsx

Copy link
Copy Markdown
Collaborator

@aayush-kapoor aayush-kapoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please sign your commits and then i can review and merge this

@Jaksenc Jaksenc force-pushed the codex/devtools-button-pointer-cursor branch from 2766055 to dc942d5 Compare May 11, 2026 22:03
@aayush-kapoor aayush-kapoor changed the title Add pointer cursor to DevTools buttons fix(devtools): add pointer cursor to DevTools buttons May 14, 2026
@aayush-kapoor aayush-kapoor added the backport Admins only: add this label to a pull request in order to backport it to the prior version label May 14, 2026
@aayush-kapoor aayush-kapoor enabled auto-merge (squash) May 14, 2026 19:30
@aayush-kapoor aayush-kapoor merged commit ee7bb67 into vercel:main May 14, 2026
22 of 23 checks passed
github-actions Bot added a commit that referenced this pull request May 14, 2026
## Summary

- Add `cursor-pointer` to the DevTools `Button` primitive.
- Give interactive DevTools buttons, including the Refresh and Clear
header actions, the expected pointer cursor when hovered.
- Keep the existing disabled button behavior intact through the existing
disabled styles.

Closes #11482.

## Verification

- `pnpm --filter @ai-sdk/devtools build:client`
- `pnpm exec ultracite check
packages/devtools/src/viewer/client/components/ui/button.tsx`

---------

Co-authored-by: Aayush Kapoor <aayushkapoor34@gmail.com>
Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
@github-actions github-actions Bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

✅ Backport PR created: #15291

aayush-kapoor added a commit that referenced this pull request May 14, 2026
This is an automated backport of #15162 to the release-v6.0 branch. FYI
@Jaksenc

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Aayush Kapoor <aayushkapoor34@gmail.com>
Co-authored-by: Aayush Kapoor <83492835+aayush-kapoor@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

🚀 Published in:

Package Version
ai 7.0.0-canary.138
@ai-sdk/angular 3.0.0-canary.138
@ai-sdk/cohere 4.0.0-canary.44
@ai-sdk/devtools 1.0.0-canary.24
@ai-sdk/gateway 4.0.0-canary.81
@ai-sdk/langchain 3.0.0-canary.138
@ai-sdk/llamaindex 3.0.0-canary.138
@ai-sdk/otel 1.0.0-canary.84
@ai-sdk/react 4.0.0-canary.139
@ai-sdk/rsc 3.0.0-canary.139
@ai-sdk/svelte 5.0.0-canary.138
@ai-sdk/vue 4.0.0-canary.138
@ai-sdk/workflow 1.0.0-canary.55
@ai-sdk/xai 4.0.0-canary.62

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UX: Interactive buttons lack 'pointer' cursor despite active hover states

2 participants