Skip to content

[CCI] Update tabbable dependency#650

Merged
joshuarrrr merged 1 commit intoopensearch-project:mainfrom
andreymyssak:594-update-tabble
Apr 11, 2023
Merged

[CCI] Update tabbable dependency#650
joshuarrrr merged 1 commit intoopensearch-project:mainfrom
andreymyssak:594-update-tabble

Conversation

@andreymyssak
Copy link
Collaborator

Description

Update tabbable dependency to 6.1.1

Issues Resolved

#594

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • All tests pass
    • yarn lint
    • yarn test-unit
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@andreymyssak andreymyssak requested a review from a team as a code owner March 31, 2023 13:40
@andreymyssak andreymyssak mentioned this pull request Mar 31, 2023
6 tasks
Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Comment on lines +273 to +275
const tabbableItems = tabbable(this.content, {
displayCheck: 'legacy-full',
});
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this the only instance where options are added to the tabbable call? Is it special for some reason? Should the other calls to tabbable have it too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The rest of the cases do not cause problems with the tests and smoothly support the transition to the new version. In this file apparently a different case, after the upgrade the tests did not behave correctly, so I had to apply legacy-full.

Copy link
Member

Choose a reason for hiding this comment

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

Let's open a follow-up issue to see if we can refactor and remove.

@ashwin-pc ashwin-pc added the CCI College Contributor Initiative label Apr 7, 2023
Copy link
Member

@ashwin-pc ashwin-pc left a comment

Choose a reason for hiding this comment

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

Thanks for the change @andreymyssak! 🎉

Comment on lines +273 to +275
const tabbableItems = tabbable(this.content, {
displayCheck: 'legacy-full',
});
Copy link
Member

Choose a reason for hiding this comment

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

Let's open a follow-up issue to see if we can refactor and remove.

@joshuarrrr joshuarrrr merged commit 419b57c into opensearch-project:main Apr 11, 2023
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 29, 2023
Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
(cherry picked from commit 419b57c)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AMoo-Miki pushed a commit that referenced this pull request Jul 2, 2023
(cherry picked from commit 419b57c)

Signed-off-by: Andrey Myssak <andreymyssak@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergey Myssak <sergey.myssak@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 1.x CCI College Contributor Initiative

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants