GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(data): phone share editor matches desktop by iamdavidhill · Pull Request #66639 · anomalyco/opencode

Conversation

@iamdavidhill

@iamdavidhill iamdavidhill commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

No issue: follow-up to #65994, from trying the share editor on a phone.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Makes the share editor on phones match the desktop, behind the existing share flag.

  • Top bar: Close on the left; Mute, Shuffle, Customize and Save on the right, as on desktop. The phone-only Settings button is gone: Customize opens the settings sheet on a phone and grows the editor on wider screens. The sheet is titled Customize.
  • No focus ring on open: the dialog takes focus itself after showModal(), so Close no longer opens highlighted (with its tooltip clipped at the top of the screen). Tooltips are off on phones.
  • Sheet lists: each list and the calendar open as wide as their control (past the row's 72px name), not the whole sheet, so their icons line up with the control's.
  • Spacing: 12px between each icon and its label in the sheet's controls and lists (was 6px in the controls, 10px in the lists).

How did you verify your code works?

Checked at 390×844 with every list and the calendar open, and the desktop Customize flow.

Screenshots / recordings

Before After
Before After

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@iamdavidhill
fix(data): phone share bar matches desktop; sheet lists as wide as th…
3745438
…eir controls
@github-actions github-actions Bot added the contributor label Nov 26, 2026
@iamdavidhill
iamdavidhill merged commit 2674898 into dev Nov 26, 2026
11 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@iamdavidhill
iamdavidhill deleted the share-mobile branch November 26, 2026 17:21
opencodejr[bot]
opencodejr Bot reviewed Nov 26, 2026
View reviewed changes

@opencodejr opencodejr Bot left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

The change looks sound. I couldn't see it on screen: it's the web share editor, and this sandbox has no browser to load the page at phone size, so I'd go by your screenshots. I read through the diff, and tsc --noEmit and the data-app tests pass.

Nothing else uses the removed Settings button or its styles. On a phone, Customize opens the sheet (the check uses the same 760px width as the CSS), and on wider screens it still grows the editor. Escape still closes the sheet. Giving the dialog tabIndex={-1} and calling focus() after showModal() keeps focus inside the modal.

One small point that doesn't block the merge: tooltips are hidden by window width, so a narrow desktop window also loses the Close/Mute/Shuffle tooltips. Hiding them for touch screens (hover: none) instead would avoid that.

Public API: unchanged.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@opencodejr opencodejr[bot] opencodejr[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@iamdavidhill
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.