Skip to content

style(item preview): change styling on chat attachment items#1203

Merged
aidanhb merged 1 commit intomainfrom
aidan/attachment-style
Jan 27, 2026
Merged

style(item preview): change styling on chat attachment items#1203
aidanhb merged 1 commit intomainfrom
aidan/attachment-style

Conversation

@aidanhb
Copy link
Copy Markdown
Contributor

@aidanhb aidanhb commented Jan 27, 2026

Screenshot 2026-01-27 at 1 19 55 PM Screenshot 2026-01-27 at 1 18 56 PM

@github-actions
Copy link
Copy Markdown

@claude
Copy link
Copy Markdown
Contributor

claude bot commented Jan 27, 2026


Code review

No issues found. Checked for bugs and CLAUDE.md compliance.


ref={buttonRef}
class="text-ink-base text-sm ring-1 ring-edge-muted rounded-xs hover:bg-panel-hover flex flex-row h-6 px-2 justify-center items-center cursor-pointer"
onMouseEnter={() => {
if (!isTouchDevice()) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

could be wrong, but mouseEnter and leave should not even fire on touch devices

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think some touch devices will fire a mouse enter event on tap. It also could be fine to have the preview flash on screen briefly, but since it's interactive I don't want to entice the user

@aidanhb aidanhb merged commit e2346ca into main Jan 27, 2026
26 checks passed
@aidanhb aidanhb deleted the aidan/attachment-style branch January 27, 2026 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants