-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete deprecated MarkdownEditor
, MarkdownInput
, InlineAutocomplete
, and related code
#4953
Conversation
🦋 Changeset detectedLatest commit: 5a9e172 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
size-limit report 📦
|
MarkdownEditor
, MarkdownInput
, InlineAutocomplete
, and related code
// https://github.com/jsdom/jsdom/issues/3426 | ||
// Note: jsdom (jest) does not support `:focus-visible` yet | ||
// https://github.com/jsdom/jsdom/issues/3426 | ||
if (!event.target.matches(':focus-visible') && !isJSDOM()) { |
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.
If reading the line of !event.target.matches(':focus-visible')
doesn't throw an error (looks like it doesn't since the tests are all green), we are good!
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.
LGTM! Just waiting for a PR upstream to help with the type errors coming up since the location has changed 👀
|
👋 Hi from github/github! Your integration PR is ready: https://github.com/github/github/pull/342570 |
Going to merge this in since I believe the failures upstream are related to changes we are already making in: https://github.com/github/github/pull/342428 for RC.5 👍 Thanks again for doing this @iansan5653! It was such a big help |
…ete`, and related code (#4953) * Delete `MarkdownEditor`, `MarkdownInput`, and `InlineAutocomplete` * Add changeset * Delete snapshots * Update jest config and delete character-coordinates utils * Delete the `fzy` dependency * chore: add label to CommentBos story * test(vrt): update snapshots * fix: restore useSlots export from drafts * test: update tooltip test for bump in jsdom * Re-add slots and overflow exports * Try resetting the lockfile? * Switch logic to fix test output * Revert tooltip changes, no idea how those snuck in * Fix experimental hooks export --------- Co-authored-by: Josh Black <[email protected]>
MarkdownEditor
and related code #4160MarkdownEditor
from@primer/react
#3604Changelog
Removed
Deprecated experimental components and hooks:
MarkdownEditor
MarkdownViewer
InlineAutocomplete
useCombobox
useDynamicTextareaHeight
useIgnoreKeyboardActionsWhileComposing
useSafeAsyncCallback
useSyntheticChange
useUnifiedFileSelect
Rollout strategy
Testing & Reviewing
Merge checklist