Skip to content

Conversation

@connor-baer
Copy link
Member

@connor-baer connor-baer commented Apr 24, 2024

Relates to GoogleChrome/dialog-polyfill#230.

Purpose

The dialog-polyfill package unsafely accesses the window object, causing errors in server environments.

Approach and changes

Definition of done

  • Development completed
  • Reviewers assigned
  • Unit and integration tests
  • Meets minimum browser support
  • Meets accessibility requirements

@connor-baer connor-baer added the 🐞 bug Something isn't working as it should label Apr 24, 2024
@connor-baer connor-baer requested a review from a team as a code owner April 24, 2024 14:31
@changeset-bot
Copy link

changeset-bot bot commented Apr 24, 2024

🦋 Changeset detected

Latest commit: f00d326

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sumup/circuit-ui Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Apr 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
oss-circuit-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 6, 2024 7:26am

@connor-baer
Copy link
Member Author

connor-baer commented Apr 25, 2024

dialog-polyfill-universal breaks unit tests 😞 Might need to fork or vendor the polyfill

@connor-baer connor-baer added the ⛔ do not merge There is a blocker label Apr 25, 2024
@connor-baer connor-baer force-pushed the fix/dialog-polyfill-universal branch from 11ee5da to f00d326 Compare June 6, 2024 07:25
@connor-baer connor-baer removed the ⛔ do not merge There is a blocker label Jun 6, 2024
@connor-baer connor-baer changed the title Switch to dialog-polyfill-universal Fix compatibility of the dialog-polyfill with isomorphic environments Jun 6, 2024
@codecov
Copy link

codecov bot commented Jun 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.16%. Comparing base (2181fe9) to head (f00d326).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2497   +/-   ##
=======================================
  Coverage   88.16%   88.16%           
=======================================
  Files         204      204           
  Lines       22320    22320           
  Branches     1490     1490           
=======================================
  Hits        19678    19678           
  Misses       2590     2590           
  Partials       52       52           
Files Coverage Δ
...ages/circuit-ui/components/Toggletip/Toggletip.tsx 99.35% <100.00%> (ø)

@connor-baer connor-baer merged commit 03c3c31 into main Jun 6, 2024
@connor-baer connor-baer deleted the fix/dialog-polyfill-universal branch June 6, 2024 07:33
@connor-baer connor-baer mentioned this pull request Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🐞 bug Something isn't working as it should 🗂 circuit-ui

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants