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): redraw the share video icon on whole pixels by iamdavidhill · Pull Request #66658 · anomalyco/opencode

Conversation

@iamdavidhill

@iamdavidhill iamdavidhill commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

No issue: the Type control's video icon renders broken on phones.

Type of change

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

What does this PR do?

The camcorder icon was drawn on a 16px grid but shows at 20px, so its edges fell between pixels, and its lens was an open path whose ends didn't meet the body cleanly. It's redrawn on a 20px grid (an inner viewBox="0 0 20 20"), every edge on a pixel's centre, the lens a closed shape.

<svg viewBox="0 0 20 20" width="16" height="16" overflow="visible">
  <path d="M2.5 5.5h10v9h-10zM12.5 8.5l5-2.5v8l-5-2.5z" fill="none" stroke="currentColor" stroke-width="1.5" />
</svg>

How did you verify your code works?

Checked the Type control in the phone sheet at 390×844.

Screenshots / recordings

After
Video icon

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): redraw the video icon on whole pixels
be09d5e
@github-actions github-actions Bot added the contributor label Nov 26, 2026
@iamdavidhill
iamdavidhill merged commit 8876471 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-video-icon branch November 26, 2026 19:19
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.

Looks good. I couldn't run the data site, which needs a database. Instead I drew the old and new glyphs with resvg under the conditions share.css sets: a 20px tool-icon box, non-scaling 1px lines. The old icon's edges blur across two pixels, and the new one lands every edge on a single pixel, with the lens closed against the body. The > svg * non-scaling-stroke rule still reaches the nested <svg>, and the outer aria-hidden covers it. typecheck:tsc and the share i18n tests pass.

The public API is unchanged.

Before

After

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.