Neamar / KISS

Lightning fast, open-source, < 250kb Android launcher
https://kisslauncher.com/
GNU General Public License v3.0
2.99k stars 582 forks source link

[DRAFT] [WIP] Feat: share text to KISS #2111

Closed ram-a-dhan closed 3 weeks ago

ram-a-dhan commented 1 year ago

Summary: New feature proposal for sharing text from anywhere into KISS search bar for quicker searching experience

General Idea

This is a WIP proposal to streamline the user experience of searching using KISS launcher. It works by sharing texts (or web links) from almost anywhere on the phone into the KISS launcher's search bar via android's Sharesheet.

Background

I can't say for sure that i can speak for every user, but based on my experience in using KISS for almost every web (or play store, google maps location, local e-commerce, etc) search, i always find it a bit tedious and too repetitive to highlight the text i want, tap the "Copy" option, open KISS, long-tap KISS search input, and finally tap the "Paste" option before picking the search engine i want to search it with.

Why not just use the "Web Search" option in the highlighted text's context menu?

The "Web Search" option only uses the default search engine of the current browser i'm using. And when outside of browser environment, i only get the "Google App" option, which is frustrating to say the least. For context, i frequently jump between search engines and also between browsers. I have more than 3 search engines that i use daily for cross-referencing sources and comparing SEO results. I have more than 2 browsers for different needs (i have not set a default browser so i can always pick whichever i want everytime i search) as i don't want to mix up the browsing history (e.g. personal searches, workplace searches, people borrowing my phone for quick searches, etc).

Why not use DuckDuckGo's Bangs?

DDG's Bangs requires inclusion of pre-determined non-customizable prefix text to the search keyword, which would mean more hoops to jump through than i currently have to do. Besides , this problem is already solved by KISS launcher's list of search provider. The fewer steps one has to make the better and KISS launcher is already a huge step in the right direction, just needs one more :)

What changes code-wise?

Have you tested it yourself? Where are the screenshots?

I haven't. That's why this PR is labeled as [DRAFT] [WIP]. I don't have access to a powerful enough machine to run Android Studio to build and test it myself for now. I even made these proposed changes directly from this website :zany_face: . I am still going to finish this PR, just not now. If anybody is also interested in this proposed feature and DO can build and test it as soon as it takes, please do share the results here. :bow:

So what now?

I will build and test it myself when i have a suitable hardware for it. No exact time that i can tell, but i will commit to this, because i need this, except if this PR is deemed unsuitable by the maintainers. Then i would (probably) keep this fork a little longer. In the meantime i accept reviews, critiques, and suggestions. I will do as best as i can to get this PR acceptable.

Terima kasih atas perhatian dan pertimbangannya Matur nuwun :pray:

github-actions[bot] commented 4 months ago

This PR is inactive because it has been open 60 days with no activity. Remove inactive label or comment or this will be closed in 14 days.'

marunjar commented 3 months ago

@ram-a-dhan can you please check merge conflicts in translation? Everything else is fixed now and ready for merge.

github-actions[bot] commented 1 month ago

This PR is inactive because it has been open 60 days with no activity. Remove inactive label or comment or this will be closed in 14 days.'