Skip to content

Conversation

@keithamus
Copy link
Contributor

As part of primer/view_components#3331 I'd like to import the invokers polyfill into our suite of polyfills, to allow us to slowly remove code in Primer which handles this in a custom way.

Copilot AI review requested due to automatic review settings February 24, 2025 11:06
@keithamus keithamus requested a review from a team as a code owner February 24, 2025 11:06
@keithamus keithamus requested a review from jibrang February 24, 2025 11:06
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

PR Overview

This PR imports the invokers polyfill into the project's suite of polyfills to eventually remove custom handling of invokers in Primer.

  • Adds an import statement for the invokers polyfill.
  • Includes the polyfill in the exported polyfills object.

Reviewed Changes

File Description
src/index.ts Imported the invokers polyfill and added it to the polyfills export object

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (1)

src/index.ts:6

  • [nitpick] Consider renaming the alias 'commandAndCommandFor' to a more descriptive name, such as 'invokersPolyfill', to improve clarity.
import * as commandAndCommandFor from 'invokers-polyfill'

Tip: Copilot only keeps its highest confidence comments to reduce noise and keep you focused. Learn more

@keithamus keithamus force-pushed the add-invokers-polyfill branch 2 times, most recently from de6123b to 499b372 Compare February 25, 2025 15:57
arelia
arelia previously approved these changes Feb 25, 2025
@keithamus keithamus enabled auto-merge February 25, 2025 16:13
@keithamus keithamus merged commit 1794ce2 into github:main Feb 25, 2025
1 check passed
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.

3 participants