Skip to content

Studio: drop MediaPageLink tooltip below titlebar controls on Windows - #10253

Merged
wasimysaid merged 2 commits into
unslothai:mainfrom
Souravrajvi0:feat/media-page-link-tooltip-bottom-eaaf-v2
Sep 14, 2026
Merged

wasimysaid merged 2 commits into
unslothai:mainfrom
Souravrajvi0:feat/media-page-link-tooltip-bottom-eaaf-v2

Conversation

@Souravrajvi0

@Souravrajvi0 Souravrajvi0 commented Sep 3, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes #10226.

On the Images and Video pages, the cross-page MediaPageLink buttons sit in the top-right header beside the Windows minimize/maximize/close controls. Their tooltips defaulted to opening above the button, which covered the titlebar controls and blocked clicks.

This anchors the tooltip below the button, matching the temporary chat control.

Changes

  • MediaPageLink: set side="bottom", sideOffset={6}, and tooltip-compact on the tooltip content
  • Add a desktop reliability contract test so the placement stays below the titlebar

Test plan

  • pytest tests/studio/test_desktop_reliability_frontend_contract.py::test_media_page_link_tooltip_drops_below_titlebar_controls
  • pytest tests/studio/test_desktop_reliability_frontend_contract.py::test_compact_media_link_keeps_accessible_name_and_truncation

The Images and Video cross-page links sit in the top-right header beside
the window controls on Windows. Their tooltips defaulted to opening above
the button, which covered minimize/maximize/close. Anchor them below the
button, matching the temporary chat control.

Fixes unslothai#10226
@danielhanchen

Copy link
Copy Markdown
Member

Confirmed the tooltip in studio/frontend/src/components/media-page-link.tsx still defaults to the top side and lands over the Windows titlebar controls, and the bottom placement matches the temporary chat control. Will get this reviewed.

@danielhanchen

Copy link
Copy Markdown
Member

Confirmed this hits studio/frontend/src/components/media-page-link.tsx, where the tooltip still has no side so it opens over the Windows titlebar controls on the Images and Video headers. Will get this reviewed.

@limhanxian

Copy link
Copy Markdown
image image

Have manually verified the tooltip now open belows the button, no more blocking the Windows minimize/maximize/close controls.

@wasimysaid
wasimysaid merged commit a197ed9 into unslothai:main Sep 14, 2026
27 of 35 checks passed
@wasimysaid

Copy link
Copy Markdown
Collaborator

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-14T10:42:09.038416Z 585f5c6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Delightful!

Reviewed commit: a197ed93af

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] Windows tool bar controls hidden by tooltips

4 participants