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

LibWebView: Add Kagi as a search engine to the list of selectable search engines #1126

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

mrdcbrush
Copy link
Contributor

This pull request adds the Kagi search engine as a selectable option on the Settings > Search Engine menu.

@ladybird-bot
Copy link
Collaborator

Hello!

One or more of the commit messages in this PR do not match the Ladybird code submission policy, please check the lint_commits CI job for more details on which commits were flagged and why.
Please do not close this PR and open another, instead modify your commit message(s) with git commit --amend and force push those changes to update this PR.

@mrdcbrush mrdcbrush force-pushed the davidbrush branch 4 times, most recently from 47fdee1 to 24bacc3 Compare August 19, 2024 20:39
@mrdcbrush mrdcbrush changed the title Add Kagi as a search engine to the list of selectable search engines LibWebView: Add Kagi as a search engine to the list of selectable search engines Aug 19, 2024
@@ -17,6 +17,7 @@ static constexpr auto builtin_search_engines = Array {
SearchEngine { "Ecosia"sv, "https://ecosia.org/search?q={}"sv },
SearchEngine { "GitHub"sv, "https://github.com/search?q={}"sv },
SearchEngine { "Google"sv, "https://www.google.com/search?q={}"sv },
SearchEngine { "Kagi"sv, "https://kagi.com/search?q="sv },

Choose a reason for hiding this comment

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

Should it be this instead?

Suggested change
SearchEngine { "Kagi"sv, "https://kagi.com/search?q="sv },
SearchEngine { "Kagi"sv, "https://kagi.com/search?q={}"sv },

Copy link
Member

Choose a reason for hiding this comment

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

Yes it should. Please amend the commit @mrdcbrush. Otherwise this looks good to me.

@mrdcbrush
Copy link
Contributor Author

Apologies for the commit storm.

@AtkinsSJ
Copy link
Member

We like to keep the commit history tidy, so this is going to need combining together into one commit. Additionally, there's a merge conflict so you'll need to rebase it on master.

This video is very helpful for explaining how to modify existing commits. But feel free to ask here or on the Discord if you get confused. Got takes some getting used to, but it's not so bad after a while. :^)

@mrdcbrush
Copy link
Contributor Author

mrdcbrush commented Aug 23, 2024

Okay, I think I got it sorted finally.

LibWebView: Add Kagi search engine to selection menu
Copy link
Member

@AtkinsSJ AtkinsSJ left a comment

Choose a reason for hiding this comment

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

Looks good! Thanks for bearing with me. I'll just let CI run but I'm happy to merge this after that. :^)

@AtkinsSJ AtkinsSJ merged commit b757ee0 into LadybirdBrowser:master Aug 24, 2024
5 of 6 checks passed
@mrdcbrush mrdcbrush deleted the davidbrush branch August 24, 2024 17:31
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.

4 participants