Skip to content
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

Remove jQuery dependency from search #665

Merged
merged 1 commit into from
Jul 15, 2022

Conversation

tnir
Copy link
Collaborator

@tnir tnir commented Jul 11, 2022

What was the end-user problem that led to this PR?

An end-user has loaded unused jQuery.

What was your diagnosis of the problem?

These code currently depending on jQuery can be replaced with vanilla JS.

What is your fix for the problem, implemented in this PR?

The relevant code was simply replaced with vanilla JS.

Why did you choose this fix out of the possible options?

It was found difficult as search.js has Popper.js v1 dependency.

Signed-off-by: Takuya Noguchi [email protected]

@tnir tnir mentioned this pull request Jul 11, 2022
3 tasks
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 11, 2022 12:25 Inactive
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from 3ae4fb7 to fc7f99a Compare July 12, 2022 00:37
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 12, 2022 00:37 Inactive
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from fc7f99a to a5e27ab Compare July 12, 2022 03:17
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 12, 2022 03:17 Inactive
@tnir
Copy link
Collaborator Author

tnir commented Jul 12, 2022

We can improve this after #644 merged.

@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from a5e27ab to a1560af Compare July 12, 2022 06:41
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 12, 2022 06:42 Inactive
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from a1560af to b86a89e Compare July 12, 2022 07:14
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 12, 2022 07:15 Inactive
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from b86a89e to 96f8d68 Compare July 12, 2022 18:01
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 12, 2022 18:01 Inactive
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from 96f8d68 to a6f19d6 Compare July 15, 2022 05:48
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 15, 2022 05:48 Inactive
@tnir tnir marked this pull request as ready for review July 15, 2022 05:48
@tnir tnir force-pushed the tnir-remove-jquery-from-search branch from a6f19d6 to 565555b Compare July 15, 2022 08:55
@deivid-rodriguez deivid-rodriguez temporarily deployed to bundler-site-tnir-remov-0nkjic July 15, 2022 08:55 Inactive
Copy link
Member

@deivid-rodriguez deivid-rodriguez left a comment

Choose a reason for hiding this comment

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

Nice!!

@tnir
Copy link
Collaborator Author

tnir commented Jul 15, 2022

Thanks. Merging.

@tnir tnir merged commit 06362e9 into rubygems:master Jul 15, 2022
@tnir tnir deleted the tnir-remove-jquery-from-search branch July 15, 2022 15:20
@tnir tnir removed the request for review from duckinator July 15, 2022 15:20
@tnir tnir self-assigned this Jul 15, 2022
@tnir tnir mentioned this pull request Jul 15, 2022
2 tasks
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.

2 participants